Integrate aai-schema-ingest library into aai-core
[aai/aai-common.git] / aai-core / src / test / resources / oxm / business_oxm_v13.xml
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!--
3   ============LICENSE_START=======================================================
4   org.openecomp.aai
5   ================================================================================
6   Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
7   ================================================================================
8   Licensed under the Apache License, Version 2.0 (the "License");
9   you may not use this file except in compliance with the License.
10   You may obtain a copy of the License at
11   
12        http://www.apache.org/licenses/LICENSE-2.0
13   
14   Unless required by applicable law or agreed to in writing, software
15   distributed under the License is distributed on an "AS IS" BASIS,
16   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   See the License for the specific language governing permissions and
18   limitations under the License.
19   ============LICENSE_END=========================================================
20   -->
21
22 <xml-bindings xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm" package-name="inventory.aai.onap.org.v13" xml-mapping-metadata-complete="true">
23         <xml-schema element-form-default="QUALIFIED">
24                 <xml-ns namespace-uri="http://org.onap.aai.inventory/v13" />
25         </xml-schema>
26         <java-types>
27                 <java-type name="AllottedResources">
28                         <xml-properties>
29                                 <xml-property name="description" value="This object is used to store slices of services being offered" />
30                         </xml-properties>
31                         <xml-root-element name="allotted-resources" />
32                         <java-attributes>
33                                 <xml-element container-type="java.util.ArrayList" java-attribute="allottedResource" name="allotted-resource" type="inventory.aai.onap.org.v13.AllottedResource" />
34                         </java-attributes>
35                 </java-type>            
36                 <java-type name="AllottedResource">
37                         <xml-root-element name="allotted-resource" />
38                         <java-attributes>
39                                 <xml-element java-attribute="id" name="id" required="true" type="java.lang.String" xml-key="true">
40                                         <xml-properties>
41                                                 <xml-property name="description" value="Allotted Resource id UUID assigned to this instance." />
42                                         </xml-properties>
43                                 </xml-element>
44                                 <xml-element java-attribute="description" name="description" type="java.lang.String">
45                                         <xml-properties>
46                                                 <xml-property name="description" value="The descriptive information assigned to this allotted resource instance" />
47                                         </xml-properties>
48                                 </xml-element>
49                                 <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
50                                         <xml-properties>
51                                                 <xml-property name="description" value="Link back to more information in the controller" />
52                                         </xml-properties>
53                                 </xml-element>
54                                 <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
55                                         <xml-properties>
56                                                 <xml-property name="description" value="the ASDC model id for this resource or service model." />
57                                                 <xml-property name="visibility" value="deployment" />
58                                                 <xml-property name="requires" value="model-version-id" />
59                                                 <xml-property name="dbAlias" value="model-invariant-id-local" />
60                                         </xml-properties>
61                                 </xml-element>
62                                 <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
63                                         <xml-properties>
64                                                 <xml-property name="description" value="the ASDC model version for this resource or service model." />
65                                                 <xml-property name="visibility" value="deployment" />
66                                                 <xml-property name="requires" value="model-invariant-id" />
67                                                 <xml-property name="dbAlias" value="model-version-id-local" />
68                                         </xml-properties>
69                                 </xml-element>
70                                 <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
71                                         <xml-properties>
72                                                 <xml-property name="description" value="the ASDC model version for this resource or service model." />
73                                                 <xml-property name="visibility" value="internal" />
74                                                 <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
75                                         </xml-properties>
76                                 </xml-element>
77                                 <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
78                                         <xml-properties>
79                                                 <xml-property name="description" value="Concurrency value" />
80                                         </xml-properties>
81                                 </xml-element>
82                                 <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
83                                         <xml-properties>
84                                                 <xml-property name="description" value="Orchestration status" />
85                                         </xml-properties>
86                                 </xml-element>
87                                 <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
88                                         <xml-properties>
89                                                 <xml-property name="description" value="Indicator for whether the resource is considered operational" />
90                                         </xml-properties>
91                                 </xml-element>
92                                 <xml-element java-attribute="type" name="type" type="java.lang.String">
93                                         <xml-properties>
94                                                 <xml-property name="description" value="Generic description of the type of allotted resource." />
95                                         </xml-properties>
96                                 </xml-element>
97                                 <xml-element java-attribute="role" name="role" type="java.lang.String">
98                                         <xml-properties>
99                                                 <xml-property name="description" value="role in the network that this resource will be providing." />
100                                         </xml-properties>
101                                 </xml-element>
102                                 <xml-element java-attribute="tunnelXconnects" name="tunnel-xconnects" type="inventory.aai.onap.org.v13.TunnelXconnects" />
103                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v13.RelationshipList" />
104                         </java-attributes>                      
105                         <xml-properties>
106                                 <xml-property name="description" value="Represents a slice or partial piece of a resource that gets separately allotted" />
107                                 <xml-property name="nameProps" value="description" />
108                                 <xml-property name="uniqueProps" value="id" />
109                                 <xml-property name="indexedProps" value="id,model-invariant-id,model-version-id,type,role" />
110                                 <xml-property name="dependentOn" value="service-instance" />
111                                 <xml-property name="container" value="allotted-resources" />
112                                 <!--  <xml-property name="namespace" value="network" /> -->
113                         </xml-properties>
114                 </java-type>                    
115                 <java-type name="Business">
116                         <xml-properties>
117                                 <xml-property name="description" value="Namespace for business related constructs" />
118                         </xml-properties>
119                         <xml-root-element name="business" />
120                         <java-attributes>
121                                 <xml-element java-attribute="connectors" name="connectors" type="inventory.aai.onap.org.v13.Connectors" />
122                                 <xml-element java-attribute="customers" name="customers" type="inventory.aai.onap.org.v13.Customers" />
123                                 <xml-element java-attribute="linesOfBusiness" name="lines-of-business" type="inventory.aai.onap.org.v13.LinesOfBusiness" />
124                                 <xml-element java-attribute="owningEntities" name="owning-entities" type="inventory.aai.onap.org.v13.OwningEntities" />
125                                 <xml-element java-attribute="platforms" name="platforms" type="inventory.aai.onap.org.v13.Platforms" />
126                                 <xml-element java-attribute="projects" name="projects" type="inventory.aai.onap.org.v13.Projects" />
127                         </java-attributes>
128                 </java-type>
129                 <java-type name="Connectors">
130                         <xml-properties>
131                                 <xml-property name="description" value="Collection of resource instances used to connect a variety of disparate inventory widgets" />
132                         </xml-properties>
133                         <xml-root-element name="connectors" />
134                         <java-attributes>
135                                 <xml-element container-type="java.util.ArrayList" java-attribute="connector" name="connector" type="inventory.aai.onap.org.v13.Connector" />
136                         </java-attributes>
137                 </java-type>
138                 <java-type name="Connector">
139                         <xml-root-element name="connector" />
140                         <java-attributes>
141                                 <xml-element java-attribute="resourceInstanceId" name="resource-instance-id" required="true" type="java.lang.String" xml-key="true">
142                                         <xml-properties>
143                                                 <xml-property name="description" value="Unique id of resource instance." />
144                                         </xml-properties>
145                                 </xml-element>
146                                 <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
147                                         <xml-properties>
148                                                 <xml-property name="description" value="Used for optimistic concurrency.  Must be empty on create, valid on update and delete." />
149                                         </xml-properties>
150                                 </xml-element>
151                                 <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
152                                         <xml-properties>
153                                                 <xml-property name="description" value="the ASDC model id for this resource or service model." />
154                                                 <xml-property name="visibility" value="deployment" />
155                                                 <xml-property name="requires" value="model-version-id" />
156                                                 <xml-property name="dbAlias" value="model-invariant-id-local" />
157                                         </xml-properties>
158                                 </xml-element>
159                                 <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
160                                         <xml-properties>
161                                                 <xml-property name="description" value="the ASDC model version for this resource or service model." />
162                                                 <xml-property name="visibility" value="deployment" />
163                                                 <xml-property name="requires" value="model-invariant-id" />
164                                                 <xml-property name="dbAlias" value="model-version-id-local" />
165                                         </xml-properties>
166                                 </xml-element>
167                                 <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
168                                         <xml-properties>
169                                                 <xml-property name="description" value="the ASDC model version for this resource or service model." />
170                                                 <xml-property name="visibility" value="internal" />
171                                                 <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
172                                         </xml-properties>
173                                 </xml-element>
174                                 <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
175                                         <xml-properties>
176                                                 <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
177                                         </xml-properties>
178                                 </xml-element>
179                                 <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
180                                         <xml-properties>
181                                                 <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
182                                         </xml-properties>
183                                 </xml-element>
184                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v13.RelationshipList" />
185                                 <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v13.Metadata" />
186                         </java-attributes>
187                         <xml-properties>
188                                 <xml-property name="description" value="Collection of resource instances used to connect a variety of disparate inventory widgets" />
189                                 <xml-property name="indexedProps" value="resource-instance-id,model-invariant-id,model-version-id,widget-model-id,widget-model-version" />
190                                 <xml-property name="container" value="connectors" />
191                                 <xml-property name="namespace" value="business" />
192                         </xml-properties>
193                 </java-type>
194                 <java-type name="Customers">
195                         <xml-properties>
196                                 <xml-property name="description" value="Collection of customer identifiers to provide linkage back to BSS information." />
197                         </xml-properties>
198                         <xml-root-element name="customers" />
199                         <java-attributes>
200                                 <xml-element container-type="java.util.ArrayList" java-attribute="customer" name="customer" type="inventory.aai.onap.org.v13.Customer" />
201                         </java-attributes>
202                         <xml-properties>
203                                 <xml-property name="maximumDepth" value="0" />
204                         </xml-properties>
205                 </java-type>
206                 <java-type name="Customer">
207                         <xml-root-element name="customer" />
208                         <java-attributes>
209                                 <xml-element java-attribute="globalCustomerId" name="global-customer-id" required="true" type="java.lang.String" xml-key="true">
210                                         <xml-properties>
211                                                 <xml-property name="description" value="Global customer id used across to uniquely identify customer." />
212                                         </xml-properties>
213                                 </xml-element>
214                                 <xml-element java-attribute="subscriberName" name="subscriber-name" required="true" type="java.lang.String">
215                                         <xml-properties>
216                                                 <xml-property name="description" value="Subscriber name, an alternate way to retrieve a customer." />
217                                         </xml-properties>
218                                 </xml-element>
219                                 <xml-element java-attribute="subscriberType" name="subscriber-type" required="true" type="java.lang.String">
220                                         <xml-properties>
221                                                 <xml-property name="description" value="Subscriber type, a way to provide VID with only the INFRA customers." />
222                                                 <xml-property name="defaultValue" value="CUST" />
223                                         </xml-properties>
224                                 </xml-element>
225                                 <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
226                                         <xml-properties>
227                                                 <xml-property name="description" value="Used for optimistic concurrency.  Must be empty on create, valid on update and delete." />
228                                         </xml-properties>
229                                 </xml-element>
230                                 <xml-element java-attribute="serviceSubscriptions" name="service-subscriptions" type="inventory.aai.onap.org.v13.ServiceSubscriptions" />
231                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v13.RelationshipList" />
232                         </java-attributes>
233                         <xml-properties>
234                                 <xml-property name="description" value="customer identifiers to provide linkage back to BSS information." />
235                                 <xml-property name="nameProps" value="subscriber-name" />
236                                 <xml-property name="indexedProps" value="subscriber-name,global-customer-id,subscriber-type" />
237                                 <xml-property name="searchable" value="global-customer-id,subscriber-name" />
238                                 <xml-property name="uniqueProps" value="global-customer-id" />
239                                 <xml-property name="container" value="customers" />
240                                 <xml-property name="namespace" value="business" />
241                         </xml-properties>
242                 </java-type>            
243                 <java-type name="LinesOfBusiness">
244                         <xml-properties>
245                                 <xml-property name="description" value="Collection of lines-of-business" />
246                         </xml-properties>
247                         <xml-root-element name="lines-of-business" />
248                         <java-attributes>
249                                 <xml-element container-type="java.util.ArrayList" java-attribute="lineOfBusiness" name="line-of-business" type="inventory.aai.onap.org.v13.LineOfBusiness" />
250                         </java-attributes>
251                 </java-type>    
252                 <java-type name="LineOfBusiness">
253                         <xml-root-element name="line-of-business" />
254                         <java-attributes>
255                                 <xml-element java-attribute="lineOfBusinessName" name="line-of-business-name" required="true" type="java.lang.String" xml-key="true">
256                                         <xml-properties>
257                                                 <xml-property name="description" value="Name of the line-of-business (product)" />
258                                         </xml-properties>
259                                 </xml-element>
260                                 <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
261                                         <xml-properties>
262                                                 <xml-property name="description" value="Used for optimistic concurrency.  Must be empty on create, valid on update and delete." />
263                                         </xml-properties>
264                                 </xml-element>
265                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v13.RelationshipList" />
266                         </java-attributes>
267                         <xml-properties>
268                                 <xml-property name="description" value="describes a line-of-business" />
269                                 <xml-property name="indexedProps" value="line-of-business-name" />
270                                 <xml-property name="uniqueProps" value="line-of-business-name" />
271                                 <xml-property name="container" value="lines-of-business" />
272                                 <xml-property name="namespace" value="business" />
273                         </xml-properties>
274                 </java-type>            
275                 <java-type name="OwningEntities">
276                         <xml-properties>
277                                 <xml-property name="description" value="Collection of owning-entities" />
278                         </xml-properties>
279                         <xml-root-element name="owning-entities" />
280                         <java-attributes>
281                                 <xml-element container-type="java.util.ArrayList" java-attribute="owningEntity" name="owning-entity" type="inventory.aai.onap.org.v13.OwningEntity" />
282                         </java-attributes>
283                 </java-type>    
284                 <java-type name="OwningEntity">
285                         <xml-root-element name="owning-entity" />
286                         <java-attributes>
287                                 <xml-element java-attribute="owningEntityId" name="owning-entity-id" required="true" type="java.lang.String" xml-key="true">
288                                         <xml-properties>
289                                                 <xml-property name="description" value="UUID of an owning entity" />
290                                         </xml-properties>
291                                 </xml-element>
292                                 <xml-element java-attribute="owningEntityName" name="owning-entity-name" required="true" type="java.lang.String">
293                                         <xml-properties>
294                                                 <xml-property name="description" value="Owning entity name" />
295                                         </xml-properties>
296                                 </xml-element>
297                                 <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
298                                         <xml-properties>
299                                                 <xml-property name="description" value="Used for optimistic concurrency.  Must be empty on create, valid on update and delete." />
300                                         </xml-properties>
301                                 </xml-element>
302                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v13.RelationshipList" />
303                         </java-attributes>
304                         <xml-properties>
305                                 <xml-property name="description" value="describes an owning-entity" />
306                                 <xml-property name="indexedProps" value="owning-entity-id,owning-entity-name" />
307                                 <xml-property name="searchable" value="owning-entity-id" />
308                                 <xml-property name="uniqueProps" value="owning-entity-id,owning-entity-name" />
309                                 <xml-property name="container" value="owning-entities" />
310                                 <xml-property name="namespace" value="business" />
311                         </xml-properties>
312                 </java-type>    
313                 <java-type name="Platforms">
314                         <xml-properties>
315                                 <xml-property name="description" value="Collection of platforms" />
316                         </xml-properties>
317                         <xml-root-element name="platforms" />
318                         <java-attributes>
319                                 <xml-element container-type="java.util.ArrayList" java-attribute="platform" name="platform" type="inventory.aai.onap.org.v13.Platform" />
320                         </java-attributes>
321                 </java-type>            
322                 <java-type name="Platform">
323                         <xml-root-element name="platform" />
324                         <java-attributes>
325                                 <xml-element java-attribute="platformName" name="platform-name" required="true" type="java.lang.String" xml-key="true">
326                                         <xml-properties>
327                                                 <xml-property name="description" value="Name of the platform" />
328                                         </xml-properties>
329                                 </xml-element>
330                                 <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
331                                         <xml-properties>
332                                                 <xml-property name="description" value="Used for optimistic concurrency.  Must be empty on create, valid on update and delete." />
333                                         </xml-properties>
334                                 </xml-element>
335                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v13.RelationshipList" />
336                         </java-attributes>
337                         <xml-properties>
338                                 <xml-property name="description" value="describes a platform" />
339                                 <xml-property name="indexedProps" value="platform-name" />
340                                 <xml-property name="uniqueProps" value="platform-name" />
341                                 <xml-property name="container" value="platforms" />
342                                 <xml-property name="namespace" value="business" />
343                         </xml-properties>
344                 </java-type>            
345                 <java-type name="Projects">
346                         <xml-properties>
347                                 <xml-property name="description" value="Collection of projects" />
348                         </xml-properties>
349                         <xml-root-element name="projects" />
350                         <java-attributes>
351                                 <xml-element container-type="java.util.ArrayList" java-attribute="project" name="project" type="inventory.aai.onap.org.v13.Project" />
352                         </java-attributes>
353                 </java-type>
354                 <java-type name="Project">
355                         <xml-root-element name="project" />
356                         <java-attributes>
357                                 <xml-element java-attribute="projectName" name="project-name" required="true" type="java.lang.String" xml-key="true">
358                                         <xml-properties>
359                                                 <xml-property name="description" value="Name of the project deploying a service" />
360                                         </xml-properties>
361                                 </xml-element>
362                                 <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
363                                         <xml-properties>
364                                                 <xml-property name="description" value="Used for optimistic concurrency.  Must be empty on create, valid on update and delete." />
365                                         </xml-properties>
366                                 </xml-element>
367                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v13.RelationshipList" />
368                         </java-attributes>
369                         <xml-properties>
370                                 <xml-property name="description" value="describes the project" />
371                                 <xml-property name="indexedProps" value="project-name" />
372                                 <xml-property name="uniqueProps" value="project-name" />
373                                 <xml-property name="container" value="projects" />
374                                 <xml-property name="namespace" value="business" />
375                         </xml-properties>
376                 </java-type>
377                 <java-type name="ServiceSubscriptions">
378                         <xml-properties>
379                                 <xml-property name="description" value="Collection of objects that group service instances." />
380                         </xml-properties>
381                         <xml-root-element name="service-subscriptions" />
382                         <java-attributes>
383                                 <xml-element container-type="java.util.ArrayList" java-attribute="serviceSubscription" name="service-subscription" type="inventory.aai.onap.org.v13.ServiceSubscription" />
384                         </java-attributes>
385                 </java-type>
386                 <java-type name="ServiceSubscription">
387                         <xml-root-element name="service-subscription" />
388                         <java-attributes>
389                                 <xml-element java-attribute="serviceType" name="service-type" required="true" type="java.lang.String" xml-key="true">
390                                         <xml-properties>
391                                                 <xml-property name="description" value="Value defined by orchestration to identify this service." />
392                                         </xml-properties>
393                                 </xml-element>
394                                 <xml-element java-attribute="tempUbSubAccountId" name="temp-ub-sub-account-id" type="java.lang.String">
395                     <xml-properties>
396                         <xml-property name="description" value="This property will be deleted from A&amp;AI in the near future. Only stop gap solution." />
397                     </xml-properties>
398                 </xml-element>
399                                 <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
400                                         <xml-properties>
401                                                 <xml-property name="description" value="Used for optimistic concurrency.  Must be empty on create, valid on update and delete." />
402                                         </xml-properties>
403                                 </xml-element>
404                                 <xml-element java-attribute="serviceInstances" name="service-instances" type="inventory.aai.onap.org.v13.ServiceInstances">
405                                 </xml-element>
406                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v13.RelationshipList" />
407                         </java-attributes>
408                         <xml-properties>
409                                 <xml-property name="description" value="Object that group service instances." />
410                                 <xml-property name="indexedProps" value="service-type" />
411                                 <xml-property name="dependentOn" value="customer" />
412                                 <xml-property name="container" value="service-subscriptions" />
413                                 <xml-property name="crossEntityReference" value="service-instance,service-type" />
414                         </xml-properties>
415                 </java-type>
416                 <java-type name="ServiceInstances">
417                         <xml-properties>
418                                 <xml-property name="description" value="Collection of service instances" />
419                         </xml-properties>
420                         <xml-root-element name="service-instances" />
421                         <java-attributes>
422                                 <xml-element container-type="java.util.ArrayList" java-attribute="serviceInstance" name="service-instance" type="inventory.aai.onap.org.v13.ServiceInstance" />
423                         </java-attributes>
424                 </java-type>
425                 <java-type name="ServiceInstance">
426                         <xml-root-element name="service-instance" />
427                         <java-attributes>
428                                 <xml-element java-attribute="serviceInstanceId" name="service-instance-id" required="true" type="java.lang.String" xml-key="true">
429                                         <xml-properties>
430                                                 <xml-property name="description" value="Uniquely identifies this instance of a service" />
431                                         </xml-properties>
432                                 </xml-element>
433                                 <xml-element java-attribute="serviceInstanceName" name="service-instance-name" type="java.lang.String">
434                                         <xml-properties>
435                                                 <xml-property name="description" value="This field will store a name assigned to the service-instance." />
436                                         </xml-properties>
437                                 </xml-element>
438                                 <xml-element java-attribute="serviceType" name="service-type" required="false" type="java.lang.String">
439                                         <xml-properties>
440                                                 <xml-property name="description" value="String capturing type of service." />
441                                         </xml-properties>
442                                 </xml-element>
443                                 <xml-element java-attribute="serviceRole" name="service-role" required="false" type="java.lang.String">
444                                         <xml-properties>
445                                                 <xml-property name="description" value="String capturing the service role." />
446                                         </xml-properties>
447                                 </xml-element>
448                                 <xml-element java-attribute="environmentContext" name="environment-context" type="java.lang.String">
449                                         <xml-properties>
450                                                 <xml-property name="description" value="This field will store the environment context assigned to the service-instance." />
451                                         </xml-properties>
452                                 </xml-element>
453                                 <xml-element java-attribute="workloadContext" name="workload-context" type="java.lang.String">
454                                         <xml-properties>
455                                                 <xml-property name="description" value="This field will store the workload context assigned to the service-instance." />
456                                         </xml-properties>
457                                 </xml-element>
458                                 <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
459                                         <xml-properties>
460                                                 <xml-property name="description" value="the ASDC model id for this resource or service model." />
461                                                 <xml-property name="visibility" value="deployment" />
462                                                 <xml-property name="requires" value="model-version-id" />
463                                                 <xml-property name="dbAlias" value="model-invariant-id-local" />
464                                         </xml-properties>
465                                 </xml-element>
466                                 <xml-element java-attribute="modelVersionId" name="model-version-id" type="java.lang.String">
467                                         <xml-properties>
468                                                 <xml-property name="description" value="the ASDC model version for this resource or service model." />
469                                                 <xml-property name="visibility" value="deployment" />
470                                                 <xml-property name="requires" value="model-invariant-id" />
471                                                 <xml-property name="dbAlias" value="model-version-id-local" />
472                                         </xml-properties>
473                                 </xml-element>
474                                 <xml-element java-attribute="personaModelVersion" name="persona-model-version" type="java.lang.String">
475                                         <xml-properties>
476                                                 <xml-property name="description" value="the ASDC model version for this resource or service model." />
477                                                 <xml-property name="visibility" value="internal" />
478                                                 <xml-property name="dataCopy" value="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version" />
479                                         </xml-properties>
480                                 </xml-element>
481                                 <xml-element java-attribute="widgetModelId" name="widget-model-id" type="java.lang.String">
482                                         <xml-properties>
483                                                 <xml-property name="description" value="the ASDC data dictionary widget model. This maps directly to the A&amp;AI widget." />
484                                         </xml-properties>
485                                 </xml-element>
486                                 <xml-element java-attribute="widgetModelVersion" name="widget-model-version" type="java.lang.String">
487                                         <xml-properties>
488                                                 <xml-property name="description" value="the ASDC data dictionary version of the widget model.This maps directly to the A&amp;AI version of the widget." />
489                                         </xml-properties>
490                                 </xml-element>
491                                 <xml-element java-attribute="bandwidthTotal" name="bandwidth-total" type="java.lang.String">
492                                         <xml-properties>
493                                                 <xml-property name="description" value="Indicates the total bandwidth to be used for this service." />
494                                         </xml-properties>
495                                 </xml-element>
496                                 <xml-element java-attribute="bandwidthUpWan1" name="bandwidth-up-wan1" type="java.lang.String">
497                                         <xml-properties>
498                                                 <xml-property name="description" value="indicates the upstream bandwidth this service will use on the WAN1 port of the physical device." />
499                                         </xml-properties>
500                                 </xml-element>
501                                 <xml-element java-attribute="bandwidthDownWan1" name="bandwidth-down-wan1" type="java.lang.String">
502                                         <xml-properties>
503                                                 <xml-property name="description" value="indicates the downstream bandwidth this service will use on the WAN1 port of the physical device." />
504                                         </xml-properties>
505                                 </xml-element>
506                                 <xml-element java-attribute="bandwidthUpWan2" name="bandwidth-up-wan2" type="java.lang.String">
507                                         <xml-properties>
508                                                 <xml-property name="description" value="indicates the upstream bandwidth this service will use on the WAN2 port of the physical device." />
509                                         </xml-properties>
510                                 </xml-element>
511                                 <xml-element java-attribute="bandwidthDownWan2" name="bandwidth-down-wan2" type="java.lang.String">
512                                         <xml-properties>
513                                                 <xml-property name="description" value="indicates the downstream bandwidth this service will use on the WAN2 port of the physical device." />
514                                         </xml-properties>
515                                 </xml-element>
516                                 <xml-element java-attribute="vhnPortalUrl" name="vhn-portal-url" type="java.lang.String">
517                                         <xml-properties>
518                                                 <xml-property name="description" value="URL customers will use to access the vHN Portal." />
519                                         </xml-properties>
520                                 </xml-element>
521                                 <xml-element java-attribute="serviceInstanceLocationId" name="service-instance-location-id" type="java.lang.String">
522                                         <xml-properties>
523                                                 <xml-property name="description" value="An identifier that customers assign to the location where this service is being used." />
524                                         </xml-properties>
525                                 </xml-element>
526                                 <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
527                                         <xml-properties>
528                                                 <xml-property name="description" value="Used for optimistic concurrency.  Must be empty on create, valid on update and delete." />
529                                         </xml-properties>
530                                 </xml-element>
531                                 <xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
532                                         <xml-properties>
533                                                 <xml-property name="description" value="Path to the controller object." />
534                                         </xml-properties>
535                                 </xml-element>
536                                 <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
537                                         <xml-properties>
538                                                 <xml-property name="description" value="Orchestration status of this service." />
539                                         </xml-properties>
540                                 </xml-element>
541                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v13.RelationshipList" />
542                                 <xml-element java-attribute="metadata" name="metadata" type="inventory.aai.onap.org.v13.Metadata" />
543                                 <xml-element java-attribute="allottedResources" name="allotted-resources" type="inventory.aai.onap.org.v13.AllottedResources" />
544                         </java-attributes>
545                         <xml-properties>
546                                 <xml-property name="description" value="Instance of a service" />
547                                 <xml-property name="indexedProps" value="service-instance-id,model-invariant-id,model-version-id,widget-model-id,widget-model-version,service-instance-name,service-instance-location-id,orchestration-status,environment-context,workload-context" />
548                                 <xml-property name="nameProps" value="service-instance-name" />
549                                 <xml-property name="searchable" value="service-instance-id,service-instance-name" />
550                                 <xml-property name="uniqueProps" value="service-instance-id" />
551                                 <xml-property name="dependentOn" value="service-subscription" />
552                                 <xml-property name="container" value="service-instances" />
553                         </xml-properties>
554                 </java-type>
555                 <java-type name="TunnelXconnects">
556                         <xml-properties>
557                                 <xml-property name="description" value="This object is used to store the specific tunnel cross connect aspects of an allotted resource" />
558                         </xml-properties>
559                         <xml-root-element name="tunnel-xconnects" />
560                         <java-attributes>
561                                 <xml-element container-type="java.util.ArrayList" java-attribute="tunnelXconnect" name="tunnel-xconnect" type="inventory.aai.onap.org.v13.TunnelXconnect" />
562                         </java-attributes>
563                 </java-type>            
564                 <java-type name="TunnelXconnect">
565                         <xml-root-element name="tunnel-xconnect" />
566                         <java-attributes>
567                                 <xml-element java-attribute="id" name="id" required="true" type="java.lang.String" xml-key="true">
568                                         <xml-properties>
569                                                 <xml-property name="description" value="Allotted Resource id UUID assigned to this instance." />
570                                         </xml-properties>
571                                 </xml-element>
572                                 <xml-element java-attribute="bandwidthUpWan1" name="bandwidth-up-wan1" type="java.lang.String">
573                                         <xml-properties>
574                                                 <xml-property name="description" value="The WAN uplink bandwidth for WAN1" />
575                                         </xml-properties>
576                                 </xml-element>
577                                 <xml-element java-attribute="bandwidthDownWan1" name="bandwidth-down-wan1" type="java.lang.String">
578                                         <xml-properties>
579                                                 <xml-property name="description" value="The WAN downlink bandwidth for WAN1" />
580                                         </xml-properties>
581                                 </xml-element>
582                                 <xml-element java-attribute="bandwidthUpWan2" name="bandwidth-up-wan2" type="java.lang.String">
583                                         <xml-properties>
584                                                 <xml-property name="description" value="The WAN uplink bandwidth for WAN2" />
585                                         </xml-properties>
586                                 </xml-element>
587                                 <xml-element java-attribute="bandwidthDownWan2" name="bandwidth-down-wan2" type="java.lang.String">
588                                         <xml-properties>
589                                                 <xml-property name="description" value="The WAN downlink bandwidth for WAN2" />
590                                         </xml-properties>
591                                 </xml-element>
592                                 <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
593                                         <xml-properties>
594                                                 <xml-property name="description" value="Concurrency value" />
595                                         </xml-properties>
596                                 </xml-element>
597                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v13.RelationshipList" />
598                         </java-attributes>                      
599                         <xml-properties>
600                                 <xml-property name="description" value="Represents the specifics of a tunnel cross connect piece of a resource that gets separately allotted" />
601                                 <xml-property name="uniqueProps" value="id" />
602                                 <xml-property name="indexedProps" value="id" />
603                                 <xml-property name="dependentOn" value="allotted-resource" />
604                                 <xml-property name="container" value="tunnel-xconnects" />
605                                 <!--  <xml-property name="namespace" value="network" /> -->
606                         </xml-properties>
607                 </java-type>
608         </java-types>
609 </xml-bindings>