Skip to content

Move indexer module config into spec/indexers.yaml #156

@jayrbolton

Description

@jayrbolton

What we can move into a declarative config file:

  • TYPE_BLACKLIST and _INDEXER_DIRECTORY in src/index_runner/es_indexers/main.py
  • For each indexer module:
    • Namespace (ie "WS")
    • Index versions and names

Indexer module configs can be passed into the indexer functions as a dictionary

File format can be something like:

type_blacklist:
  - KBaseExperiments.AmpliconSet
  - etc

indexer_modules:
  - module: KBaseNarrative
    type: Narrative
    version: "4.0"
    indexer: src/index_runner/es_indexers/narrative.py
    config:
        namespace: WS
        index_name: narrative_2

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions