Skip to content

GCP Flexible ENV VARS (INTEGRATION_TESTER, NO_DATA_ACCESS_TESTER) ingestion logic (GONRG-751)

Rostislav Dublin (EPAM) requested to merge feature/GCP(GONRG-751) into master

Description:

  • New utility class org.opengroup.osdu.gcp.workflow.util.DecodedContentExtractor in the workflow-test-gcp module;
  • GoogleServiceAccount class, when treat ENV VARS INTEGRATION_TESTER and NO_DATA_ACCESS_TESTER, uses DecodedContentExtractor to analyze and properly interpret their values (content or filename; plain or base64 encoded);
  • Variables treatment process extended logging;

Closes EPAM GONRG-751 "Pass secrets into Ingestion Services as base64 encoded string" for Ingestion Workflow

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.

Other comments:

  • No comments
Edited by Rostislav Dublin (EPAM)

Merge request reports