Skip to content

Commit 41e21cd

Browse files
authored
java 17 and dependecies (#493)
1 parent 296a3f3 commit 41e21cd

4 files changed

Lines changed: 14 additions & 11 deletions

File tree

build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,25 +32,25 @@ configurations {
3232
}
3333

3434
dependencies {
35-
implementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.13'
35+
implementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.14'
3636
implementation group: 'javax.ws.rs', name: 'javax.ws.rs-api', version: '2.1.1'
3737
implementation group: 'com.google.code.gson', name: 'gson', version: '2.10.1'
38-
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'
38+
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.14.0'
3939
implementation group: 'org.glassfish.jaxb', name: 'jaxb-runtime', version: '4.0.3'
4040

4141
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.14.2'
42-
implementation group: 'com.github.bibsysdev', name: 'core', version: '1.28.0'
43-
implementation group: 'com.github.bibsysdev', name: 'apigateway', version: '1.27.6'
42+
implementation group: 'com.github.bibsysdev', name: 'core', version: '1.36.7'
43+
implementation group: 'com.github.bibsysdev', name: 'apigateway', version: '1.36.7'
4444

4545
implementation group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.20.0'
4646
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.20.0'
4747
implementation group: 'org.apache.logging.log4j', name: 'log4j-slf4j18-impl', version: '2.18.0'
4848
implementation group: 'org.slf4j', name: 'slf4j-api', version: '2.0.3'
4949
implementation group: 'com.amazonaws', name: 'aws-lambda-java-log4j2', version: '1.5.1'
5050

51-
testImplementation group: 'com.github.bibsysdev', name: 'nvatestutils', version: '1.25.17'
52-
testImplementation group: 'com.github.bibsysdev', name: 'logutils', version: '1.28.0'
53-
testImplementation group: 'org.mockito', name: 'mockito-core', version: '5.1.1'
51+
testImplementation group: 'com.github.bibsysdev', name: 'nvatestutils', version: '1.36.7'
52+
testImplementation group: 'com.github.bibsysdev', name: 'logutils', version: '1.36.7'
53+
testImplementation group: 'org.mockito', name: 'mockito-core', version: '5.3.1'
5454
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter', version: '5.9.1'
5555

5656
xsd2java group: 'com.sun.xml.bind', name: 'jaxb-xjc', version: '4.0.1'

buildspec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ phases:
77

88
install:
99
runtime-versions:
10-
java: corretto11
10+
java: corretto17
1111
commands:
1212
- pip3 install --upgrade cfn-lint
1313
# Upgrade AWS CLI to the latest version

gradlew

100644100755
File mode changed.

template.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ Resources:
294294
PRIMO_SERVICE_ENDPOINT: !Ref PrimoServiceEndpoint
295295
PRIMO_SERVICE_API: !Ref PrimoServiceApiKey
296296
Handler: no.unit.MetadataHandler::handleRequest
297-
Runtime: java11
297+
Runtime: java17
298298
MemorySize: 2048
299299
AutoPublishAlias: live
300300
DeploymentPreference:
@@ -317,7 +317,7 @@ Resources:
317317
Variables:
318318
ALLOWED_ORIGIN: '*'
319319
Handler: no.unit.ncip.NcipHandler::handleRequest
320-
Runtime: java11
320+
Runtime: java17
321321
MemorySize: 1024
322322
Events:
323323
PutEvent:
@@ -336,7 +336,7 @@ Resources:
336336
ALLOWED_ORIGIN: '*'
337337
BASEBIBLIOTEKSERVICE_ENDPOINT: !Ref BaseBibliotekServiceEndpoint
338338
Handler: no.unit.libcheck.LibcheckHandler::handleRequest
339-
Runtime: java11
339+
Runtime: java17
340340
MemorySize: 1024
341341
Events:
342342
GetInterLibraryLoanLibcheckEvent:
@@ -475,6 +475,9 @@ Resources:
475475
RestApiId: !Ref InterLibraryLoanMetadataApi
476476
Stage: !Ref InterLibraryLoanMetadataApi.Stage
477477

478+
openapi:
479+
info:
480+
paths:
478481
Outputs:
479482
ApiEndpoint:
480483
Description: "Endpoint base URL for the API"

0 commit comments

Comments
 (0)