diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b4e3df33f5089456fc4d64b9dcd03d40ab38864c..123aa439d130c609788b4bf7cb1bac087abecb2a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,17 +1,47 @@
+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
diff --git a/103120/examples/request7_TrafficPolicyObject.xml b/103120/examples/request7_TrafficPolicyObject.xml
new file mode 100644
index 0000000000000000000000000000000000000000..b41df871478e8b3238ce11b69d3d19d6af85efb4
--- /dev/null
+++ b/103120/examples/request7_TrafficPolicyObject.xml
@@ -0,0 +1,54 @@
+
+
+
+
+ XX
+ ACTOR01
+
+
+ XX
+ ACTOR02
+
+ c02358b2-76cf-4ba4-a8eb-f6436ccaa8eb
+ 2022-07-01T12:00:00.000000Z
+
+ V1.11.1
+ XX
+ v1.0
+
+
+
+
+
+
+ 0
+
+
+ 7dbbc880-8750-4d3c-abe7-ea4a17646045
+ XX
+ ACTOR01
+
+ 1
+
+ 1
+
+ ETSI
+ PolicyAction
+ PDSR
+
+
+
+
+ 203.0.113.0/24
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/103120/schema/ts_103120_TrafficPolicy.xsd b/103120/schema/ts_103120_TrafficPolicy.xsd
new file mode 100644
index 0000000000000000000000000000000000000000..76c39d0affd039f6156d37dd6b65f8e4d33ac40a
--- /dev/null
+++ b/103120/schema/ts_103120_TrafficPolicy.xsd
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/testing/xsd_compile_targets.json b/testing/xsd_compile_targets.json
index 69ad1b50881635e0b2aa86dd159dc1110217da5e..a1bde12e8cf2c0d58135e37cdd05317cc16e7a31 100644
--- a/testing/xsd_compile_targets.json
+++ b/testing/xsd_compile_targets.json
@@ -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"