*
* @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<Object> synchronousGetOperation(final RequiredDmiService requiredDmiService,
* @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<Object> synchronousPutOperation(final RequiredDmiService requiredDmiService,
*
* @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.
*
*/
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
.. 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:
.. 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
==============
| **Release designation** | 3.7.5 |
| | |
+--------------------------------------+--------------------------------------------------------+
-| **Release date** | Not yet released |
+| **Release date** | 2026 January 28 |
| | |
+--------------------------------------+--------------------------------------------------------+
Features
--------
+ - `CPS-3150 <https://lf-onap.atlassian.net/browse/CPS-3150>`_ Fix passing authorization headers to DMI from ProvMnS interface
Version: 3.7.4
==============