Reverting the schema service changes for transport ep
[aai/schema-service.git] / aai-schema / src / main / resources / onap / oxm / v21 / aai_oxm_v21.xml
index ae3761e..44825f2 100644 (file)
                 <xml-element java-attribute="communicationServiceProfiles" name="communication-service-profiles" type="inventory.aai.onap.org.v21.CommunicationServiceProfiles"/>
                 <xml-element java-attribute="serviceProfiles" name="service-profiles" type="inventory.aai.onap.org.v21.ServiceProfiles"/>
                 <xml-element java-attribute="sliceProfiles" name="slice-profiles" type="inventory.aai.onap.org.v21.SliceProfiles"/>
-                <xml-element java-attribute="endpoints" name="endpoints" type="inventory.aai.onap.org.v21.Endpoints"/>
             <xml-element java-attribute="operationalStatus" name="operational-status" type="java.lang.String">
                 <xml-properties>
                     <xml-property name="description" value="Indicator for whether the resource is considered operational.  Valid values are in-service-path and out-of-service-path."/>
                                        </xml-properties>
                                </xml-element>
                 <xml-element java-attribute="tunnelXconnects" name="tunnel-xconnects" type="inventory.aai.onap.org.v21.TunnelXconnects"/>
-                <xml-element java-attribute="logicalLinks" name="logical-links" type="inventory.aai.onap.org.v21.LogicalLinks"/>
-                <xml-element java-attribute="networkPolicies" name="network-policies" type="inventory.aai.onap.org.v21.NetworkPolicies"/>
                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v21.RelationshipList"/>
             </java-attributes>
 
                 <xml-property name="searcheable" value="profile-id"/>
             </xml-properties>
                </java-type>
-    <java-type name="IpAddress">
-            <xml-root-element name="ip-address"/>
-            <java-attributes>
-                <xml-element java-attribute="ipAddress" name="ip-address" required="true" type="java.lang.String" xml-key="true" >
-                    <xml-properties>
-                        <xml-property name="description" value="IP address."/>
-                    </xml-properties>
-                </xml-element>
-                <xml-element java-attribute="ipAddressEnd" name="ip-address-end" type="java.lang.String">
-                    <xml-properties>
-                        <xml-property name="description" value="IP address end range."/>
-                    </xml-properties>
-                </xml-element>
-                <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
-                    <xml-properties>
-                        <xml-property name="description" value="IP version, either 4 or 6."/>
-                    </xml-properties>
-                </xml-element>
-                <xml-element java-attribute="type" name="type" type="java.lang.String">
-                    <xml-properties>
-                        <xml-property name="description" value="Type of IP address, eg., Reserved, Static, DHCP."/>
-                    </xml-properties>
-                </xml-element>
-                <xml-element java-attribute="assignment" name="assignment" type="java.lang.String">
-                    <xml-properties>
-                        <xml-property name="description" value="assignment."/>
-                    </xml-properties>
-                </xml-element>
-                <xml-element java-attribute="operator" name="operator" type="java.lang.String">
-                    <xml-properties>
-                        <xml-property name="description" value="Operator to apply to the port (greater than, less than, etc)."/>
-                    </xml-properties>
-                </xml-element>
-                <xml-element java-attribute="length" name="length" type="java.lang.Integer">
-                    <xml-properties>
-                        <xml-property name="description" value="ip-address prefix length, 32 for single address."/>
-                    </xml-properties>
-                </xml-element>
-            </java-attributes>
-            <xml-properties>
-                <xml-property name="description" value="IP address."/>
-                <xml-property name="uniqueProps" value="ip-address"/>
-                <xml-property name="indexedProps" value="ip-address"/>
-                <xml-property name="container" value="ip-address-list"/>
-                <xml-property name="uriTemplate" value="/ip-address-list/ip-address/{ip-address}"/>
-                <xml-property name="searcheable" value="ip-address"/>
-            </xml-properties>
-    </java-type>
-    <java-type name="IpAddressList">
-            <xml-properties>
-                <xml-property name="description" value="List of IP addresses."/>
-            </xml-properties>
-            <xml-root-element name="ip-address-list"/>
-            <java-attributes>
-                <xml-element container-type="java.util.ArrayList" java-attribute="ipAddress" name="ip-address" type="inventory.aai.onap.org.v21.IpAddress"/>
-            </java-attributes>
-        </java-type>
-        <java-type name="Endpoint">
-            <xml-root-element name="endpoint"/>
-            <java-attributes>
-                <xml-element java-attribute="endpointId" name="endpoint-id" required="true" type="java.lang.String" xml-key="true" >
-                    <xml-properties>
-                        <xml-property name="description" value="ID of an endpoint."/>
-                    </xml-properties>
-                </xml-element>
-                <xml-element java-attribute="endpointName" name="endpoint-name" type="java.lang.String">
-                    <xml-properties>
-                        <xml-property name="description" value="Name of an endpoint."/>
-                    </xml-properties>
-                </xml-element>
-                <xml-element java-attribute="endpointType" name="endpoint-type" type="java.lang.String">
-                    <xml-properties>
-                        <xml-property name="description" value="Type of an endpoint."/>
-                    </xml-properties>
-                </xml-element>
-                <xml-element java-attribute="logicalInterfaceId" name="logical-interface-id" type="java.lang.String">
-                    <xml-properties>
-                        <xml-property name="description" value="Identity of a logical interface, e.g., VLAN ID."/>
-                    </xml-properties>
-                </xml-element>
-                <xml-element java-attribute="ipAddressList" name="ip-address-list" type="inventory.aai.onap.org.v21.IpAddressList"/>
-                <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v21.RelationshipList"/>
-            </java-attributes>
-            <xml-properties>
-                <xml-property name="description" value="Endpoint object."/>
-                <xml-property name="uniqueProps" value="endpoint-id"/>
-                <xml-property name="indexedProps" value="endpoint-id"/>
-                <xml-property name="container" value="endpoints"/>
-                <xml-property name="uriTemplate" value="/endpoints/endpoint/{endpoint-id}"/>
-                <xml-property name="searcheable" value="endpoint-id"/>
-                <xml-property name="requiredProps" value="endpoint-id"/>
-            </xml-properties>
-    </java-type>
-    <java-type name="Endpoints">
-            <xml-properties>
-                <xml-property name="description" value="Collection of Endpoint objects."/>
-            </xml-properties>
-            <xml-root-element name="endpoints"/>
-            <java-attributes>
-                <xml-element container-type="java.util.ArrayList" java-attribute="endpoint" name="endpoint" type="inventory.aai.onap.org.v21.Endpoint"/>
-            </java-attributes>
-        </java-type>
        </java-types>
 </xml-bindings>