diff options
author | Rodrigo Lima <rodrigo.lima@yoppworks.com> | 2020-09-09 14:54:15 -0400 |
---|---|---|
committer | Rodrigo Lima <rodrigo.lima@yoppworks.com> | 2020-09-10 15:08:25 -0400 |
commit | c35c896ba3cf8ea670c9a3a87e77be0b3dedb2b3 (patch) | |
tree | ed7c20c179fe6b82ddb3f0064bef68624192292b /aai-annotations/src/main/java/org | |
parent | 87925eec3e39fc79540e034622705ff9ee663343 (diff) |
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
Diffstat (limited to 'aai-annotations/src/main/java/org')
-rw-r--r-- | aai-annotations/src/main/java/org/onap/aai/schema/enums/PropertyMetadata.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/aai-annotations/src/main/java/org/onap/aai/schema/enums/PropertyMetadata.java b/aai-annotations/src/main/java/org/onap/aai/schema/enums/PropertyMetadata.java index 559501a7..8b28fc79 100644 --- a/aai-annotations/src/main/java/org/onap/aai/schema/enums/PropertyMetadata.java +++ b/aai-annotations/src/main/java/org/onap/aai/schema/enums/PropertyMetadata.java @@ -71,7 +71,13 @@ public enum PropertyMetadata { * Add a private edge between two objects based on the uri provided by user which should provide * the appropriate information from the url similar to dataCopy */ - PRIVATE_EDGE("privateEdge"); + PRIVATE_EDGE("privateEdge"), + + /** + * Checks if user's owning entity equals to pnf's owning entity (if it exists) + * + */ + OWNER_CHECK("ownerCheck"); private final String name; |