Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
Signed-off-by: Sayali Gaikawad <[email protected]>
  • Loading branch information
gaiksaya committed Feb 7, 2024
1 parent 25d9243 commit afbc141
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 17 deletions.
4 changes: 2 additions & 2 deletions nightly-playground/lib/nightly-playground-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export class NightlyPlaygroundStack {
if (dashboardPassword === 'undefined') {
throw new Error('dashboardPassword parameter cannot be empty! Please provide the OpenSearch-Dashboards customized password for kibanauser');
}
const additionalOsdConfigString = '{"opensearch_security.auth.anonymous_auth_enabled": "true", "opensearch.password": "'+ dashboardPassword+ '"}'

const additionalOsdConfigString = `{"opensearch_security.auth.anonymous_auth_enabled": "true", "opensearch.password": "${dashboardPassword}"}`;

const securtityConfig = '{ "resources/security-config/config.yml" : "opensearch/config/opensearch-security/config.yml", '
+ '"resources/security-config/roles_mapping.yml" : "opensearch/config/opensearch-security/roles_mapping.yml", '
Expand Down
14 changes: 7 additions & 7 deletions nightly-playground/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nightly-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"typescript": "~3.9.7"
},
"dependencies": {
"@opensearch-project/opensearch-cluster-cdk": "1.0.1",
"@opensearch-project/opensearch-cluster-cdk": "1.1.0",
"@types/babel__traverse": "^7.18.2",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ admin:
description: "Admin user with customized password"

kibanaserver:
hash: '\$2y\$12\$4Q3uDetKFv6gCKh1x/FPre2smgStmLKlFSMpOXMXYXDzkFJYdAUZq'
hash: '\$2y\$12\$t17cD/p.ZlsR2jOav7fYfuzk0sWrq1GXZihq3eWsbqXheSJk8Nr2O'
reserved: true
description: "OpenSearch Dashboards user with customized password"

Expand Down
Loading

0 comments on commit afbc141

Please sign in to comment.