-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'APIGOV-26463' into APIGOV-26659
- Loading branch information
Showing
7 changed files
with
123 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package main | ||
|
||
import ( | ||
"fmt" | ||
"os" | ||
|
||
"github.com/Axway/agents-kong/pkg/cmd/discovery" | ||
) | ||
|
||
func main() { | ||
|
||
if err := discovery.DiscoveryCmd.Execute(); err != nil { | ||
fmt.Println(err) | ||
os.Exit(1) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package main | ||
|
||
import ( | ||
"fmt" | ||
"os" | ||
|
||
_ "github.com/Axway/agent-sdk/pkg/traceability" | ||
"github.com/Axway/agents-kong/pkg/cmd/traceability" | ||
) | ||
|
||
func main() { | ||
if err := traceability.TraceCmd.Execute(); err != nil { | ||
fmt.Println(err) | ||
os.Exit(1) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# this is a sample config file. Copy the content of this file to a new file named kong_discovery_agent.yml | ||
central: | ||
environment: <AMPLIFY_CENTRAL_ENVIRONMENT_NAME> | ||
mode: publishToEnvironmentAndCatalog | ||
organizationID: "<AMPLIFY_ORG_ID>" | ||
platformURL: https://platform.axway.com | ||
pollInterval: 20s | ||
team: "Default Team" | ||
url: https://apicentral.axway.com | ||
auth: | ||
clientID: <AMPLIFY_CENTRAL_DOSA_CLIENT_ID> | ||
privateKey: <AMPLIFY_CENTRAL_DOSA_PRIVATE_KEY_PATH> | ||
publicKey: <AMPLIFY_CENTRAL_DOSA_PUBLIC_KEY_PATH> | ||
realm: Broker | ||
timeout: 20s | ||
url: https://login.axway.com/auth | ||
|
||
log: | ||
level: debug | ||
format: json | ||
output: stdout | ||
path: logs | ||
|
||
kong: | ||
adminEndpoint: <Domain> | ||
token: 1234 | ||
proxyEndpoint: <Domain> | ||
proxyEndpointProtocols: | ||
http: 80 | ||
https: 443 | ||
specDownloadPaths: [<Paths>] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# this is a sample config file. Copy the content of this file to a new file named kong_traceability_agent.yml | ||
kong_traceability_agent: | ||
central: | ||
environment: <AMPLIFY_CENTRAL_ENVIRONMENT_NAME> | ||
mode: publishToEnvironment | ||
organizationID: "<AMPLIFY_ORG_ID>" | ||
platformURL: https://platform.axway.com | ||
pollInterval: 20s | ||
team: "Default Team" | ||
url: https://apicentral.axway.com | ||
auth: | ||
clientID: <AMPLIFY_CENTRAL_DOSA_CLIENT_ID> | ||
privateKey: <AMPLIFY_CENTRAL_DOSA_PRIVATE_KEY_PATH> | ||
publicKey: <AMPLIFY_CENTRAL_DOSA_PUBLIC_KEY_PATH> | ||
realm: Broker | ||
timeout: 20s | ||
url: https://login.axway.com/auth | ||
|
||
http_log_plugin_config: | ||
# Path used by Kong's HTTP Log plugin to send request logs | ||
path: ${LOGS_HTTP_SERVER_PATH} | ||
# Port that listens for request logs sent by Kong's HTTP Log plugin | ||
port: ${LOGS_HTTP_SERVER_PORT} | ||
|
||
# Condor Ingestion service | ||
output.traceability: | ||
compression_level: ${TRACEABILITY_COMPRESSIONLEVEL:3} | ||
enabled: true | ||
hosts: | ||
- ${TRACEABILITY_HOST:"ingestion-lumberjack.datasearch.axway.com:453"} | ||
protocol: ${TRACEABILITY_PROTOCOL:"tcp"} | ||
ssl: | ||
enabled: true | ||
verification_mode: none | ||
cipher_suites: | ||
- "ECDHE-ECDSA-AES-128-GCM-SHA256" | ||
- "ECDHE-ECDSA-AES-256-GCM-SHA384" | ||
- "ECDHE-ECDSA-CHACHA20-POLY1305" | ||
- "ECDHE-RSA-AES-128-CBC-SHA256" | ||
- "ECDHE-RSA-AES-128-GCM-SHA256" | ||
- "ECDHE-RSA-AES-256-GCM-SHA384" | ||
- "ECDHE-RSA-CHACHA20-POLY1205" | ||
worker: 1 | ||
pipelining: 0 | ||
proxy_url: ${TRACEABILITY_PROXYURL:""} | ||
|
||
logging: | ||
metrics: | ||
enabled: false | ||
to_stderr: true | ||
level: ${LOG_LEVEL:"info"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters