diff options
author | 2018-11-27 16:54:33 +0000 | |
---|---|---|
committer | 2018-11-27 16:54:33 +0000 | |
commit | 05e7b934ad49c54c98ce840841528a13e882f8d3 (patch) | |
tree | 7e531b70c09201cf9a076d0c84dea3044812e9f1 /src/test/resources/generatedXml/AAI-Grouping Service for Test-service-1.0.xml | |
parent | 047862bba53addd381fc7c715ac9e3dff76b740d (diff) |
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>
Diffstat (limited to 'src/test/resources/generatedXml/AAI-Grouping Service for Test-service-1.0.xml')
-rw-r--r-- | src/test/resources/generatedXml/AAI-Grouping Service for Test-service-1.0.xml | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/src/test/resources/generatedXml/AAI-Grouping Service for Test-service-1.0.xml b/src/test/resources/generatedXml/AAI-Grouping Service for Test-service-1.0.xml new file mode 100644 index 0000000..2bafb2f --- /dev/null +++ b/src/test/resources/generatedXml/AAI-Grouping Service for Test-service-1.0.xml @@ -0,0 +1,69 @@ +<model xmlns="http://org.onap.aai.inventory/v14"> + <model-invariant-id>service-invariant-uuid</model-invariant-id> + <model-type>service</model-type> + <model-vers> + <model-ver> + <model-version-id>service-uuid</model-version-id> + <model-name>Grouping Service for Test</model-name> + <model-version>1.0</model-version> + <model-description>xxx</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>instance-group-0-version-id</relationship-value> + </relationship-data> + <relationship-data> + <relationship-key>model.model-invariant-id</relationship-key> + <relationship-value>instance-group-0-invariant-id</relationship-value> + </relationship-data> + </relationship> + </relationship-list> + </model-element> + <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>instance-group-1-version-id</relationship-value> + </relationship-data> + <relationship-data> + <relationship-key>model.model-invariant-id</relationship-key> + <relationship-value>instance-group-1-invariant-id</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>service-instance-version-id</relationship-value> + </relationship-data> + <relationship-data> + <relationship-key>model.model-invariant-id</relationship-key> + <relationship-value>service-instance-invariant-id</relationship-value> + </relationship-data> + </relationship> + </relationship-list> + </model-element> + </model-elements> + </model-ver> + </model-vers> +</model>
\ No newline at end of file |