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

Optional ccs #383

Merged
merged 2 commits into from
Oct 26, 2023
Merged

Optional ccs #383

merged 2 commits into from
Oct 26, 2023

Conversation

tloubrieu-jpl
Copy link
Member

🗒️ Summary

Adds a configuration to ignore the CCS OpenSearch configuration and only connect to the main registry index.
This is useful when someone want to test on a production opensearch without being authorized to access all the CCS connected openSearch.

Default is CCSEnabled=true so that the current behavior is not altered.

⚙️ Test Data and/or Report

One can test with applications.properties section as follow:

"""

note the port is mandatory even when it is default :80 or :443

openSearch.host=the_production_opensearch
openSearch.registryIndex=registry
openSearch.registryRefIndex=registry-refs
openSearch.timeOutSeconds=60
openSearch.CCSEnabled=false
openSearch.username=your_opensearch_user_
openSearch.password=your_password
openSearch.ssl=true

use only for development purpose, left it to true otherwise

openSearch.sslCertificateCNVerification=true
"""

♻️ Related Issues

Copy link
Contributor

@alexdunnjpl alexdunnjpl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider: replace CCSEnabled with ccsEnabled, or better yet crossClusterSearchEnabled

@tloubrieu-jpl tloubrieu-jpl merged commit 5366e06 into main Oct 26, 2023
@tloubrieu-jpl tloubrieu-jpl deleted the optional_ccs branch October 26, 2023 15:28
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

Successfully merging this pull request may close these issues.

2 participants