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

Fix ElasticSearch variables to have common configuration names for #2022 #144

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Kanaduchi
Copy link

@Kanaduchi Kanaduchi commented Aug 1, 2023

This PR was made according reportportal/reportportal#2022

The mess of ES hosts in the docker-compose file leads to confusion. Currently, each service has its own syntax from ES property.

I changed names to have common format. Also this fix returns missing esProjectIndexPrefix

@sonarcloud
Copy link

sonarcloud bot commented Aug 1, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@HardNorth
Copy link
Member

@Kanaduchi Could you please update the PR?

@sonarcloud
Copy link

sonarcloud bot commented Oct 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Kanaduchi
Copy link
Author

@Kanaduchi Could you please update the PR?

Updated

@codecov-commenter
Copy link

Codecov Report

Merging #144 (819a380) into develop (79f149d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #144   +/-   ##
========================================
  Coverage    72.13%   72.13%           
========================================
  Files           39       39           
  Lines         4855     4855           
========================================
  Hits          3502     3502           
  Misses        1353     1353           
Flag Coverage Δ
unittests 72.13% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@@ -75,7 +75,7 @@
"filesystemDefaultPath": os.getenv("FILESYSTEM_DEFAULT_PATH", "storage").strip(),
"esChunkNumber": int(os.getenv("ES_CHUNK_NUMBER", "1000")),
"esChunkNumberUpdateClusters": int(os.getenv("ES_CHUNK_NUMBER_UPDATE_CLUSTERS", "500")),
"esProjectIndexPrefix": os.getenv("ES_PROJECT_INDEX_PREFIX", "").strip(),
"esProjectIndexPrefix": os.getenv("ES_PROJECT_INDEX_PREFIX", "rp_").strip(),
Copy link
Contributor

Choose a reason for hiding this comment

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

@HardNorth, what do you think about this idea? Is it a good one?

Copy link
Member

Choose a reason for hiding this comment

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

It will break existing deployments unless users regenerate indexes, so this should be introduced only with force index regeneration.

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.

None yet

5 participants