GCP Flexible ENV VARS (INTEGRATION_TESTER, NO_DATA_ACCESS_TESTER, GCP_DEPLOY_FILE) ingestion logic (GONRG-1109)
Description:
- New utility class org.opengroup.osdu.gcp.workflow.util.DecodedContentExtractor in the workflow-test-gcp module;
- When treat ENV VARS INTEGRATION_TESTER, NO_DATA_ACCESS_TESTER, GCP_DEPLOY_FILE uses DecodedContentExtractor to analyze and properly interpret their values (content or filename; plain or base64 encoded);
- Variables treatment process extended logging;
Closes EPAM GONRG-1109 "Pass secrets into Ingestion Services as base64 encoded string" for File service
How to test:
- Run CICD and check
osdu-int-test
job.
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.