diff options
author | Kajur, Harish (vk250x) <vk250x@att.com> | 2018-12-13 08:37:13 -0500 |
---|---|---|
committer | Kajur, Harish (vk250x) <vk250x@att.com> | 2019-01-11 16:05:35 -0500 |
commit | d8393a8b7a51ed28e95cddac2350d6a20f31f953 (patch) | |
tree | ed0f594c75216030ab194340e710e11067d6119e /aai-schema-gen/src/test/resources/oxm/business_v11.xml | |
parent | d64d789ad789e950c3b5e5443fb418a722b917c4 (diff) |
Move the aai-schema, annotations and
schema generation code from the aai-common
repo to the schema service repo as aai-schema
should be in the schema service and all code
related to it such as generation of the schema
code should also be moved to the service
Issue-ID: AAI-2002
Change-Id: Ia792d5ae8822642b1816a0e9664bb21fa511e24f
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
Diffstat (limited to 'aai-schema-gen/src/test/resources/oxm/business_v11.xml')
-rw-r--r-- | aai-schema-gen/src/test/resources/oxm/business_v11.xml | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/aai-schema-gen/src/test/resources/oxm/business_v11.xml b/aai-schema-gen/src/test/resources/oxm/business_v11.xml new file mode 100644 index 0000000..de2d26d --- /dev/null +++ b/aai-schema-gen/src/test/resources/oxm/business_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&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> |