Skip to content

Commit

Permalink
/deploy sit
Browse files Browse the repository at this point in the history
  • Loading branch information
sliu008 committed Oct 26, 2023
1 parent bcd23bd commit e70cc4d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
11 changes: 5 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,25 +45,24 @@ configurations {

dependencies {
compile group: 'com.vividsolutions', name: 'jts', version: '1.13'
compile group: 'gov.nasa.earthdata', name: 'cumulus-message-adapter', version: '1.3.9'
compile group: 'gov.nasa.earthdata', name: 'cumulus-message-adapter', version: '2.0.0'
//implementation group: 'gov.nasa.earthdata', name: 'cumulus-message-adapter', version: '1.3.9'


compile group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.12.393'
compile group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.12.574'
compile group: 'com.amazonaws', name: 'aws-lambda-java-core', version: '1.2.1'
compile group: 'com.amazonaws', name: 'aws-java-sdk-stepfunctions', version: '1.12.363'

compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.13'
compile group: 'com.google.code.gson', name: 'gson', version: '2.9.0'

compile group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
compile group: 'org.json', name: 'json', version: '20220924'
compile group: 'org.json', name: 'json', version: '20231013'

compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
compile group: 'commons-io', name: 'commons-io', version: '2.8.0'
compile group: 'edu.ucar', name: 'cdm', version: '4.6.20'

compile group: 'org.geotools', name: 'gt-shapefile', version: '28.0'
compile group: 'org.geotools', name: 'gt-shapefile', version: '29.2'
compile group: 'commons-cli', name: 'commons-cli', version: '1.4'

compile group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: '2.17.2'
Expand All @@ -78,7 +77,7 @@ dependencies {
testImplementation 'org.openjdk.jmh:jmh-core:1.26'
testAnnotationProcessor 'org.openjdk.jmh:jmh-generator-annprocess:1.26'

antJUnit 'org.apache.ant:ant-junit:1.10.10'
antJUnit 'org.apache.ant:ant-junit:1.10.11'
compile group: "com.github.everit-org.json-schema", name: "org.everit.json.schema", version: "1.14.1"
compile group: 'org.quartz-scheduler', name: 'quartz', version: '2.3.2'

Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:8-jdk-alpine
FROM openjdk:11-jdk-alpine

RUN apk add gradle
RUN apk add python3==3.6.9-r3
Expand All @@ -16,7 +16,7 @@ USER dockeruser

RUN ./gradlew shadowJar

RUN wget https://github.com/nasa/cumulus-message-adapter/releases/download/v2.0.2/cumulus-message-adapter.zip
RUN wget https://github.com/nasa/cumulus-message-adapter/releases/download/v2.0.3/cumulus-message-adapter.zip
RUN mkdir cumulus-message-adapter
RUN unzip -d cumulus-message-adapter cumulus-message-adapter.zip

Expand Down
2 changes: 1 addition & 1 deletion terraform/forge.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ resource "aws_lambda_function" "forge_task" {
source_code_hash = filebase64sha256("${path.module}/forge-lambda.zip")
handler = "gov.nasa.podaac.forge.FootprintHandler::handleRequestStreams"
role = var.lambda_role
runtime = "java8"
runtime = "java11"
timeout = var.timeout
memory_size = var.memory_size

Expand Down

0 comments on commit e70cc4d

Please sign in to comment.