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

Renames initialAdminPassword to OPENSEARCH_INITIAL_ADMIN_PASSWORD to be compliant with opensearch naming convention #3843

Merged

Conversation

DarshitChanpura
Copy link
Member

Issues Resolved

Testing

  • automated tests

Check List

  • New functionality includes testing
    - [ ] New functionality has been documented
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…be compliant with opensearch naming convention

Signed-off-by: Darshit Chanpura <[email protected]>
Copy link
Member

@peternied peternied left a comment

Choose a reason for hiding this comment

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

CI failures for plugin-install look like they need to be addressed No custom admin password found. Please provide a password.

Copy link
Collaborator

@derek-ho derek-ho left a comment

Choose a reason for hiding this comment

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

Tests need to be updated

…ses ConfigConstants to define variable

Signed-off-by: Darshit Chanpura <[email protected]>
@DarshitChanpura
Copy link
Member Author

CI failures for plugin-install look like they need to be addressed No custom admin password found. Please provide a password.

Yes, the file name was updated and hence it failed. CI doing it job :D. I've updated the reference. Feel free to review again.

Copy link
Collaborator

@derek-ho derek-ho left a comment

Choose a reason for hiding this comment

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

🚀

@DarshitChanpura
Copy link
Member Author

DarshitChanpura commented Dec 13, 2023

Looking into CI failures (seems specific to ubuntu), but couldn't find anything in logs yet.

Update: seems to be auto-resolved.

@DarshitChanpura
Copy link
Member Author

DarshitChanpura commented Dec 13, 2023

@scrawfor99 would you please re-review this?

Copy link

codecov bot commented Dec 13, 2023

Codecov Report

Merging #3843 (d69c8f0) into main (1846fd1) will increase coverage by 1.27%.
Report is 1 commits behind head on main.
The diff coverage is 83.33%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3843      +/-   ##
==========================================
+ Coverage   65.24%   66.52%   +1.27%     
==========================================
  Files         298      298              
  Lines       21197    21199       +2     
  Branches     3454     3454              
==========================================
+ Hits        13830    14102     +272     
+ Misses       5669     5375     -294     
- Partials     1698     1722      +24     
Files Coverage Δ
...g/opensearch/security/support/ConfigConstants.java 95.23% <ø> (ø)
...pensearch/security/tools/democonfig/Installer.java 71.67% <100.00%> (+71.67%) ⬆️
...y/tools/democonfig/SecuritySettingsConfigurer.java 72.48% <66.66%> (+72.48%) ⬆️

... and 3 files with indirect coverage changes

@stephen-crawford stephen-crawford merged commit 9d11524 into opensearch-project:main Dec 13, 2023
82 checks passed
DarshitChanpura added a commit to DarshitChanpura/security that referenced this pull request Dec 13, 2023
…be compliant with opensearch naming convention (opensearch-project#3843)

### Issues Resolved
- Resolves opensearch-project#3842



### Testing

- automated tests

### Check List
- [x] New functionality includes testing
~- [ ] New functionality has been documented~
- [x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and
signing off your commits, please check
[here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).

---------

Signed-off-by: Darshit Chanpura <[email protected]>
cwperks pushed a commit that referenced this pull request Dec 18, 2023
…t for Bundled JDK for this tool and updates DEVELOPER_GUIDE.md (#3845)

### Description
Backports following commits related to demo configuration tool from main
to 2.x:

- [x]
[17748b9](17748b9)
from #3669
- [x]
[4496440](4496440)
from #3734
- [x]
[06d8c29](06d8c29)
from #3777
- [x]
[e698315](e698315)
from #3807
- [x]
[9d11524](9d11524)
from #3843
- [x]
[62aed21](62aed21)
from #3850
- [x]
[ceabe13](ceabe13)
from #3844

### Issues Resolved
- Related to #3827


### Testing
- automated tests

### Check List
- [x] New functionality includes testing
- [x] New functionality has been documented
- [x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and
signing off your commits, please check
[here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).

---------

Signed-off-by: Darshit Chanpura <[email protected]>
Signed-off-by: Darshit Chanpura <[email protected]>
prabhask5 pushed a commit to prabhask5/opensearch-security that referenced this pull request Jan 11, 2024
…be compliant with opensearch naming convention (opensearch-project#3843)

### Issues Resolved
- Resolves opensearch-project#3842

### Testing

- automated tests

### Check List
- [x] New functionality includes testing
~- [ ] New functionality has been documented~
- [x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and
signing off your commits, please check
[here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).

---------

Signed-off-by: Darshit Chanpura <[email protected]>
Signed-off-by: Prabhas Kurapati <[email protected]>
dlin2028 pushed a commit to dlin2028/security that referenced this pull request May 1, 2024
…be compliant with opensearch naming convention (opensearch-project#3843)

### Issues Resolved
- Resolves opensearch-project#3842



### Testing

- automated tests

### Check List
- [x] New functionality includes testing
~- [ ] New functionality has been documented~
- [x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and
signing off your commits, please check
[here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).

---------

Signed-off-by: Darshit Chanpura <[email protected]>
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.

[BUG] Naming of initialAdminPassword doesn't comply with convention
4 participants