aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/roles
AgeCommit message (Collapse)AuthorFilesLines
2020-02-13Translate owning entity name to owning entity ID - update api test to except ↵Einat Vinouze1-3/+1
new behavior Issue-ID: VID-758 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: Ib8b8da5c3267a3668cf29b950233af14b29f2d23
2020-02-13translate owning entity name to owning entity IDEinat Vinouze1-4/+86
Issue-ID: VID-758 Change-Id: Ic89829ac4590537f0279052ceb9e8432ea0de878 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com>
2020-01-29RoleValidatorByOwningEntity permits by PermissionPropertiesOwningEntityEinat Vinouze5-31/+71
PermissionPropertiesOwningEntity is sharing a parent interface with PermissionPropertiesServiceType: WithPermissionProperties. Issue-ID: VID-758 Change-Id: I90c04cb8d4331d68329f3a12329244f09c6bc184 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-29RoleValidatorFactory respects owning-entity feature flagAlexey Sandler1-0/+77
Add FLAG_2006_USER_PERMISSIONS_BY_OWNING_ENTITY flag to response with correct type of RoleValidator Issue-ID: VID-758 Change-Id: I464fc1a155e72fedbe3f15d9745c80817db22391 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-01-28create RoleValidatorFactory component.Alexey Sandler2-1/+23
Issue-ID: VID-758 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Id444ddbe74b6d28d697e130caa73bd7bfae9ce52
2020-01-28Rename Role's subscriberId fieldIttay Stern1-6/+6
It was named subscriberName, although containing the id. Issue-ID: VID-758 Change-Id: I28fd174a6eab642d34aef207e9d3ca69e8091884 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-28RoleValidatorsComposer composite several RoleValidators togetherIttay Stern1-0/+110
Issue-ID: VID-758 Change-Id: I7bd5a4ebc8a0a451716af09cc76e6db6cd5362f7 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-28Introduce WithPermissionProperties as validation-points for RoleValidatorEinat Vinouze3-25/+5
Issue-ID: VID-758 Change-Id: Id8f1f6faeb10a92cf20ca9a17879bc7e745526b0 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-27create RoleValidatorByOwningEntity class.Alexey Sandler1-0/+64
Issue-ID: VID-758 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: I9c2e2a376e4c1bfb05dc05e1c5187b912f31db1d Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
2020-01-26Rename RoleValidatorByRoles to RoleValidatorBySubscriberAndServiceTypeEinat Vinouze1-13/+16
Issue-ID: VID-758 Signed-off-by: Einat Vinouze <einat.vinouze@intl.att.com> Change-Id: I61fbfc902afee62e1099e491494065abae523b2e
2019-08-06use cache for retrieving all subscribers listEylon Malin1-13/+11
Issue-ID: VID-378 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I73fcc78ebbd8ee01349ecefa924c20014ca33907
2019-04-03Extract AlwaysValidRoleValidator from RoleValidatorIttay Stern2-9/+50
Issue-ID: VID-448 Change-Id: Ic006aceca9c51305d0706df6c2c6062ccaaee3de Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-02-26Update license headersIttay Stern2-2/+42
- Source code files been updated with License Apache 2 header - Year format in copyright header of all source code files been updated Issue-ID: VID-427 Change-Id: I27dfd8a927a62c90a713cbeccf6ce656c4f920f0 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-01-31Replaced tests for rolesWojciech Sliwka3-122/+207
Issue-ID: VID-388 Change-Id: I7c8c4ec50312f7ccd3a40eb2568cb8181f50b5d8 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
2019-01-09Merge from ECOMP's repositoryIttay Stern1-14/+0
Main Features -------------- - Async-Instantiation jobs mechanism major update; still WIP (package `org.onap.vid.job`) - New features in View/Edit: Activate fabric configuration; show related networks; soft delete - Support AAI service-tree traversal (`AAIServiceTree`) - In-memory cache for SDC models and certain A&AI queries (`CacheProviderWithLoadingCache`) - Upgrade TOSCA Parser and add parsing options; fix malformed TOSCA models - Resolve Cloud-Owner values for MSO - Pass X-ONAP headers to MSO Infrastructure -------------- - Remove codehaus' jackson mapper; use soley fasterxml 2.9.7 - Surefire invokes both TestNG and JUnit tests - Support Kotlin source files - AaiController2 which handles errors in a "Spring manner" - Inline generated-sources and remove jsonschema2pojo Quality -------- - Cumulative bug fixes (A&AI API, UI timeouts, and many more) - Many Sonar issues cleaned-up - Some unused classes removed - Minor changes in vid-automation project, allowing some API verification to run Hard Merges ------------ - HTTP Clients (MSO, A&AI, WebConfig, OutgoingRequestHeadersTest) - Moved `package org.onap.vid.controllers` to `controller`, without plural -- just to keep semantic sync with ECOMP. Reference commit in ECOMP: 3d1141625 Issue-ID: VID-378 Change-Id: I9c8d1e74caa41815891d441fc0760bb5f29c5788 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2018-03-18Unit testsSonsino, Ofir (os0695)1-11/+0
Change-Id: I9ff2a916f09856e3a79d037a8815224ddb9e7a9b Issue-ID: VID-197 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-03-13Unit testsSonsino, Ofir (os0695)2-50/+111
Change-Id: Ib9f73b7ba5a509610896b8bbdc02c180e60ee959 Issue-ID: VID-197 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2018-01-31org.onap migrationOfir Sonsino3-0/+119
Change-Id: I52f0b2851f2c765752b6d21f49b32136d7d72a3d Issue-ID: VID-86 Signed-off-by: Ofir Sonsino <os0695@att.com>