TS 103 221-1 CR027 - Generic Objects

Merge request reports

Loading
+38
Changes for 103221-1/examples/CreateHashedID_example.xml: 38 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?xml version="1.0" ?>
<X1Request xmlns="http://uri.etsi.org/03221/X1/2017/10"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:hashedID="http://uri.etsi.org/03221/X1/2017/10/HashedID">
  <x1RequestMessage xsi:type="CreateObjectRequest">
    <admfIdentifier>admfID</admfIdentifier>
    <neIdentifier>neID</neIdentifier>
    <messageTimestamp>2017-10-06T18:46:21.247432Z</messageTimestamp>
    <version>v1.9.1</version>
    <x1TransactionId>f9138c05-f82e-4cf4-a1ae-ae92fed2d564</x1TransactionId>
    <createObject xsi:type="hashedID:HashContext">
      <objectId>30fbde5e-3195-4a22-b3e9-15e1d60d0528</objectId>
      <hashedID:hashAlgorithm>sha-256</hashedID:hashAlgorithm>
      <hashedID:salt>4241792fc4d3d097</hashedID:salt>
    </createObject>
  </x1RequestMessage>
  <x1RequestMessage xsi:type="ActivateTaskRequest">
    <admfIdentifier>admfID</admfIdentifier>
    <neIdentifier>neID</neIdentifier>
    <messageTimestamp>2017-10-06T18:46:21.247432Z</messageTimestamp>
    <version>v1.9.1</version>
    <x1TransactionId>f9138c05-f82e-4cf4-a1ae-ae92fed2d565</x1TransactionId>
    <taskDetails>
      <xId>30fbde5e-3195-4a22-b3e9-15e1d60d0529</xId>
      <targetIdentifiers>
        <targetIdentifier>
          <hashedIdentifier>
            <hashedID:hashContextID>30fbde5e-3195-4a22-b3e9-15e1d60d0528</hashedID:hashContextID>
            <hashedID:targetIdentityType>InternationalE164</hashedID:targetIdentityType>
            <hashedID:hashDigest>303e57c6968f308a6a7df0ef48c0e21580bc29ae2ed1bd8e5466eb42e72cc39a</hashedID:hashDigest>
          </hashedIdentifier>
        </targetIdentifier>
      </targetIdentifiers>
      <deliveryType>X2andX3</deliveryType>
      <listOfDIDs></listOfDIDs>      
    </taskDetails>
  </x1RequestMessage>
</X1Request>
+16
Changes for 103221-1/examples/CreateObject_example.xml: 16 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?xml version="1.0" ?>
<X1Request xmlns="http://uri.etsi.org/03221/X1/2017/10" 
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:example="exampleGenericObject">
  <x1RequestMessage xsi:type="CreateObjectRequest">
    <admfIdentifier>admfID</admfIdentifier>
    <neIdentifier>neID</neIdentifier>
    <messageTimestamp>2017-10-06T18:46:21.247432Z</messageTimestamp>
    <version>v1.9.1</version>
    <x1TransactionId>3741800e-971b-4aa9-85f4-466d2b1adc7f</x1TransactionId>
    <createObject xsi:type="example:FooObject">
      <objectId>3741800e-971b-4aa9-85f4-466d2b1adc7e</objectId>
      <example:Foo>1</example:Foo>
    </createObject>
  </x1RequestMessage>
</X1Request>
+38
Changes for 103221-1/examples/ExampleGenericObjects.xsd: 38 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
           xmlns="exampleGenericObject"
           xmlns:x1="http://uri.etsi.org/03221/X1/2017/10"
           targetNamespace="exampleGenericObject" elementFormDefault="qualified">
  <xs:import namespace="http://uri.etsi.org/03221/X1/2017/10"/>
  
  <xs:complexType name="FooObject">
    <xs:complexContent>
      <xs:extension base="x1:GenericObject">
        <xs:sequence>
          <xs:element name="Foo" type="xs:int"></xs:element>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>

  <xs:complexType name="FooStatus">
    <xs:complexContent>
      <xs:extension base="x1:GenericObjectStatus">
        <xs:sequence>
          <xs:element name="FooStatus" type="xs:string"></xs:element>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>

  <xs:complexType name="BarObject">
    <xs:complexContent>
      <xs:extension base="x1:GenericObject">
        <xs:sequence>
          <xs:element name="Bar" type="xs:string"></xs:element>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  
</xs:schema>
 No newline at end of file
+67
Changes for 103221-1/examples/GetAllDetailsResponse_example2.xml: 67 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?xml version="1.0" ?>
<ns1:X1Response xmlns:ns1="http://uri.etsi.org/03221/X1/2017/10" xmlns:ns2="http://uri.etsi.org/03280/common/2017/07" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:exampleGenericObject="exampleGenericObject">
  <ns1:x1ResponseMessage xsi:type="ns1:GetAllDetailsResponse">
    <ns1:admfIdentifier>admfID</ns1:admfIdentifier>
    <ns1:neIdentifier>neID</ns1:neIdentifier>
    <ns1:messageTimestamp>2017-10-06T18:46:21.496743Z</ns1:messageTimestamp>
    <ns1:version>v1.9.1</ns1:version>
    <ns1:x1TransactionId>bfd0c982-b7d6-4a8e-80a0-89dab964aafd</ns1:x1TransactionId>
    <ns1:neStatusDetails>
      <ns1:neStatus>OK</ns1:neStatus>
      <ns1:listOfFaults/>
    </ns1:neStatusDetails>
    <ns1:listOfTaskResponseDetails>
      <ns1:taskResponseDetails>
        <ns1:taskDetails>
          <ns1:xId>29f28e1c-f230-486a-a860-f5a784ab9172</ns1:xId>
          <ns1:targetIdentifiers>
            <ns1:targetIdentifier>
              <ns1:e164Number>447700900000</ns1:e164Number>
            </ns1:targetIdentifier>
          </ns1:targetIdentifiers>
          <ns1:deliveryType>X2andX3</ns1:deliveryType>
          <ns1:listOfDIDs>
            <ns1:dId>1eb4406a-8b28-41fd-8f0f-e1a0a3eb5ff9</ns1:dId>
          </ns1:listOfDIDs>
        </ns1:taskDetails>
        <ns1:taskStatus>
          <ns1:provisioningStatus>complete</ns1:provisioningStatus>
          <ns1:listOfFaults/>
        </ns1:taskStatus>
      </ns1:taskResponseDetails>
    </ns1:listOfTaskResponseDetails>
    <ns1:listOfDestinationResponseDetails>
      <ns1:destinationResponseDetails>
        <ns1:destinationDetails>
          <ns1:dId>b0ce308c-aa17-42bd-a27b-287bcb5b3468</ns1:dId>
          <ns1:deliveryType>X2andX3</ns1:deliveryType>
          <ns1:deliveryAddress>
            <ns1:ipAddressAndPort>
              <ns2:address>
                <ns2:IPv4Address>192.0.2.2</ns2:IPv4Address>
              </ns2:address>
              <ns2:port>
                <ns2:TCPPort>12345</ns2:TCPPort>
              </ns2:port>
            </ns1:ipAddressAndPort>
          </ns1:deliveryAddress>
        </ns1:destinationDetails>
        <ns1:destinationStatus>
          <ns1:destinationDeliveryStatus>activeAndWorking</ns1:destinationDeliveryStatus>
          <ns1:listOfFaults/>
        </ns1:destinationStatus>
      </ns1:destinationResponseDetails>
    </ns1:listOfDestinationResponseDetails>
    <ns1:listOfGenericObjectResponseDetails>
      <ns1:genericObjectResponseDetails>
        <ns1:object xsi:type="exampleGenericObject:FooObject">
          <ns1:objectId>3741800e-971b-4aa9-85f4-466d2b1adc7e</ns1:objectId>
          <exampleGenericObject:Foo>1</exampleGenericObject:Foo>
        </ns1:object>
        <ns1:status xsi:type="exampleGenericObject:FooStatus">
          <exampleGenericObject:FooStatus>OK</exampleGenericObject:FooStatus>
        </ns1:status>
      </ns1:genericObjectResponseDetails>
    </ns1:listOfGenericObjectResponseDetails>
  </ns1:x1ResponseMessage>
</ns1:X1Response>
+16
Changes for 103221-1/examples/GetObjectResponse_example.xml: 16 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?xml version="1.0" ?>
<X1Response xmlns="http://uri.etsi.org/03221/X1/2017/10" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:exampleGenericObject="exampleGenericObject">
  <x1ResponseMessage xsi:type="GetObjectResponse">
    <admfIdentifier>admfID</admfIdentifier>
    <neIdentifier>neID</neIdentifier>
    <messageTimestamp>2017-10-06T18:46:21.247432Z</messageTimestamp>
    <version>v1.6.1</version>
    <x1TransactionId>3741800e-971b-4aa9-85f4-466d2b1adc7f</x1TransactionId>
    <genericObjectResponseDetails>
      <object xsi:type="exampleGenericObject:FooObject">
        <objectId>3741800e-971b-4aa9-85f4-466d2b1adc7e</objectId>
        <exampleGenericObject:Foo>1</exampleGenericObject:Foo>
      </object>
    </genericObjectResponseDetails>
  </x1ResponseMessage>
</X1Response>
Loading
Loading