Add external tls info to bpgenerator and component spec schema
[dcaegen2/platform.git] / mod / bpgenerator / src / test / java / org / onap / blueprintgenerator / core / BlueprintGeneratorTest.java
index 404b899..4ebd23c 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);
        }
 
@@ -352,7 +352,7 @@ public class BlueprintGeneratorTest {
                OnapNode testNode = new OnapNode();
 
                //set the type
-               testNode.setType("dcae.nodes.ContainerizedPlatformComponent");
+               testNode.setType("dcae.nodes.ContainerizedServiceComponent");
 
                ArrayList<String> ports = new ArrayList<String>();
                ports.add("concat: [\"80:\", {get_input: external_port }]");
@@ -392,6 +392,8 @@ public class BlueprintGeneratorTest {
 
                assertEquals(true, test);
        }
+
+
        @Test
        public void dmaapPluginTest() {
                ComponentSpec cs = new ComponentSpec();