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

[MDS] Data Connection details page with MDS support #7323

Merged
merged 98 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
02645a4
Data connection details draft - 0
RyanL1997 Jul 4, 2024
300edc9
Data connection details draft 1 - Add datasource overview section
RyanL1997 Jul 4, 2024
4fe0d28
Add access control tab draft 0 - add the tab of ac
RyanL1997 Jul 5, 2024
7b24dc2
Add access control tab draft 1 - add the ac as a tab
RyanL1997 Jul 5, 2024
ff4b4e7
Cache manager draft 0 - setup for with a testable acceleration table
RyanL1997 Jul 9, 2024
425240d
Cache manager draft 1 - fix the acceleration name
RyanL1997 Jul 9, 2024
e7e23cc
Cache manager draft 2 - fix the acceleration status color
RyanL1997 Jul 9, 2024
c5ebec6
Cache manager draft 3 - Add action menu and action overlay
RyanL1997 Jul 9, 2024
8c2109b
Acceleration draft 0 - Implement acceleration actions
RyanL1997 Jul 9, 2024
6d1a917
Acceleration draft 1 - Fix the table title
RyanL1997 Jul 10, 2024
6f27cc4
Acceleration draft 2 - still having issue on the settings api call
RyanL1997 Jul 10, 2024
f8d9a4c
Acceleration draft 3 - fix the fetching apis and still having issue o…
RyanL1997 Jul 11, 2024
46456b4
Acceleration draft 4 - fix the flyout operation
RyanL1997 Jul 11, 2024
668468f
Fix add mds for acceleration flow draft 0 - need to pass mds id into …
RyanL1997 Jul 12, 2024
6540897
Add mds for acceleration flow draft 1 - add feature flag check and pa…
RyanL1997 Jul 12, 2024
09e4cda
Add mds for acceleration flow draft 2 - add mds flow to all the accel…
RyanL1997 Jul 13, 2024
bc8cfab
Add mds for acceleration flow draft 3 - remove unused variable in acc…
RyanL1997 Jul 13, 2024
ff1ef24
Fix the route for datasource detail
RyanL1997 Jul 13, 2024
fa409fe
Add mds for acceleration flow draft 4 - add mds support for accelerat…
RyanL1997 Jul 13, 2024
b9583ec
Add mds for acceleration flow draft 5 - add mds support for accelerat…
RyanL1997 Jul 13, 2024
c8052c6
Add acceleration creation flow draft 0 - directly migrate the entire …
RyanL1997 Jul 14, 2024
a92df38
Add acceleration creation flow draft 1 - relocate the flyout render i…
RyanL1997 Jul 14, 2024
92baee1
Add acceleration creation flow draft 2 - fix the query work bench check
RyanL1997 Jul 14, 2024
711899e
Add acceleration creation flow draft 3 - fix the acceleration creatio…
RyanL1997 Jul 14, 2024
0573565
Add acceleration creation flow draft 4 - unrelated to the creation fl…
RyanL1997 Jul 15, 2024
dc0eecb
Add acceleration creation flow draft 5 - mds support with acceleratio…
RyanL1997 Jul 15, 2024
e08cf59
Add associated objects flow draft 0 - works without adding mds support
RyanL1997 Jul 16, 2024
3e50d54
Remove some comments 0
RyanL1997 Jul 16, 2024
ae62c77
Add associated objects flow draft 1 - fix the navi to app
RyanL1997 Jul 16, 2024
05df905
Add associated objects flow draft 2 - fix the navi to app and add mds…
RyanL1997 Jul 16, 2024
826897f
unit test 0 - add unit test for ao utils
RyanL1997 Jul 16, 2024
ae72019
unit test 1 - setup utils dir for connection detail and add unit tests
RyanL1997 Jul 16, 2024
2d42a35
unit test 2 - Add uniti test for acc flyout modules 0
RyanL1997 Jul 16, 2024
d800302
Enable card on connection details for query in discover
RyanL1997 Jul 16, 2024
066401c
Add the mds support for acc flyout details fetch functions
RyanL1997 Jul 16, 2024
4489378
unit test 3 - Add unit test for plugin ts flyout setup
RyanL1997 Jul 17, 2024
0f39d2f
unit test 4 - Add unit test for some of the acceleration components
RyanL1997 Jul 17, 2024
b786949
unit test 5 - clean up the operation unit test a bit
RyanL1997 Jul 17, 2024
e9bed60
Implement the acceleration flyout forwarding with mds support
RyanL1997 Jul 17, 2024
5d498b4
Add discover forwarding action
RyanL1997 Jul 17, 2024
f705ae2
unit test 6 - add more test cases on accelerations comoponents
RyanL1997 Jul 18, 2024
68fd441
IMPORTANT - fix mds flows for cashloader when mds enabled
RyanL1997 Jul 18, 2024
27f1ad3
IMPORTANT - fix mds flows for direct query when mds enabled
RyanL1997 Jul 18, 2024
1d98343
Fix acc details tab tests
RyanL1997 Jul 18, 2024
f0f2cdc
Fix everything in mds refresh
RyanL1997 Jul 19, 2024
6fd1e4b
P00000000 - revert the change of cacheloader and correct the cacheloa…
RyanL1997 Jul 19, 2024
f04ba64
Uncomment security role check
RyanL1997 Jul 19, 2024
e1b8dc3
Fix unit tests snapshot
RyanL1997 Jul 19, 2024
0ba360e
unit test 7 - add unit tests for acceleration creation main flow
RyanL1997 Jul 19, 2024
32baca9
Add the server setup
RyanL1997 Jul 19, 2024
e6c1b83
Add the server part of dsm without renaming
RyanL1997 Jul 19, 2024
7c11c63
rename 0 - base has been renamed test yes
RyanL1997 Jul 19, 2024
097889b
rename 1 - class has been renamed test yes
RyanL1997 Jul 19, 2024
71d9911
Fix the test issue
RyanL1997 Jul 19, 2024
5e00e9e
Fix the details flyout
RyanL1997 Jul 19, 2024
51814e1
unit test 8 - add more test for acc creation flow
RyanL1997 Jul 20, 2024
f569151
Changeset file for PR #7323 created/updated
opensearch-changeset-bot[bot] Jul 20, 2024
b82034d
Enable the query workbench forwarding
RyanL1997 Jul 20, 2024
7274f2e
Resolve conflict router
RyanL1997 Jul 20, 2024
f3a2a23
unit test 7 - fix the acceleration creation testing
RyanL1997 Jul 20, 2024
15cc993
unit test 8 - Add tests for caching components
RyanL1997 Jul 21, 2024
e5d95b5
Test update
RyanL1997 Jul 21, 2024
c5fa38b
Fix the acc creation button in ao tab
RyanL1997 Jul 21, 2024
0773cea
Relocate the framework test dir
RyanL1997 Jul 21, 2024
7414152
Add more tests on framework
RyanL1997 Jul 21, 2024
00ee76e
unit test - use polling
RyanL1997 Jul 21, 2024
d660d7a
unit test - acc table
RyanL1997 Jul 21, 2024
cbee844
unit test - acc tab
RyanL1997 Jul 21, 2024
8129991
Rename catlog into catalog
RyanL1997 Jul 21, 2024
946ee48
Add more unit tests
RyanL1997 Jul 21, 2024
65d0348
Add test for ao table
RyanL1997 Jul 21, 2024
42c0458
Fix the test for refreshing time
RyanL1997 Jul 21, 2024
536ea3e
Fix the snapshot
RyanL1997 Jul 21, 2024
e998ba2
Fix the timezone issue in test again
RyanL1997 Jul 21, 2024
dea4a10
unit test - add more tests for acc creation related components
RyanL1997 Jul 21, 2024
42fda8d
Rename dir - 1
RyanL1997 Jul 22, 2024
376261d
Rename dir - 2 acceleration_management
RyanL1997 Jul 22, 2024
efc41ed
Rename dir - 3 associated_objects_management
RyanL1997 Jul 22, 2024
0d54741
Rename dir - 4 connection_detail
RyanL1997 Jul 22, 2024
e3be2e4
fix time zone issue again?
RyanL1997 Jul 22, 2024
a50fa5a
integration - local cluster setup without flyout
RyanL1997 Jul 22, 2024
c21641c
integration - local cluster setup plus flyout
RyanL1997 Jul 22, 2024
27d1ef5
Fix the feature flag status undefined issue when the navigation featu…
RyanL1997 Jul 22, 2024
276d3e2
Fix tests and add more error handling
RyanL1997 Jul 22, 2024
62b4381
Integration - add render conditions and fix tests
RyanL1997 Jul 22, 2024
eeda970
Integration - add unit tests p1
RyanL1997 Jul 22, 2024
7147187
Integration - add unit tests p2
RyanL1997 Jul 22, 2024
afbcf29
test cov
RyanL1997 Jul 22, 2024
c5a62b6
test cov
RyanL1997 Jul 22, 2024
293e95c
test cov +
RyanL1997 Jul 22, 2024
ab363fa
test cov +
RyanL1997 Jul 22, 2024
eb6c2df
test cov +
RyanL1997 Jul 22, 2024
f065d69
Resolve comments
RyanL1997 Jul 22, 2024
d4fd276
Resolve comments - 2
RyanL1997 Jul 22, 2024
e2b5f3f
Resolve comments - 3
RyanL1997 Jul 22, 2024
f213af6
Resolve comments - 4
RyanL1997 Jul 22, 2024
89cc8c4
Resolve comments - 5
RyanL1997 Jul 22, 2024
c2d2c14
Bond the obs check for query card
RyanL1997 Jul 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions changelogs/fragments/7323.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feat:
- [MDS] Data Connection details page with MDS support ([#7323](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7323))
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

import { HttpFetchOptionsWithPath } from 'opensearch-dashboards/public';
import { SECURITY_DASHBOARDS_LOGOUT_URL } from '../constants';
import { CatalogCacheManager } from './cache_manager';

export function catalogRequestIntercept(): (
fetchOptions: Readonly<HttpFetchOptionsWithPath>
) => void {
return (fetchOptions: Readonly<HttpFetchOptionsWithPath>) => {
if (fetchOptions.path.includes(SECURITY_DASHBOARDS_LOGOUT_URL)) {
// Clears all user catalog cache details
CatalogCacheManager.clearDataSourceCache();
CatalogCacheManager.clearAccelerationsCache();
}
};
}
Loading
Loading