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.
Summary (required)
This PR upgrades us to opensearch 2.11. This is as far as we can go because we are limited by cloud.gov service options.
Required reviewers
2-3 reviewers
Impacted areas of the application
General components of the application that this PR will affect:
How to test
navigate to wherever you want it, I created a folder then ran:
NOTE: this is the compatible version for MAC chips (which is what I have, but I'm not sure if others have INTEL)
When running opensearch locally you need to run this command:
OR
add TODO
NOTE: You may get an error if your java version isn't compatible or up to date. How you do this will depend on if you're using brew for java. I had to update mine in brew and add this to my .zshrc:
export JAVA_HOME=/opt/homebrew/opt/openjdk/libexec/openjdk.jdk/Contents/Home
go back to your openfec tab
pytesttest OS commands locally:
Try loading a few of each:
Load statutes and regs:
Test individual load:
Start the server, run some queries:
http://127.0.0.1:5000/v1/legal/search/?q=many
http://127.0.0.1:5000/v1/legal/search/?ao_is_pending=false
Use management commands WIKI to test in a space.
Here's the branch to rebuild on stage: https://app.circleci.com/pipelines/github/fecgov/openFEC/3969/workflows/5c07b613-0bf8-41fa-8610-9ca2fa9246ea/jobs/6990