Postman and Stub updates for testing ProvMns Error handling 61/142861/3
authorToineSiebelink <toine.siebelink@est.tech>
Tue, 6 Jan 2026 09:24:14 +0000 (09:24 +0000)
committerToineSiebelink <toine.siebelink@est.tech>
Wed, 7 Jan 2026 13:00:28 +0000 (13:00 +0000)
commit9fab59c1919ee8e31a72bafa1cbfe40f83475e64
treebedf6df847bf2740a2358a0055ad20fae7030140
parent651c2dffc12a45c50e23fcc1fa9c13cb1f4aca4d
Postman and Stub updates for testing ProvMns Error handling

- Aligned PolicyExecutor Stub simulations with DMI Stub
- Add Simulation for Policy Denial in Stub PE Controller
- Postman updates: Data (ProvMnS) folder, including:
  - get, put, del success scenarios
  - get, put, del error and deny scenarios
NOTE Enable Policy Executor (env variable) to test/demo deny scenarios!
- Also contains fix for double slash (will disappear once separate for commit for that is merged)
TODO
- PostMan Patch scenarios will be done in separate commit by Sean as it requires DMI Stub update too

Issue-ID: CPS-2707
Change-Id: I97f801e3de73062acaf0b6cf122be6e0a104974e
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/impl/provmns/ParametersBuilderSpec.groovy
docker-compose/docker-compose.yml
docs/api/swagger/cps/openapi.yaml
policy-executor-stub/src/main/java/org/onap/cps/policyexecutor/stub/controller/PolicyExecutorStubController.java
policy-executor-stub/src/test/groovy/org/onap/cps/policyexecutor/stub/controller/PolicyExecutorStubControllerSpec.groovy
postman-collections/CPS.postman_collection.json