Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
APIGOV-25253 - fix paths to match github, not gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
dfeldick committed Apr 25, 2023
1 parent 7182c88 commit 971b551
Show file tree
Hide file tree
Showing 19 changed files with 138 additions and 30 deletions.
4 changes: 2 additions & 2 deletions .csr-profile.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"project": "V7 Discovery Agent",
"repo_url": "https://git.ecd.axway.org/apigov/v7_discovery_agent",
"security_guide": "https://docs.axway.com/bundle/amplify-central/page/docs/connect_manage_environ/connect_api_manager/agent-security-api-manager/index.html",
"repo_url": "https://github.com/Axway/agents-webmethods",
"security_guide": "https://docs.axway.com/bundle/amplify-central/page/docs/connect_manage_environ/connect_api_manager/agent-security-api-manager/index.html",
"requirements": {
"dependency-check": false,
"fortify": true,
Expand Down
2 changes: 1 addition & 1 deletion README_discovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Prerequisites

Install the agent and provision Amplify Central access as described in [https://git.ecd.axway.org/apigov/agents-webmethods/blob/main/README.md](https://git.ecd.axway.org/apigov/agents-webmethods/blob/main/README.md).
Install the agent and provision Amplify Central access as described in [https://github.com/Axway/agents-webmethods/blob/main/README.md](https://github.com/Axway/agents-webmethods/blob/main/README.md).

- Amplify organization id: the organization identifier. Refer to Platform home > Organization
- Amplify Central environment name: the name of the environment the agent will report APIs to.
Expand Down
2 changes: 1 addition & 1 deletion README_traceability.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Prerequisites

Install the agent and provision Amplify Central access as described in [https://git.ecd.axway.org/apigov/agents-webmethods/blob/main/README.md](https://git.ecd.axway.org/apigov/agents-webmethods/blob/main/README.md).
Install the agent and provision Amplify Central access as described in [https://github.com/Axway/agents-webmethods/blob/main/README.md](https://github.com/Axway/agents-webmethods/blob/main/README.md).

- Amplify organization id: the organization identifier. Refer to Platform home > Organization
- Amplify Central environment name: the name of the environment the agent will report APIs to.
Expand Down
2 changes: 1 addition & 1 deletion cmd/discovery/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

"git.ecd.axway.org/apigov/agents-webmethods/pkg/cmd/discovery"
"github.com/Axway/agents-webmethods/pkg/cmd/discovery"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/traceability/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
// Required Import to setup factory for traceability transport
_ "github.com/Axway/agent-sdk/pkg/traceability"

"git.ecd.axway.org/apigov/agents-webmethods/pkg/cmd/traceability"
"github.com/Axway/agents-webmethods/pkg/cmd/traceability"
)

func main() {
Expand Down
111 changes: 111 additions & 0 deletions coverage/coverage.cov
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
mode: atomic
github.com/Axway/agents-webmethods/pkg/webmethods/mocks.go:13.75,15.2 1 16
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:62.110,68.2 5 20
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:70.89,75.53 5 20
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:83.2,83.12 1 20
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:75.53,78.17 2 9
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:81.3,81.29 1 9
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:78.17,80.4 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:86.72,98.16 5 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:105.2,105.36 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:112.2,112.15 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:98.16,103.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:105.36,110.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:117.65,134.16 6 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:137.2,139.16 3 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:142.2,142.37 1 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:134.16,136.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:139.16,141.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:146.74,160.16 6 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:164.2,165.16 2 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:169.2,169.40 1 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:160.16,162.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:165.16,167.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:172.58,173.30 1 4
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:180.2,180.13 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:173.30,175.30 2 4
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:178.3,178.45 1 4
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:175.30,177.4 1 20
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:184.65,200.16 6 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:204.2,204.27 1 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:200.16,202.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:208.75,221.16 5 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:224.2,224.27 1 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:221.16,223.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:227.109,242.16 12 2
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:245.2,252.16 3 2
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:256.2,257.16 2 2
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:260.2,260.33 1 2
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:242.16,244.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:252.16,254.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:257.16,259.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:263.94,276.16 6 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:280.2,281.16 2 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:284.2,284.33 1 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:276.16,278.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:281.16,283.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:287.93,295.16 5 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:298.2,306.16 3 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:310.2,311.33 2 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:295.16,297.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:306.16,308.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:314.93,322.16 5 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:325.2,333.16 3 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:337.2,338.33 2 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:322.16,324.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:333.16,335.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:341.95,350.16 5 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:353.2,361.16 3 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:365.2,365.26 1 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:370.2,370.65 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:350.16,352.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:361.16,363.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:365.26,368.3 2 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:373.85,386.16 6 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:390.2,391.16 2 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:394.2,394.30 1 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:386.16,388.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:391.16,393.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:397.132,404.16 4 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:407.2,415.16 3 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:418.2,418.26 1 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:421.2,421.12 1 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:404.16,406.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:415.16,417.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:418.26,420.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:424.79,439.16 6 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:442.2,442.26 1 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:445.2,445.12 1 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:439.16,441.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:442.26,444.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:448.67,461.16 5 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:464.2,464.26 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:467.2,467.12 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:461.16,463.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:464.26,466.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:470.98,485.16 6 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:489.2,490.16 2 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:493.2,493.30 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:485.16,487.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:490.16,492.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:496.73,509.16 5 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:512.2,512.26 1 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:515.2,515.12 1 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:509.16,511.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:512.26,514.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:518.85,533.16 6 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:536.2,536.26 1 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:539.2,539.12 1 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:533.16,535.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:536.26,538.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:542.92,560.16 6 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:563.2,563.26 1 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:566.2,566.12 1 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:560.16,562.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:563.26,565.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:569.70,603.16 7 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:607.2,608.16 2 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:611.2,611.26 1 1
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:603.16,605.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:608.16,610.3 1 0
github.com/Axway/agents-webmethods/pkg/webmethods/client.go:614.52,617.2 2 16
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ replace (
)

require (
git.ecd.axway.org/apigov/agents-webmethods v0.0.0-20230425204558-c2f94237ca20
github.com/Axway/agent-sdk v1.1.51
github.com/elastic/beats/v7 v7.17.5
github.com/hpcloud/tail v1.0.0
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ 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=
git.ecd.axway.org/apigov/agents-webmethods v0.0.0-20230425204558-c2f94237ca20 h1:t2e+Kui9fA71sYyNFDZGd5YvCj44p1EFPCWSrGQpWkY=
git.ecd.axway.org/apigov/agents-webmethods v0.0.0-20230425204558-c2f94237ca20/go.mod h1:wR7a8jlP+2mGXZ5tDnXtGohddmes3bThswmkgPm3YZk=
github.com/Axway/agent-sdk v1.1.51 h1:sEowgaJwqprkH+nljK6bdDL6+O2C731TqJ5dpN+oUiU=
github.com/Axway/agent-sdk v1.1.51/go.mod h1:qZLeztsb8aC0xA5u0zL/MElAnuBKRMSP84WQFRp/XEM=
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 h1:w+iIsaOQNcT7OZ575w+acHgRric5iCyQh+xv+KJ4HB8=
Expand Down
10 changes: 5 additions & 5 deletions pkg/cmd/discovery/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ import (
"github.com/Axway/agent-sdk/pkg/apic/provisioning"
"github.com/sirupsen/logrus"

"git.ecd.axway.org/apigov/agents-webmethods/pkg/subscription"
subs "git.ecd.axway.org/apigov/agents-webmethods/pkg/subscription"
"git.ecd.axway.org/apigov/agents-webmethods/pkg/webmethods"
coreagent "github.com/Axway/agent-sdk/pkg/agent"
coreapi "github.com/Axway/agent-sdk/pkg/api"
corecmd "github.com/Axway/agent-sdk/pkg/cmd"
"github.com/Axway/agents-webmethods/pkg/subscription"
subs "github.com/Axway/agents-webmethods/pkg/subscription"
"github.com/Axway/agents-webmethods/pkg/webmethods"

"github.com/Axway/agent-sdk/pkg/cmd/service"
corecfg "github.com/Axway/agent-sdk/pkg/config"

"git.ecd.axway.org/apigov/agents-webmethods/pkg/config"
"git.ecd.axway.org/apigov/agents-webmethods/pkg/discovery"
"github.com/Axway/agents-webmethods/pkg/config"
"github.com/Axway/agents-webmethods/pkg/discovery"
)

// RootCmd - Agent root command
Expand Down
4 changes: 2 additions & 2 deletions pkg/cmd/traceability/root.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package traceability

import (
"git.ecd.axway.org/apigov/agents-webmethods/pkg/config"
"git.ecd.axway.org/apigov/agents-webmethods/pkg/traceability"
corecmd "github.com/Axway/agent-sdk/pkg/cmd"
"github.com/Axway/agent-sdk/pkg/cmd/service"
corecfg "github.com/Axway/agent-sdk/pkg/config"
"github.com/Axway/agents-webmethods/pkg/config"
"github.com/Axway/agents-webmethods/pkg/traceability"

libcmd "github.com/elastic/beats/v7/libbeat/cmd"
"github.com/elastic/beats/v7/libbeat/cmd/instance"
Expand Down
4 changes: 2 additions & 2 deletions pkg/discovery/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"os/signal"
"syscall"

"git.ecd.axway.org/apigov/agents-webmethods/pkg/config"
"git.ecd.axway.org/apigov/agents-webmethods/pkg/webmethods"
coreAgent "github.com/Axway/agent-sdk/pkg/agent"
"github.com/Axway/agent-sdk/pkg/cache"
"github.com/Axway/agents-webmethods/pkg/config"
"github.com/Axway/agents-webmethods/pkg/webmethods"
)

type Repeater interface {
Expand Down
4 changes: 2 additions & 2 deletions pkg/discovery/discover.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

"github.com/Axway/agent-sdk/pkg/cache"

"git.ecd.axway.org/apigov/agents-webmethods/pkg/config"
"git.ecd.axway.org/apigov/agents-webmethods/pkg/webmethods"
"github.com/Axway/agents-webmethods/pkg/config"
"github.com/Axway/agents-webmethods/pkg/webmethods"

"github.com/sirupsen/logrus"

Expand Down
2 changes: 1 addition & 1 deletion pkg/discovery/publish.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package discovery

import (
"git.ecd.axway.org/apigov/agents-webmethods/pkg/config"
coreAgent "github.com/Axway/agent-sdk/pkg/agent"
"github.com/Axway/agent-sdk/pkg/apic"
"github.com/Axway/agent-sdk/pkg/util"
"github.com/Axway/agents-webmethods/pkg/config"
"github.com/sirupsen/logrus"
)

Expand Down
6 changes: 3 additions & 3 deletions pkg/discovery/servicehandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import (
"crypto/sha256"
"fmt"

"git.ecd.axway.org/apigov/agents-webmethods/pkg/common"
"git.ecd.axway.org/apigov/agents-webmethods/pkg/webmethods"
"github.com/Axway/agent-sdk/pkg/apic/provisioning"
"github.com/Axway/agent-sdk/pkg/cache"
"github.com/Axway/agents-webmethods/pkg/common"
"github.com/Axway/agents-webmethods/pkg/webmethods"

"github.com/sirupsen/logrus"

"git.ecd.axway.org/apigov/agents-webmethods/pkg/config"
"github.com/Axway/agent-sdk/pkg/apic"
"github.com/Axway/agents-webmethods/pkg/config"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions pkg/subscription/provision.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"errors"
"fmt"

"git.ecd.axway.org/apigov/agents-webmethods/pkg/common"
"git.ecd.axway.org/apigov/agents-webmethods/pkg/webmethods"
prov "github.com/Axway/agent-sdk/pkg/apic/provisioning"
"github.com/Axway/agent-sdk/pkg/util"
"github.com/Axway/agent-sdk/pkg/util/log"
"github.com/Axway/agents-webmethods/pkg/common"
"github.com/Axway/agents-webmethods/pkg/webmethods"
"github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/traceability/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"os/signal"
"syscall"

"git.ecd.axway.org/apigov/agents-webmethods/pkg/config"
coreagent "github.com/Axway/agent-sdk/pkg/agent"
"github.com/Axway/agent-sdk/pkg/transaction"
agenterrors "github.com/Axway/agent-sdk/pkg/util/errors"
hc "github.com/Axway/agent-sdk/pkg/util/healthcheck"
"github.com/Axway/agents-webmethods/pkg/config"
"github.com/elastic/beats/v7/libbeat/beat"
"github.com/elastic/beats/v7/libbeat/common"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/traceability/eventprocessor.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/Axway/agent-sdk/pkg/transaction"
"github.com/Axway/agent-sdk/pkg/util/log"

"git.ecd.axway.org/apigov/agents-webmethods/pkg/config"
"github.com/Axway/agents-webmethods/pkg/config"
"github.com/elastic/beats/v7/libbeat/beat"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/webmethods/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
agenterrors "github.com/Axway/agent-sdk/pkg/util/errors"
hc "github.com/Axway/agent-sdk/pkg/util/healthcheck"

"git.ecd.axway.org/apigov/agents-webmethods/pkg/config"
"github.com/Axway/agents-webmethods/pkg/config"
)

const HealthCheckEndpoint = "health"
Expand Down
2 changes: 1 addition & 1 deletion pkg/webmethods/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"encoding/json"
"testing"

"git.ecd.axway.org/apigov/agents-webmethods/pkg/config"
coreapi "github.com/Axway/agent-sdk/pkg/api"
"github.com/Axway/agents-webmethods/pkg/config"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
)
Expand Down

0 comments on commit 971b551

Please sign in to comment.