Process Service-level Instance Groups 03/73703/1
authormark.j.leonard <mark.j.leonard@gmail.com>
Tue, 27 Nov 2018 16:54:33 +0000 (16:54 +0000)
committermark.j.leonard <mark.j.leonard@gmail.com>
Tue, 27 Nov 2018 16:54:33 +0000 (16:54 +0000)
commit05e7b934ad49c54c98ce840841528a13e882f8d3
tree7e531b70c09201cf9a076d0c84dea3044812e9f1
parent047862bba53addd381fc7c715ac9e3dff76b740d
Process Service-level Instance Groups

Create an InstanceGroup XML model for groups of the Service topology
template in the case where there is no Resource model generated.

Add a test CSAR file for a Service Proxy (an unsupported type).
Assert that the Service is associated with the instance-group Models.

Change-Id: If76bf7a1cfb960bc8692f1e136ee85176725915e
Issue-ID: AAI-1963
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
src/main/java/org/onap/aai/babel/xml/generator/api/AaiArtifactGenerator.java
src/test/java/org/onap/aai/babel/parser/TestArtifactGeneratorToscaParser.java
src/test/java/org/onap/aai/babel/service/CsarToXmlConverterTest.java
src/test/java/org/onap/aai/babel/testdata/CsarTest.java
src/test/resources/compressedArtifacts/service-S1-csar.csar [new file with mode: 0644]
src/test/resources/generatedXml/AAI-Grouping Service for Test-service-1.0.xml [new file with mode: 0644]
src/test/resources/generatedXml/AAI-groupingservicefortest..ResourceInstanceGroup..0-resource-1.xml [new file with mode: 0644]
src/test/resources/generatedXml/AAI-groupingservicefortest..ResourceInstanceGroup..1-resource-1.xml [new file with mode: 0644]