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

[Rename] kbn-test in packages directory to osd-test/#37 [2] #54

Merged
merged 5 commits into from
Mar 8, 2021
Merged

[Rename] kbn-test in packages directory to osd-test/#37 [2] #54

merged 5 commits into from
Mar 8, 2021

Conversation

mihirsoni
Copy link
Contributor

Issue #, if available: #37

Description of changes: Renames inside kbn-test/functional_tests

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

…unner

Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>
Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>
Copy link
Contributor

@boktorbb boktorbb left a comment

Choose a reason for hiding this comment

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

Need to make sure that no license headers are changed

packages/osd-test/src/functional_tests/lib/auth.js Outdated Show resolved Hide resolved
Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>
@mihirsoni mihirsoni changed the base branch from main to dashboards March 4, 2021 21:05
@mihirsoni mihirsoni marked this pull request as ready for review March 4, 2021 21:05
Copy link
Contributor

@boktorbb boktorbb left a comment

Choose a reason for hiding this comment

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

Looks good

Copy link
Member

@kavilla kavilla left a comment

Choose a reason for hiding this comment

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

Just some comments.


return (
'\n\n' +
dedent`
Elasticsearch and Kibana are ready for functional testing. Start the functional tests
Elasticsearch and Opensearch Dashboards are ready for functional testing. Start the functional tests
Copy link
Member

Choose a reason for hiding this comment

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

Elasticsearch

try {
es = await runElasticsearch({ config, options: opts });
await runKibanaServer({ procs, config, options: opts });
opensearch = await runElasticsearch({ config, options: opts });
Copy link
Member

Choose a reason for hiding this comment

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

runElasticsearch

const caCert = caPath && (await readFile(caPath));

for (const { username, password, roles } of updates) {
// If working with a built-in user, just change the password
if (['logstash_system', 'elastic', 'kibana'].includes(username)) {
await updateCredentials({ port: esPort, auth, username, password, protocol, caCert });
if (['logstash_system', 'opensearch', 'opensearchDashboards'].includes(username)) {
Copy link
Member

Choose a reason for hiding this comment

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

I guess i'm not positive, logstash is still ok to reference? or is it so generic it's fine to leave.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agree, let's keep it for now and come back to this later.

Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>
@mihirsoni mihirsoni merged commit e6bbd6d into opensearch-project:dashboards Mar 8, 2021
kavilla referenced this pull request in kavilla/OpenSearch-Dashboards Mar 19, 2021
…unner #37 [2] (#54)

* [Rename] kbn-test in packages directory to osd-test/functional_test_runner

Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>

* [Rename] kbn-test in packages directory to osd-test/functional_tests

Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>

* [Rename] in-corporate review comments

Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>

* [Rename] accomodate PR review feedback

Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>
kavilla pushed a commit that referenced this pull request Mar 20, 2021
…unner #37 [2] (#54)

* [Rename] kbn-test in packages directory to osd-test/functional_test_runner

Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>

* [Rename] kbn-test in packages directory to osd-test/functional_tests

Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>

* [Rename] in-corporate review comments

Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>

* [Rename] accomodate PR review feedback

Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>
mihirsoni added a commit that referenced this pull request Mar 20, 2021
…unner #37 [2] (#54)

* [Rename] kbn-test in packages directory to osd-test/functional_test_runner

Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>

* [Rename] kbn-test in packages directory to osd-test/functional_tests

Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>

* [Rename] in-corporate review comments

Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>

* [Rename] accomodate PR review feedback

Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants