Add (error)simulations to DMI Stub ProvMnS Interface 75/142775/4 master
authorToineSiebelink <toine.siebelink@est.tech>
Tue, 16 Dec 2025 17:36:52 +0000 (17:36 +0000)
committerToineSiebelink <toine.siebelink@est.tech>
Wed, 17 Dec 2025 15:17:26 +0000 (15:17 +0000)
commitc1e83ec10476a9f5f5ce1d50ebb07bfc47b53d3e
tree6314b6ecc005646a336a2ca360acaa800cac0f5b
parente60ccd606e59b1cd5bf18c9b1bdbc33389caeaf1
Add (error)simulations to DMI Stub ProvMnS Interface

- Added Controller Test for easier testing of simulation URI patterns
  (faster then build & PostMan!)
- Add Validator Dependency for latest Springboot
- Add timeout and http error simulation based on patterns in FDN
- Add info level logging to all stub methods
  (this might affect k6 performance tests!)
- Changed ProvMns interface to allow (any) object be returned for all operation incl. Delete
  (inline with production interfaces updates)

Issue-ID: CPS-3094
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I25d1c660d72bbd2ab929cd66d65e304e6255637c
dmi-stub/dmi-stub-app/pom.xml
dmi-stub/dmi-stub-app/src/test/groovy/org/onap/cps/ncmp/dmi/rest/stub/controller/ProvMnsStubControllerSpec.groovy [new file with mode: 0644]
dmi-stub/dmi-stub-service/pom.xml
dmi-stub/dmi-stub-service/src/main/java/org/onap/cps/ncmp/dmi/provmns/api/ProvMnS.java
dmi-stub/dmi-stub-service/src/main/java/org/onap/cps/ncmp/dmi/rest/stub/controller/DmiRestStubController.java
dmi-stub/dmi-stub-service/src/main/java/org/onap/cps/ncmp/dmi/rest/stub/controller/ProvMnsStubController.java
dmi-stub/dmi-stub-service/src/main/java/org/onap/cps/ncmp/dmi/rest/stub/utils/Sleeper.java [new file with mode: 0644]