Skip to content

[TASK] Replace document handling envVars with application.yaml #3225

@hisImminence

Description

@hisImminence

Related to

#2757

Overview

The Document Handling feature was introduced based on envVars set in configmap-documentstore.yaml. We should refactor this and use the application.yaml format instead, once we have the information of how the envVars map to the application.yaml configuration - e.g. waiting for the confirmation the following would work:

DOCUMENT_STORE_{{ $awsPrefix }}_CLASS
DOCUMENT_STORE_{{ $awsPrefix }}_BUCKET
DOCUMENT_STORE_{{ $awsPrefix }}_BUCKET_PATH
DOCUMENT_STORE_{{ $awsPrefix }}_BUCKET_TTL
DOCUMENT_STORE_{{ $gcpPrefix }}_CLASS
DOCUMENT_STORE_{{ $gcpPrefix }}_BUCKET
DOCUMENT_STORE_{{ $inmemPrefix }}_CLASS

# translates into:

document.store:
  aws:
    class: 
    bucket: 
    bucketPath: 
    bucketTtl:
  gcp:
    class: 
    bucket: 
  inmemory:
    class: 

Actions

Sub-tasks

  • sub-task

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions