diff options
author | mark.j.leonard <mark.j.leonard@gmail.com> | 2018-11-07 19:13:50 +0000 |
---|---|---|
committer | mark.j.leonard <mark.j.leonard@gmail.com> | 2018-11-08 12:58:32 +0000 |
commit | a2fefc003db961b717a1809b6f63c4d5ae140baa (patch) | |
tree | f048c6e8a28ac6374ec7e268df3c15bc50ab16fd /src/test/resources/generatedXml/AAI-TEST CR_1-resource-7.0.xml | |
parent | a0bd44713526d50f305116ad7751e9087952d421 (diff) |
Add a CSAR test file containing an InstanceGroup
Add a test CSAR file to ensure that the ArtifactGeneratorToscaParser method
processInstanceGroup() is covered, prior to refactoring.
Change-Id: I277b6721c8a406631d54716aa68b313b1937e5cf
Issue-ID: AAI-1884
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
Diffstat (limited to 'src/test/resources/generatedXml/AAI-TEST CR_1-resource-7.0.xml')
-rw-r--r-- | src/test/resources/generatedXml/AAI-TEST CR_1-resource-7.0.xml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/test/resources/generatedXml/AAI-TEST CR_1-resource-7.0.xml b/src/test/resources/generatedXml/AAI-TEST CR_1-resource-7.0.xml new file mode 100644 index 0000000..4ec38a0 --- /dev/null +++ b/src/test/resources/generatedXml/AAI-TEST CR_1-resource-7.0.xml @@ -0,0 +1,51 @@ +<model xmlns="http://org.onap.aai.inventory/v14"> + <model-invariant-id>testcr1-invariant-uuid</model-invariant-id> + <model-type>resource</model-type> + <model-vers> + <model-ver> + <model-version-id>testcr1-uuid</model-version-id> + <model-name>TEST CR_1</model-name> + <model-version>7.0</model-version> + <model-description>Create collection resource</model-description> + <model-elements> + <model-element> + <new-data-del-flag>T</new-data-del-flag> + <cardinality>unbounded</cardinality> + <model-elements> + <model-element> + <new-data-del-flag>T</new-data-del-flag> + <cardinality>unbounded</cardinality> + <model-elements/> + <relationship-list> + <relationship> + <related-to>model-ver</related-to> + <relationship-data> + <relationship-key>model-ver.model-version-id</relationship-key> + <relationship-value>test-cr-uuid</relationship-value> + </relationship-data> + <relationship-data> + <relationship-key>model.model-invariant-id</relationship-key> + <relationship-value>test-cr-invariant-uuid</relationship-value> + </relationship-data> + </relationship> + </relationship-list> + </model-element> + </model-elements> + <relationship-list> + <relationship> + <related-to>model-ver</related-to> + <relationship-data> + <relationship-key>model-ver.model-version-id</relationship-key> + <relationship-value>collection-resource-version-id</relationship-value> + </relationship-data> + <relationship-data> + <relationship-key>model.model-invariant-id</relationship-key> + <relationship-value>collection-resource-invariant-id</relationship-value> + </relationship-data> + </relationship> + </relationship-list> + </model-element> + </model-elements> + </model-ver> + </model-vers> +</model> |