entitlements-gcp-java merge requestshttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements-gcp-java/-/merge_requests2021-02-20T10:48:38Zhttps://community.opengroup.org/osdu/platform/security-and-compliance/entitlements-gcp-java/-/merge_requests/2Logging Enhancements for GCP modules (GONRG-1735, GONRG-1782)2021-02-20T10:48:38ZArtem Dobrynin (EPAM)Logging Enhancements for GCP modules (GONRG-1735, GONRG-1782)## Type of change
- [ ] Bug Fix
- [X] Feature
Some enhancements for GCP logging system. Supplies the logs with user id, data-partition-id and correlation id
https://gitlab.opengroup.org/osdu/subcommittees/ea/projects/pre-shipping/home/...## Type of change
- [ ] Bug Fix
- [X] Feature
Some enhancements for GCP logging system. Supplies the logs with user id, data-partition-id and correlation id
https://gitlab.opengroup.org/osdu/subcommittees/ea/projects/pre-shipping/home/-/issues/50 https://gitlab.opengroup.org/osdu/subcommittees/ea/projects/pre-shipping/home/-/issues/49
## Does this introduce a change in the core logic?
- [NO]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [ ] Azure
- [X] GCP
- [ ] IBM
## Does this introduce a breaking change?
- [NO]
## What is the current behavior?
The logs are printed in an unparseable inline format.
## What is the new/expected behavior?
The logs are printed in JSON format and compatible with GCP Logger.
## Have you added/updated Unit Tests and Integration Tests?
No, since it is not required for these changes
## Any other useful information
There are two types of logging: for local Spring profile (`spring.profiles.active=local`) and for any other, incl. default. This was done for better readability while testing locally.
The MR should be merged after https://community.opengroup.org/osdu/platform/system/lib/cloud/gcp/os-core-lib-gcp/-/merge_requests/10Rostislav Dublin (EPAM)Rostislav Dublin (EPAM)https://community.opengroup.org/osdu/platform/security-and-compliance/entitlements-gcp-java/-/merge_requests/1GCP - Publish Entitlements2021-01-02T17:23:32ZArtem Dobrynin (EPAM)GCP - Publish Entitlements# Description:
Added new module `os-entitlements-java` and its' implementations on JDBC, GSuite and Mongo
# How to test:
mvn clean install
# Changes include:
* [ ] Refactor (a non-breaking change that improves code maintainability)....# Description:
Added new module `os-entitlements-java` and its' implementations on JDBC, GSuite and Mongo
# How to test:
mvn clean install
# Changes include:
* [ ] Refactor (a non-breaking change that improves code maintainability).
* [ ] Bugfix (a non-breaking change that solves an issue).
* [x] New feature (a non-breaking change that adds functionality).
* [ ] Breaking change (a change that is not backward-compatible and/or changes current functionality).
# Changes in:
* [x] GCP
* [ ] Azure
* [ ] AWS
* [ ] IBM
# Dev Checklist:
* [x] Added Unit Tests, wherever applicable.
* [x] Updated the Readme, if applicable.
* [x] Existing Tests pass
* [x] Verified functionality locally
* [x] Self Reviewed my code for formatting and complex business logic.Rostislav Dublin (EPAM)Rostislav Dublin (EPAM)