clingen-data-model / genegraph

Presents an RDF triplestore of gene information using GraphQL APIs
5 stars 0 forks source link

Modify genegraph configuration and code for running a transforming genegraph separate from web serving genegraph #282

Closed toneillbroad closed 2 years ago

toneillbroad commented 3 years ago

Use the single genegraph code base to configure and run a transforming genegraph separate and distinct from a web serving genegraph.

  1. Add config to specify mode as running a transforming genegraph or web genegraph

  2. Modify code for a transforming genegraph interceptor chain separate from web genegraph interceptor chain Evaluate both interceptor chains for having the appropriate interceptors for thier given purposes. Remove from Transforming genegraph interceptor chain:

    • Graphql/lacinia interceptors
    • resolver cache
    • response cache
    • suggesters
    • (potentially others)
  3. Configuration for input kafka topics mapped to output public kafka topics

  4. Configuration for segregation of base data when running a transforming genegraph (separate from migration based base data in web serving genegraph)

  5. Consider only enabling the mount.core states necessary for the given run mode. Transforming genegraph does not require any state for

    • Graphql/lacinia
    • resolver cache
    • response cache
    • suggesters (potentially others)
larrybabb commented 3 years ago

Break out last item (5) mount.core states to a separate ticket.