From 39f8ee07610456997063a067c62dbd1e0a2f8cde Mon Sep 17 00:00:00 2001 From: Jason Collins <47123298+jcollins-axway@users.noreply.github.com> Date: Wed, 14 Feb 2024 15:19:32 -0700 Subject: [PATCH] INT - update deps (#198) * update deps * update readme --- .gitignore | 1 + README_discovery.md | 3 ++- go.mod | 5 +++-- go.sum | 8 ++++---- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index a62448a..528aeb1 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,7 @@ bin/ **.tgz .log *.env +*.env* *.pem *.key .DS_Store diff --git a/README_discovery.md b/README_discovery.md index f2ece80..82cdf77 100644 --- a/README_discovery.md +++ b/README_discovery.md @@ -31,7 +31,7 @@ The agents read their configuration from a YAML files or optionally from an envi ## Configuration Variables | Variable Name | YAML Path | Description | **Location** / _Default_ | -|--------------------------------------------------------------------|---------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| ------------------------------------------------------------------ | ------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | CENTRAL_AGENTNAME | central.agentname | Agent name to visualize the agent status in Amplify | | | CENTRAL_ADDITIONALTAGS | central.additionalTags | Additional tag names to publish separated by a comma | | | CENTRAL_APISERVERVERSION | central.apiServerVersion | Version of the API Server that the agent will communicate with | _v1alpha1_ | @@ -105,6 +105,7 @@ The agents read their configuration from a YAML files or optionally from an envi | MULESOFT_SSL_MAXVERSION | mulesoft.ssl.maxVersion | String value for the maximum SSL/TLS version that is acceptable. If empty, then the maximum version supported by this package is used, which is currently TLS 1.3. Allowed values are: TLS1.0, TLS1.1, TLS1.2, TLS1.3 | Internally, this value defaults to empty | | MULESOFT_SSL_MINVERSION | mulesoft.ssl.minVersion | String value for the minimum SSL/TLS version that is acceptable. If zero, empty TLS 1.0 is taken as the minimum. Allowed values are: TLS1.0, TLS1.1, TLS1.2, TLS1.3 | Internally, the value defaults toTLS1.2 | | MULESOFT_SSL_NEXTPROTOS | mulesoft.ssl.nestProtos | An array of strings. It is a list of supported application level protocols, in order of preference, based on the ALPN protocol list. Allowed values are: h2, htp/1.0, http/1.1, h2c | Internally empty. Default negotiation. | +| MULESOFT_DISCOVERORIGINALRAML | mulesoft.discoverOriginalRAML | Set to true if the agent should discover the Assets that were created in RAML as RAML | _false_ | | STATUS_HEALTHCHECKINTERVAL | status.healthCheckInterval | Time in seconds between running periodic health checker (binary agents only). Allowed values are from 30 to 300 seconds. | _30s_ | | STATUS_HEALTHCHECKPERIOD | status.healthCheckPeriod | Time in minutes allotted for services to be ready before exiting the agent. Allowed values are from 1 to 5 minutes. | _3m_ | | STATUS_PORT | status.port | The port that the healthcheck endpoint will listen on | _8989_ | diff --git a/go.mod b/go.mod index c59165c..4c0a2e9 100644 --- a/go.mod +++ b/go.mod @@ -7,14 +7,13 @@ toolchain go1.21.3 //replace github.com/Axway/agent-sdk => /home/ubuntu/go/src/github.com/Axway/agent-sdk require ( - github.com/Axway/agent-sdk v1.1.74-0.20240131154839-8ccbdd686492 + github.com/Axway/agent-sdk v1.1.75-0.20240214174555-1fb7a381a58e github.com/elastic/beats/v7 v7.17.17 github.com/getkin/kin-openapi v0.76.0 github.com/sirupsen/logrus v1.9.3 github.com/stretchr/testify v1.8.4 github.com/tidwall/gjson v1.14.0 gopkg.in/yaml.v2 v2.4.0 - sigs.k8s.io/yaml v1.2.0 ) require ( @@ -120,6 +119,7 @@ require ( github.com/santhosh-tekuri/jsonschema v1.2.4 // indirect github.com/segmentio/asm v1.2.0 // indirect github.com/shirou/gopsutil v3.20.12+incompatible // indirect + github.com/shopspring/decimal v1.3.1 // indirect github.com/snowzach/rotatefilehook v0.0.0-20220211133110-53752135082d // indirect github.com/spf13/afero v1.8.2 // indirect github.com/spf13/cast v1.5.0 // indirect @@ -175,6 +175,7 @@ require ( k8s.io/klog/v2 v2.9.0 // indirect k8s.io/utils v0.0.0-20201110183641-67b214c5f920 // indirect sigs.k8s.io/structured-merge-diff/v4 v4.1.0 // indirect + sigs.k8s.io/yaml v1.2.0 // indirect ) replace ( diff --git a/go.sum b/go.sum index 275a3ba..ed1d301 100644 --- a/go.sum +++ b/go.sum @@ -36,10 +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.73 h1:aLtVRDeWNz/bvlZrhDyYL7lWelWV0TsMqzHmsG2BUAY= -github.com/Axway/agent-sdk v1.1.73/go.mod h1:CMuNRWCU4UswYhaR65bzLKEDT0xcViQwHJUGFCnH2yk= -github.com/Axway/agent-sdk v1.1.74-0.20240131154839-8ccbdd686492 h1:MtI5ZD3jSR3uYez39KNaUGILbmHUSPdIx8N0Llu4yqk= -github.com/Axway/agent-sdk v1.1.74-0.20240131154839-8ccbdd686492/go.mod h1:CMuNRWCU4UswYhaR65bzLKEDT0xcViQwHJUGFCnH2yk= +github.com/Axway/agent-sdk v1.1.75-0.20240214174555-1fb7a381a58e h1:l0oyoocfsxtUbk7q5ifUdu+P/1pmak3yAwNP4/WRj4s= +github.com/Axway/agent-sdk v1.1.75-0.20240214174555-1fb7a381a58e/go.mod h1:BS+CB4RtKbmU03QACSdmRh6ibU7oKmpsLCnJXkQAqrA= 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 v12.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= @@ -450,6 +448,8 @@ github.com/segmentio/asm v1.2.0 h1:9BQrFxC+YOHJlTlHGkTrFWf59nbL3XnCoFLTwDCI7ys= github.com/segmentio/asm v1.2.0/go.mod h1:BqMnlJP91P8d+4ibuonYZw9mfnzI9HfxselHZr5aAcs= github.com/shirou/gopsutil v3.20.12+incompatible h1:6VEGkOXP/eP4o2Ilk8cSsX0PhOEfX6leqAnD+urrp9M= github.com/shirou/gopsutil v3.20.12+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= +github.com/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5gKV8= +github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=