Create PolicyExecutor Stub 01/138401/3
authorToineSiebelink <toine.siebelink@est.tech>
Thu, 4 Jul 2024 14:15:36 +0000 (15:15 +0100)
committerToineSiebelink <toine.siebelink@est.tech>
Mon, 8 Jul 2024 16:07:48 +0000 (17:07 +0100)
commitd7914bc1f3c9505539304bd23b795c7b061dc6db
tree3bfb912918a7bdbc2b19e022d27312d08592d78e
parent82053f446aa1eb35e2a05e2557431497b15b031b
Create PolicyExecutor Stub

- Generate interface from OpenApi in RTD docs
- Fixed Content Type in OpenAPI
- Fixed Paths in OpenAPI
- Made Authorization header compulsory in OpenAPI
- All 'enum' values in OpenAPI lowercase (in linr with CPS/NCMP conventions)
- Added impl with some basic functionality
- Added testware
- Pom includes docker image creation
- Docker compose updated to deploy stub

Issue-ID: CPS-2301
Change-Id: I462ad5c70474b2813fc04005c0d20a1b15b574ec
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
cps-parent/pom.xml
docker-compose/docker-compose.yml
docs/api/swagger/policy-executor/openapi.yaml
jacoco-report/pom.xml
policy-executor-stub/pom.xml [new file with mode: 0644]
policy-executor-stub/src/main/java/org/onap/cps/policyexecutor/stub/PolicyExecutorApplication.java [new file with mode: 0644]
policy-executor-stub/src/main/java/org/onap/cps/policyexecutor/stub/controller/PolicyExecutorStubController.java [new file with mode: 0644]
policy-executor-stub/src/main/resources/application.yml [new file with mode: 0644]
policy-executor-stub/src/test/groovy/org/onap/cps/policyexecutor/stub/PolicyExecutorApplicationSpec.groovy [new file with mode: 0644]
policy-executor-stub/src/test/groovy/org/onap/cps/policyexecutor/stub/controller/PolicyExecutorStubControllerSpec.groovy [new file with mode: 0644]
pom.xml