Change R4 plugins to R6 46/107546/6
authorPANCHAL <dp023n@att.com>
Tue, 12 May 2020 13:12:14 +0000 (09:12 -0400)
committerDeven Panchal <dp023n@att.com>
Fri, 29 May 2020 16:35:36 +0000 (16:35 +0000)
Change bpgen R4 references to R6 because Runtime APi is defaulting to R4

Issue-ID: DCAEGEN2-2197
Signed-off-by: PANCHAL <dp023n@att.com>
Change-Id: Id98fee8b5125cc056d852c343f3cc1d2df7e0a5d

mod/bpgenerator/TestCases/testImports.yaml
mod/bpgenerator/pom.xml
mod/bpgenerator/src/main/java/org/onap/blueprintgenerator/models/blueprint/Imports.java
mod/bpgenerator/src/test/java/org/onap/blueprintgenerator/core/BlueprintGeneratorTest.java
mod/bpgenerator/version.properties

index 2597e5e..95bd200 100644 (file)
@@ -1,3 +1,3 @@
 imports:
 - http://www.getcloudify.org/spec/cloudify/3.4/types.yaml
-- https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R4/k8splugin/1.4.13/k8splugin_types.yaml
\ No newline at end of file
+- https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R6/k8splugin/1.7.2/k8splugin_types.yaml
\ No newline at end of file
index 6255329..f097457 100644 (file)
@@ -29,7 +29,7 @@
        </parent>
        <groupId>org.onap.dcaegen2.platform.mod</groupId>
        <artifactId>blueprint-generator</artifactId>
-       <version>1.3.1-SNAPSHOT</version>
+       <version>1.3.2-SNAPSHOT</version>
        <properties>
                <maven.compiler.source>1.6</maven.compiler.source>
                <maven.compiler.target>1.6</maven.compiler.target>
index 8bcdbbc..b17b045 100644 (file)
@@ -48,8 +48,8 @@ public class Imports {
        public static ArrayList<String> createOnapImports() {
                ArrayList<String> imps = new ArrayList<String>();
                imps.add("http://www.getcloudify.org/spec/cloudify/3.4/types.yaml");
-               imps.add("https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R4/k8splugin/1.4.5/k8splugin_types.yaml");
-               imps.add("https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R4/dcaepolicyplugin/2.3.0/dcaepolicyplugin_types.yaml");
+               imps.add("https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R6/k8splugin/1.7.2/k8splugin_types.yaml");
+               imps.add("https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R6/dcaepolicyplugin/2.4.0/dcaepolicyplugin_types.yaml");
                return imps;
        }
        public static ArrayList<String> createDmaapImports(){
index 404b899..1827349 100644 (file)
@@ -242,8 +242,8 @@ public class BlueprintGeneratorTest {
                ArrayList<String> imps = new ArrayList<String>();
 
                imps.add("http://www.getcloudify.org/spec/cloudify/3.4/types.yaml");
-               imps.add("https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R4/k8splugin/1.4.5/k8splugin_types.yaml");
-               imps.add("https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R4/dcaepolicyplugin/2.3.0/dcaepolicyplugin_types.yaml");
+               imps.add("https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R6/k8splugin/1.7.2/k8splugin_types.yaml");
+               imps.add("https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R6/dcaepolicyplugin/2.4.0/dcaepolicyplugin_types.yaml");
                assertEquals(bp.getImports(), imps);
        }
 
index fee4928..ef20baa 100644 (file)
@@ -1,6 +1,6 @@
 major=1
 minor=3
-patch=1
+patch=2
 base_version=${major}.${minor}.${patch}
 release_version=${base_version}
 snapshot_version=${base_version}-SNAPSHOT