From ce95183f1d669195ff578aa28f326ff72147dd02 Mon Sep 17 00:00:00 2001 From: seanbeirne Date: Wed, 28 Jan 2026 12:07:32 +0000 Subject: [PATCH] Release stage #1 for CPS 3.7.5 Issue-ID: CPS-3120 Change-Id: Ie6ba21edc0f85f85c4a1347e35f9c9cc8d40d212 Signed-off-by: seanbeirne --- .../org/onap/cps/ncmp/impl/dmi/DmiRestClient.java | 6 ++--- .../impl/dmi/DmiRestClientIntegrationSpec.groovy | 8 +++---- docs/release-notes.rst | 28 ++++++++++++++++++++-- 3 files changed, 33 insertions(+), 9 deletions(-) diff --git a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/dmi/DmiRestClient.java b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/dmi/DmiRestClient.java index e09940a0ef..752ce85295 100644 --- a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/dmi/DmiRestClient.java +++ b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/dmi/DmiRestClient.java @@ -124,7 +124,7 @@ public class DmiRestClient { * * @param requiredDmiService Determines if the required service is for a data or model operation. * @param urlTemplateParameters The DMI resource URL template with variables. - * @param authorization The authorization token to be added to the request headers. + * @param authorization The authorization token to be added to the request headers. * @return ResponseEntity containing the response from the DMI. */ public ResponseEntity synchronousGetOperation(final RequiredDmiService requiredDmiService, @@ -144,7 +144,7 @@ public class DmiRestClient { * @param requiredDmiService Determines if the required service is for a data or model operation. * @param body resource object to be forwarded. * @param urlTemplateParameters The DMI resource URL template with variables. - * @param authorization The authorization token to be added to the request headers. + * @param authorization The authorization token to be added to the request headers. * @return ResponseEntity containing the response from the DMI. */ public ResponseEntity synchronousPutOperation(final RequiredDmiService requiredDmiService, @@ -234,7 +234,7 @@ public class DmiRestClient { * * @param requiredDmiService Determines if the required service is for a data or model operation. * @param urlTemplateParameters The DMI resource URL template with variables. - * @param authorization The authorization token to be added to the request headers. + * @param authorization The authorization token to be added to the request headers. * @return ResponseEntity containing the response from the DMI. * */ diff --git a/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/dmi/DmiRestClientIntegrationSpec.groovy b/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/dmi/DmiRestClientIntegrationSpec.groovy index 288cd2a696..b6e85d67b3 100644 --- a/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/dmi/DmiRestClientIntegrationSpec.groovy +++ b/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/dmi/DmiRestClientIntegrationSpec.groovy @@ -66,19 +66,19 @@ class DmiRestClientIntegrationSpec extends Specification { def result switch(method) { case 'get': - result = objectUnderTest.synchronousGetOperation(DATA, urlTemplateParameters, 'some-authorization') + result = objectUnderTest.synchronousGetOperation(DATA, urlTemplateParameters, 'my-authorization') break case 'post': result = objectUnderTest.synchronousPostOperation(DATA, urlTemplateParameters, 'body', CREATE, '') break case 'put': - result = objectUnderTest.synchronousPutOperation(DATA, 'body', urlTemplateParameters, 'some-authorization') + result = objectUnderTest.synchronousPutOperation(DATA, 'body', urlTemplateParameters, 'my-authorization') break case 'patch': - result = objectUnderTest.synchronousPatchOperation(DATA, 'body', urlTemplateParameters, 'application/json-patch+json', 'some-authorization') + result = objectUnderTest.synchronousPatchOperation(DATA, 'body', urlTemplateParameters, 'application/json-patch+json', 'my-authorization') break case 'delete': - result = objectUnderTest.synchronousDeleteOperation(DATA, urlTemplateParameters, 'some-authorization') + result = objectUnderTest.synchronousDeleteOperation(DATA, urlTemplateParameters, 'my-authorization') } then: 'the result has the same status code of 200' assert result.statusCode.value() == 200 diff --git a/docs/release-notes.rst b/docs/release-notes.rst index 6aeadf9a7a..4140e8f76d 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -1,6 +1,6 @@ .. This work is licensed under a Creative Commons Attribution 4.0 International License. .. http://creativecommons.org/licenses/by/4.0 -.. Copyright (C) 2021-2025 OpenInfra Foundation Europe. All rights reserved. +.. Copyright (C) 2021-2026 OpenInfra Foundation Europe. All rights reserved. .. DO NOT CHANGE THIS LABEL FOR RELEASE NOTES - EVEN THOUGH IT GIVES A WARNING .. _release_notes: @@ -11,6 +11,29 @@ CPS Release Notes .. contents:: :depth: 2 +Version: 3.7.6 +============== + +Release Data +------------ + ++--------------------------------------+--------------------------------------------------------+ +| **CPS Project** | | +| | | ++--------------------------------------+--------------------------------------------------------+ +| **Docker images** | onap/cps-and-ncmp:3.7.6 | +| | | ++--------------------------------------+--------------------------------------------------------+ +| **Release designation** | 3.7.6 | +| | | ++--------------------------------------+--------------------------------------------------------+ +| **Release date** | Not yet released | +| | | ++--------------------------------------+--------------------------------------------------------+ + +Features +-------- + Version: 3.7.5 ============== @@ -27,12 +50,13 @@ Release Data | **Release designation** | 3.7.5 | | | | +--------------------------------------+--------------------------------------------------------+ -| **Release date** | Not yet released | +| **Release date** | 2026 January 28 | | | | +--------------------------------------+--------------------------------------------------------+ Features -------- + - `CPS-3150 `_ Fix passing authorization headers to DMI from ProvMnS interface Version: 3.7.4 ============== -- 2.16.6