entitlements-gcp-java issueshttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements-gcp-java/-/issues2020-11-17T13:43:33Zhttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements-gcp-java/-/issues/1ADR Entitlements group deletion Endpoint2020-11-17T13:43:33ZRiabokon Stanislav(EPAM)[GCP]ADR Entitlements group deletion Endpoint## Change Type:
- [X] Feature
- [ ] Bugfix
- [ ] Refactoring
## Context and Scope
In according to https://community.opengroup.org/osdu/documentation/-/blob/master/platform/tutorials/core-services/EntitlementsService.md, Entitlements ca...## Change Type:
- [X] Feature
- [ ] Bugfix
- [ ] Refactoring
## Context and Scope
In according to https://community.opengroup.org/osdu/documentation/-/blob/master/platform/tutorials/core-services/EntitlementsService.md, Entitlements can create a group, but can't remove it.
We came across this necessity when postman tests had created a lot of groups.
## Decision
Create a new endpoint 'DELETE /entitlements/v1/groups/{group}' - Deletes groups from 'entitlements'.
Only `Owner` or `Entitlement Admin` has permission to delete group.
## Rational
Remove groups from Entitlements.
## Consequences
Update an architecture of EntitlementsDmitriy RudkoDmitriy Rudko2020-11-16https://community.opengroup.org/osdu/platform/security-and-compliance/entitlements-gcp-java/-/issues/3build failure using: 'mvn package -s .mvn/community-maven.settings.xml -P Git...2021-04-30T09:37:28ZMikhail Davydenkobuild failure using: 'mvn package -s .mvn/community-maven.settings.xml -P GitLab-Authenticate-With-Private-Token'I've tried to follow readme at `provider/entitlements-gcp`.
The repository was cloned to a local machine, then the command `mvn package -s .mvn/community-maven.settings.xml -P GitLab-Authenticate-With-Private-Token` produced the follow...I've tried to follow readme at `provider/entitlements-gcp`.
The repository was cloned to a local machine, then the command `mvn package -s .mvn/community-maven.settings.xml -P GitLab-Authenticate-With-Private-Token` produced the following error:
[INFO] entitlements ....................................... SUCCESS [ 0.008 s]
[INFO] entitlements-core .................................. SUCCESS [01:28 min]
[INFO] entitlements-gcp ................................... FAILURE [ 18.600 s]
[INFO] entitlements-gcp-jdbc .............................. SKIPPED
[INFO] entitlements-reference ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:57 min
[INFO] Finished at: 2021-04-30T09:22:48Z
[INFO] ------------------------------------------------------------------------
[ERROR] **Failed to execute goal on project entitlements-gcp: Could not resolve dependencies for project org.opengroup.osdu.java:entitlements-gcp:jar:0.0.1-SNAPSHOT: Could not find artifact org.opengroup.osdu:core-lib-gcp:jar:0.6.1-SNAPSHOT in community-maven-repo (https://community.opengroup.org/api/v4/groups/17/-/packages/maven)** -> [Help 1]https://community.opengroup.org/osdu/platform/security-and-compliance/entitlements-gcp-java/-/issues/2New Entitlements endpoint - List All Users2020-12-30T00:25:38ZArtem Dobrynin (EPAM)New Entitlements endpoint - List All Users## Change Type:
* [x] Feature
* [ ] Bugfix
* [ ] Refactoring
## Context and Scope
One of the OSDU Operational Procedure requirements for User Management is to have capability to regularly report on users who has access to the platform...## Change Type:
* [x] Feature
* [ ] Bugfix
* [ ] Refactoring
## Context and Scope
One of the OSDU Operational Procedure requirements for User Management is to have capability to regularly report on users who has access to the platform. In this context proposal is to have a new Entitlements endpoint that would return a list of all the users who has access to the platform.
## Decision
Create a new endpoint 'GET /entitlements/v1/users' - Returns the list of all users in the entitlements.
Only `Entitlements Admin` has permission to query the list of users.
## Rational
Implementation of OSDU Operational Procedure requirements.
## Consequences
- Update an architecture of Entitlements
- CSPs have to implement a new endpointDmitriy RudkoDmitriy Rudko