Skip to content

Commit

Permalink
Add #190 Align APIs to GovStack: Change URL paths for config endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
albinpa committed Oct 3, 2023
1 parent a6a7491 commit ac70d36
Show file tree
Hide file tree
Showing 27 changed files with 1,622 additions and 20 deletions.
10 changes: 10 additions & 0 deletions src/config/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,13 @@ const (
SingleTenat = "single-tenant"
MultiTenant = "multi-tenant"
)

// All http path url variables
const (
OrganizationId = "OrganizationID"
DataAgreementId = "dataAgreementId"
DataAttributeId = "dataAttributeId"
WebhookId = "webhookId"
WebhookDeliveryId = "deliveryId"
PolicyId = "policyId"
)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package handler
package handlerv1

import (
"encoding/json"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package handler
package handlerv1

import (
"encoding/json"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package handler
package handlerv1

import (
"time"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package handler
package handlerv1

import (
"encoding/json"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package handler
package handlerv1

import (
"encoding/json"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package handler
package handlerv1

import (
"bytes"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package handler
package handlerv1

import (
"encoding/json"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package handler
package handlerv1

import "github.com/bb-consent/api/src/org"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package handler
package handlerv1

import (
"bytes"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package handler
package handlerv1

import (
"bytes"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package handler
package handlerv1

import (
"encoding/json"
Expand Down
File renamed without changes.
Loading

0 comments on commit ac70d36

Please sign in to comment.