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

Add a 'ctl' admin api #1485

Open
subotic opened this issue Oct 22, 2019 · 0 comments
Open

Add a 'ctl' admin api #1485

subotic opened this issue Oct 22, 2019 · 0 comments
Assignees
Labels
enhancement improve existing code or new feature

Comments

@subotic
Copy link
Collaborator

subotic commented Oct 22, 2019

The current way of initializing the different triplestores requires slightly different init scripts for each flavor of triplestore.

I would like to propose to add a 'ctl' admin API which would be available as soon as knora-api is started. It would then be used to control the knora-api service (start, stop, restart, status, backup, init triplestore, etc.). This ctl API would have a different authentication mechanism since the triplestore could not be available at this point, e.g., private/public keys.

There would be a tool knora-ctl used to interact with the ctl API.

The ctl API:

  • would work with gRPC:
    • potentially need to transfer a large amount of data (backup, restore, upgrade)
    • a good small test case for trying out gRPC and gather experience
  • be available as soon as knora-api starts
  • allow starting, stopping, toggling read-only mode for /v1, /v2, and /admin routes
  • provide backup, restore, db-init, repository upgrade functionality
@subotic subotic self-assigned this Oct 22, 2019
@subotic subotic added the enhancement improve existing code or new feature label Oct 22, 2019
@subotic subotic added this to the 2019-12 milestone Oct 22, 2019
@benjamingeer benjamingeer modified the milestones: 2019-12, 2020-01 Dec 16, 2019
@benjamingeer benjamingeer modified the milestones: 2020-01, 2020-02 Jan 27, 2020
@subotic subotic modified the milestones: 2020-02, 2020-01 Feb 7, 2020
@irinaschubert irinaschubert removed this from the 2020.1 milestone Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improve existing code or new feature
Projects
None yet
Development

No branches or pull requests

3 participants