diff options
author | chandana.g.n <chandana.g.n@accenture.com> | 2024-10-09 13:17:38 +0000 |
---|---|---|
committer | chandana.g.n <chandana.g.n@accenture.com> | 2024-10-15 07:09:06 +0000 |
commit | b992a32981f459249634daa1dfdeb26b060a4e80 (patch) | |
tree | ce6f060c0d88aa5a447c4fbdb41bc15efe98314c /ms/blueprintsprocessor/application | |
parent | 940a89a0b3e9f69fcb58101d8d4a7ab2763ba715 (diff) |
Updated to Java-17
- Updated parent project and fixed security vulnerabilities
Issue-ID: CCSDK-4059
Change-Id: Ie02ae86a578dd7732b7a71b6a9e9d3a5997c17b3
Signed-off-by: chandana.g.n <chandana.g.n@accenture.com>
Diffstat (limited to 'ms/blueprintsprocessor/application')
3 files changed, 42 insertions, 4 deletions
diff --git a/ms/blueprintsprocessor/application/pom.xml b/ms/blueprintsprocessor/application/pom.xml index c44111daa..44c3c764b 100755 --- a/ms/blueprintsprocessor/application/pom.xml +++ b/ms/blueprintsprocessor/application/pom.xml @@ -50,6 +50,16 @@ </exclusions> </dependency> <dependency> + <groupId>org.springframework.security</groupId> + <artifactId>spring-security-core</artifactId> + <version>6.3.0</version> + </dependency> + <dependency> + <groupId>org.eclipse.jetty.http2</groupId> + <artifactId>http2-common</artifactId> + <version>11.0.20</version> + </dependency> + <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> <exclusions> @@ -167,6 +177,11 @@ <artifactId>snakeyaml</artifactId> </dependency> <dependency> + <groupId>org.scala-lang</groupId> + <artifactId>scala-library</artifactId> + <version>2.13.9</version> + </dependency> + <dependency> <groupId>com.nhaarman.mockitokotlin2</groupId> <artifactId>mockito-kotlin</artifactId> <!-- It's unusual but 'compile' here is the right scope since mockito is being used at runtime by @@ -192,11 +207,34 @@ <artifactId>wiremock-jre8</artifactId> <version>2.35.1</version> <scope>test</scope> + <exclusions> + <exclusion> + <groupId>commons-fileupload</groupId> + <artifactId>commons-fileupload</artifactId> + </exclusion> + </exclusions> </dependency> + <!-- END UAT --> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> + <version>1.2.13</version> + </dependency> + <dependency> + <groupId>org.springframework.kafka</groupId> + <artifactId>spring-kafka</artifactId> + <version>2.9.13</version> + </dependency> + <dependency> + <groupId>org.bitbucket.b_c</groupId> + <artifactId>jose4j</artifactId> + <version>0.9.4</version> + </dependency> + <dependency> + <groupId>org.apache.zookeeper</groupId> + <artifactId>zookeeper</artifactId> + <version>3.9.2</version> </dependency> </dependencies> diff --git a/ms/blueprintsprocessor/application/src/main/docker/Dockerfile b/ms/blueprintsprocessor/application/src/main/docker/Dockerfile index 9bb56acc8..2bbcda976 100755 --- a/ms/blueprintsprocessor/application/src/main/docker/Dockerfile +++ b/ms/blueprintsprocessor/application/src/main/docker/Dockerfile @@ -1,6 +1,6 @@ # Prepare stage for multistage image build ## START OF STAGE0 ## -FROM onap/ccsdk-alpine-j17-image:1.5.1 AS stage0 +FROM onap/ccsdk-alpine-j17-image:1.6.2 AS stage0 USER root # add entrypoint @@ -22,7 +22,7 @@ RUN tar -xzf /source.tar.gz -C /tmp \ ## This will create actual image -FROM onap/ccsdk-alpine-j17-image:1.5.1 +FROM onap/ccsdk-alpine-j17-image:1.6.2 USER root COPY --from=stage0 /opt /opt diff --git a/ms/blueprintsprocessor/application/src/main/resources/application-dev.properties b/ms/blueprintsprocessor/application/src/main/resources/application-dev.properties index e20e2649d..29ea46adf 100755 --- a/ms/blueprintsprocessor/application/src/main/resources/application-dev.properties +++ b/ms/blueprintsprocessor/application/src/main/resources/application-dev.properties @@ -75,7 +75,7 @@ blueprintsprocessor.grpcclient.py-executor.trustCertCollection=src/main/resource # db -blueprintsprocessor.db.url=jdbc:mysql://localhost:3306/sdnctl +blueprintsprocessor.db.url=jdbc:mariadb://localhost:3306/sdnctl blueprintsprocessor.db.username=sdnctl blueprintsprocessor.db.password=sdnctl blueprintsprocessor.db.driverClassName=org.mariadb.jdbc.Driver @@ -86,7 +86,7 @@ blueprintsprocessor.db.hibernateDialect=org.hibernate.dialect.MySQL5InnoDBDialec # processor-db endpoint blueprintsprocessor.db.processor-db.type=maria-db -blueprintsprocessor.db.processor-db.url=jdbc:mysql://localhost:3306/sdnctl +blueprintsprocessor.db.processor-db.url=jdbc:mariadb://localhost:3306/sdnctl blueprintsprocessor.db.processor-db.username=root blueprintsprocessor.db.processor-db.password=secretpassword |