Partition service implementation on Quarkus (JSON files)
Description:
The service should read files from a folder (defined as env var) and replace the existing partition service APIs.
- service should reread config files from time to time(decide on each request or cache)
- each partition configuration is provided in a separate JSON file
- Validate JSON file
- service should support partition GET API - https://community.opengroup.org/osdu/platform/system/partition/-/blob/master/docs/api/partition_openapi.yaml?ref_type=heads
- NO AUTH
- Not supposed to be exposed to the world
- Reuse existing acceptance tests - https://community.opengroup.org/osdu/platform/system/partition/-/tree/master/partition-acceptance-test?ref_type=heads
- secret stays the same ( sensitive as ENV vars)
How to test:
Test with acceptance tests
Changes include:
-
Refactor (a non-breaking change that improves code maintainability). -
Bugfix (a non-breaking change that solves an issue). -
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:
-
GCP -
Azure -
AWS -
IBM
Dev Checklist:
-
Added Unit Tests, wherever applicable. -
Updated the Readme, if applicable. -
Existing Tests pass -
Verified functionality locally -
Self Reviewed my code for formatting and complex business logic.
Other comments:
Any comments to approvers here
Edited by Andrii Osadchuk [EPAM / GCP]