From 2fe7134ac2bb2f4c10a6acf0164a4653393a5612 Mon Sep 17 00:00:00 2001 From: vv770d Date: Thu, 10 Feb 2022 21:48:20 +0000 Subject: [DCAEMOD/Runtime] Fix NFE error on BP generation Change-Id: I71bb73d482221731a0355f01670b4d45720af273 Signed-off-by: vv770d Issue-ID: DCAEGEN2-3028 Issue-ID: DCAEGEN2-3077 Signed-off-by: vv770d --- mod/runtimeapi/Changelog.md | 3 + mod/runtimeapi/pom.xml | 205 ++++++++-------- mod/runtimeapi/runtime-core/pom.xml | 19 +- .../onap/dcae/runtime/core/FlowGraphParser.java | 5 +- mod/runtimeapi/runtime-web/pom.xml | 272 ++++++++++----------- 5 files changed, 253 insertions(+), 251 deletions(-) diff --git a/mod/runtimeapi/Changelog.md b/mod/runtimeapi/Changelog.md index 3dd643c..597eda4 100644 --- a/mod/runtimeapi/Changelog.md +++ b/mod/runtimeapi/Changelog.md @@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [1.2.4] - 2022-02-10 + - [DCAEGEN2-3077][DCAEGEN2-3028] Address NFE issue due to integer type restriction + ## [1.2.3] - Update BPGenerator 1.7.3 - Update default k8splugin import diff --git a/mod/runtimeapi/pom.xml b/mod/runtimeapi/pom.xml index 11e5580..0cb4ba3 100644 --- a/mod/runtimeapi/pom.xml +++ b/mod/runtimeapi/pom.xml @@ -1,9 +1,8 @@ - 4.0.0 - pom - - runtime-core - runtime-web - - - org.onap.oparent - oparent - 2.0.0 - - org.onap.dcaegen2.platform.mod - runtimeapi - 1.2.3 - dcaegen2-platform-mod-runtimeapi - MOD Runtime API - - true - yyyyMMdd'T'HHmmss - ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml - - - - - java11 - - 11 - 11 - 11 - - - - m2e.version - - true - - - - java8 - - 1.8 - 1.8 - - - + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 + pom + + runtime-core + runtime-web + + + org.onap.oparent + oparent + 2.0.0 + + org.onap.dcaegen2.platform.mod + runtimeapi + 1.2.4 + dcaegen2-platform-mod-runtimeapi + MOD Runtime API + + true + yyyyMMdd'T'HHmmss + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml + + + + + java11 + + 11 + 11 + 11 + + + + m2e.version + + true + + + + java8 + + 1.8 + 1.8 + + + - - - - - org.sonarsource.scanner.maven - sonar-maven-plugin - 3.6.0.1398 - + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + 3.6.0.1398 + - - org.apache.maven.plugins - maven-enforcer-plugin - 1.4.1 - - - enforce-no-snapshots - - enforce - - - - - No Snapshots Allowed! - - - false - - - - + + org.apache.maven.plugins + maven-enforcer-plugin + 1.4.1 + + + enforce-no-snapshots + + enforce + + + + + No Snapshots Allowed! + + + false + + + + - - - - - - org.springframework.boot - spring-boot-starter-parent - 2.1.7.RELEASE - pom - import - - - org.springframework.plugin - spring-plugin-core - - - - - org.springframework.plugin - spring-plugin-core - 2.0.0.RELEASE - - - + + + + + + org.springframework.boot + spring-boot-starter-parent + 2.1.7.RELEASE + pom + import + + + org.springframework.plugin + spring-plugin-core + + + + + org.springframework.plugin + spring-plugin-core + 2.0.0.RELEASE + + + diff --git a/mod/runtimeapi/runtime-core/pom.xml b/mod/runtimeapi/runtime-core/pom.xml index 5514cc9..798eb1b 100644 --- a/mod/runtimeapi/runtime-core/pom.xml +++ b/mod/runtimeapi/runtime-core/pom.xml @@ -1,9 +1,8 @@ - 4.0.0 - - org.onap.dcaegen2.platform.mod - runtimeapi - 1.2.3 - - runtime-web - 1.2.3-SNAPSHOT - jar - runtime-web - MOD Runtime Web Module - - - org.onap.dcaegen2.platform.mod - runtime-core - 1.2.3 - - - org.springframework.boot - spring-boot-starter-actuator - - - org.springframework.boot - spring-boot-starter-web - + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 + + org.onap.dcaegen2.platform.mod + runtimeapi + 1.2.4 + + runtime-web + 1.2.4-SNAPSHOT + jar + runtime-web + MOD Runtime Web Module + + + org.onap.dcaegen2.platform.mod + runtime-core + 1.2.4 + + + org.springframework.boot + spring-boot-starter-actuator + + + org.springframework.boot + spring-boot-starter-web + - - org.springframework.boot - spring-boot-devtools - runtime - true - - - org.springframework.boot - spring-boot-starter-test - test - - - - com.google.guava - guava - 28.0-jre - - - io.springfox - springfox-boot-starter - 3.0.0 - - - io.springfox - springfox-swagger-ui - 3.0.0 - - - org.json - json - 20190722 - - - org.apache.httpcomponents - httpclient - 4.5.8 - test - - + + org.springframework.boot + spring-boot-devtools + runtime + true + + + org.springframework.boot + spring-boot-starter-test + test + + + + com.google.guava + guava + 28.0-jre + + + io.springfox + springfox-boot-starter + 3.0.0 + + + io.springfox + springfox-swagger-ui + 3.0.0 + + + org.json + json + 20190722 + + + org.apache.httpcomponents + httpclient + 4.5.8 + test + + - - - - org.springframework.boot - spring-boot-maven-plugin - - - - repackage - - - - - - io.fabric8 - docker-maven-plugin - - true - ${docker.pull.registry} - ${docker.push.registry} - - - onap/${project.groupId}.${project.artifactId} - ${onap.nexus.dockerregistry.daily} - - openjdk:11-jre-slim - - latest - ${project.version} - ${project.version}-${maven.build.timestamp}Z - - - artifact - - - groupadd -r dcaemod && useradd -ms /bin/bash dcaemod -g dcaemod && mkdir -p /maven/data && chown -R dcaemod:dcaemod /maven/data - - /maven - - /tmp - - - 9090 - - dcaemod - - - java - -Djava.security.egd=file:/dev/./urandom - -jar - ${project.artifactId}-${project.version}.${project.packaging} - - - - - - - - - - build - push - - - - - - + + + + org.springframework.boot + spring-boot-maven-plugin + 2.6.2 + + + + repackage + + + + + + io.fabric8 + docker-maven-plugin + + true + ${docker.pull.registry} + ${docker.push.registry} + + + onap/${project.groupId}.${project.artifactId} + ${onap.nexus.dockerregistry.daily} + + openjdk:11-jre-slim + + latest + ${project.version} + ${project.version}-${maven.build.timestamp}Z + + + artifact + + + groupadd -r dcaemod && useradd -ms /bin/bash dcaemod -g dcaemod && mkdir -p /maven/data && chown -R dcaemod:dcaemod /maven/data + + /maven + + /tmp + + + 9090 + + dcaemod + + + java + -Djava.security.egd=file:/dev/./urandom + -jar + ${project.artifactId}-${project.version}.${project.packaging} + + + + + + + + + + build + push + + + + + + -- cgit 1.2.3-korg