Skip to content

Commit

Permalink
Update resource config runtimes to java8.al2 (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
jregistr authored Feb 21, 2024
1 parent d237747 commit a349cce
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion aws-kendra-datasource/.rpdk-config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"artifact_type": "RESOURCE",
"typeName": "AWS::Kendra::DataSource",
"language": "java",
"runtime": "java8",
"runtime": "java8.al2",
"entrypoint": "software.amazon.kendra.datasource.HandlerWrapper::handleRequest",
"testEntrypoint": "software.amazon.kendra.datasource.HandlerWrapper::testEntrypoint",
"settings": {
Expand Down
4 changes: 2 additions & 2 deletions aws-kendra-datasource/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: software.amazon.kendra.datasource.HandlerWrapper::handleRequest
Runtime: java8
Runtime: java8.al2
CodeUri: ./target/aws-kendra-datasource-handler-1.0-SNAPSHOT.jar

TestEntrypoint:
Type: AWS::Serverless::Function
Properties:
Handler: software.amazon.kendra.datasource.HandlerWrapper::testEntrypoint
Runtime: java8
Runtime: java8.al2
CodeUri: ./target/aws-kendra-datasource-handler-1.0-SNAPSHOT.jar
6 changes: 3 additions & 3 deletions aws-kendra-faq/.rpdk-config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"artifact_type": "RESOURCE",
"typeName": "AWS::Kendra::Faq",
"language": "java",
"runtime": "java8",
"runtime": "java8.al2",
"entrypoint": "software.amazon.kendra.faq.HandlerWrapper::handleRequest",
"testEntrypoint": "software.amazon.kendra.faq.HandlerWrapper::testEntrypoint",
"settings": {
Expand All @@ -12,8 +12,8 @@
"kendra",
"faq"
],
"codegen_template_path": "guided_aws",
"protocolVersion": "2.0.0"
"codegen_template_path": "guided_aws",
"protocolVersion": "2.0.0"
},
"logProcessorEnabled": "true",
"executableEntrypoint": "software.amazon.kendra.faq.HandlerWrapperExecutable"
Expand Down
4 changes: 2 additions & 2 deletions aws-kendra-faq/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: software.amazon.kendra.faq.HandlerWrapper::handleRequest
Runtime: java8
Runtime: java8.al2
CodeUri: ./target/aws-kendra-faq-handler-1.0-SNAPSHOT.jar

TestEntrypoint:
Type: AWS::Serverless::Function
Properties:
Handler: software.amazon.kendra.faq.HandlerWrapper::testEntrypoint
Runtime: java8
Runtime: java8.al2
CodeUri: ./target/aws-kendra-faq-handler-1.0-SNAPSHOT.jar
3 changes: 2 additions & 1 deletion aws-kendra-featuredresultsset/.rpdk-config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"artifact_type": "RESOURCE",
"typeName": "AWS::Kendra::FeaturedResultsSet",
"language": "java",
"runtime": "java8",
"runtime": "java8.al2",
"entrypoint": "software.amazon.kendra.featuredresultsset.HandlerWrapper::handleRequest",
"testEntrypoint": "software.amazon.kendra.featuredresultsset.HandlerWrapper::testEntrypoint",
"settings": {
Expand All @@ -24,5 +24,6 @@
"codegen_template_path": "guided_aws",
"protocolVersion": "2.0.0"
},
"logProcessorEnabled": "true",
"executableEntrypoint": "software.amazon.kendra.featuredresultsset.HandlerWrapperExecutable"
}
4 changes: 2 additions & 2 deletions aws-kendra-featuredresultsset/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: software.amazon.kendra.featuredresultsset.HandlerWrapper::handleRequest
Runtime: java8
Runtime: java8.al2
CodeUri: ./target/aws-kendra-featuredresultsset-handler-1.0-SNAPSHOT.jar

TestEntrypoint:
Type: AWS::Serverless::Function
Properties:
Handler: software.amazon.kendra.featuredresultsset.HandlerWrapper::testEntrypoint
Runtime: java8
Runtime: java8.al2
CodeUri: ./target/aws-kendra-featuredresultsset-handler-1.0-SNAPSHOT.jar
2 changes: 1 addition & 1 deletion aws-kendra-index/.rpdk-config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"artifact_type": "RESOURCE",
"typeName": "AWS::Kendra::Index",
"language": "java",
"runtime": "java8",
"runtime": "java8.al2",
"entrypoint": "software.amazon.kendra.index.HandlerWrapper::handleRequest",
"testEntrypoint": "software.amazon.kendra.index.HandlerWrapper::testEntrypoint",
"settings": {
Expand Down
4 changes: 2 additions & 2 deletions aws-kendra-index/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ Resources:
Type: AWS::Serverless::Function
Properties:
Handler: software.amazon.kendra.index.HandlerWrapper::handleRequest
Runtime: java8
Runtime: java8.al2
CodeUri: ./target/aws-kendra-index-handler-1.0-SNAPSHOT.jar

TestEntrypoint:
Type: AWS::Serverless::Function
Properties:
Handler: software.amazon.kendra.index.HandlerWrapper::testEntrypoint
Runtime: java8
Runtime: java8.al2
CodeUri: ./target/aws-kendra-index-handler-1.0-SNAPSHOT.jar

0 comments on commit a349cce

Please sign in to comment.