Add new endpoint to collect all instances 92/141592/2
authoradheli.tavares <adheli.tavares@est.tech>
Mon, 28 Jul 2025 14:01:19 +0000 (15:01 +0100)
committeradheli.tavares <adheli.tavares@est.tech>
Mon, 28 Jul 2025 14:19:15 +0000 (15:19 +0100)
commit1af1ca8dced13601f573625a35de46617d016a1d
treeaf428f456d5e05c35c0a1f638f96444b9a02d798
parent09ab499fda37d7ee04e20e8e7da54c4a475cb9c8
Add new endpoint to collect all instances

- filter is based on stateResultChange and/or deployState
- can be sorted; default is order by lastMsg/DESC
- can be pageable

Issue-ID: POLICY-5425
Change-Id: Ia98363f5238d6840b3cb70fdc3302a2905962531
Signed-off-by: Eli Tavares <adheli.tavares@est.tech>
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
models/src/main/java/org/onap/policy/clamp/models/acm/persistence/provider/AutomationCompositionProvider.java
models/src/main/java/org/onap/policy/clamp/models/acm/persistence/repository/AutomationCompositionRepository.java
models/src/test/java/org/onap/policy/clamp/models/acm/persistence/provider/AutomationCompositionProviderTest.java
runtime-acm/src/main/java/org/onap/policy/clamp/acm/runtime/instantiation/AutomationCompositionInstantiationProvider.java
runtime-acm/src/main/java/org/onap/policy/clamp/acm/runtime/main/rest/InstantiationController.java
runtime-acm/src/main/java/org/onap/policy/clamp/acm/runtime/main/rest/stub/InstantiationControllerStub.java
runtime-acm/src/main/java/org/onap/policy/clamp/acm/runtime/main/web/AbstractRestController.java
runtime-acm/src/main/resources/openapi/openapi.yaml
runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/contract/InstantiationControllerStubTest.java
runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/instantiation/rest/InstantiationControllerTest.java