From 05e7b934ad49c54c98ce840841528a13e882f8d3 Mon Sep 17 00:00:00 2001 From: "mark.j.leonard" Date: Tue, 27 Nov 2018 16:54:33 +0000 Subject: 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 --- .../AAI-Grouping Service for Test-service-1.0.xml | 69 ++++++++++++++++++++++ ...ortest..ResourceInstanceGroup..0-resource-1.xml | 32 ++++++++++ ...ortest..ResourceInstanceGroup..1-resource-1.xml | 32 ++++++++++ 3 files changed, 133 insertions(+) create mode 100644 src/test/resources/generatedXml/AAI-Grouping Service for Test-service-1.0.xml create mode 100644 src/test/resources/generatedXml/AAI-groupingservicefortest..ResourceInstanceGroup..0-resource-1.xml create mode 100644 src/test/resources/generatedXml/AAI-groupingservicefortest..ResourceInstanceGroup..1-resource-1.xml (limited to 'src/test/resources/generatedXml') 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 @@ + + service-invariant-uuid + service + + + service-uuid + Grouping Service for Test + 1.0 + xxx + + + T + unbounded + + + T + unbounded + + + + model-ver + + model-ver.model-version-id + instance-group-0-version-id + + + model.model-invariant-id + instance-group-0-invariant-id + + + + + + T + unbounded + + + + model-ver + + model-ver.model-version-id + instance-group-1-version-id + + + model.model-invariant-id + instance-group-1-invariant-id + + + + + + + + model-ver + + model-ver.model-version-id + service-instance-version-id + + + model.model-invariant-id + service-instance-invariant-id + + + + + + + + \ No newline at end of file diff --git a/src/test/resources/generatedXml/AAI-groupingservicefortest..ResourceInstanceGroup..0-resource-1.xml b/src/test/resources/generatedXml/AAI-groupingservicefortest..ResourceInstanceGroup..0-resource-1.xml new file mode 100644 index 0000000..b246667 --- /dev/null +++ b/src/test/resources/generatedXml/AAI-groupingservicefortest..ResourceInstanceGroup..0-resource-1.xml @@ -0,0 +1,32 @@ + + instance-group-0-invariant-id + resource + + + instance-group-0-version-id + groupingservicefortest..ResourceInstanceGroup..0 + 1 + DDD0 + + + T + unbounded + + + + model-ver + + model-ver.model-version-id + instance-group-version-id + + + model.model-invariant-id + instance-group-invariant-id + + + + + + + + \ No newline at end of file diff --git a/src/test/resources/generatedXml/AAI-groupingservicefortest..ResourceInstanceGroup..1-resource-1.xml b/src/test/resources/generatedXml/AAI-groupingservicefortest..ResourceInstanceGroup..1-resource-1.xml new file mode 100644 index 0000000..d49e480 --- /dev/null +++ b/src/test/resources/generatedXml/AAI-groupingservicefortest..ResourceInstanceGroup..1-resource-1.xml @@ -0,0 +1,32 @@ + + instance-group-1-invariant-id + resource + + + instance-group-1-version-id + groupingservicefortest..ResourceInstanceGroup..1 + 1 + DDD1 + + + T + unbounded + + + + model-ver + + model-ver.model-version-id + instance-group-version-id + + + model.model-invariant-id + instance-group-invariant-id + + + + + + + + -- cgit 1.2.3-korg