From a86d6a6644d6de3f3f814cd6e25cfe2213d5dd05 Mon Sep 17 00:00:00 2001 From: "Kajur, Harish (vk250x)" Date: Fri, 10 Aug 2018 12:42:00 -0400 Subject: Integrate aai-schema-ingest library into aai-core Integrate the aai-core into using the aai-schema-ingest library to be agnostic to the schema changes Remove any references to aai-schema dependency in aai-core Reorder the components so the aai-schema-ingest is first installed Moved the edge rules to the aai-schema as they are linked to schema Rework the generation of the aai-schema to using aai-schema-ingest library Also remove the yaml and html folders as they get generated on the fly So when maven pushes the aai-schema jar, the jar contains the generated yaml, html and xsd files at runtime due to the gerrit limit of filesize Issue-ID: AAI-1455 Change-Id: I87ecd9eb2fc96a09d3a6399955637674f6e7fb21 Signed-off-by: Kajur, Harish (vk250x) --- .../resources/payloads/templates/customer.json | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 aai-core/src/test/resources/payloads/templates/customer.json (limited to 'aai-core/src/test/resources/payloads/templates/customer.json') diff --git a/aai-core/src/test/resources/payloads/templates/customer.json b/aai-core/src/test/resources/payloads/templates/customer.json new file mode 100644 index 00000000..c7114578 --- /dev/null +++ b/aai-core/src/test/resources/payloads/templates/customer.json @@ -0,0 +1,27 @@ +{ + "global-customer-id": "${global-customer-id}", + "subscriber-name": "example-subscriber-name-val-99675", + "subscriber-type": "example-subscriber-type-val-40388", + "service-subscriptions": { + "service-subscription": [ + { + "service-type": "${subscription-type}", + "temp-ub-sub-account-id": "example-temp-ub-sub-account-id-val-64687", + "service-instances": { + "service-instance": [ + { + "service-instance-id": "${service-instance-id}", + "service-instance-name": "example-service-instance-name-val-4896", + "service-type": "example-service-type-val-25453", + "service-role": "example-service-role-val-66197", + "environment-context": "example-environment-context-val-95014", + "workload-context": "example-workload-context-val-56102", + "model-invariant-id": "${model-invariant-id}", + "model-version-id": "${model-version-id}" + } + ] + } + } + ] + } +} \ No newline at end of file -- cgit 1.2.3-korg