Skip to content

Commit

Permalink
Merge pull request #90 from Axway/APIGOV-27103
Browse files Browse the repository at this point in the history
APIGOV-27103 - setup source dataplane type
  • Loading branch information
vivekschauhan authored Apr 11, 2024
2 parents 49a0069 + 819bd86 commit 40c5164
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.21.3

require (
github.com/Axway/agent-sdk v1.1.77
github.com/Axway/agent-sdk v1.1.79-0.20240410212423-56ecdbb1d5fe
github.com/elastic/beats/v7 v7.17.17
github.com/google/uuid v1.3.1
github.com/kong/go-kong v0.47.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RX
cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
github.com/Axway/agent-sdk v1.1.77 h1:g+wb+3LO3VSIohV3rLea6zYmlYZ/p5/KtXF0XXkg/nk=
github.com/Axway/agent-sdk v1.1.77/go.mod h1:DaiI1II/b5S5tdhhs0h5JHHcEIpF4r+1UmzSpV1PTNg=
github.com/Axway/agent-sdk v1.1.79-0.20240410212423-56ecdbb1d5fe h1:3HajIus6soRIFKoTUgEY+xuQBxZSnDfd7gQ1X8D+Ztc=
github.com/Axway/agent-sdk v1.1.79-0.20240410212423-56ecdbb1d5fe/go.mod h1:DaiI1II/b5S5tdhhs0h5JHHcEIpF4r+1UmzSpV1PTNg=
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 h1:w+iIsaOQNcT7OZ575w+acHgRric5iCyQh+xv+KJ4HB8=
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24=
Expand Down
3 changes: 2 additions & 1 deletion pkg/discovery/agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,8 @@ func (ka *KongAPI) buildServiceBody() (apic.ServiceBody, error) {
SetTitle(ka.name).
SetURL(ka.url).
SetVersion(ka.version).
SetServiceEndpoints(ka.endpoints)
SetServiceEndpoints(ka.endpoints).
SetSourceDataplaneType(apic.Kong, false)

if len(ka.crds) > 0 {
return builder.SetAccessRequestDefinitionName(ka.ard, false).
Expand Down

0 comments on commit 40c5164

Please sign in to comment.