Add side effect to check pnf owning entity 14/112414/4
authorRodrigo Lima <rodrigo.lima@yoppworks.com>
Wed, 9 Sep 2020 18:54:15 +0000 (14:54 -0400)
committerRodrigo Lima <rodrigo.lima@yoppworks.com>
Thu, 10 Sep 2020 19:08:25 +0000 (15:08 -0400)
commitc35c896ba3cf8ea670c9a3a87e77be0b3dedb2b3
treeed7c20c179fe6b82ddb3f0064bef68624192292b
parent87925eec3e39fc79540e034622705ff9ee663343
Add side effect to check pnf owning entity

- Create side effect to check : user's groups contains pnf's owning entity name
- Create unit tests for side effect
- Add new process method in HttpEntry to pass set of groups
- Pass set of groups to db serializer

Issue-ID: AAI-3176
Signed-off-by: Rodrigo Lima <rodrigo.lima@yoppworks.com>
Change-Id: I4bc7ab6e22bce8cbe60bd7ef6bb5db73dac3a1c4
23 files changed:
aai-aaf-auth/pom.xml
aai-annotations/pom.xml
aai-annotations/src/main/java/org/onap/aai/schema/enums/PropertyMetadata.java
aai-auth/pom.xml
aai-common-docker/aai-common-images/pom.xml
aai-common-docker/aai-haproxy-image/pom.xml
aai-common-docker/pom.xml
aai-core/pom.xml
aai-core/src/main/java/org/onap/aai/introspection/sideeffect/OwnerCheck.java [new file with mode: 0644]
aai-core/src/main/java/org/onap/aai/rest/db/HttpEntry.java
aai-core/src/main/java/org/onap/aai/serialization/db/DBSerializer.java
aai-core/src/test/java/org/onap/aai/introspection/sideeffect/OwnerCheckTest.java [new file with mode: 0644]
aai-core/src/test/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json
aai-core/src/test/resources/onap/oxm/v14/aai_oxm_v14.xml
aai-els-onap-logging/pom.xml
aai-failover/pom.xml
aai-parent/pom.xml
aai-rest/pom.xml
aai-schema-abstraction/pom.xml
aai-schema-ingest/pom.xml
aai-utils/pom.xml
pom.xml
version.properties