Integration test of Bearer Token pass-through (CPS-2126 #5) 59/137459/4
authordanielhanrahan <daniel.hanrahan@est.tech>
Fri, 1 Mar 2024 10:56:19 +0000 (10:56 +0000)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Tue, 5 Mar 2024 10:09:05 +0000 (10:09 +0000)
commit47c294d8a0e7e250e555523318337b39b8a074f6
treeebb6a18cbb69697a30cf8727a5961bba0a73cb8f
parenta1703ea0b029df78ceb040ad0a39d872a7384649
Integration test of Bearer Token pass-through (CPS-2126 #5)

This covers REST endpoints of GET, POST, PUT, PATCH, DELETE
of /ncmp/v1/ch/{cmHandleId}/data/ds/{datastoreName}
and the async REST endpoint of POST /ncmp/v1/data

It verifies that:
- bearer token is passed from NCMP to DMI
- basic auth header is not passed from NCMP to DMI

Issue-ID: CPS-2137
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ie4761a848904175a9d8cd5b917817e85f5b69813
integration-test/src/test/groovy/org/onap/cps/integration/base/CpsIntegrationSpecBase.groovy
integration-test/src/test/groovy/org/onap/cps/integration/functional/NcmpBearerTokenPassthroughSpec.groovy [new file with mode: 0644]
integration-test/src/test/resources/application.yml