<parent>
<groupId>org.onap.policy.parent</groupId>
<artifactId>policy-parent</artifactId>
- <version>3.5.3-SNAPSHOT</version>
+ <version>3.7.0-SNAPSHOT</version>
</parent>
<artifactId>integration</artifactId>
<packaging>pom</packaging>
<properties>
<java.version>11</java.version>
- <!-- NOTE: For RELEASE/SNAPSHOT always set to the project version -->
- <version.parent.resources>3.5.2</version.parent.resources>
- <version.logback>1.2.10</version.logback>
+ <!-- Note Well: For RELEASE/SNAPSHOT always set to the project version -->
+ <version.parent.resources>3.6.2-SNAPSHOT</version.parent.resources>
+ <version.logback>1.2.11</version.logback>
<version.dmaap>1.1.12</version.dmaap>
<version.powermock>2.0.9</version.powermock>
<version.eclipselink>2.7.8</version.eclipselink>
- <version.drools>7.68.0.Final</version.drools>
- <version.jersey>2.33</version.jersey>
- <version.jackson>2.12.6</version.jackson>
- <version.jackson.databind>2.12.6.1</version.jackson.databind>
- <version.ccsdk>1.1.5</version.ccsdk>
+ <version.drools>7.73.0.Final</version.drools>
+ <version.jersey>2.37</version.jersey>
+ <version.jackson>2.14.0-rc1</version.jackson>
+ <version.ccsdk>1.4.0</version.ccsdk>
<version.swagger>1.6.6</version.swagger>
<version.javax.bind>2.3.1</version.javax.bind>
<version.javax.json>1.1.4</version.javax.json>
- <version.netty>4.1.70.Final</version.netty>
- <version.springboot>2.5.0</version.springboot>
- <version.springboot.actuator>2.5.4</version.springboot.actuator>
+ <version.netty>4.1.84.Final</version.netty>
+ <version.springboot>2.5.14</version.springboot>
<version.hibernate.core>5.4.31.Final</version.hibernate.core>
<version.eelf.core>1.0.0</version.eelf.core>
<version.camel>3.7.3</version.camel>
<version.tomcat>9.0.62</version.tomcat>
- <version.mockserver>5.11.2</version.mockserver>
+ <version.mockserver>5.13.2</version.mockserver>
<version.immutable>2.8.8</version.immutable>
<version.springfox>3.0.0</version.springfox>
<version.jakarta-api>2.0.2</version.jakarta-api>
<version.io.micrometer>1.7.3</version.io.micrometer>
<version.io.prometheus>0.11.0</version.io.prometheus>
- <version.postgres>42.3.3</version.postgres>
+ <version.postgres>42.5.0</version.postgres>
+ <version.kafka>3.3.1</version.kafka>
<jacoco.dataFile>${project.basedir}/../target/code-coverage/jacoco-ut.exec</jacoco.dataFile>
<repo.npm>https://nexus3.onap.org/repository/npm.public/npm/-/</repo.npm>
<docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
- <version>${version.jackson.databind}</version>
+ <version>${version.jackson}</version>
</dependency>
<dependency>
<version>${version.jackson}</version>
</dependency>
- <!-- Overriding this one breaks drools-applicaiotns -->
- <!--dependency>
- <groupId>com.fasterxml.jackson.module</groupId>
- <artifactId>jackson-module-kotlin</artifactId>
- <version>${version.jackson}</version>
- </dependency-->
-
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-scala_2.12</artifactId>
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
- <version>2.7.1</version>
+ <version>2.7.6</version>
</dependency>
<!-- Postgres -->
<version>${version.postgres}</version>
</dependency>
+ <!-- Kafka -->
+ <dependency>
+ <groupId>org.apache.kafka</groupId>
+ <artifactId>kafka-clients</artifactId>
+ <version>${version.kafka}</version>
+ <exclusions>
+ <!-- The default Zookeeper version in Kafka has vulnerabilities -->
+ <exclusion>
+ <groupId>org.apache.zookeeper</groupId>
+ <artifactId>zookeeper</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
<!-- Prometheus Client Libraries -->
<dependency>
<groupId>io.prometheus</groupId>
<groupId>org.glassfish.jersey.containers</groupId>
<artifactId>jersey-container-servlet-core</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>javax.validation</groupId>
+ <artifactId>validation-api</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<artifactId>json</artifactId>
<version>20201115</version>
</dependency>
+ <dependency>
+ <groupId>com.worldturner.medeia</groupId>
+ <artifactId>medeia-validator-gson</artifactId>
+ <version>1.1.1</version>
+ </dependency>
<!-- Lombok -->
<dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
- <version>1.27</version>
+ <version>1.33</version>
</dependency>
<!-- Drools -->
<dependency>
<groupId>org.onap.sdc.sdc-distribution-client</groupId>
<artifactId>sdc-distribution-client</artifactId>
- <version>1.4.1</version>
+ <version>2.0.0</version>
</dependency>
<dependency>
<version>1.1</version>
</dependency>
+ <!-- Dependencies dragged in by CDS -->
+ <dependency>
+ <groupId>com.google.protobuf</groupId>
+ <artifactId>protobuf-java</artifactId>
+ <version>3.21.7</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jetbrains.kotlin</groupId>
+ <artifactId>kotlin-daemon-client</artifactId>
+ <version>1.7.20</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jetbrains.kotlin</groupId>
+ <artifactId>kotlin-scripting-jvm</artifactId>
+ <version>1.7.20</version>
+ </dependency>
+
<!-- Test dependencies -->
<!-- In memory Database Engine -->
<artifactId>netty-all</artifactId>
<version>${version.netty}</version>
</dependency>
+ <dependency>
+ <groupId>io.netty</groupId>
+ <artifactId>netty-common</artifactId>
+ <version>${version.netty}</version>
+ </dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-codec-http2</artifactId>
<version>${version.netty}</version>
</dependency>
- <!-- Commons Lang -->
+ <!-- Apache Commons -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
- <version>3.11</version>
+ <version>3.12.0</version>
</dependency>
- <!-- Commons IO -->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<dependency>
<groupId>org.apache.commons</groupId>
- <artifactId>commons-vfs2</artifactId>
- <version>2.8.0</version>
+ <artifactId>commons-text</artifactId>
+ <version>1.10.0</version>
</dependency>
+ <!-- Google Code -->
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1.1</version>
</dependency>
+ <!-- Github -->
<dependency>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java-core</artifactId>
<artifactId>spring-boot-starter-validation</artifactId>
<version>${version.springboot}</version>
</dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-aop</artifactId>
+ <version>${version.springboot}</version>
+ </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<version>${version.springboot}</version>
</dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-actuator</artifactId>
+ <version>${version.springboot}</version>
+ </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
<ignore />
</action>
</pluginExecution>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <versionRange>3.0.0,)</versionRange>
+ <goals>
+ <goal>bundle</goal>
+ <goal>process</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore />
+ </action>
+ </pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.jacoco</groupId>
</pluginManagement>
</build>
</profile>
- <profile>
- <id>generateSwaggerDocs</id>
- <activation>
- <property>
- <name>!skipTests</name>
- </property>
- </activation>
- <build>
- <plugins>
- <!-- Read the swagger.json file and the definition from SwaggerConfig.java; generate
- a list of .adoc files containing the APIs info in more structured way -->
- <plugin>
- <groupId>io.github.swagger2markup</groupId>
- <artifactId>swagger2markup-maven-plugin</artifactId>
- <version>1.3.3</version>
- <dependencies>
- <dependency>
- <groupId>io.github.swagger2markup</groupId>
- <artifactId>swagger2markup-import-files-ext</artifactId>
- <version>1.3.3</version>
- </dependency>
- <dependency>
- <groupId>io.github.swagger2markup</groupId>
- <artifactId>swagger2markup-spring-restdocs-ext</artifactId>
- <version>1.3.3</version>
- </dependency>
- </dependencies>
- <configuration>
- <swaggerInput>${project.build.directory}/swagger/swagger.json</swaggerInput>
- <outputDir>${project.build.directory}/asciidoc/generated</outputDir>
- <config>
- <swagger2markup.markupLanguage>ASCIIDOC</swagger2markup.markupLanguage>
- </config>
- </configuration>
- <executions>
- <execution>
- <phase>${swagger.generation.phase}</phase>
- <goals>
- <goal>convertSwagger2markup</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>unpack-swagger-asciidoc</id>
- <phase>${swagger.generation.phase}</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.onap.policy.parent</groupId>
- <artifactId>policy-parent-resources</artifactId>
- <type>jar</type>
- <overWrite>true</overWrite>
- <outputDirectory>${project.build.directory}</outputDirectory>
- </artifactItem>
- </artifactItems>
- <includes>asciidoc/**</includes>
- <outputDirectory>${project.build.directory}</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- Run the generated asciidoc through Asciidoctor to generate other documentation
- types, such as PDFs or HTML5 -->
- <plugin>
- <groupId>org.asciidoctor</groupId>
- <artifactId>asciidoctor-maven-plugin</artifactId>
- <version>1.5.7.1</version>
- <dependencies>
- <dependency>
- <groupId>org.asciidoctor</groupId>
- <artifactId>asciidoctorj-pdf</artifactId>
- <version>1.5.0-alpha.10.1</version>
- </dependency>
- </dependencies>
- <configuration>
- <sourceDirectory>${project.build.directory}/asciidoc</sourceDirectory>
- <sourceDocumentName>swagger.adoc</sourceDocumentName>
- <attributes>
- <doctype>book</doctype>
- <toc>left</toc>
- <toclevels>3</toclevels>
- <numbered />
- <hardbreaks />
- <sectlinks />
- <sectanchors />
- <generated>${project.build.directory}/asciidoc/generated</generated>
- </attributes>
- </configuration>
-
- <executions>
- <execution>
- <id>output-html</id>
- <phase>${swagger.generation.phase}</phase>
- <goals>
- <goal>process-asciidoc</goal>
- </goals>
- <configuration>
- <backend>html5</backend>
- <outputDirectory>${project.build.directory}/swagger</outputDirectory>
- </configuration>
- </execution>
- <execution>
- <id>output-pdf</id>
- <phase>${swagger.generation.phase}</phase>
- <goals>
- <goal>process-asciidoc</goal>
- </goals>
- <configuration>
- <backend>pdf</backend>
- <outputDirectory>${project.build.directory}/swagger</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- Create a tarball for Swagger documents -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <dependencies>
- <dependency>
- <groupId>org.onap.policy.parent</groupId>
- <artifactId>policy-parent-resources</artifactId>
- <version>${version.parent.resources}</version>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <id>generate-swagger-tar</id>
- <phase>${swagger.generation.phase}</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
- <descriptorRefs>
- <descriptorRef>swagger-docs</descriptorRef>
- </descriptorRefs>
- <finalName>${project.artifactId}</finalName>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- </plugins>
- </build>
- </profile>
</profiles>
<build>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
- <version>0.34.1</version>
+ <version>0.40.1</version>
</plugin>
<plugin>
<groupId>org.kie</groupId>