From 605b5899aa1a8841616597af8b6352242618eb1e Mon Sep 17 00:00:00 2001 From: openBackhaul Date: Sat, 30 Sep 2023 10:10:02 +0200 Subject: [PATCH 1/2] Exclude OldRelease & NewRelease from updates Fixes #758 --- spec/ApplicationPattern.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/ApplicationPattern.yaml b/spec/ApplicationPattern.yaml index 8e9dadb0..04ca7d24 100644 --- a/spec/ApplicationPattern.yaml +++ b/spec/ApplicationPattern.yaml @@ -1977,7 +1977,7 @@ paths: operationId: updateClient summary: 'Allows updating connection data of a serving application' description: > - 'Initiates update of release number and TCP/IP address at existing HttpClients and TcpClients. + 'Initiates update of release number and TCP/IP address at existing HttpClients and TcpClients, but not at OldRelease or NewRelease. If combination of {future-application-name, future-release-number} is different from combination {current-application-name, current-release-number} and if HttpClient with combination of {future-application-name, future-release-number} already exists, HttpClient with combination {current-application-name, current-release-number} shall not be updated, @@ -2005,13 +2005,13 @@ paths: type: string description: > 'Current name of the application that has updated connection data - find [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-*/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/application-name]' + find, but not at OldRelease or NewRelease, [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-*/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/application-name]' current-release-number: type: string pattern: '^([0-9]{1,2})\.([0-9]{1,2})\.([0-9]{1,2})$' description: > 'Current release number of the application that has updated connection data - find [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-*/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/release-number]' + find, but not at OldRelease or NewRelease, [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-*/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/release-number]' future-application-name: type: string description: > @@ -3426,13 +3426,13 @@ paths: type: string description: > 'Name of the application that has an updated operation - find [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-*/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/application-name]' + find, but not at OldRelease or NewRelease, [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-*/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/application-name]' release-number: type: string pattern: '^([0-9]{1,2})\.([0-9]{1,2})\.([0-9]{1,2})$' description: > 'Release number of the application that has an updated operation - find [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-*/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/release-number]' + find, but not at OldRelease or NewRelease, [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-*/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/release-number]' old-operation-name: type: string minLength: 6 From 2b8a93f30f0880f7a2c03f1e13ec72c3689b9d97 Mon Sep 17 00:00:00 2001 From: openBackhaul Date: Tue, 3 Oct 2023 09:13:15 +0200 Subject: [PATCH 2/2] Expanded on additional services Fixes #758 --- spec/ApplicationPattern.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/spec/ApplicationPattern.yaml b/spec/ApplicationPattern.yaml index 04ca7d24..9d89d3b6 100644 --- a/spec/ApplicationPattern.yaml +++ b/spec/ApplicationPattern.yaml @@ -1161,13 +1161,13 @@ paths: type: string description: > 'Name of application that shall record the service requests - find [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-eatl-2-0-1-000/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/application-name]' + find, but not at OldRelease or NewRelease, [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-eatl-2-0-1-000/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/application-name]' service-log-application-release-number: type: string pattern: '^([0-9]{1,2})\.([0-9]{1,2})\.([0-9]{1,2})$' description: > 'Release of application that shall record the service requests - update [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-eatl-2-0-1-000/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/release-number]' + update, but not at OldRelease or NewRelease, [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-eatl-2-0-1-000/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/release-number]' service-log-operation: type: string minLength: 6 @@ -1412,13 +1412,13 @@ paths: type: string description: > 'Name of application that shall record the OaM requests - find [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-ol-2-0-1-000/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/application-name]' + find, but not at OldRelease or NewRelease, [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-ol-2-0-1-000/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/application-name]' oam-log-application-release-number: type: string pattern: '^([0-9]{1,2})\.([0-9]{1,2})\.([0-9]{1,2})$' description: > 'Release of application that shall record the OaM request - update [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-ol-2-0-1-000/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/release-number]' + update, but not at OldRelease or NewRelease, [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-ol-2-0-1-000/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/release-number]' oam-log-operation: type: string minLength: 6 @@ -1746,13 +1746,13 @@ paths: type: string description: > 'Name of application that shall approve the OaM requests - find [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-aa-2-0-1-000/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/application-name]' + find, but not at OldRelease or NewRelease, [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-aa-2-0-1-000/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/application-name]' oam-approval-application-release-number: type: string pattern: '^([0-9]{1,2})\.([0-9]{1,2})\.([0-9]{1,2})$' description: > 'Release of application that shall approve the OaM requests - update [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-aa-2-0-1-000/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/release-number]' + update, but not at OldRelease or NewRelease, [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-aa-2-0-1-000/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/release-number]' oam-approval-operation: type: string minLength: 6 @@ -2292,13 +2292,13 @@ paths: type: string description: > 'Name of application that shall document the application layer topology - find [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-alt-2-0-1-000/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/application-name]' + find, but not at OldRelease or NewRelease, [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-alt-2-0-1-000/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/application-name]' topology-application-release-number: type: string pattern: '^([0-9]{1,2})\.([0-9]{1,2})\.([0-9]{1,2})$' description: > 'Release of application that shall document the application layer topology - update [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-alt-2-0-1-000/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/release-number]' + update, but not at OldRelease or NewRelease, [/core-model-1-4:control-construct/logical-termination-point=*-1-0-0-http-c-alt-2-0-1-000/layer-protocol=0/http-client-interface-1-0:http-client-interface-pac/http-client-interface-configuration/release-number]' topology-operation-ltp-update: type: string minLength: 6