Skip to content

MinIO Driver Configuration update

Rustam Lotsmanenko (EPAM) requested to merge local-dev-mode into master

Description:

Issue: https://gitlab.opengroup.org/osdu/pmc/community-implementation/-/issues/46 and https://gitlab.opengroup.org/osdu/pmc/community-implementation/-/issues/32

  • Added new local configuration mode.
  • Can be enabled by env variable DESTINATION_RESOLVER=property.
  • Used as a replacement for partition config, making local deployment possible without modifying platform configuration.
  • Does not support multiple MinIO instances, config is limited only to a single instance. Required env variables:

| name                           | value                  | description               | sensitive? | default |
|--------------------------------|------------------------|---------------------------|------------|---------|
| `OBM_MINIO_ACCESS_KEY`         | ex `****`              | Minio access key          | yes        | -       |
| `OBM_MINIO_SECRET_KEY`         | ex`**** `              | Minio secret key          | yes        | -       |
| `OBM_MINIO_ENDPOINT"`          | ex `https://minio.com` | Minio url                 | yes        | -       |

How to test:

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:

  • Common code

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.

Merge request reports

Loading