Skip to content

Make Situ ES instance optional #1

Description

@mikeiannacone

Right now, the SITU_DB_CONFIG env var (and a valid Elasticsearch instance) is needed, even if no situ instance is present.

It should be a relatively easy fix to make this optional & configurable, instead of assuming it is present. The check here will need to be changed, and the querySitu , getVertexSitu , getInEdgesFromSitu, and getOutEdgesFromSitu methods in the DBConnectionResource.java will need to be modified to return empty results when not connected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions