Skip to content

Commit

Permalink
fixed cross cluster API; cypress workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
  • Loading branch information
amsiglan committed Aug 20, 2024
1 parent 736a3b2 commit b64cc51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cypress-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Run Opensearch with plugin
run: |
cd alerting
./gradlew run -Dopensearch.version=${{ env.OPENSEARCH_VERSION }} &
./gradlew :alerting:run -Dopensearch.version=${{ env.OPENSEARCH_VERSION }} &
timeout 300 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:9200)" != "200" ]]; do sleep 5; done'
- name: Checkout OpenSearch Dashboards
uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions server/services/CrossClusterService.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export default class CrossClusterService extends MDSEnabledClientService {
getRemoteIndexes = async (context, req, res) => {
try {
const client = this.getClientBasedOnDataSource(context, req);
delete req.query['dataSourceId'];
const response = await client('alerting.getRemoteIndexes', req.query);

return res.ok({
Expand Down

0 comments on commit b64cc51

Please sign in to comment.