diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 1d1b9aa..dad7cda 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -115,7 +115,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '1.24.4' + go-version: '1.26.0' #scripts to include the integration and end to end tests should be added here - name: Run Test Cases and Coverage run: | diff --git a/.github/workflows/release-lambda-code.yaml b/.github/workflows/release-lambda-code.yaml index a213c3b..e847d28 100644 --- a/.github/workflows/release-lambda-code.yaml +++ b/.github/workflows/release-lambda-code.yaml @@ -23,7 +23,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '1.24.4' + go-version: '1.26.0' - name: Build and Package Go executable run: | diff --git a/.github/workflows/release-template-files.yaml b/.github/workflows/release-template-files.yaml index 0d98fe1..8e84ab3 100644 --- a/.github/workflows/release-template-files.yaml +++ b/.github/workflows/release-template-files.yaml @@ -20,7 +20,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '1.24.4' + go-version: '1.26.0' - name: Install AWS SAM CLI run: | diff --git a/.github/workflows/run-e2e-tests.yaml b/.github/workflows/run-e2e-tests.yaml index da29a5e..522abcc 100644 --- a/.github/workflows/run-e2e-tests.yaml +++ b/.github/workflows/run-e2e-tests.yaml @@ -24,7 +24,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '1.24.4' + go-version: '1.26.0' - name: Install AWS SAM CLI run: | @@ -79,7 +79,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '1.24.4' + go-version: '1.26.0' - name: Install AWS SAM CLI run: | @@ -129,7 +129,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '1.24.4' + go-version: '1.26.0' - name: Install AWS SAM CLI run: | @@ -176,7 +176,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '1.24.4' + go-version: '1.26.0' - name: Install AWS SAM CLI run: | @@ -223,7 +223,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.26.0' - name: Install AWS SAM CLI run: | diff --git a/e2e-tests/common-scripts/entity_synthesis_param.cfg b/e2e-tests/common-scripts/entity_synthesis_param.cfg index d52a878..30c2e4d 100644 --- a/e2e-tests/common-scripts/entity_synthesis_param.cfg +++ b/e2e-tests/common-scripts/entity_synthesis_param.cfg @@ -1,4 +1,4 @@ # Entity synthesis Parameters , aws related params are dropped in pipeline. instrumentation_provider=aws instrumentation_name=lambda -instrumentation_version=1.1.1 +instrumentation_version=1.1.2 diff --git a/integration-tests/common/config.go b/integration-tests/common/config.go index 42410f2..6e1f82a 100644 --- a/integration-tests/common/config.go +++ b/integration-tests/common/config.go @@ -8,7 +8,7 @@ const ( // LambdaHandler name of the lambda handler LambdaHandler = "main" // LambdaRuntime type of lambda runtime - LambdaRuntime = "go1.x" + LambdaRuntime = "provided.al2023" // QueryEndpoint query endpoint to fetch logs from new relic QueryEndpoint = "https://api.newrelic.com/graphql" // ZipFileName executable zip file name diff --git a/integration-tests/go.mod b/integration-tests/go.mod index f7c5b7a..575c44a 100644 --- a/integration-tests/go.mod +++ b/integration-tests/go.mod @@ -1,19 +1,19 @@ +module github.com/newrelic/aws-unified-lambda/integration-tests + +go 1.26.0 + require ( - github.com/aws/aws-sdk-go v1.55.5 + github.com/aws/aws-sdk-go v1.55.8 github.com/joho/godotenv v1.5.1 - github.com/newrelic/newrelic-client-go/v2 v2.51.3 - github.com/stretchr/testify v1.9.0 + github.com/newrelic/newrelic-client-go/v2 v2.79.0 + github.com/stretchr/testify v1.11.1 ) require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/sirupsen/logrus v1.9.3 // indirect - golang.org/x/sys v0.20.0 // indirect + github.com/sirupsen/logrus v1.9.4 // indirect + golang.org/x/sys v0.41.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) - -module github.com/newrelic/aws-unified-lambda-logging - -go 1.24.4 diff --git a/integration-tests/go.sum b/integration-tests/go.sum index 84a1df4..d2eb215 100644 --- a/integration-tests/go.sum +++ b/integration-tests/go.sum @@ -1,5 +1,7 @@ github.com/aws/aws-sdk-go v1.55.5 h1:KKUZBfBoyqy5d3swXyiC7Q76ic40rYcbqH7qjh59kzU= github.com/aws/aws-sdk-go v1.55.5/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU= +github.com/aws/aws-sdk-go v1.55.8 h1:JRmEUbU52aJQZ2AjX4q4Wu7t4uZjOu71uyNmaWlUkJQ= +github.com/aws/aws-sdk-go v1.55.8/go.mod h1:ZkViS9AqA6otK+JBBNH2++sx1sgxrPKcSzPPvQkUtXk= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -13,19 +15,27 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/newrelic/newrelic-client-go/v2 v2.51.3 h1:Bu/cUs6nfMjQMPBcxxHt4Xm30tKDT7ttYy/XRDsWP6Y= github.com/newrelic/newrelic-client-go/v2 v2.51.3/go.mod h1:+RRjI3nDGWT3kLm9Oi3QxpBm70uu8q1upEHBVWCZFpo= +github.com/newrelic/newrelic-client-go/v2 v2.79.0 h1:SNkjPjN8qpqrD/AmwHlHCTmN1oc4d5gMkXmbLOwOIro= +github.com/newrelic/newrelic-client-go/v2 v2.79.0/go.mod h1:kROngr/zeNyxbdOI3zPK4Al+ze32XjLEVUDzjxsKW9g= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= +github.com/sirupsen/logrus v1.9.4 h1:TsZE7l11zFCLZnZ+teH4Umoq5BhEIfIzfRDZ1Uzql2w= +github.com/sirupsen/logrus v1.9.4/go.mod h1:ftWc9WdOfJ0a92nsE2jF5u5ZwH8Bv2zdeOC42RjbV2g= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= +github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.41.0 h1:Ivj+2Cp/ylzLiEU89QhWblYnOE9zerudt9Ftecq2C6k= +golang.org/x/sys v0.41.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/integration-tests/helpers.go b/integration-tests/helpers.go index 5f86d69..a80d17c 100644 --- a/integration-tests/helpers.go +++ b/integration-tests/helpers.go @@ -2,6 +2,13 @@ package integrationtests import ( "fmt" + "io/ioutil" + "os" + "os/exec" + "path/filepath" + "strings" + "time" + "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/credentials" "github.com/aws/aws-sdk-go/aws/endpoints" @@ -11,15 +18,9 @@ import ( "github.com/aws/aws-sdk-go/service/s3" "github.com/aws/aws-sdk-go/service/secretsmanager" "github.com/aws/aws-sdk-go/service/sqs" - integrationtests "github.com/newrelic/aws-unified-lambda-logging/common" - "github.com/newrelic/aws-unified-lambda-logging/helpers" + integrationtests "github.com/newrelic/aws-unified-lambda/integration-tests/common" + "github.com/newrelic/aws-unified-lambda/integration-tests/helpers" "github.com/newrelic/newrelic-client-go/v2/pkg/testhelpers" - "io/ioutil" - "os" - "os/exec" - "path/filepath" - "strings" - "time" ) // CreateAWSSession function to create AWS session diff --git a/integration-tests/helpers/lambdaHelper.go b/integration-tests/helpers/lambdaHelper.go index e20bf9e..79242ae 100644 --- a/integration-tests/helpers/lambdaHelper.go +++ b/integration-tests/helpers/lambdaHelper.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/service/lambda" - integrationtests "github.com/newrelic/aws-unified-lambda-logging/common" + integrationtests "github.com/newrelic/aws-unified-lambda/integration-tests/common" "log" ) diff --git a/integration-tests/helpers/newRelicLogsFetcherHelper.go b/integration-tests/helpers/newRelicLogsFetcherHelper.go index 41f7fae..b4abf40 100644 --- a/integration-tests/helpers/newRelicLogsFetcherHelper.go +++ b/integration-tests/helpers/newRelicLogsFetcherHelper.go @@ -8,7 +8,7 @@ import ( "net/http" "strconv" - integrationtests "github.com/newrelic/aws-unified-lambda-logging/common" + integrationtests "github.com/newrelic/aws-unified-lambda/integration-tests/common" ) // FetchLogsFromNewRelic function to fetch logs diff --git a/integration-tests/helpers/secretManagerHelper.go b/integration-tests/helpers/secretManagerHelper.go index d9b37b3..793693c 100644 --- a/integration-tests/helpers/secretManagerHelper.go +++ b/integration-tests/helpers/secretManagerHelper.go @@ -4,7 +4,7 @@ import ( "encoding/json" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/service/secretsmanager" - integrationtests "github.com/newrelic/aws-unified-lambda-logging/common" + integrationtests "github.com/newrelic/aws-unified-lambda/integration-tests/common" "log" ) diff --git a/integration-tests/main_test.go b/integration-tests/main_test.go index df0210d..b0cb8a5 100644 --- a/integration-tests/main_test.go +++ b/integration-tests/main_test.go @@ -4,8 +4,8 @@ import ( "fmt" "github.com/aws/aws-sdk-go/aws/session" "github.com/joho/godotenv" - "github.com/newrelic/aws-unified-lambda-logging/common" - "github.com/newrelic/aws-unified-lambda-logging/helpers" + "github.com/newrelic/aws-unified-lambda/integration-tests/common" + "github.com/newrelic/aws-unified-lambda/integration-tests/helpers" "github.com/stretchr/testify/assert" "os" "testing" diff --git a/lambda-template.yaml b/lambda-template.yaml index 4069538..ad3acd0 100644 --- a/lambda-template.yaml +++ b/lambda-template.yaml @@ -11,7 +11,7 @@ Metadata: LicenseUrl: LICENSE.txt ReadmeUrl: README.md HomePageUrl: https://github.com/newrelic/aws-unified-logging - SemanticVersion: 1.1.1 + SemanticVersion: 1.1.2 SourceCodeUrl: https://github.com/newrelic/aws-unified-logging AWS::CloudFormation::Interface: diff --git a/logging-firehose-metric-polling.yaml b/logging-firehose-metric-polling.yaml index 0d0d099..d9fb5d6 100644 --- a/logging-firehose-metric-polling.yaml +++ b/logging-firehose-metric-polling.yaml @@ -10,7 +10,7 @@ Metadata: LicenseUrl: LICENSE.txt ReadmeUrl: README.md HomePageUrl: https://github.com/newrelic/aws-unified-logging - SemanticVersion: 1.1.1 + SemanticVersion: 1.1.2 SourceCodeUrl: https://github.com/newrelic/aws-unified-logging AWS::CloudFormation::Interface: diff --git a/logging-firehose-metric-stream.yaml b/logging-firehose-metric-stream.yaml index 4ce7bd0..7c9b3c9 100644 --- a/logging-firehose-metric-stream.yaml +++ b/logging-firehose-metric-stream.yaml @@ -11,7 +11,7 @@ Metadata: LicenseUrl: LICENSE.txt ReadmeUrl: README.md HomePageUrl: https://github.com/newrelic/aws-unified-logging - SemanticVersion: 1.1.1 + SemanticVersion: 1.1.2 SourceCodeUrl: https://github.com/newrelic/aws-unified-logging AWS::CloudFormation::Interface: ParameterGroups: diff --git a/logging-lambda-firehose-metric-polling.yaml b/logging-lambda-firehose-metric-polling.yaml index 56f5c69..fd053f5 100644 --- a/logging-lambda-firehose-metric-polling.yaml +++ b/logging-lambda-firehose-metric-polling.yaml @@ -11,7 +11,7 @@ Metadata: LicenseUrl: LICENSE.txt ReadmeUrl: README.md HomePageUrl: https://github.com/newrelic/aws-unified-logging - SemanticVersion: 1.1.1 + SemanticVersion: 1.1.2 SourceCodeUrl: https://github.com/newrelic/aws-unified-logging AWS::CloudFormation::Interface: ParameterGroups: diff --git a/logging-lambda-firehose-metric-stream.yaml b/logging-lambda-firehose-metric-stream.yaml index e94c2b5..e0314ae 100644 --- a/logging-lambda-firehose-metric-stream.yaml +++ b/logging-lambda-firehose-metric-stream.yaml @@ -11,7 +11,7 @@ Metadata: LicenseUrl: LICENSE.txt ReadmeUrl: README.md HomePageUrl: https://github.com/newrelic/aws-unified-logging - SemanticVersion: 1.1.1 + SemanticVersion: 1.1.2 SourceCodeUrl: https://github.com/newrelic/aws-unified-logging AWS::CloudFormation::Interface: diff --git a/logging-lambda-firehose-template.yaml b/logging-lambda-firehose-template.yaml index 8d992cf..a05f2be 100644 --- a/logging-lambda-firehose-template.yaml +++ b/logging-lambda-firehose-template.yaml @@ -11,7 +11,7 @@ Metadata: LicenseUrl: LICENSE.txt ReadmeUrl: README.md HomePageUrl: https://github.com/newrelic/aws-unified-logging - SemanticVersion: 1.1.1 + SemanticVersion: 1.1.2 SourceCodeUrl: https://github.com/newrelic/aws-unified-logging AWS::CloudFormation::Interface: diff --git a/logging-lambda-metric-polling.yaml b/logging-lambda-metric-polling.yaml index a35d3c9..ccea7f1 100644 --- a/logging-lambda-metric-polling.yaml +++ b/logging-lambda-metric-polling.yaml @@ -11,7 +11,7 @@ Metadata: LicenseUrl: LICENSE.txt ReadmeUrl: README.md HomePageUrl: https://github.com/newrelic/aws-unified-logging - SemanticVersion: 1.1.1 + SemanticVersion: 1.1.2 SourceCodeUrl: https://github.com/newrelic/aws-unified-logging AWS::CloudFormation::Interface: diff --git a/logging-lambda-metric-stream.yaml b/logging-lambda-metric-stream.yaml index 7a2feb8..7b20cb1 100644 --- a/logging-lambda-metric-stream.yaml +++ b/logging-lambda-metric-stream.yaml @@ -11,7 +11,7 @@ Metadata: LicenseUrl: LICENSE.txt ReadmeUrl: README.md HomePageUrl: https://github.com/newrelic/aws-unified-logging - SemanticVersion: 1.1.1 + SemanticVersion: 1.1.2 SourceCodeUrl: https://github.com/newrelic/aws-unified-logging AWS::CloudFormation::Interface: diff --git a/src/cloudwatch/cloudwatch.go b/src/cloudwatch/cloudwatch.go index 958c014..03528b8 100644 --- a/src/cloudwatch/cloudwatch.go +++ b/src/cloudwatch/cloudwatch.go @@ -8,9 +8,9 @@ import ( "strings" "github.com/aws/aws-lambda-go/events" - "github.com/newrelic/aws-unified-lambda-logging/common" - "github.com/newrelic/aws-unified-lambda-logging/logger" - "github.com/newrelic/aws-unified-lambda-logging/util" + "github.com/newrelic/aws-unified-lambda/src/common" + "github.com/newrelic/aws-unified-lambda/src/logger" + "github.com/newrelic/aws-unified-lambda/src/util" ) // log is a logger instance used for logging messages. diff --git a/src/cloudwatch/cloudwatch_test.go b/src/cloudwatch/cloudwatch_test.go index a20e551..3d0ae81 100644 --- a/src/cloudwatch/cloudwatch_test.go +++ b/src/cloudwatch/cloudwatch_test.go @@ -6,8 +6,8 @@ import ( "time" "github.com/aws/aws-lambda-go/events" - "github.com/newrelic/aws-unified-lambda-logging/common" - "github.com/newrelic/aws-unified-lambda-logging/util" + "github.com/newrelic/aws-unified-lambda/src/common" + "github.com/newrelic/aws-unified-lambda/src/util" "github.com/stretchr/testify/assert" ) diff --git a/src/common/version.go b/src/common/version.go index c2d1f57..7861d8e 100644 --- a/src/common/version.go +++ b/src/common/version.go @@ -2,4 +2,4 @@ package common // InstrumentationVersion is a parameter necessary for Entity Synthesis at New Relic. -const InstrumentationVersion = "1.1.1" +const InstrumentationVersion = "1.1.2" diff --git a/src/go.mod b/src/go.mod index b4a06ae..6d78d01 100644 --- a/src/go.mod +++ b/src/go.mod @@ -1,44 +1,44 @@ +module github.com/newrelic/aws-unified-lambda/src + +go 1.26.0 + require ( - github.com/aws/aws-lambda-go v1.47.0 - github.com/aws/aws-sdk-go-v2 v1.30.5 - github.com/aws/aws-sdk-go-v2/config v1.27.16 - github.com/aws/aws-sdk-go-v2/service/s3 v1.54.3 - github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.32.8 + github.com/aws/aws-lambda-go v1.52.0 + github.com/aws/aws-sdk-go-v2 v1.41.2 + github.com/aws/aws-sdk-go-v2/config v1.32.10 + github.com/aws/aws-sdk-go-v2/service/s3 v1.96.1 + github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.41.2 github.com/dsnet/compress v0.0.1 - github.com/newrelic/newrelic-client-go/v2 v2.44.0 - github.com/sirupsen/logrus v1.9.3 - github.com/stretchr/testify v1.9.0 + github.com/newrelic/newrelic-client-go/v2 v2.79.0 + github.com/sirupsen/logrus v1.9.4 + github.com/stretchr/testify v1.11.1 ) require ( - github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2 // indirect - github.com/aws/aws-sdk-go-v2/credentials v1.17.16 // indirect - github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.3 // indirect - github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.17 // indirect - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.17 // indirect - github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 // indirect - github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.7 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.2 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.9 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.9 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.7 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.20.9 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.24.3 // indirect - github.com/aws/aws-sdk-go-v2/service/sts v1.28.10 // indirect - github.com/aws/smithy-go v1.20.4 // indirect + github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.5 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.19.10 // indirect + github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.18 // indirect + github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.18 // indirect + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.18 // indirect + github.com/aws/aws-sdk-go-v2/internal/ini v1.8.4 // indirect + github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.18 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.5 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.9 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.18 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.18 // indirect + github.com/aws/aws-sdk-go-v2/service/signin v1.0.6 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.30.11 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.15 // indirect + github.com/aws/aws-sdk-go-v2/service/sts v1.41.7 // indirect + github.com/aws/smithy-go v1.24.1 // indirect github.com/davecgh/go-spew v1.1.1 // indirect - github.com/google/go-cmp v0.6.0 // indirect - github.com/google/go-querystring v1.1.0 // indirect + github.com/google/go-querystring v1.2.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect - github.com/hashicorp/go-retryablehttp v0.7.7 // indirect + github.com/hashicorp/go-retryablehttp v0.7.8 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/stretchr/objx v0.5.2 // indirect - github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80 // indirect - github.com/valyala/fastjson v1.6.4 // indirect - golang.org/x/sys v0.26.0 // indirect + github.com/tomnomnom/linkheader v0.0.0-20250811210735-e5fe3b51442e // indirect + github.com/valyala/fastjson v1.6.10 // indirect + golang.org/x/sys v0.41.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) - -module github.com/newrelic/aws-unified-lambda-logging - -go 1.24.4 \ No newline at end of file diff --git a/src/go.sum b/src/go.sum index b898160..92bde94 100644 --- a/src/go.sum +++ b/src/go.sum @@ -1,44 +1,45 @@ -github.com/aws/aws-lambda-go v1.47.0 h1:0H8s0vumYx/YKs4sE7YM0ktwL2eWse+kfopsRI1sXVI= -github.com/aws/aws-lambda-go v1.47.0/go.mod h1:dpMpZgvWx5vuQJfBt0zqBha60q7Dd7RfgJv23DymV8A= -github.com/aws/aws-sdk-go-v2 v1.30.5 h1:mWSRTwQAb0aLE17dSzztCVJWI9+cRMgqebndjwDyK0g= -github.com/aws/aws-sdk-go-v2 v1.30.5/go.mod h1:CT+ZPWXbYrci8chcARI3OmI/qgd+f6WtuLOoaIA8PR0= -github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2 h1:x6xsQXGSmW6frevwDA+vi/wqhp1ct18mVXYN08/93to= -github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2/go.mod h1:lPprDr1e6cJdyYeGXnRaJoP4Md+cDBvi2eOj00BlGmg= -github.com/aws/aws-sdk-go-v2/config v1.27.16 h1:knpCuH7laFVGYTNd99Ns5t+8PuRjDn4HnnZK48csipM= -github.com/aws/aws-sdk-go-v2/config v1.27.16/go.mod h1:vutqgRhDUktwSge3hrC3nkuirzkJ4E/mLj5GvI0BQas= -github.com/aws/aws-sdk-go-v2/credentials v1.17.16 h1:7d2QxY83uYl0l58ceyiSpxg9bSbStqBC6BeEeHEchwo= -github.com/aws/aws-sdk-go-v2/credentials v1.17.16/go.mod h1:Ae6li/6Yc6eMzysRL2BXlPYvnrLLBg3D11/AmOjw50k= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.3 h1:dQLK4TjtnlRGb0czOht2CevZ5l6RSyRWAnKeGd7VAFE= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.3/go.mod h1:TL79f2P6+8Q7dTsILpiVST+AL9lkF6PPGI167Ny0Cjw= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.17 h1:pI7Bzt0BJtYA0N/JEC6B8fJ4RBrEMi1LBrkMdFYNSnQ= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.17/go.mod h1:Dh5zzJYMtxfIjYW+/evjQ8uj2OyR/ve2KROHGHlSFqE= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.17 h1:Mqr/V5gvrhA2gvgnF42Zh5iMiQNcOYthFYwCyrnuWlc= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.17/go.mod h1:aLJpZlCmjE+V+KtN1q1uyZkfnUWpQGpbsn89XPKyzfU= -github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 h1:hT8rVHwugYE2lEfdFE0QWVo81lF7jMrYJVDWI+f+VxU= -github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0/go.mod h1:8tu/lYfQfFe6IGnaOdrpVgEL2IrrDOf6/m9RQum4NkY= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.7 h1:/FUtT3xsoHO3cfh+I/kCbcMCN98QZRsiFet/V8QkWSs= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.7/go.mod h1:MaCAgWpGooQoCWZnMur97rGn5dp350w2+CeiV5406wE= -github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.2 h1:Ji0DY1xUsUr3I8cHps0G+XM3WWU16lP6yG8qu1GAZAs= -github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.2/go.mod h1:5CsjAbs3NlGQyZNFACh+zztPDI7fU6eW9QsxjfnuBKg= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.9 h1:UXqEWQI0n+q0QixzU0yUUQBZXRd5037qdInTIHFTl98= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.9/go.mod h1:xP6Gq6fzGZT8w/ZN+XvGMZ2RU1LeEs7b2yUP5DN8NY4= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.9 h1:Wx0rlZoEJR7JwlSZcHnEa7CNjrSIyVxMFWGAaXy4fJY= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.9/go.mod h1:aVMHdE0aHO3v+f/iw01fmXV/5DbfQ3Bi9nN7nd9bE9Y= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.7 h1:uO5XR6QGBcmPyo2gxofYJLFkcVQ4izOoGDNenlZhTEk= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.7/go.mod h1:feeeAYfAcwTReM6vbwjEyDmiGho+YgBhaFULuXDW8kc= -github.com/aws/aws-sdk-go-v2/service/s3 v1.54.3 h1:57NtjG+WLims0TxIQbjTqebZUKDM03DfM11ANAekW0s= -github.com/aws/aws-sdk-go-v2/service/s3 v1.54.3/go.mod h1:739CllldowZiPPsDFcJHNF4FXrVxaSGVnZ9Ez9Iz9hc= -github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.32.8 h1:HNXhQReFG2fbucvPRxDabbIGQf/6dieOfTnzoGPEqXI= -github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.32.8/go.mod h1:BYr9P/rrcLNJ8A36nT15p8tpoVDZ5lroHuMn/njecBw= -github.com/aws/aws-sdk-go-v2/service/sso v1.20.9 h1:aD7AGQhvPuAxlSUfo0CWU7s6FpkbyykMhGYMvlqTjVs= -github.com/aws/aws-sdk-go-v2/service/sso v1.20.9/go.mod h1:c1qtZUWtygI6ZdvKppzCSXsDOq5I4luJPZ0Ud3juFCA= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.24.3 h1:Pav5q3cA260Zqez42T9UhIlsd9QeypszRPwC9LdSSsQ= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.24.3/go.mod h1:9lmoVDVLz/yUZwLaQ676TK02fhCu4+PgRSmMaKR1ozk= -github.com/aws/aws-sdk-go-v2/service/sts v1.28.10 h1:69tpbPED7jKPyzMcrwSvhWcJ9bPnZsZs18NT40JwM0g= -github.com/aws/aws-sdk-go-v2/service/sts v1.28.10/go.mod h1:0Aqn1MnEuitqfsCNyKsdKLhDUOr4txD/g19EfiUqgws= -github.com/aws/smithy-go v1.20.4 h1:2HK1zBdPgRbjFOHlfeQZfpC4r72MOb9bZkiFwggKO+4= -github.com/aws/smithy-go v1.20.4/go.mod h1:irrKGvNn1InZwb2d7fkIRNucdfwR8R+Ts3wxYa/cJHg= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/aws/aws-lambda-go v1.52.0 h1:5NfiRaVl9FafUIt2Ld/Bv22kT371mfAI+l1Hd+tV7ZE= +github.com/aws/aws-lambda-go v1.52.0/go.mod h1:dpMpZgvWx5vuQJfBt0zqBha60q7Dd7RfgJv23DymV8A= +github.com/aws/aws-sdk-go-v2 v1.41.2 h1:LuT2rzqNQsauaGkPK/7813XxcZ3o3yePY0Iy891T2ls= +github.com/aws/aws-sdk-go-v2 v1.41.2/go.mod h1:IvvlAZQXvTXznUPfRVfryiG1fbzE2NGK6m9u39YQ+S4= +github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.5 h1:zWFmPmgw4sveAYi1mRqG+E/g0461cJ5M4bJ8/nc6d3Q= +github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.5/go.mod h1:nVUlMLVV8ycXSb7mSkcNu9e3v/1TJq2RTlrPwhYWr5c= +github.com/aws/aws-sdk-go-v2/config v1.32.10 h1:9DMthfO6XWZYLfzZglAgW5Fyou2nRI5CuV44sTedKBI= +github.com/aws/aws-sdk-go-v2/config v1.32.10/go.mod h1:2rUIOnA2JaiqYmSKYmRJlcMWy6qTj1vuRFscppSBMcw= +github.com/aws/aws-sdk-go-v2/credentials v1.19.10 h1:EEhmEUFCE1Yhl7vDhNOI5OCL/iKMdkkYFTRpZXNw7m8= +github.com/aws/aws-sdk-go-v2/credentials v1.19.10/go.mod h1:RnnlFCAlxQCkN2Q379B67USkBMu1PipEEiibzYN5UTE= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.18 h1:Ii4s+Sq3yDfaMLpjrJsqD6SmG/Wq/P5L/hw2qa78UAY= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.18/go.mod h1:6x81qnY++ovptLE6nWQeWrpXxbnlIex+4H4eYYGcqfc= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.18 h1:F43zk1vemYIqPAwhjTjYIz0irU2EY7sOb/F5eJ3HuyM= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.18/go.mod h1:w1jdlZXrGKaJcNoL+Nnrj+k5wlpGXqnNrKoP22HvAug= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.18 h1:xCeWVjj0ki0l3nruoyP2slHsGArMxeiiaoPN5QZH6YQ= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.18/go.mod h1:r/eLGuGCBw6l36ZRWiw6PaZwPXb6YOj+i/7MizNl5/k= +github.com/aws/aws-sdk-go-v2/internal/ini v1.8.4 h1:WKuaxf++XKWlHWu9ECbMlha8WOEGm0OUEZqm4K/Gcfk= +github.com/aws/aws-sdk-go-v2/internal/ini v1.8.4/go.mod h1:ZWy7j6v1vWGmPReu0iSGvRiise4YI5SkR3OHKTZ6Wuc= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.18 h1:eZioDaZGJ0tMM4gzmkNIO2aAoQd+je7Ug7TkvAzlmkU= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.18/go.mod h1:CCXwUKAJdoWr6/NcxZ+zsiPr6oH/Q5aTooRGYieAyj4= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.5 h1:CeY9LUdur+Dxoeldqoun6y4WtJ3RQtzk0JMP2gfUay0= +github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.5/go.mod h1:AZLZf2fMaahW5s/wMRciu1sYbdsikT/UHwbUjOdEVTc= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.9 h1:IJRzQTvdpjHRPItx9gzNcz7Y1F+xqAR+xiy9rr5ZYl8= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.9/go.mod h1:Kzm5e6OmNH8VMkgK9t+ry5jEih4Y8whqs+1hrkxim1I= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.18 h1:LTRCYFlnnKFlKsyIQxKhJuDuA3ZkrDQMRYm6rXiHlLY= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.18/go.mod h1:XhwkgGG6bHSd00nO/mexWTcTjgd6PjuvWQMqSn2UaEk= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.18 h1:/A/xDuZAVD2BpsS2fftFRo/NoEKQJ8YTnJDEHBy2Gtg= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.18/go.mod h1:hWe9b4f+djUQGmyiGEeOnZv69dtMSgpDRIvNMvuvzvY= +github.com/aws/aws-sdk-go-v2/service/s3 v1.96.1 h1:giB30dEeoar5bgDnkE0q+z7cFjcHaCjulpmPVmuKR84= +github.com/aws/aws-sdk-go-v2/service/s3 v1.96.1/go.mod h1:071TH4M3botFLWDbzQLfBR7tXYi7Fs2RsXSiH7nlUlY= +github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.41.2 h1:hezAo5AQM0moD4qitsn8bZuc2WE/MmP+cySGfJWEi1A= +github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.41.2/go.mod h1:7+wvNfdX7NZtxNyVLbbS89gYldQ3H+1nlVRr7J9KQDA= +github.com/aws/aws-sdk-go-v2/service/signin v1.0.6 h1:MzORe+J94I+hYu2a6XmV5yC9huoTv8NRcCrUNedDypQ= +github.com/aws/aws-sdk-go-v2/service/signin v1.0.6/go.mod h1:hXzcHLARD7GeWnifd8j9RWqtfIgxj4/cAtIVIK7hg8g= +github.com/aws/aws-sdk-go-v2/service/sso v1.30.11 h1:7oGD8KPfBOJGXiCoRKrrrQkbvCp8N++u36hrLMPey6o= +github.com/aws/aws-sdk-go-v2/service/sso v1.30.11/go.mod h1:0DO9B5EUJQlIDif+XJRWCljZRKsAFKh3gpFz7UnDtOo= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.15 h1:edCcNp9eGIUDUCrzoCu1jWAXLGFIizeqkdkKgRlJwWc= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.15/go.mod h1:lyRQKED9xWfgkYC/wmmYfv7iVIM68Z5OQ88ZdcV1QbU= +github.com/aws/aws-sdk-go-v2/service/sts v1.41.7 h1:NITQpgo9A5NrDZ57uOWj+abvXSb83BbyggcUBVksN7c= +github.com/aws/aws-sdk-go-v2/service/sts v1.41.7/go.mod h1:sks5UWBhEuWYDPdwlnRFn1w7xWdH29Jcpe+/PJQefEs= +github.com/aws/smithy-go v1.24.1 h1:VbyeNfmYkWoxMVpGUAbQumkODcYmfMRfZ8yQiH30SK0= +github.com/aws/smithy-go v1.24.1/go.mod h1:LEj2LM3rBRQJxPZTB4KuzZkaZYnZPnvgIhb4pu07mx0= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dsnet/compress v0.0.1 h1:PlZu0n3Tuv04TzpfPbrnI0HW/YwodEXDS+oPKahKF0Q= @@ -46,17 +47,16 @@ github.com/dsnet/compress v0.0.1/go.mod h1:Aw8dCMJ7RioblQeTqt88akK31OvO8Dhf5Jflh github.com/dsnet/golib v0.0.0-20171103203638-1ea166775780/go.mod h1:Lj+Z9rebOhdfkVLjJ8T6VcRQv3SXugXy999NBtR9aFY= github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM= github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE= -github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= -github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= +github.com/google/go-querystring v1.2.0 h1:yhqkPbu2/OH+V9BfpCVPZkNmUXhb2gBxJArfhIxNtP0= +github.com/google/go-querystring v1.2.0/go.mod h1:8IFJqpSRITyJ8QhQ13bmbeMBDfmeEJZD5A0egEOmkqU= github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= github.com/hashicorp/go-hclog v1.6.3 h1:Qr2kF+eVWjTiYmU7Y31tYlP1h0q/X3Nl3tPGdaB11/k= github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= -github.com/hashicorp/go-retryablehttp v0.7.7 h1:C8hUCYzor8PIfXHa4UrZkU4VvK8o9ISHxT2Q8+VepXU= -github.com/hashicorp/go-retryablehttp v0.7.7/go.mod h1:pkQpWZeYWskR+D1tR2O5OcBFOxfA7DoAO6xtkuQnHTk= +github.com/hashicorp/go-retryablehttp v0.7.8 h1:ylXZWnqa7Lhqpk0L1P1LzDtGcCR0rPVUrx/c8Unxc48= +github.com/hashicorp/go-retryablehttp v0.7.8/go.mod h1:rjiScheydd+CxvumBsIrFKlx3iS0jrZ7LvzFGFmuKbw= github.com/klauspost/compress v1.4.1/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= github.com/klauspost/cpuid v1.2.0/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= @@ -65,32 +65,27 @@ github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxec github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/newrelic/newrelic-client-go/v2 v2.44.0 h1:n4zP64Hfui8pjW/D3tbE1Hi+Acbpz8nBIrI2miEAGiI= -github.com/newrelic/newrelic-client-go/v2 v2.44.0/go.mod h1:pDFY24/6iIMEbPIdowTRrRn9YYwkXc3j+B+XpTb4oF4= +github.com/newrelic/newrelic-client-go/v2 v2.79.0 h1:SNkjPjN8qpqrD/AmwHlHCTmN1oc4d5gMkXmbLOwOIro= +github.com/newrelic/newrelic-client-go/v2 v2.79.0/go.mod h1:kROngr/zeNyxbdOI3zPK4Al+ze32XjLEVUDzjxsKW9g= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= -github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/sirupsen/logrus v1.9.4 h1:TsZE7l11zFCLZnZ+teH4Umoq5BhEIfIzfRDZ1Uzql2w= +github.com/sirupsen/logrus v1.9.4/go.mod h1:ftWc9WdOfJ0a92nsE2jF5u5ZwH8Bv2zdeOC42RjbV2g= github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= -github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80 h1:nrZ3ySNYwJbSpD6ce9duiP+QkD3JuLCcWkdaehUS/3Y= -github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80/go.mod h1:iFyPdL66DjUD96XmzVL3ZntbzcflLnznH0fr99w5VqE= +github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= +github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= +github.com/tomnomnom/linkheader v0.0.0-20250811210735-e5fe3b51442e h1:tD38/4xg4nuQCASJ/JxcvCHNb46w0cdAaJfkzQOO1bA= +github.com/tomnomnom/linkheader v0.0.0-20250811210735-e5fe3b51442e/go.mod h1:krvJ5AY/MjdPkTeRgMYbIDhbbbVvnPQPzsIsDJO8xrY= github.com/ulikunitz/xz v0.5.6/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8= -github.com/valyala/fastjson v1.6.4 h1:uAUNq9Z6ymTgGhcm0UynUAB6tlbakBrz6CQFax3BXVQ= -github.com/valyala/fastjson v1.6.4/go.mod h1:CLCAqky6SMuOcxStkYQvblddUtoRxhYMGLrsQns1aXY= -golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo= -golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +github.com/valyala/fastjson v1.6.10 h1:/yjJg8jaVQdYR3arGxPE2X5z89xrlhS0eGXdv+ADTh4= +github.com/valyala/fastjson v1.6.10/go.mod h1:e6FubmQouUNP73jtMLmcbxS6ydWIpOfhz34TSfO3JaE= +golang.org/x/sys v0.41.0 h1:Ivj+2Cp/ylzLiEU89QhWblYnOE9zerudt9Ftecq2C6k= +golang.org/x/sys v0.41.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/src/main.go b/src/main.go index 2db7275..8e227f3 100644 --- a/src/main.go +++ b/src/main.go @@ -7,12 +7,12 @@ import ( "sync" "github.com/aws/aws-lambda-go/lambda" - "github.com/newrelic/aws-unified-lambda-logging/cloudwatch" - "github.com/newrelic/aws-unified-lambda-logging/common" - "github.com/newrelic/aws-unified-lambda-logging/logger" - "github.com/newrelic/aws-unified-lambda-logging/s3" - "github.com/newrelic/aws-unified-lambda-logging/unmarshal" - "github.com/newrelic/aws-unified-lambda-logging/util" + "github.com/newrelic/aws-unified-lambda/src/cloudwatch" + "github.com/newrelic/aws-unified-lambda/src/common" + "github.com/newrelic/aws-unified-lambda/src/logger" + "github.com/newrelic/aws-unified-lambda/src/s3" + "github.com/newrelic/aws-unified-lambda/src/unmarshal" + "github.com/newrelic/aws-unified-lambda/src/util" ) var log = logger.NewLogrusLogger(logger.WithDebugLevel()) diff --git a/src/s3/s3.go b/src/s3/s3.go index 454aaa6..7008ed1 100644 --- a/src/s3/s3.go +++ b/src/s3/s3.go @@ -15,9 +15,9 @@ import ( "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/config" "github.com/aws/aws-sdk-go-v2/service/s3" - "github.com/newrelic/aws-unified-lambda-logging/common" - "github.com/newrelic/aws-unified-lambda-logging/logger" - "github.com/newrelic/aws-unified-lambda-logging/util" + "github.com/newrelic/aws-unified-lambda/src/common" + "github.com/newrelic/aws-unified-lambda/src/logger" + "github.com/newrelic/aws-unified-lambda/src/util" ) // ObjectClient is an interface that defines the methods for interacting with the S3 service. diff --git a/src/s3/s3_test.go b/src/s3/s3_test.go index 38e152a..2c1c7f7 100644 --- a/src/s3/s3_test.go +++ b/src/s3/s3_test.go @@ -8,8 +8,8 @@ import ( "errors" "fmt" "github.com/dsnet/compress/bzip2" - "github.com/newrelic/aws-unified-lambda-logging/common" - "github.com/newrelic/aws-unified-lambda-logging/util" + "github.com/newrelic/aws-unified-lambda/src/common" + "github.com/newrelic/aws-unified-lambda/src/util" "io" "strings" "testing" diff --git a/src/unmarshal/unmarshal.go b/src/unmarshal/unmarshal.go index 17c3886..0d17cab 100644 --- a/src/unmarshal/unmarshal.go +++ b/src/unmarshal/unmarshal.go @@ -3,7 +3,7 @@ package unmarshal import ( "encoding/json" - "github.com/newrelic/aws-unified-lambda-logging/logger" + "github.com/newrelic/aws-unified-lambda/src/logger" "github.com/aws/aws-lambda-go/events" ) diff --git a/src/util/message_util.go b/src/util/message_util.go index 24bdd10..d8f6e59 100644 --- a/src/util/message_util.go +++ b/src/util/message_util.go @@ -6,7 +6,7 @@ import ( "regexp" "time" - "github.com/newrelic/aws-unified-lambda-logging/common" + "github.com/newrelic/aws-unified-lambda/src/common" ) // SplitLargeMessages splits a large message into smaller messages if its length exceeds the maximum message size. diff --git a/src/util/message_util_test.go b/src/util/message_util_test.go index 1c8b854..f6ebd34 100644 --- a/src/util/message_util_test.go +++ b/src/util/message_util_test.go @@ -6,7 +6,7 @@ import ( "regexp" "testing" - "github.com/newrelic/aws-unified-lambda-logging/common" + "github.com/newrelic/aws-unified-lambda/src/common" "github.com/stretchr/testify/assert" ) diff --git a/src/util/newrelic_client_util.go b/src/util/newrelic_client_util.go index b897a76..4179869 100644 --- a/src/util/newrelic_client_util.go +++ b/src/util/newrelic_client_util.go @@ -2,7 +2,7 @@ package util import ( "context" - "github.com/newrelic/aws-unified-lambda-logging/common" + "github.com/newrelic/aws-unified-lambda/src/common" "github.com/newrelic/newrelic-client-go/v2/pkg/config" logging "github.com/newrelic/newrelic-client-go/v2/pkg/logs" "github.com/newrelic/newrelic-client-go/v2/pkg/region" diff --git a/src/util/newrelic_client_util_test.go b/src/util/newrelic_client_util_test.go index e7ff57a..6fa81ad 100644 --- a/src/util/newrelic_client_util_test.go +++ b/src/util/newrelic_client_util_test.go @@ -4,7 +4,7 @@ package util import ( "context" - "github.com/newrelic/aws-unified-lambda-logging/common" + "github.com/newrelic/aws-unified-lambda/src/common" "os" "sync" "testing" diff --git a/src/util/secrets_util.go b/src/util/secrets_util.go index c609433..a4d3584 100644 --- a/src/util/secrets_util.go +++ b/src/util/secrets_util.go @@ -4,12 +4,13 @@ import ( "context" "encoding/json" "errors" - "github.com/newrelic/aws-unified-lambda-logging/common" "os" + "github.com/newrelic/aws-unified-lambda/src/common" + awsConfig "github.com/aws/aws-sdk-go-v2/config" "github.com/aws/aws-sdk-go-v2/service/secretsmanager" - "github.com/newrelic/aws-unified-lambda-logging/logger" + "github.com/newrelic/aws-unified-lambda/src/logger" ) var log = logger.NewLogrusLogger(logger.WithDebugLevel()) diff --git a/src/util/secrets_util_test.go b/src/util/secrets_util_test.go index fe8febc..5111464 100644 --- a/src/util/secrets_util_test.go +++ b/src/util/secrets_util_test.go @@ -4,7 +4,7 @@ package util import ( "context" "errors" - "github.com/newrelic/aws-unified-lambda-logging/common" + "github.com/newrelic/aws-unified-lambda/src/common" "os" "testing"