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

Feature - Ability to operate without Lectern connection #79

Open
joneubank opened this issue Jul 19, 2024 · 0 comments
Open

Feature - Ability to operate without Lectern connection #79

joneubank opened this issue Jul 19, 2024 · 0 comments
Assignees

Comments

@joneubank
Copy link
Contributor

joneubank commented Jul 19, 2024

Summary of request

There are cases where Lectern server is not available or wanted, but we want to run Lyric for data submission. In these cases, we would create data categories by uploading a Lectern format dictionary in the body of the create category request.

Details

  1. Design an update to create dictionary endpoint or create a second endpoint, to allow creation of a data category without lectern availability.
  2. Modify config to make Lectern connection optional - This should be controlled with a feature flag type property (ENABLE_LECTERN_SERVER type property)
    1. When Lectern connection details are provided in the config, Lyric will enable the functionality to fetch Lectern dictionaries from the Lectern server.
    2. When Lectern connection details are not provided in the config, Lyric will disable the fetch from Lectern functionality. Requests that rely on Lectern will return an error message rejecting those requests.
    3. It may be nice to have the lectern server status communicated in the health/status endpoint.
  3. Lyric needs to have an endpoint to return the active dictionary for a data category.

Additional context

We are looking into integrating Lyric into other projects that are not expected to host and maintain multiple rapidly changing dictionaries, so there is no reason to deploy Lectern in those environments. Instead, we can use Lectern's tools to validate a dictionary and upload the dictionary directly to Lyric.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants