Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jayrbolton opened this issue Aug 12, 2020 · 0 comments
Open

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

jayrbolton opened this issue Aug 12, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jayrbolton
Copy link
Contributor

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
@jayrbolton jayrbolton added the enhancement New feature or request label Aug 12, 2020
@jayrbolton jayrbolton self-assigned this Aug 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant