Loading 103120/examples/request7_TrafficPolicyObject.xml +54 Viewed Changes for 103120/examples/request7_TrafficPolicyObject.xml: 54 added lines, 0 removed lines. Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <HI1Message xmlns="http://uri.etsi.org/03120/common/2019/10/Core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:common="http://uri.etsi.org/03120/common/2016/02/Common" xmlns:policy="http://uri.etsi.org/03120/common/2022/07/TrafficPolicy" xmlns:etsi="http://uri.etsi.org/03280/common/2017/07"> <Header> <SenderIdentifier> <CountryCode>XX</CountryCode> <UniqueIdentifier>ACTOR01</UniqueIdentifier> </SenderIdentifier> <ReceiverIdentifier> <CountryCode>XX</CountryCode> <UniqueIdentifier>ACTOR02</UniqueIdentifier> </ReceiverIdentifier> <TransactionIdentifier>c02358b2-76cf-4ba4-a8eb-f6436ccaa8eb</TransactionIdentifier> <Timestamp>2022-07-01T12:00:00.000000Z</Timestamp> <Version> <ETSIVersion>V1.11.1</ETSIVersion> <NationalProfileOwner>XX</NationalProfileOwner> <NationalProfileVersion>v1.0</NationalProfileVersion> </Version> </Header> <Payload> <RequestPayload> <ActionRequests> <ActionRequest> <ActionIdentifier>0</ActionIdentifier> <CREATE> <HI1Object xsi:type="policy:TrafficPolicyObject"> <ObjectIdentifier>7dbbc880-8750-4d3c-abe7-ea4a17646045</ObjectIdentifier> <CountryCode>XX</CountryCode> <OwnerIdentifier>ACTOR01</OwnerIdentifier> <policy:TrafficPolicy> <policy:Order>1</policy:Order> <policy:TrafficPolicyRule> <policy:Order>1</policy:Order> <policy:Action> <common:Owner>ETSI</common:Owner> <common:Name>PolicyAction</common:Name> <common:Value>PDSR</common:Value> </policy:Action> <policy:TrafficPolicyCriteria> <policy:IPPolicyCriteria> <policy:IPRange> <etsi:IPv4CIDR>203.0.113.0/24</etsi:IPv4CIDR> </policy:IPRange> </policy:IPPolicyCriteria> </policy:TrafficPolicyCriteria> </policy:TrafficPolicyRule> </policy:TrafficPolicy> </HI1Object> </CREATE> </ActionRequest> </ActionRequests> </RequestPayload> </Payload> </HI1Message> 103120/schema/ts_103120_TrafficPolicy.xsd +46 Viewed Changes for 103120/schema/ts_103120_TrafficPolicy.xsd: 46 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:etsi="http://uri.etsi.org/03280/common/2017/07" xmlns:common="http://uri.etsi.org/03120/common/2016/02/Common" xmlns:core="http://uri.etsi.org/03120/common/2019/10/Core" xmlns="http://uri.etsi.org/03120/common/2022/07/TrafficPolicy" targetNamespace="http://uri.etsi.org/03120/common/2022/07/TrafficPolicy" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:import namespace="http://uri.etsi.org/03120/common/2016/02/Common"/> <xs:import namespace="http://uri.etsi.org/03120/common/2019/10/Core"/> <xs:import namespace="http://uri.etsi.org/03280/common/2017/07"/> <xs:complexType name="TrafficPolicyObject"> <xs:complexContent> <xs:extension base="core:HI1Object"> <xs:sequence> <xs:element name="TrafficPolicy" type="TrafficPolicy" minOccurs="0"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="TrafficPolicy"> <xs:sequence> <xs:element name="TrafficPolicyRule" type="TrafficPolicyRule" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> <xs:complexType name="TrafficPolicyRule"> <xs:sequence> <xs:element name="Order" type="xs:positiveInteger"/> <xs:element name="Action" type="common:DictionaryEntry"/> <xs:element name="TrafficPolicyCriteria" type="TrafficPolicyCriteria" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> <xs:complexType name="TrafficPolicyCriteria"> <xs:choice> <xs:element name="IPPolicyCriteria" type="IPPolicyCriteria"/> </xs:choice> </xs:complexType> <xs:complexType name="IPPolicyCriteria"> <xs:sequence> <xs:element name="IPProtocol" type="xs:nonNegativeInteger" minOccurs="0"/> <xs:element name="IPRange" type="etsi:IPCIDR" minOccurs="0"/> <xs:element name="PortRange" type="etsi:PortRange" minOccurs="0"/> <xs:element name="SourceOrDestination" type="SourceOrDestination" minOccurs="0"/> </xs:sequence> </xs:complexType> <xs:simpleType name="SourceOrDestination"> <xs:restriction base="xs:string"> <xs:enumeration value="Source"/> <xs:enumeration value="Destination"/> </xs:restriction> </xs:simpleType> </xs:schema> testing/xsd_compile_targets.json +1 Viewed Changes for testing/xsd_compile_targets.json: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -38,6 +38,7 @@ "103120/schema/ts_103120_Document.xsd", "103120/schema/ts_103120_Notification.xsd", "103120/schema/ts_103120_Task.xsd", "103120/schema/ts_103120_TrafficPolicy.xsd", "103280/TS_103_280.xsd", "testing/deps/xmldsig/xmldsig-core-schema.xsd", "103120/examples/FooServiceSchema.xsd" Loading .gitlab-ci.yml +32 −2 Viewed Changes for .gitlab-ci.yml: 32 added lines, 2 removed lines. Original line number Diff line number Diff line workflow: rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS when: never - if: $CI_COMMIT_BRANCH stages: - check - build process_asn: image: "mcanterb/asn1test:latest" image: "forge.etsi.org:5050/li/schemas-definitions/asn1test:latest" stage: check interruptible: true script: - python3 testing/asn_process.py process_xsd: image: "mcanterb/xsdtest:latest" image: "forge.etsi.org:5050/li/schemas-definitions/xsdtest:latest" stage: check interruptible: true script: - python3 testing/xsd_process.py generate_artefacts: image: "forge.etsi.org:5050/li/trial/changemarks" stage: build interruptible: true rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' script: - echo $CI_PROJECT_ID - echo $CI_PROJECT_NAME - echo $CI_PROJECT_PATH - echo $CI_PIPELINE_SOURCE - echo $CI_OPEN_MERGE_REQUESTS - echo $CI_MERGE_REQUEST_IID - echo $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME - echo $ARTEFACT_NAME - forgelib-changedocs -v https://$CI_SERVER_HOST $CI_PROJECT_ID $CI_PROJECT_PATH $CI_MERGE_REQUEST_IID artifacts: untracked: true paths: - "*.docx" name: $CI_MERGE_REQUEST_TITLE expire_in: 30 days Loading
103120/examples/request7_TrafficPolicyObject.xml +54 Viewed Changes for 103120/examples/request7_TrafficPolicyObject.xml: 54 added lines, 0 removed lines. Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <HI1Message xmlns="http://uri.etsi.org/03120/common/2019/10/Core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:common="http://uri.etsi.org/03120/common/2016/02/Common" xmlns:policy="http://uri.etsi.org/03120/common/2022/07/TrafficPolicy" xmlns:etsi="http://uri.etsi.org/03280/common/2017/07"> <Header> <SenderIdentifier> <CountryCode>XX</CountryCode> <UniqueIdentifier>ACTOR01</UniqueIdentifier> </SenderIdentifier> <ReceiverIdentifier> <CountryCode>XX</CountryCode> <UniqueIdentifier>ACTOR02</UniqueIdentifier> </ReceiverIdentifier> <TransactionIdentifier>c02358b2-76cf-4ba4-a8eb-f6436ccaa8eb</TransactionIdentifier> <Timestamp>2022-07-01T12:00:00.000000Z</Timestamp> <Version> <ETSIVersion>V1.11.1</ETSIVersion> <NationalProfileOwner>XX</NationalProfileOwner> <NationalProfileVersion>v1.0</NationalProfileVersion> </Version> </Header> <Payload> <RequestPayload> <ActionRequests> <ActionRequest> <ActionIdentifier>0</ActionIdentifier> <CREATE> <HI1Object xsi:type="policy:TrafficPolicyObject"> <ObjectIdentifier>7dbbc880-8750-4d3c-abe7-ea4a17646045</ObjectIdentifier> <CountryCode>XX</CountryCode> <OwnerIdentifier>ACTOR01</OwnerIdentifier> <policy:TrafficPolicy> <policy:Order>1</policy:Order> <policy:TrafficPolicyRule> <policy:Order>1</policy:Order> <policy:Action> <common:Owner>ETSI</common:Owner> <common:Name>PolicyAction</common:Name> <common:Value>PDSR</common:Value> </policy:Action> <policy:TrafficPolicyCriteria> <policy:IPPolicyCriteria> <policy:IPRange> <etsi:IPv4CIDR>203.0.113.0/24</etsi:IPv4CIDR> </policy:IPRange> </policy:IPPolicyCriteria> </policy:TrafficPolicyCriteria> </policy:TrafficPolicyRule> </policy:TrafficPolicy> </HI1Object> </CREATE> </ActionRequest> </ActionRequests> </RequestPayload> </Payload> </HI1Message>
103120/schema/ts_103120_TrafficPolicy.xsd +46 Viewed Changes for 103120/schema/ts_103120_TrafficPolicy.xsd: 46 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:etsi="http://uri.etsi.org/03280/common/2017/07" xmlns:common="http://uri.etsi.org/03120/common/2016/02/Common" xmlns:core="http://uri.etsi.org/03120/common/2019/10/Core" xmlns="http://uri.etsi.org/03120/common/2022/07/TrafficPolicy" targetNamespace="http://uri.etsi.org/03120/common/2022/07/TrafficPolicy" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:import namespace="http://uri.etsi.org/03120/common/2016/02/Common"/> <xs:import namespace="http://uri.etsi.org/03120/common/2019/10/Core"/> <xs:import namespace="http://uri.etsi.org/03280/common/2017/07"/> <xs:complexType name="TrafficPolicyObject"> <xs:complexContent> <xs:extension base="core:HI1Object"> <xs:sequence> <xs:element name="TrafficPolicy" type="TrafficPolicy" minOccurs="0"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="TrafficPolicy"> <xs:sequence> <xs:element name="TrafficPolicyRule" type="TrafficPolicyRule" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> <xs:complexType name="TrafficPolicyRule"> <xs:sequence> <xs:element name="Order" type="xs:positiveInteger"/> <xs:element name="Action" type="common:DictionaryEntry"/> <xs:element name="TrafficPolicyCriteria" type="TrafficPolicyCriteria" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> <xs:complexType name="TrafficPolicyCriteria"> <xs:choice> <xs:element name="IPPolicyCriteria" type="IPPolicyCriteria"/> </xs:choice> </xs:complexType> <xs:complexType name="IPPolicyCriteria"> <xs:sequence> <xs:element name="IPProtocol" type="xs:nonNegativeInteger" minOccurs="0"/> <xs:element name="IPRange" type="etsi:IPCIDR" minOccurs="0"/> <xs:element name="PortRange" type="etsi:PortRange" minOccurs="0"/> <xs:element name="SourceOrDestination" type="SourceOrDestination" minOccurs="0"/> </xs:sequence> </xs:complexType> <xs:simpleType name="SourceOrDestination"> <xs:restriction base="xs:string"> <xs:enumeration value="Source"/> <xs:enumeration value="Destination"/> </xs:restriction> </xs:simpleType> </xs:schema>
testing/xsd_compile_targets.json +1 Viewed Changes for testing/xsd_compile_targets.json: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -38,6 +38,7 @@ "103120/schema/ts_103120_Document.xsd", "103120/schema/ts_103120_Notification.xsd", "103120/schema/ts_103120_Task.xsd", "103120/schema/ts_103120_TrafficPolicy.xsd", "103280/TS_103_280.xsd", "testing/deps/xmldsig/xmldsig-core-schema.xsd", "103120/examples/FooServiceSchema.xsd" Loading
.gitlab-ci.yml +32 −2 Viewed Changes for .gitlab-ci.yml: 32 added lines, 2 removed lines. Original line number Diff line number Diff line workflow: rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS when: never - if: $CI_COMMIT_BRANCH stages: - check - build process_asn: image: "mcanterb/asn1test:latest" image: "forge.etsi.org:5050/li/schemas-definitions/asn1test:latest" stage: check interruptible: true script: - python3 testing/asn_process.py process_xsd: image: "mcanterb/xsdtest:latest" image: "forge.etsi.org:5050/li/schemas-definitions/xsdtest:latest" stage: check interruptible: true script: - python3 testing/xsd_process.py generate_artefacts: image: "forge.etsi.org:5050/li/trial/changemarks" stage: build interruptible: true rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' script: - echo $CI_PROJECT_ID - echo $CI_PROJECT_NAME - echo $CI_PROJECT_PATH - echo $CI_PIPELINE_SOURCE - echo $CI_OPEN_MERGE_REQUESTS - echo $CI_MERGE_REQUEST_IID - echo $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME - echo $ARTEFACT_NAME - forgelib-changedocs -v https://$CI_SERVER_HOST $CI_PROJECT_ID $CI_PROJECT_PATH $CI_MERGE_REQUEST_IID artifacts: untracked: true paths: - "*.docx" name: $CI_MERGE_REQUEST_TITLE expire_in: 30 days