aboutsummaryrefslogtreecommitdiffstats
path: root/aai-core/src/test/resources/oxm/business_oxm_v11.xml
diff options
context:
space:
mode:
authorKajur, Harish (vk250x) <vk250x@att.com>2018-08-10 12:42:00 -0400
committerKajur, Harish (vk250x) <vk250x@att.com>2018-08-12 16:48:34 -0400
commita86d6a6644d6de3f3f814cd6e25cfe2213d5dd05 (patch)
tree9935a64d7f830ebedf2742e0febef40e898cea91 /aai-core/src/test/resources/oxm/business_oxm_v11.xml
parenta395fa69a28a04d0a667fe458b4f10497a1d6794 (diff)
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) <vk250x@att.com>
Diffstat (limited to 'aai-core/src/test/resources/oxm/business_oxm_v11.xml')
-rw-r--r--aai-core/src/test/resources/oxm/business_oxm_v11.xml106
1 files changed, 106 insertions, 0 deletions
diff --git a/aai-core/src/test/resources/oxm/business_oxm_v11.xml b/aai-core/src/test/resources/oxm/business_oxm_v11.xml
new file mode 100644
index 00000000..de2d26d7
--- /dev/null
+++ b/aai-core/src/test/resources/oxm/business_oxm_v11.xml
@@ -0,0 +1,106 @@
+<xml-bindings xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm" package-name="inventory.aai.onap.org.v11" xml-mapping-metadata-complete="true">
+<xml-schema element-form-default="QUALIFIED">
+<xml-ns namespace-uri="http://org.onap.aai.inventory/v11" />
+</xml-schema>
+<java-types>
+<java-type name="Inventory">
+<xml-root-element name="inventory" />
+<java-attributes>
+<xml-element java-attribute="business" name="business" type="inventory.aai.onap.org.v11.Business" />
+</java-attributes>
+</java-type>
+<java-type name="Business">
+<xml-properties>
+<xml-property name="description" value="Namespace for business related constructs" />
+</xml-properties>
+<xml-root-element name="business" />
+<java-attributes>
+<xml-element java-attribute="customers" name="customers" type="inventory.aai.onap.org.v11.Customers" />
+</java-attributes>
+</java-type>
+<java-type name="Customers">
+<xml-properties>
+<xml-property name="description" value="Collection of customer identifiers to provide linkage back to BSS information." />
+</xml-properties>
+<xml-root-element name="customers" />
+<java-attributes>
+<xml-element container-type="java.util.ArrayList" java-attribute="customer" name="customer" type="inventory.aai.onap.org.v11.Customer" />
+</java-attributes>
+<xml-properties>
+<xml-property name="maximumDepth" value="0" />
+</xml-properties>
+</java-type>
+<java-type name="Customer">
+<xml-root-element name="customer" />
+<java-attributes>
+<xml-element java-attribute="globalCustomerId" name="global-customer-id" required="true" type="java.lang.String" xml-key="true">
+<xml-properties>
+<xml-property name="description" value="Global customer id used across to uniquely identify customer." />
+</xml-properties>
+</xml-element>
+<xml-element java-attribute="subscriberName" name="subscriber-name" required="true" type="java.lang.String">
+<xml-properties>
+<xml-property name="description" value="Subscriber name, an alternate way to retrieve a customer." />
+</xml-properties>
+</xml-element>
+<xml-element java-attribute="subscriberType" name="subscriber-type" required="true" type="java.lang.String">
+<xml-properties>
+<xml-property name="description" value="Subscriber type, a way to provide VID with only the INFRA customers." />
+<xml-property name="defaultValue" value="CUST" />
+</xml-properties>
+</xml-element>
+<xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+<xml-properties>
+<xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+</xml-properties>
+</xml-element>
+<xml-element java-attribute="serviceSubscriptions" name="service-subscriptions" type="inventory.aai.onap.org.v11.ServiceSubscriptions" />
+</java-attributes>
+<xml-properties>
+<xml-property name="description" value="customer identifiers to provide linkage back to BSS information." />
+<xml-property name="nameProps" value="subscriber-name" />
+<xml-property name="indexedProps" value="subscriber-name,global-customer-id,subscriber-type" />
+<xml-property name="searchable" value="global-customer-id,subscriber-name" />
+<xml-property name="uniqueProps" value="global-customer-id" />
+<xml-property name="container" value="customers" />
+<xml-property name="namespace" value="business" />
+</xml-properties>
+</java-type>
+<java-type name="ServiceSubscriptions">
+<xml-properties>
+<xml-property name="description" value="Collection of objects that group service instances." />
+</xml-properties>
+<xml-root-element name="service-subscriptions" />
+<java-attributes>
+<xml-element container-type="java.util.ArrayList" java-attribute="serviceSubscription" name="service-subscription" type="inventory.aai.onap.org.v11.ServiceSubscription" />
+</java-attributes>
+</java-type>
+<java-type name="ServiceSubscription">
+<xml-root-element name="service-subscription" />
+<java-attributes>
+<xml-element java-attribute="serviceType" name="service-type" required="true" type="java.lang.String" xml-key="true">
+<xml-properties>
+<xml-property name="description" value="Value defined by orchestration to identify this service." />
+</xml-properties>
+</xml-element>
+<xml-element java-attribute="tempUbSubAccountId" name="temp-ub-sub-account-id" type="java.lang.String">
+<xml-properties>
+<xml-property name="description" value="This property will be deleted from A&amp;AI in the near future. Only stop gap solution." />
+</xml-properties>
+</xml-element>
+<xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+<xml-properties>
+<xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete." />
+</xml-properties>
+</xml-element>
+</java-attributes>
+<xml-properties>
+<xml-property name="description" value="Object that group service instances." />
+<xml-property name="indexedProps" value="service-type" />
+<xml-property name="dependentOn" value="customer" />
+<xml-property name="container" value="service-subscriptions" />
+<xml-property name="crossEntityReference" value="service-instance,service-type" />
+</xml-properties>
+</java-type>
+</java-types>
+</xml-bindings>