From 0132f11fbed50ca062dfe2d23e98fea810242a16 Mon Sep 17 00:00:00 2001 From: Mike Audi Date: Thu, 26 Oct 2023 12:59:06 -0500 Subject: [PATCH 1/2] fix: layers and handler fix issues with utils and otel layers + invalid handler --- infra/sar/template.yml | 4 ++-- pom.xml | 27 ++++++++++++++++++++++++++- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/infra/sar/template.yml b/infra/sar/template.yml index c1ec322..198374b 100644 --- a/infra/sar/template.yml +++ b/infra/sar/template.yml @@ -46,7 +46,7 @@ Resources: Type: AWS::Serverless::Function Properties: CodeUri: ../.. - Handler: com.mytiki.ocean.metadata.App::handleRequest + Handler: com.mytiki.core.iceberg.metadata.App::handleRequest Runtime: java17 Architectures: - x86_64 @@ -59,7 +59,7 @@ Resources: Variables: AWS_LAMBDA_EXEC_WRAPPER: "/opt/otel-sqs-handler" ICEBERG_WAREHOUSE: !Sub "s3://${BucketName}" - ICEBERG_DATABASE: !Ref DatabaseName + ICEBERG_DATABASE_NAME: !Ref DatabaseName Events: SQSEvent: Type: SQS diff --git a/pom.xml b/pom.xml index ca2390d..0f7608e 100644 --- a/pom.xml +++ b/pom.xml @@ -19,9 +19,34 @@ com.mytiki core-iceberg-utils - 0.2.5 + 0.2.6 provided + + org.apache.logging.log4j + log4j-api + 2.21.0 + + + org.apache.logging.log4j + log4j-core + 2.21.0 + + + com.amazonaws + aws-lambda-java-log4j2 + 1.5.1 + + + org.slf4j + slf4j-simple + 2.0.9 + + + org.slf4j + slf4j-api + 2.0.9 + org.junit.jupiter junit-jupiter-engine From a561bb6c1def703353986a5049c89b497263a083 Mon Sep 17 00:00:00 2001 From: GH Action Date: Thu, 26 Oct 2023 18:00:29 +0000 Subject: [PATCH 2/2] version bump --- infra/sar/template.yml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/sar/template.yml b/infra/sar/template.yml index 198374b..6e1947e 100644 --- a/infra/sar/template.yml +++ b/infra/sar/template.yml @@ -30,7 +30,7 @@ Metadata: ReadmeUrl: ../../README.md Labels: [ 'iceberg' ] HomePageUrl: https://github.com/tiki/core-iceberg-metadata - SemanticVersion: 0.1.7 + SemanticVersion: 0.1.8 SourceCodeUrl: https://github.com/tiki/core-iceberg-metadata Resources: diff --git a/pom.xml b/pom.xml index 0f7608e..ec60913 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ 4.0.0 com.mytiki core-iceberg-metadata - 0.1.7 + 0.1.8 jar Iceberg Metadata