-
Notifications
You must be signed in to change notification settings - Fork 2
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/index overview #1698
Open
lukavdplas
wants to merge
28
commits into
develop
Choose a base branch
from
feature/index-overview
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feature/index overview #1698
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lukavdplas
added
backend
changes to the django backend
affects-deployment
changes that require an update in the deployment module
labels
Nov 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-deployment
changes that require an update in the deployment module
backend
changes to the django backend
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds tables for Elasticsearch clusters and indices to the database. Close #1695
The models are not used anywhere yet, but will be useful in #1696. For now, the immediate gain is that admins can see an overview of available indices in the admin site. This is information is also available in Kibana, but it's neat.
Keeping the models in sync is all optional at this point, but can be done as follows:
update_index_metadata
, which will update servers from the Django settings, and indices for each server. I've added this to theyarn start-back
command.Changes for deployment
It's not strictly necessary to change anything, but I recommend adding the
update_index_metadata
command to the startup routine in the deployment script.