Skip to content

Commit

Permalink
🔧 Update dependancies
Browse files Browse the repository at this point in the history
  • Loading branch information
celinepelletier committed May 27, 2024
1 parent aa3b7de commit fdbc98a
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 20 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM openjdk:11.0.14-jdk-slim as build-keys
FROM openjdk:11.0.15-jdk-slim as build-keys

WORKDIR /tmp/kf-key-management
COPY . .

RUN ./mvnw package -DskipTests

FROM openjdk:11.0.14-jre-slim
FROM openjdk:11.0.15-jdk-slim

RUN mkdir -p /opt/kidsfirst/keys
COPY --from=build-keys /tmp/kf-key-management/target/keys.jar /opt/kidsfirst/keys/keys.jar
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>oauth2-oidc-sdk</artifactId>
<version>9.27</version>
<version>11.7.1</version>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
Expand All @@ -64,14 +64,14 @@

</exclusions>

<version>2.17.136</version>
<version>2.25.18</version>
</dependency>

<!-- KMS -->
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-kms</artifactId>
<version>1.12.200</version>
<version>1.12.730</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -130,7 +130,7 @@
<dependency>
<groupId>com.github.tomakehurst</groupId>
<artifactId>wiremock-jre8</artifactId>
<version>2.32.0</version>
<version>2.35.1</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/kidsfirst/web/rest/CavaticaResource.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package io.kidsfirst.web.rest;

import com.nimbusds.jose.shaded.json.JSONObject;
import io.kidsfirst.core.service.CavaticaService;
import io.kidsfirst.core.service.SecretService;
import lombok.val;
import net.minidev.json.JSONObject;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/io/kidsfirst/web/rest/FenceResource.java
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
package io.kidsfirst.web.rest;

import com.nimbusds.jose.shaded.json.JSONObject;
import io.kidsfirst.core.model.Secret;
import io.kidsfirst.core.service.FenceService;
import io.kidsfirst.core.service.SecretService;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import org.apache.http.client.utils.URIBuilder;
import net.minidev.json.JSONObject;
import org.springframework.http.ResponseEntity;
import org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.util.UriComponentsBuilder;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

import java.net.URISyntaxException;
import java.util.Optional;

@RestController
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
package io.kidsfirst.web.rest;

import com.nimbusds.jose.shaded.json.JSONObject;
import io.kidsfirst.core.service.FenceService;
import io.kidsfirst.core.service.SecretService;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import net.minidev.json.JSONObject;
import org.springframework.http.ResponseEntity;
import org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken;
import org.springframework.web.bind.annotation.*;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
import reactor.util.function.Tuple2;

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/kidsfirst/web/rest/KeysResource.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package io.kidsfirst.web.rest;

import com.nimbusds.jose.shaded.json.JSONObject;
import io.kidsfirst.core.model.Secret;
import io.kidsfirst.core.service.SecretService;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import net.minidev.json.JSONObject;
import org.springframework.http.MediaType;
import org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken;
import org.springframework.web.bind.annotation.*;
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/io/kidsfirst/keys/CavaticaTests.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package io.kidsfirst.keys;

import com.github.tomakehurst.wiremock.junit5.WireMockExtension;
import com.nimbusds.jose.shaded.json.JSONObject;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import net.minidev.json.JSONObject;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/io/kidsfirst/keys/DynamicProxyTests.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package io.kidsfirst.keys;

import com.github.tomakehurst.wiremock.junit5.WireMockExtension;
import com.nimbusds.jose.shaded.json.JSONObject;
import io.kidsfirst.core.model.Secret;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import net.minidev.json.JSONObject;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/io/kidsfirst/keys/FenceDeprecatedTests.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package io.kidsfirst.keys;

import com.github.tomakehurst.wiremock.junit5.WireMockExtension;
import com.nimbusds.jose.shaded.json.JSONObject;
import io.kidsfirst.core.model.Secret;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import net.minidev.json.JSONObject;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;
Expand Down Expand Up @@ -86,7 +86,7 @@ void testFenceGEN3AuthClientGET() {
.exchange()
.expectStatus().is2xxSuccessful()
.expectBody().jsonPath("$.scope").exists()
.json("{\"scope\":\"openid\",\"redirect_uri\":\"https://portal.kidsfirstdrc.org/gen3_redirect/\",\"client_id\":\"gen3_client_id\"}");
.json("{\"scope\":\"openid%20user\",\"redirect_uri\":\"https://portal.kidsfirstdrc.org/gen3_redirect/\",\"client_id\":\"gen3_client_id\"}");
}


Expand Down
2 changes: 1 addition & 1 deletion src/test/java/io/kidsfirst/keys/FenceTests.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package io.kidsfirst.keys;

import com.github.tomakehurst.wiremock.junit5.WireMockExtension;
import com.nimbusds.jose.shaded.json.JSONObject;
import io.kidsfirst.core.model.Secret;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import net.minidev.json.JSONObject;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/io/kidsfirst/keys/KeyStoreTests.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package io.kidsfirst.keys;

import com.nimbusds.jose.shaded.json.JSONObject;
import io.kidsfirst.core.model.Secret;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import net.minidev.json.JSONObject;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.springframework.http.HttpMethod;
Expand Down

0 comments on commit fdbc98a

Please sign in to comment.