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

Manage datasources #967

Merged

Conversation

derek-ho
Copy link
Collaborator

@derek-ho derek-ho commented Sep 5, 2023

Description

  • Creates new datasources plugin
  • Adds datasources plugin in management section
  • Adds datasources plugin in management overview section
  • Contains Manage Datasources Table, as well as initial work for Individual datasource specific page

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • 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.

derek-ho added 20 commits July 20, 2023 14:06
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
@codecov
Copy link

codecov bot commented Sep 5, 2023

Codecov Report

Merging #967 (c7e5add) into feature/flint-UI (a537e70) will increase coverage by 0.19%.
Report is 5 commits behind head on feature/flint-UI.
The diff coverage is n/a.

❗ Current head c7e5add differs from pull request most recent head 04402dc. Consider uploading reports for the commit 04402dc to get more accurate results

@@                 Coverage Diff                  @@
##           feature/flint-UI     #967      +/-   ##
====================================================
+ Coverage             43.71%   43.90%   +0.19%     
====================================================
  Files                   313      319       +6     
  Lines                 18706    18795      +89     
  Branches               4557     4571      +14     
====================================================
+ Hits                   8177     8252      +75     
- Misses                10487    10501      +14     
  Partials                 42       42              
Flag Coverage Δ
dashboards-observability 43.90% <ø> (+0.19%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 19 files with indirect coverage changes

@ps48
Copy link
Member

ps48 commented Sep 6, 2023

@derek-ho If I understand correctly this PR will point to Flint UI branch after coming out of draft stage.

@derek-ho
Copy link
Collaborator Author

derek-ho commented Sep 6, 2023

@derek-ho If I understand correctly this PR will point to Flint UI branch after coming out of draft stage.

@ps48 yes, keeping it pointing to main so its easier to review the file difference. Once the rebase Flint UI to main is done then I will point it there

@derek-ho derek-ho marked this pull request as ready for review September 6, 2023 15:18
@derek-ho
Copy link
Collaborator Author

derek-ho commented Sep 6, 2023

This is showing what the PR is adding, and registered in overview page of Management

Screen.Recording.2023-09-06.at.2.42.34.PM.mov

Signed-off-by: Derek Ho <[email protected]>
opensearch_dashboards.json Outdated Show resolved Hide resolved
@derek-ho derek-ho merged commit 73becc4 into opensearch-project:feature/flint-UI Sep 7, 2023
@derek-ho derek-ho deleted the manage-datasources branch September 7, 2023 14:36
mengweieric pushed a commit to mengweieric/dashboards-observability that referenced this pull request Sep 13, 2023
* fix name change bug and modify test to test behavior

Signed-off-by: Derek Ho <[email protected]>

* get rid of lint

Signed-off-by: Derek Ho <[email protected]>

* test for flyout

Signed-off-by: Derek Ho <[email protected]>

* flyout to medium size

Signed-off-by: Derek Ho <[email protected]>

* make accelerate extensible

Signed-off-by: Derek Ho <[email protected]>

* get datasources and hook up to pplservice

Signed-off-by: Derek Ho <[email protected]>

* get flint working

Signed-off-by: Derek Ho <[email protected]>

* add datasource page with steps and buttons on bottom bar

Signed-off-by: Derek Ho <[email protected]>

* datasources as a new plugin and mostly working

Signed-off-by: Derek Ho <[email protected]>

* hook up manage to show datasources call

Signed-off-by: Derek Ho <[email protected]>

* update two tables with descriptions

Signed-off-by: Derek Ho <[email protected]>

* make some updates to the page

Signed-off-by: Derek Ho <[email protected]>

* cleanup unused files for data connections

Signed-off-by: Derek Ho <[email protected]>

* cleanup and add overview panel columns

Signed-off-by: Derek Ho <[email protected]>

* render tabs

Signed-off-by: Derek Ho <[email protected]>

* add unit tests

Signed-off-by: Derek Ho <[email protected]>

* update data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

* Add datasources to management overview

Signed-off-by: Derek Ho <[email protected]>

* remove spark logo and update snapshot

Signed-off-by: Derek Ho <[email protected]>

* refactor routes out

Signed-off-by: Derek Ho <[email protected]>

* separate out the roles

Signed-off-by: Derek Ho <[email protected]>

* bump version back to 3.0

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>
sumukhswamy pushed a commit to sumukhswamy/dashboards-observability that referenced this pull request Sep 18, 2023
* fix name change bug and modify test to test behavior

Signed-off-by: Derek Ho <[email protected]>

* get rid of lint

Signed-off-by: Derek Ho <[email protected]>

* test for flyout

Signed-off-by: Derek Ho <[email protected]>

* flyout to medium size

Signed-off-by: Derek Ho <[email protected]>

* make accelerate extensible

Signed-off-by: Derek Ho <[email protected]>

* get datasources and hook up to pplservice

Signed-off-by: Derek Ho <[email protected]>

* get flint working

Signed-off-by: Derek Ho <[email protected]>

* add datasource page with steps and buttons on bottom bar

Signed-off-by: Derek Ho <[email protected]>

* datasources as a new plugin and mostly working

Signed-off-by: Derek Ho <[email protected]>

* hook up manage to show datasources call

Signed-off-by: Derek Ho <[email protected]>

* update two tables with descriptions

Signed-off-by: Derek Ho <[email protected]>

* make some updates to the page

Signed-off-by: Derek Ho <[email protected]>

* cleanup unused files for data connections

Signed-off-by: Derek Ho <[email protected]>

* cleanup and add overview panel columns

Signed-off-by: Derek Ho <[email protected]>

* render tabs

Signed-off-by: Derek Ho <[email protected]>

* add unit tests

Signed-off-by: Derek Ho <[email protected]>

* update data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

* Add datasources to management overview

Signed-off-by: Derek Ho <[email protected]>

* remove spark logo and update snapshot

Signed-off-by: Derek Ho <[email protected]>

* refactor routes out

Signed-off-by: Derek Ho <[email protected]>

* separate out the roles

Signed-off-by: Derek Ho <[email protected]>

* bump version back to 3.0

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>
derek-ho added a commit that referenced this pull request Sep 25, 2023
* Manage datasources (#967)

* fix name change bug and modify test to test behavior

Signed-off-by: Derek Ho <[email protected]>

* get rid of lint

Signed-off-by: Derek Ho <[email protected]>

* test for flyout

Signed-off-by: Derek Ho <[email protected]>

* flyout to medium size

Signed-off-by: Derek Ho <[email protected]>

* make accelerate extensible

Signed-off-by: Derek Ho <[email protected]>

* get datasources and hook up to pplservice

Signed-off-by: Derek Ho <[email protected]>

* get flint working

Signed-off-by: Derek Ho <[email protected]>

* add datasource page with steps and buttons on bottom bar

Signed-off-by: Derek Ho <[email protected]>

* datasources as a new plugin and mostly working

Signed-off-by: Derek Ho <[email protected]>

* hook up manage to show datasources call

Signed-off-by: Derek Ho <[email protected]>

* update two tables with descriptions

Signed-off-by: Derek Ho <[email protected]>

* make some updates to the page

Signed-off-by: Derek Ho <[email protected]>

* cleanup unused files for data connections

Signed-off-by: Derek Ho <[email protected]>

* cleanup and add overview panel columns

Signed-off-by: Derek Ho <[email protected]>

* render tabs

Signed-off-by: Derek Ho <[email protected]>

* add unit tests

Signed-off-by: Derek Ho <[email protected]>

* update data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

* Add datasources to management overview

Signed-off-by: Derek Ho <[email protected]>

* remove spark logo and update snapshot

Signed-off-by: Derek Ho <[email protected]>

* refactor routes out

Signed-off-by: Derek Ho <[email protected]>

* separate out the roles

Signed-off-by: Derek Ho <[email protected]>

* bump version back to 3.0

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add acceleration management UI  (#989)

* add acceleration management UI skeleton

Signed-off-by: Shenoy Pratik <[email protected]>

* Create new documentation link for acc

Signed-off-by: Shenoy Pratik <[email protected]>

* fix typos and minor bugs

Signed-off-by: Shenoy Pratik <[email protected]>

* update snapshot

Signed-off-by: Shenoy Pratik <[email protected]>

* update window location to hash

Signed-off-by: Shenoy Pratik <[email protected]>

* remove unused headers

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Shenoy Pratik <[email protected]>

* Rename data sources to data connections (#1004)

* rename data sources to data connections

Signed-off-by: Derek Ho <[email protected]>

* final cleanup

Signed-off-by: Derek Ho <[email protected]>

* update acceleration breadcrumb

Signed-off-by: Derek Ho <[email protected]>

* fix API call for data connection page

Signed-off-by: Derek Ho <[email protected]>

* fix integ test and data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add fallback to show if user does not have datasource API permissions (#1008)

* add fallback ui for manage and view datasources

Signed-off-by: Derek Ho <[email protected]>

* always show datasources via pplservice

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add access control tab content (#992)

* basic rendering for the access control tab

Signed-off-by: Derek Ho <[email protected]>

* hook up basic radio groups and euicombo boxes for query and acceleration permissions

Signed-off-by: Derek Ho <[email protected]>

* refactor and clean up unuseed inports

Signed-off-by: Derek Ho <[email protected]>

* remove unused import

Signed-off-by: Derek Ho <[email protected]>

* fix import and snapshot

Signed-off-by: Derek Ho <[email protected]>

* fix test

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

* Remove unused files and variables

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Delete datasource and Connection Configuration Tab (#1024)

* Address previous PR comments and implement rudimentary delete

Signed-off-by: Derek Ho <[email protected]>

* Implement modal and instant delete showing up in list

Signed-off-by: Derek Ho <[email protected]>

* Refactor save or cancel to a shared component, implement hard coded datasource configurations tab

Signed-off-by: Derek Ho <[email protected]>

* Update test with mock role data

Signed-off-by: Derek Ho <[email protected]>

* Add most functionality of edit connectiondetails

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* remove acceleration components

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
Co-authored-by: Shenoy Pratik <[email protected]>
mengweieric pushed a commit to mengweieric/dashboards-observability that referenced this pull request Sep 26, 2023
* fix name change bug and modify test to test behavior

Signed-off-by: Derek Ho <[email protected]>

* get rid of lint

Signed-off-by: Derek Ho <[email protected]>

* test for flyout

Signed-off-by: Derek Ho <[email protected]>

* flyout to medium size

Signed-off-by: Derek Ho <[email protected]>

* make accelerate extensible

Signed-off-by: Derek Ho <[email protected]>

* get datasources and hook up to pplservice

Signed-off-by: Derek Ho <[email protected]>

* get flint working

Signed-off-by: Derek Ho <[email protected]>

* add datasource page with steps and buttons on bottom bar

Signed-off-by: Derek Ho <[email protected]>

* datasources as a new plugin and mostly working

Signed-off-by: Derek Ho <[email protected]>

* hook up manage to show datasources call

Signed-off-by: Derek Ho <[email protected]>

* update two tables with descriptions

Signed-off-by: Derek Ho <[email protected]>

* make some updates to the page

Signed-off-by: Derek Ho <[email protected]>

* cleanup unused files for data connections

Signed-off-by: Derek Ho <[email protected]>

* cleanup and add overview panel columns

Signed-off-by: Derek Ho <[email protected]>

* render tabs

Signed-off-by: Derek Ho <[email protected]>

* add unit tests

Signed-off-by: Derek Ho <[email protected]>

* update data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

* Add datasources to management overview

Signed-off-by: Derek Ho <[email protected]>

* remove spark logo and update snapshot

Signed-off-by: Derek Ho <[email protected]>

* refactor routes out

Signed-off-by: Derek Ho <[email protected]>

* separate out the roles

Signed-off-by: Derek Ho <[email protected]>

* bump version back to 3.0

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>
pjfitzgibbons pushed a commit that referenced this pull request Sep 26, 2023
* Manage datasources (#967)

* fix name change bug and modify test to test behavior

Signed-off-by: Derek Ho <[email protected]>

* get rid of lint

Signed-off-by: Derek Ho <[email protected]>

* test for flyout

Signed-off-by: Derek Ho <[email protected]>

* flyout to medium size

Signed-off-by: Derek Ho <[email protected]>

* make accelerate extensible

Signed-off-by: Derek Ho <[email protected]>

* get datasources and hook up to pplservice

Signed-off-by: Derek Ho <[email protected]>

* get flint working

Signed-off-by: Derek Ho <[email protected]>

* add datasource page with steps and buttons on bottom bar

Signed-off-by: Derek Ho <[email protected]>

* datasources as a new plugin and mostly working

Signed-off-by: Derek Ho <[email protected]>

* hook up manage to show datasources call

Signed-off-by: Derek Ho <[email protected]>

* update two tables with descriptions

Signed-off-by: Derek Ho <[email protected]>

* make some updates to the page

Signed-off-by: Derek Ho <[email protected]>

* cleanup unused files for data connections

Signed-off-by: Derek Ho <[email protected]>

* cleanup and add overview panel columns

Signed-off-by: Derek Ho <[email protected]>

* render tabs

Signed-off-by: Derek Ho <[email protected]>

* add unit tests

Signed-off-by: Derek Ho <[email protected]>

* update data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

* Add datasources to management overview

Signed-off-by: Derek Ho <[email protected]>

* remove spark logo and update snapshot

Signed-off-by: Derek Ho <[email protected]>

* refactor routes out

Signed-off-by: Derek Ho <[email protected]>

* separate out the roles

Signed-off-by: Derek Ho <[email protected]>

* bump version back to 3.0

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add acceleration management UI  (#989)

* add acceleration management UI skeleton

Signed-off-by: Shenoy Pratik <[email protected]>

* Create new documentation link for acc

Signed-off-by: Shenoy Pratik <[email protected]>

* fix typos and minor bugs

Signed-off-by: Shenoy Pratik <[email protected]>

* update snapshot

Signed-off-by: Shenoy Pratik <[email protected]>

* update window location to hash

Signed-off-by: Shenoy Pratik <[email protected]>

* remove unused headers

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Shenoy Pratik <[email protected]>

* Rename data sources to data connections (#1004)

* rename data sources to data connections

Signed-off-by: Derek Ho <[email protected]>

* final cleanup

Signed-off-by: Derek Ho <[email protected]>

* update acceleration breadcrumb

Signed-off-by: Derek Ho <[email protected]>

* fix API call for data connection page

Signed-off-by: Derek Ho <[email protected]>

* fix integ test and data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add fallback to show if user does not have datasource API permissions (#1008)

* add fallback ui for manage and view datasources

Signed-off-by: Derek Ho <[email protected]>

* always show datasources via pplservice

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add access control tab content (#992)

* basic rendering for the access control tab

Signed-off-by: Derek Ho <[email protected]>

* hook up basic radio groups and euicombo boxes for query and acceleration permissions

Signed-off-by: Derek Ho <[email protected]>

* refactor and clean up unuseed inports

Signed-off-by: Derek Ho <[email protected]>

* remove unused import

Signed-off-by: Derek Ho <[email protected]>

* fix import and snapshot

Signed-off-by: Derek Ho <[email protected]>

* fix test

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

* Remove unused files and variables

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Delete datasource and Connection Configuration Tab (#1024)

* Address previous PR comments and implement rudimentary delete

Signed-off-by: Derek Ho <[email protected]>

* Implement modal and instant delete showing up in list

Signed-off-by: Derek Ho <[email protected]>

* Refactor save or cancel to a shared component, implement hard coded datasource configurations tab

Signed-off-by: Derek Ho <[email protected]>

* Update test with mock role data

Signed-off-by: Derek Ho <[email protected]>

* Add most functionality of edit connectiondetails

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* remove acceleration components

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
Co-authored-by: Shenoy Pratik <[email protected]>
derek-ho added a commit that referenced this pull request Sep 27, 2023
* Manage datasources (#967)

* fix name change bug and modify test to test behavior

Signed-off-by: Derek Ho <[email protected]>

* get rid of lint

Signed-off-by: Derek Ho <[email protected]>

* test for flyout

Signed-off-by: Derek Ho <[email protected]>

* flyout to medium size

Signed-off-by: Derek Ho <[email protected]>

* make accelerate extensible

Signed-off-by: Derek Ho <[email protected]>

* get datasources and hook up to pplservice

Signed-off-by: Derek Ho <[email protected]>

* get flint working

Signed-off-by: Derek Ho <[email protected]>

* add datasource page with steps and buttons on bottom bar

Signed-off-by: Derek Ho <[email protected]>

* datasources as a new plugin and mostly working

Signed-off-by: Derek Ho <[email protected]>

* hook up manage to show datasources call

Signed-off-by: Derek Ho <[email protected]>

* update two tables with descriptions

Signed-off-by: Derek Ho <[email protected]>

* make some updates to the page

Signed-off-by: Derek Ho <[email protected]>

* cleanup unused files for data connections

Signed-off-by: Derek Ho <[email protected]>

* cleanup and add overview panel columns

Signed-off-by: Derek Ho <[email protected]>

* render tabs

Signed-off-by: Derek Ho <[email protected]>

* add unit tests

Signed-off-by: Derek Ho <[email protected]>

* update data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

* Add datasources to management overview

Signed-off-by: Derek Ho <[email protected]>

* remove spark logo and update snapshot

Signed-off-by: Derek Ho <[email protected]>

* refactor routes out

Signed-off-by: Derek Ho <[email protected]>

* separate out the roles

Signed-off-by: Derek Ho <[email protected]>

* bump version back to 3.0

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add acceleration management UI  (#989)

* add acceleration management UI skeleton

Signed-off-by: Shenoy Pratik <[email protected]>

* Create new documentation link for acc

Signed-off-by: Shenoy Pratik <[email protected]>

* fix typos and minor bugs

Signed-off-by: Shenoy Pratik <[email protected]>

* update snapshot

Signed-off-by: Shenoy Pratik <[email protected]>

* update window location to hash

Signed-off-by: Shenoy Pratik <[email protected]>

* remove unused headers

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Shenoy Pratik <[email protected]>

* Rename data sources to data connections (#1004)

* rename data sources to data connections

Signed-off-by: Derek Ho <[email protected]>

* final cleanup

Signed-off-by: Derek Ho <[email protected]>

* update acceleration breadcrumb

Signed-off-by: Derek Ho <[email protected]>

* fix API call for data connection page

Signed-off-by: Derek Ho <[email protected]>

* fix integ test and data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add fallback to show if user does not have datasource API permissions (#1008)

* add fallback ui for manage and view datasources

Signed-off-by: Derek Ho <[email protected]>

* always show datasources via pplservice

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add access control tab content (#992)

* basic rendering for the access control tab

Signed-off-by: Derek Ho <[email protected]>

* hook up basic radio groups and euicombo boxes for query and acceleration permissions

Signed-off-by: Derek Ho <[email protected]>

* refactor and clean up unuseed inports

Signed-off-by: Derek Ho <[email protected]>

* remove unused import

Signed-off-by: Derek Ho <[email protected]>

* fix import and snapshot

Signed-off-by: Derek Ho <[email protected]>

* fix test

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

* Remove unused files and variables

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Delete datasource and Connection Configuration Tab (#1024)

* Address previous PR comments and implement rudimentary delete

Signed-off-by: Derek Ho <[email protected]>

* Implement modal and instant delete showing up in list

Signed-off-by: Derek Ho <[email protected]>

* Refactor save or cancel to a shared component, implement hard coded datasource configurations tab

Signed-off-by: Derek Ho <[email protected]>

* Update test with mock role data

Signed-off-by: Derek Ho <[email protected]>

* Add most functionality of edit connectiondetails

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Get most of the workflow working for configure datasource

Signed-off-by: Derek Ho <[email protected]>

* remove acceleration components

Signed-off-by: Shenoy Pratik <[email protected]>

* Update data connection to datasources in a few more places and update tests

Signed-off-by: Derek Ho <[email protected]>

* Rename and re-organize in folders

Signed-off-by: Derek Ho <[email protected]>

* Fix import path in testing file

Signed-off-by: Derek Ho <[email protected]>

* Get Initial S3 configuration working

Signed-off-by: Derek Ho <[email protected]>

* Configure S3 Data Source Working

Signed-off-by: Derek Ho <[email protected]>

* Fix query permissions display

Signed-off-by: Derek Ho <[email protected]>

* Fix merge conflict

Signed-off-by: Derek Ho <[email protected]>

* Clean up PR

Signed-off-by: Derek Ho <[email protected]>

* Add s3 logo in manage table

Signed-off-by: Derek Ho <[email protected]>

* Fix up PR according to UX feedback

Signed-off-by: Derek Ho <[email protected]>

* Remove successfully

Signed-off-by: Derek Ho <[email protected]>

* Update test

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

* Update test in accordance to useLocation

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
Co-authored-by: Shenoy Pratik <[email protected]>
derek-ho added a commit that referenced this pull request Sep 29, 2023
* Manage datasources (#967)

* fix name change bug and modify test to test behavior

Signed-off-by: Derek Ho <[email protected]>

* get rid of lint

Signed-off-by: Derek Ho <[email protected]>

* test for flyout

Signed-off-by: Derek Ho <[email protected]>

* flyout to medium size

Signed-off-by: Derek Ho <[email protected]>

* make accelerate extensible

Signed-off-by: Derek Ho <[email protected]>

* get datasources and hook up to pplservice

Signed-off-by: Derek Ho <[email protected]>

* get flint working

Signed-off-by: Derek Ho <[email protected]>

* add datasource page with steps and buttons on bottom bar

Signed-off-by: Derek Ho <[email protected]>

* datasources as a new plugin and mostly working

Signed-off-by: Derek Ho <[email protected]>

* hook up manage to show datasources call

Signed-off-by: Derek Ho <[email protected]>

* update two tables with descriptions

Signed-off-by: Derek Ho <[email protected]>

* make some updates to the page

Signed-off-by: Derek Ho <[email protected]>

* cleanup unused files for data connections

Signed-off-by: Derek Ho <[email protected]>

* cleanup and add overview panel columns

Signed-off-by: Derek Ho <[email protected]>

* render tabs

Signed-off-by: Derek Ho <[email protected]>

* add unit tests

Signed-off-by: Derek Ho <[email protected]>

* update data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

* Add datasources to management overview

Signed-off-by: Derek Ho <[email protected]>

* remove spark logo and update snapshot

Signed-off-by: Derek Ho <[email protected]>

* refactor routes out

Signed-off-by: Derek Ho <[email protected]>

* separate out the roles

Signed-off-by: Derek Ho <[email protected]>

* bump version back to 3.0

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add acceleration management UI  (#989)

* add acceleration management UI skeleton

Signed-off-by: Shenoy Pratik <[email protected]>

* Create new documentation link for acc

Signed-off-by: Shenoy Pratik <[email protected]>

* fix typos and minor bugs

Signed-off-by: Shenoy Pratik <[email protected]>

* update snapshot

Signed-off-by: Shenoy Pratik <[email protected]>

* update window location to hash

Signed-off-by: Shenoy Pratik <[email protected]>

* remove unused headers

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Shenoy Pratik <[email protected]>

* Rename data sources to data connections (#1004)

* rename data sources to data connections

Signed-off-by: Derek Ho <[email protected]>

* final cleanup

Signed-off-by: Derek Ho <[email protected]>

* update acceleration breadcrumb

Signed-off-by: Derek Ho <[email protected]>

* fix API call for data connection page

Signed-off-by: Derek Ho <[email protected]>

* fix integ test and data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add fallback to show if user does not have datasource API permissions (#1008)

* add fallback ui for manage and view datasources

Signed-off-by: Derek Ho <[email protected]>

* always show datasources via pplservice

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add access control tab content (#992)

* basic rendering for the access control tab

Signed-off-by: Derek Ho <[email protected]>

* hook up basic radio groups and euicombo boxes for query and acceleration permissions

Signed-off-by: Derek Ho <[email protected]>

* refactor and clean up unuseed inports

Signed-off-by: Derek Ho <[email protected]>

* remove unused import

Signed-off-by: Derek Ho <[email protected]>

* fix import and snapshot

Signed-off-by: Derek Ho <[email protected]>

* fix test

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

* Remove unused files and variables

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Delete datasource and Connection Configuration Tab (#1024)

* Address previous PR comments and implement rudimentary delete

Signed-off-by: Derek Ho <[email protected]>

* Implement modal and instant delete showing up in list

Signed-off-by: Derek Ho <[email protected]>

* Refactor save or cancel to a shared component, implement hard coded datasource configurations tab

Signed-off-by: Derek Ho <[email protected]>

* Update test with mock role data

Signed-off-by: Derek Ho <[email protected]>

* Add most functionality of edit connectiondetails

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Get most of the workflow working for configure datasource

Signed-off-by: Derek Ho <[email protected]>

* remove acceleration components

Signed-off-by: Shenoy Pratik <[email protected]>

* Update data connection to datasources in a few more places and update tests

Signed-off-by: Derek Ho <[email protected]>

* Rename and re-organize in folders

Signed-off-by: Derek Ho <[email protected]>

* Fix import path in testing file

Signed-off-by: Derek Ho <[email protected]>

* Get Initial S3 configuration working

Signed-off-by: Derek Ho <[email protected]>

* Configure S3 Data Source Working

Signed-off-by: Derek Ho <[email protected]>

* Fix query permissions display

Signed-off-by: Derek Ho <[email protected]>

* Fix merge conflict

Signed-off-by: Derek Ho <[email protected]>

* Clean up PR

Signed-off-by: Derek Ho <[email protected]>

* Add s3 logo in manage table

Signed-off-by: Derek Ho <[email protected]>

* Fix up PR according to UX feedback

Signed-off-by: Derek Ho <[email protected]>

* Remove successfully

Signed-off-by: Derek Ho <[email protected]>

* Update test

Signed-off-by: Derek Ho <[email protected]>

* Initial commit adding prometheus logo and icon

Signed-off-by: Derek Ho <[email protected]>

* Get the major flow working

Signed-off-by: Derek Ho <[email protected]>

* Fix app navigation

Signed-off-by: Derek Ho <[email protected]>

* Fix up PR

Signed-off-by: Derek Ho <[email protected]>

* Remove management redirection for now and fix test and add cards

Signed-off-by: Derek Ho <[email protected]>

* Remove type filter and update test according to UX feedback

Signed-off-by: Derek Ho <[email protected]>

* Add link and update test

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

* Include useful info in the error toast

Signed-off-by: Derek Ho <[email protected]>

* Update actions in manage table according to UX feedback

Signed-off-by: Derek Ho <[email protected]>

* Add update button and update tests

Signed-off-by: Derek Ho <[email protected]>

* Remove unused code until further implementation

Signed-off-by: Derek Ho <[email protected]>

* Fix router files

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
Co-authored-by: Shenoy Pratik <[email protected]>
mengweieric added a commit that referenced this pull request Oct 4, 2023
* remove unused files

Signed-off-by: Eric Wei <[email protected]>

* missing snapshots

Signed-off-by: Eric Wei <[email protected]>

* remove unused files

Signed-off-by: Eric Wei <[email protected]>

* missing snapshots

Signed-off-by: Eric Wei <[email protected]>

* create generic use polling hook

Signed-off-by: Eric <[email protected]>

* add unit tests

Signed-off-by: Eric <[email protected]>

* remove logging

Signed-off-by: Eric <[email protected]>

* datasource registeration for observability

Signed-off-by: Eric <[email protected]>

* Manage datasources (#967)

* fix name change bug and modify test to test behavior

Signed-off-by: Derek Ho <[email protected]>

* get rid of lint

Signed-off-by: Derek Ho <[email protected]>

* test for flyout

Signed-off-by: Derek Ho <[email protected]>

* flyout to medium size

Signed-off-by: Derek Ho <[email protected]>

* make accelerate extensible

Signed-off-by: Derek Ho <[email protected]>

* get datasources and hook up to pplservice

Signed-off-by: Derek Ho <[email protected]>

* get flint working

Signed-off-by: Derek Ho <[email protected]>

* add datasource page with steps and buttons on bottom bar

Signed-off-by: Derek Ho <[email protected]>

* datasources as a new plugin and mostly working

Signed-off-by: Derek Ho <[email protected]>

* hook up manage to show datasources call

Signed-off-by: Derek Ho <[email protected]>

* update two tables with descriptions

Signed-off-by: Derek Ho <[email protected]>

* make some updates to the page

Signed-off-by: Derek Ho <[email protected]>

* cleanup unused files for data connections

Signed-off-by: Derek Ho <[email protected]>

* cleanup and add overview panel columns

Signed-off-by: Derek Ho <[email protected]>

* render tabs

Signed-off-by: Derek Ho <[email protected]>

* add unit tests

Signed-off-by: Derek Ho <[email protected]>

* update data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

* Add datasources to management overview

Signed-off-by: Derek Ho <[email protected]>

* remove spark logo and update snapshot

Signed-off-by: Derek Ho <[email protected]>

* refactor routes out

Signed-off-by: Derek Ho <[email protected]>

* separate out the roles

Signed-off-by: Derek Ho <[email protected]>

* bump version back to 3.0

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add acceleration management UI  (#989)

* add acceleration management UI skeleton

Signed-off-by: Shenoy Pratik <[email protected]>

* Create new documentation link for acc

Signed-off-by: Shenoy Pratik <[email protected]>

* fix typos and minor bugs

Signed-off-by: Shenoy Pratik <[email protected]>

* update snapshot

Signed-off-by: Shenoy Pratik <[email protected]>

* update window location to hash

Signed-off-by: Shenoy Pratik <[email protected]>

* remove unused headers

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Shenoy Pratik <[email protected]>

* dummy data redirection for datasource selector and language selector

Signed-off-by: Eric <[email protected]>

* flint datasource registration

Signed-off-by: Eric <[email protected]>

* tempararily passing down setup deps for datasource

Signed-off-by: Eric <[email protected]>

* add node server endpoints for direct query and job status

Signed-off-by: Eric <[email protected]>

* add server side endpoints for direct query

Signed-off-by: Eric <[email protected]>

* add s3 datasource class

Signed-off-by: Eric <[email protected]>

* s3 datasource registeration

Signed-off-by: Eric <[email protected]>

* changes to use new endpoints

Signed-off-by: Eric <[email protected]>

* remove unused files

Signed-off-by: Eric Wei <[email protected]>

* missing snapshots

Signed-off-by: Eric Wei <[email protected]>

* initial direct query support in explorer

Signed-off-by: Eric <[email protected]>

* add datasource pluggable

Signed-off-by: Eric <[email protected]>

* remove unused files

Signed-off-by: Eric Wei <[email protected]>

* missing snapshots

Signed-off-by: Eric Wei <[email protected]>

* remove unused dependency as well as passing down pluggable

Signed-off-by: Eric <[email protected]>

* changes for adopting new endpoints

Signed-off-by: Eric <[email protected]>

* add initial commits for context swithing

Signed-off-by: Eric <[email protected]>

* add query running page

Signed-off-by: Eric <[email protected]>

* relayout as an effort of match look and feel

Signed-off-by: Eric <[email protected]>

* add changes for index pattern to work with context switch

Signed-off-by: Eric <[email protected]>

* remove search section from explorer home

Signed-off-by: Eric <[email protected]>

* visualization page for direct query

Signed-off-by: Eric <[email protected]>

* add direct query visualization page

Signed-off-by: Eric <[email protected]>

* merge main

Signed-off-by: Eric <[email protected]>

* add discover redirection

Signed-off-by: Eric <[email protected]>

* merge main and resolve conflicts

Signed-off-by: Eric <[email protected]>

* s3 datasource and layout changes

Signed-off-by: Eric <[email protected]>

* use newly changed handler name

Signed-off-by: Eric <[email protected]>

* fixes for sidebar and datasource

Signed-off-by: Eric <[email protected]>

* add fix for redirection issue

Signed-off-by: Eric <[email protected]>

* console/comments cleanup

Signed-off-by: Eric <[email protected]>

* remove outdated polling tests

Signed-off-by: Eric <[email protected]>

* delete few outdated tests to resolve testing issues and skipped search tests for now

Signed-off-by: Eric <[email protected]>

* adopt empty prompt

Signed-off-by: Eric <[email protected]>

* remove unused oui/eui component

Signed-off-by: Eric <[email protected]>

* adopt new endpoint cchanges

Signed-off-by: Eric <[email protected]>

* fix data grid issue

Signed-off-by: Eric <[email protected]>

* disable autosuggest for sql

Signed-off-by: Eric <[email protected]>

* remove manual link for SQL

Signed-off-by: Eric <[email protected]>

* query cancelling

Signed-off-by: Eric <[email protected]>

---------

Signed-off-by: Eric Wei <[email protected]>
Signed-off-by: Eric <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
Co-authored-by: Derek Ho <[email protected]>
Co-authored-by: Shenoy Pratik <[email protected]>
derek-ho added a commit to derek-ho/dashboards-observability that referenced this pull request Oct 4, 2023
…roject#1035)

* Manage datasources (opensearch-project#967)

* fix name change bug and modify test to test behavior

Signed-off-by: Derek Ho <[email protected]>

* get rid of lint

Signed-off-by: Derek Ho <[email protected]>

* test for flyout

Signed-off-by: Derek Ho <[email protected]>

* flyout to medium size

Signed-off-by: Derek Ho <[email protected]>

* make accelerate extensible

Signed-off-by: Derek Ho <[email protected]>

* get datasources and hook up to pplservice

Signed-off-by: Derek Ho <[email protected]>

* get flint working

Signed-off-by: Derek Ho <[email protected]>

* add datasource page with steps and buttons on bottom bar

Signed-off-by: Derek Ho <[email protected]>

* datasources as a new plugin and mostly working

Signed-off-by: Derek Ho <[email protected]>

* hook up manage to show datasources call

Signed-off-by: Derek Ho <[email protected]>

* update two tables with descriptions

Signed-off-by: Derek Ho <[email protected]>

* make some updates to the page

Signed-off-by: Derek Ho <[email protected]>

* cleanup unused files for data connections

Signed-off-by: Derek Ho <[email protected]>

* cleanup and add overview panel columns

Signed-off-by: Derek Ho <[email protected]>

* render tabs

Signed-off-by: Derek Ho <[email protected]>

* add unit tests

Signed-off-by: Derek Ho <[email protected]>

* update data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

* Add datasources to management overview

Signed-off-by: Derek Ho <[email protected]>

* remove spark logo and update snapshot

Signed-off-by: Derek Ho <[email protected]>

* refactor routes out

Signed-off-by: Derek Ho <[email protected]>

* separate out the roles

Signed-off-by: Derek Ho <[email protected]>

* bump version back to 3.0

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add acceleration management UI  (opensearch-project#989)

* add acceleration management UI skeleton

Signed-off-by: Shenoy Pratik <[email protected]>

* Create new documentation link for acc

Signed-off-by: Shenoy Pratik <[email protected]>

* fix typos and minor bugs

Signed-off-by: Shenoy Pratik <[email protected]>

* update snapshot

Signed-off-by: Shenoy Pratik <[email protected]>

* update window location to hash

Signed-off-by: Shenoy Pratik <[email protected]>

* remove unused headers

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Shenoy Pratik <[email protected]>

* Rename data sources to data connections (opensearch-project#1004)

* rename data sources to data connections

Signed-off-by: Derek Ho <[email protected]>

* final cleanup

Signed-off-by: Derek Ho <[email protected]>

* update acceleration breadcrumb

Signed-off-by: Derek Ho <[email protected]>

* fix API call for data connection page

Signed-off-by: Derek Ho <[email protected]>

* fix integ test and data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add fallback to show if user does not have datasource API permissions (opensearch-project#1008)

* add fallback ui for manage and view datasources

Signed-off-by: Derek Ho <[email protected]>

* always show datasources via pplservice

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add access control tab content (opensearch-project#992)

* basic rendering for the access control tab

Signed-off-by: Derek Ho <[email protected]>

* hook up basic radio groups and euicombo boxes for query and acceleration permissions

Signed-off-by: Derek Ho <[email protected]>

* refactor and clean up unuseed inports

Signed-off-by: Derek Ho <[email protected]>

* remove unused import

Signed-off-by: Derek Ho <[email protected]>

* fix import and snapshot

Signed-off-by: Derek Ho <[email protected]>

* fix test

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

* Remove unused files and variables

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Delete datasource and Connection Configuration Tab (opensearch-project#1024)

* Address previous PR comments and implement rudimentary delete

Signed-off-by: Derek Ho <[email protected]>

* Implement modal and instant delete showing up in list

Signed-off-by: Derek Ho <[email protected]>

* Refactor save or cancel to a shared component, implement hard coded datasource configurations tab

Signed-off-by: Derek Ho <[email protected]>

* Update test with mock role data

Signed-off-by: Derek Ho <[email protected]>

* Add most functionality of edit connectiondetails

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* remove acceleration components

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
Co-authored-by: Shenoy Pratik <[email protected]>
derek-ho added a commit to derek-ho/dashboards-observability that referenced this pull request Oct 4, 2023
* Manage datasources (opensearch-project#967)

* fix name change bug and modify test to test behavior

Signed-off-by: Derek Ho <[email protected]>

* get rid of lint

Signed-off-by: Derek Ho <[email protected]>

* test for flyout

Signed-off-by: Derek Ho <[email protected]>

* flyout to medium size

Signed-off-by: Derek Ho <[email protected]>

* make accelerate extensible

Signed-off-by: Derek Ho <[email protected]>

* get datasources and hook up to pplservice

Signed-off-by: Derek Ho <[email protected]>

* get flint working

Signed-off-by: Derek Ho <[email protected]>

* add datasource page with steps and buttons on bottom bar

Signed-off-by: Derek Ho <[email protected]>

* datasources as a new plugin and mostly working

Signed-off-by: Derek Ho <[email protected]>

* hook up manage to show datasources call

Signed-off-by: Derek Ho <[email protected]>

* update two tables with descriptions

Signed-off-by: Derek Ho <[email protected]>

* make some updates to the page

Signed-off-by: Derek Ho <[email protected]>

* cleanup unused files for data connections

Signed-off-by: Derek Ho <[email protected]>

* cleanup and add overview panel columns

Signed-off-by: Derek Ho <[email protected]>

* render tabs

Signed-off-by: Derek Ho <[email protected]>

* add unit tests

Signed-off-by: Derek Ho <[email protected]>

* update data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

* Add datasources to management overview

Signed-off-by: Derek Ho <[email protected]>

* remove spark logo and update snapshot

Signed-off-by: Derek Ho <[email protected]>

* refactor routes out

Signed-off-by: Derek Ho <[email protected]>

* separate out the roles

Signed-off-by: Derek Ho <[email protected]>

* bump version back to 3.0

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add acceleration management UI  (opensearch-project#989)

* add acceleration management UI skeleton

Signed-off-by: Shenoy Pratik <[email protected]>

* Create new documentation link for acc

Signed-off-by: Shenoy Pratik <[email protected]>

* fix typos and minor bugs

Signed-off-by: Shenoy Pratik <[email protected]>

* update snapshot

Signed-off-by: Shenoy Pratik <[email protected]>

* update window location to hash

Signed-off-by: Shenoy Pratik <[email protected]>

* remove unused headers

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Shenoy Pratik <[email protected]>

* Rename data sources to data connections (opensearch-project#1004)

* rename data sources to data connections

Signed-off-by: Derek Ho <[email protected]>

* final cleanup

Signed-off-by: Derek Ho <[email protected]>

* update acceleration breadcrumb

Signed-off-by: Derek Ho <[email protected]>

* fix API call for data connection page

Signed-off-by: Derek Ho <[email protected]>

* fix integ test and data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add fallback to show if user does not have datasource API permissions (opensearch-project#1008)

* add fallback ui for manage and view datasources

Signed-off-by: Derek Ho <[email protected]>

* always show datasources via pplservice

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add access control tab content (opensearch-project#992)

* basic rendering for the access control tab

Signed-off-by: Derek Ho <[email protected]>

* hook up basic radio groups and euicombo boxes for query and acceleration permissions

Signed-off-by: Derek Ho <[email protected]>

* refactor and clean up unuseed inports

Signed-off-by: Derek Ho <[email protected]>

* remove unused import

Signed-off-by: Derek Ho <[email protected]>

* fix import and snapshot

Signed-off-by: Derek Ho <[email protected]>

* fix test

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

* Remove unused files and variables

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Delete datasource and Connection Configuration Tab (opensearch-project#1024)

* Address previous PR comments and implement rudimentary delete

Signed-off-by: Derek Ho <[email protected]>

* Implement modal and instant delete showing up in list

Signed-off-by: Derek Ho <[email protected]>

* Refactor save or cancel to a shared component, implement hard coded datasource configurations tab

Signed-off-by: Derek Ho <[email protected]>

* Update test with mock role data

Signed-off-by: Derek Ho <[email protected]>

* Add most functionality of edit connectiondetails

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Get most of the workflow working for configure datasource

Signed-off-by: Derek Ho <[email protected]>

* remove acceleration components

Signed-off-by: Shenoy Pratik <[email protected]>

* Update data connection to datasources in a few more places and update tests

Signed-off-by: Derek Ho <[email protected]>

* Rename and re-organize in folders

Signed-off-by: Derek Ho <[email protected]>

* Fix import path in testing file

Signed-off-by: Derek Ho <[email protected]>

* Get Initial S3 configuration working

Signed-off-by: Derek Ho <[email protected]>

* Configure S3 Data Source Working

Signed-off-by: Derek Ho <[email protected]>

* Fix query permissions display

Signed-off-by: Derek Ho <[email protected]>

* Fix merge conflict

Signed-off-by: Derek Ho <[email protected]>

* Clean up PR

Signed-off-by: Derek Ho <[email protected]>

* Add s3 logo in manage table

Signed-off-by: Derek Ho <[email protected]>

* Fix up PR according to UX feedback

Signed-off-by: Derek Ho <[email protected]>

* Remove successfully

Signed-off-by: Derek Ho <[email protected]>

* Update test

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

* Update test in accordance to useLocation

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
Co-authored-by: Shenoy Pratik <[email protected]>
derek-ho added a commit to derek-ho/dashboards-observability that referenced this pull request Oct 4, 2023
* Manage datasources (opensearch-project#967)

* fix name change bug and modify test to test behavior

Signed-off-by: Derek Ho <[email protected]>

* get rid of lint

Signed-off-by: Derek Ho <[email protected]>

* test for flyout

Signed-off-by: Derek Ho <[email protected]>

* flyout to medium size

Signed-off-by: Derek Ho <[email protected]>

* make accelerate extensible

Signed-off-by: Derek Ho <[email protected]>

* get datasources and hook up to pplservice

Signed-off-by: Derek Ho <[email protected]>

* get flint working

Signed-off-by: Derek Ho <[email protected]>

* add datasource page with steps and buttons on bottom bar

Signed-off-by: Derek Ho <[email protected]>

* datasources as a new plugin and mostly working

Signed-off-by: Derek Ho <[email protected]>

* hook up manage to show datasources call

Signed-off-by: Derek Ho <[email protected]>

* update two tables with descriptions

Signed-off-by: Derek Ho <[email protected]>

* make some updates to the page

Signed-off-by: Derek Ho <[email protected]>

* cleanup unused files for data connections

Signed-off-by: Derek Ho <[email protected]>

* cleanup and add overview panel columns

Signed-off-by: Derek Ho <[email protected]>

* render tabs

Signed-off-by: Derek Ho <[email protected]>

* add unit tests

Signed-off-by: Derek Ho <[email protected]>

* update data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

* Add datasources to management overview

Signed-off-by: Derek Ho <[email protected]>

* remove spark logo and update snapshot

Signed-off-by: Derek Ho <[email protected]>

* refactor routes out

Signed-off-by: Derek Ho <[email protected]>

* separate out the roles

Signed-off-by: Derek Ho <[email protected]>

* bump version back to 3.0

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add acceleration management UI  (opensearch-project#989)

* add acceleration management UI skeleton

Signed-off-by: Shenoy Pratik <[email protected]>

* Create new documentation link for acc

Signed-off-by: Shenoy Pratik <[email protected]>

* fix typos and minor bugs

Signed-off-by: Shenoy Pratik <[email protected]>

* update snapshot

Signed-off-by: Shenoy Pratik <[email protected]>

* update window location to hash

Signed-off-by: Shenoy Pratik <[email protected]>

* remove unused headers

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Shenoy Pratik <[email protected]>

* Rename data sources to data connections (opensearch-project#1004)

* rename data sources to data connections

Signed-off-by: Derek Ho <[email protected]>

* final cleanup

Signed-off-by: Derek Ho <[email protected]>

* update acceleration breadcrumb

Signed-off-by: Derek Ho <[email protected]>

* fix API call for data connection page

Signed-off-by: Derek Ho <[email protected]>

* fix integ test and data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add fallback to show if user does not have datasource API permissions (opensearch-project#1008)

* add fallback ui for manage and view datasources

Signed-off-by: Derek Ho <[email protected]>

* always show datasources via pplservice

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add access control tab content (opensearch-project#992)

* basic rendering for the access control tab

Signed-off-by: Derek Ho <[email protected]>

* hook up basic radio groups and euicombo boxes for query and acceleration permissions

Signed-off-by: Derek Ho <[email protected]>

* refactor and clean up unuseed inports

Signed-off-by: Derek Ho <[email protected]>

* remove unused import

Signed-off-by: Derek Ho <[email protected]>

* fix import and snapshot

Signed-off-by: Derek Ho <[email protected]>

* fix test

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

* Remove unused files and variables

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Delete datasource and Connection Configuration Tab (opensearch-project#1024)

* Address previous PR comments and implement rudimentary delete

Signed-off-by: Derek Ho <[email protected]>

* Implement modal and instant delete showing up in list

Signed-off-by: Derek Ho <[email protected]>

* Refactor save or cancel to a shared component, implement hard coded datasource configurations tab

Signed-off-by: Derek Ho <[email protected]>

* Update test with mock role data

Signed-off-by: Derek Ho <[email protected]>

* Add most functionality of edit connectiondetails

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Get most of the workflow working for configure datasource

Signed-off-by: Derek Ho <[email protected]>

* remove acceleration components

Signed-off-by: Shenoy Pratik <[email protected]>

* Update data connection to datasources in a few more places and update tests

Signed-off-by: Derek Ho <[email protected]>

* Rename and re-organize in folders

Signed-off-by: Derek Ho <[email protected]>

* Fix import path in testing file

Signed-off-by: Derek Ho <[email protected]>

* Get Initial S3 configuration working

Signed-off-by: Derek Ho <[email protected]>

* Configure S3 Data Source Working

Signed-off-by: Derek Ho <[email protected]>

* Fix query permissions display

Signed-off-by: Derek Ho <[email protected]>

* Fix merge conflict

Signed-off-by: Derek Ho <[email protected]>

* Clean up PR

Signed-off-by: Derek Ho <[email protected]>

* Add s3 logo in manage table

Signed-off-by: Derek Ho <[email protected]>

* Fix up PR according to UX feedback

Signed-off-by: Derek Ho <[email protected]>

* Remove successfully

Signed-off-by: Derek Ho <[email protected]>

* Update test

Signed-off-by: Derek Ho <[email protected]>

* Initial commit adding prometheus logo and icon

Signed-off-by: Derek Ho <[email protected]>

* Get the major flow working

Signed-off-by: Derek Ho <[email protected]>

* Fix app navigation

Signed-off-by: Derek Ho <[email protected]>

* Fix up PR

Signed-off-by: Derek Ho <[email protected]>

* Remove management redirection for now and fix test and add cards

Signed-off-by: Derek Ho <[email protected]>

* Remove type filter and update test according to UX feedback

Signed-off-by: Derek Ho <[email protected]>

* Add link and update test

Signed-off-by: Derek Ho <[email protected]>

* Address PR comments

Signed-off-by: Derek Ho <[email protected]>

* Include useful info in the error toast

Signed-off-by: Derek Ho <[email protected]>

* Update actions in manage table according to UX feedback

Signed-off-by: Derek Ho <[email protected]>

* Add update button and update tests

Signed-off-by: Derek Ho <[email protected]>

* Remove unused code until further implementation

Signed-off-by: Derek Ho <[email protected]>

* Fix router files

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
Co-authored-by: Shenoy Pratik <[email protected]>
joshuali925 pushed a commit to joshuali925/dashboards-observability that referenced this pull request Oct 4, 2023
…ct#988)

* remove unused files

Signed-off-by: Eric Wei <[email protected]>

* missing snapshots

Signed-off-by: Eric Wei <[email protected]>

* remove unused files

Signed-off-by: Eric Wei <[email protected]>

* missing snapshots

Signed-off-by: Eric Wei <[email protected]>

* create generic use polling hook

Signed-off-by: Eric <[email protected]>

* add unit tests

Signed-off-by: Eric <[email protected]>

* remove logging

Signed-off-by: Eric <[email protected]>

* datasource registeration for observability

Signed-off-by: Eric <[email protected]>

* Manage datasources (opensearch-project#967)

* fix name change bug and modify test to test behavior

Signed-off-by: Derek Ho <[email protected]>

* get rid of lint

Signed-off-by: Derek Ho <[email protected]>

* test for flyout

Signed-off-by: Derek Ho <[email protected]>

* flyout to medium size

Signed-off-by: Derek Ho <[email protected]>

* make accelerate extensible

Signed-off-by: Derek Ho <[email protected]>

* get datasources and hook up to pplservice

Signed-off-by: Derek Ho <[email protected]>

* get flint working

Signed-off-by: Derek Ho <[email protected]>

* add datasource page with steps and buttons on bottom bar

Signed-off-by: Derek Ho <[email protected]>

* datasources as a new plugin and mostly working

Signed-off-by: Derek Ho <[email protected]>

* hook up manage to show datasources call

Signed-off-by: Derek Ho <[email protected]>

* update two tables with descriptions

Signed-off-by: Derek Ho <[email protected]>

* make some updates to the page

Signed-off-by: Derek Ho <[email protected]>

* cleanup unused files for data connections

Signed-off-by: Derek Ho <[email protected]>

* cleanup and add overview panel columns

Signed-off-by: Derek Ho <[email protected]>

* render tabs

Signed-off-by: Derek Ho <[email protected]>

* add unit tests

Signed-off-by: Derek Ho <[email protected]>

* update data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

* Add datasources to management overview

Signed-off-by: Derek Ho <[email protected]>

* remove spark logo and update snapshot

Signed-off-by: Derek Ho <[email protected]>

* refactor routes out

Signed-off-by: Derek Ho <[email protected]>

* separate out the roles

Signed-off-by: Derek Ho <[email protected]>

* bump version back to 3.0

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add acceleration management UI  (opensearch-project#989)

* add acceleration management UI skeleton

Signed-off-by: Shenoy Pratik <[email protected]>

* Create new documentation link for acc

Signed-off-by: Shenoy Pratik <[email protected]>

* fix typos and minor bugs

Signed-off-by: Shenoy Pratik <[email protected]>

* update snapshot

Signed-off-by: Shenoy Pratik <[email protected]>

* update window location to hash

Signed-off-by: Shenoy Pratik <[email protected]>

* remove unused headers

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Shenoy Pratik <[email protected]>

* dummy data redirection for datasource selector and language selector

Signed-off-by: Eric <[email protected]>

* flint datasource registration

Signed-off-by: Eric <[email protected]>

* tempararily passing down setup deps for datasource

Signed-off-by: Eric <[email protected]>

* add node server endpoints for direct query and job status

Signed-off-by: Eric <[email protected]>

* add server side endpoints for direct query

Signed-off-by: Eric <[email protected]>

* add s3 datasource class

Signed-off-by: Eric <[email protected]>

* s3 datasource registeration

Signed-off-by: Eric <[email protected]>

* changes to use new endpoints

Signed-off-by: Eric <[email protected]>

* remove unused files

Signed-off-by: Eric Wei <[email protected]>

* missing snapshots

Signed-off-by: Eric Wei <[email protected]>

* initial direct query support in explorer

Signed-off-by: Eric <[email protected]>

* add datasource pluggable

Signed-off-by: Eric <[email protected]>

* remove unused files

Signed-off-by: Eric Wei <[email protected]>

* missing snapshots

Signed-off-by: Eric Wei <[email protected]>

* remove unused dependency as well as passing down pluggable

Signed-off-by: Eric <[email protected]>

* changes for adopting new endpoints

Signed-off-by: Eric <[email protected]>

* add initial commits for context swithing

Signed-off-by: Eric <[email protected]>

* add query running page

Signed-off-by: Eric <[email protected]>

* relayout as an effort of match look and feel

Signed-off-by: Eric <[email protected]>

* add changes for index pattern to work with context switch

Signed-off-by: Eric <[email protected]>

* remove search section from explorer home

Signed-off-by: Eric <[email protected]>

* visualization page for direct query

Signed-off-by: Eric <[email protected]>

* add direct query visualization page

Signed-off-by: Eric <[email protected]>

* merge main

Signed-off-by: Eric <[email protected]>

* add discover redirection

Signed-off-by: Eric <[email protected]>

* merge main and resolve conflicts

Signed-off-by: Eric <[email protected]>

* s3 datasource and layout changes

Signed-off-by: Eric <[email protected]>

* use newly changed handler name

Signed-off-by: Eric <[email protected]>

* fixes for sidebar and datasource

Signed-off-by: Eric <[email protected]>

* add fix for redirection issue

Signed-off-by: Eric <[email protected]>

* console/comments cleanup

Signed-off-by: Eric <[email protected]>

* remove outdated polling tests

Signed-off-by: Eric <[email protected]>

* delete few outdated tests to resolve testing issues and skipped search tests for now

Signed-off-by: Eric <[email protected]>

* adopt empty prompt

Signed-off-by: Eric <[email protected]>

* remove unused oui/eui component

Signed-off-by: Eric <[email protected]>

* adopt new endpoint cchanges

Signed-off-by: Eric <[email protected]>

* fix data grid issue

Signed-off-by: Eric <[email protected]>

* disable autosuggest for sql

Signed-off-by: Eric <[email protected]>

* remove manual link for SQL

Signed-off-by: Eric <[email protected]>

* query cancelling

Signed-off-by: Eric <[email protected]>

---------

Signed-off-by: Eric Wei <[email protected]>
Signed-off-by: Eric <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
Co-authored-by: Derek Ho <[email protected]>
Co-authored-by: Shenoy Pratik <[email protected]>
(cherry picked from commit e21dcf2)
mengweieric added a commit that referenced this pull request Oct 4, 2023
…) (#1072)

* [Feature] Support SQL direct query in Observability (#988)

* remove unused files

Signed-off-by: Eric Wei <[email protected]>

* missing snapshots

Signed-off-by: Eric Wei <[email protected]>

* remove unused files

Signed-off-by: Eric Wei <[email protected]>

* missing snapshots

Signed-off-by: Eric Wei <[email protected]>

* create generic use polling hook

Signed-off-by: Eric <[email protected]>

* add unit tests

Signed-off-by: Eric <[email protected]>

* remove logging

Signed-off-by: Eric <[email protected]>

* datasource registeration for observability

Signed-off-by: Eric <[email protected]>

* Manage datasources (#967)

* fix name change bug and modify test to test behavior

Signed-off-by: Derek Ho <[email protected]>

* get rid of lint

Signed-off-by: Derek Ho <[email protected]>

* test for flyout

Signed-off-by: Derek Ho <[email protected]>

* flyout to medium size

Signed-off-by: Derek Ho <[email protected]>

* make accelerate extensible

Signed-off-by: Derek Ho <[email protected]>

* get datasources and hook up to pplservice

Signed-off-by: Derek Ho <[email protected]>

* get flint working

Signed-off-by: Derek Ho <[email protected]>

* add datasource page with steps and buttons on bottom bar

Signed-off-by: Derek Ho <[email protected]>

* datasources as a new plugin and mostly working

Signed-off-by: Derek Ho <[email protected]>

* hook up manage to show datasources call

Signed-off-by: Derek Ho <[email protected]>

* update two tables with descriptions

Signed-off-by: Derek Ho <[email protected]>

* make some updates to the page

Signed-off-by: Derek Ho <[email protected]>

* cleanup unused files for data connections

Signed-off-by: Derek Ho <[email protected]>

* cleanup and add overview panel columns

Signed-off-by: Derek Ho <[email protected]>

* render tabs

Signed-off-by: Derek Ho <[email protected]>

* add unit tests

Signed-off-by: Derek Ho <[email protected]>

* update data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

* Add datasources to management overview

Signed-off-by: Derek Ho <[email protected]>

* remove spark logo and update snapshot

Signed-off-by: Derek Ho <[email protected]>

* refactor routes out

Signed-off-by: Derek Ho <[email protected]>

* separate out the roles

Signed-off-by: Derek Ho <[email protected]>

* bump version back to 3.0

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add acceleration management UI  (#989)

* add acceleration management UI skeleton

Signed-off-by: Shenoy Pratik <[email protected]>

* Create new documentation link for acc

Signed-off-by: Shenoy Pratik <[email protected]>

* fix typos and minor bugs

Signed-off-by: Shenoy Pratik <[email protected]>

* update snapshot

Signed-off-by: Shenoy Pratik <[email protected]>

* update window location to hash

Signed-off-by: Shenoy Pratik <[email protected]>

* remove unused headers

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Shenoy Pratik <[email protected]>

* dummy data redirection for datasource selector and language selector

Signed-off-by: Eric <[email protected]>

* flint datasource registration

Signed-off-by: Eric <[email protected]>

* tempararily passing down setup deps for datasource

Signed-off-by: Eric <[email protected]>

* add node server endpoints for direct query and job status

Signed-off-by: Eric <[email protected]>

* add server side endpoints for direct query

Signed-off-by: Eric <[email protected]>

* add s3 datasource class

Signed-off-by: Eric <[email protected]>

* s3 datasource registeration

Signed-off-by: Eric <[email protected]>

* changes to use new endpoints

Signed-off-by: Eric <[email protected]>

* remove unused files

Signed-off-by: Eric Wei <[email protected]>

* missing snapshots

Signed-off-by: Eric Wei <[email protected]>

* initial direct query support in explorer

Signed-off-by: Eric <[email protected]>

* add datasource pluggable

Signed-off-by: Eric <[email protected]>

* remove unused files

Signed-off-by: Eric Wei <[email protected]>

* missing snapshots

Signed-off-by: Eric Wei <[email protected]>

* remove unused dependency as well as passing down pluggable

Signed-off-by: Eric <[email protected]>

* changes for adopting new endpoints

Signed-off-by: Eric <[email protected]>

* add initial commits for context swithing

Signed-off-by: Eric <[email protected]>

* add query running page

Signed-off-by: Eric <[email protected]>

* relayout as an effort of match look and feel

Signed-off-by: Eric <[email protected]>

* add changes for index pattern to work with context switch

Signed-off-by: Eric <[email protected]>

* remove search section from explorer home

Signed-off-by: Eric <[email protected]>

* visualization page for direct query

Signed-off-by: Eric <[email protected]>

* add direct query visualization page

Signed-off-by: Eric <[email protected]>

* merge main

Signed-off-by: Eric <[email protected]>

* add discover redirection

Signed-off-by: Eric <[email protected]>

* merge main and resolve conflicts

Signed-off-by: Eric <[email protected]>

* s3 datasource and layout changes

Signed-off-by: Eric <[email protected]>

* use newly changed handler name

Signed-off-by: Eric <[email protected]>

* fixes for sidebar and datasource

Signed-off-by: Eric <[email protected]>

* add fix for redirection issue

Signed-off-by: Eric <[email protected]>

* console/comments cleanup

Signed-off-by: Eric <[email protected]>

* remove outdated polling tests

Signed-off-by: Eric <[email protected]>

* delete few outdated tests to resolve testing issues and skipped search tests for now

Signed-off-by: Eric <[email protected]>

* adopt empty prompt

Signed-off-by: Eric <[email protected]>

* remove unused oui/eui component

Signed-off-by: Eric <[email protected]>

* adopt new endpoint cchanges

Signed-off-by: Eric <[email protected]>

* fix data grid issue

Signed-off-by: Eric <[email protected]>

* disable autosuggest for sql

Signed-off-by: Eric <[email protected]>

* remove manual link for SQL

Signed-off-by: Eric <[email protected]>

* query cancelling

Signed-off-by: Eric <[email protected]>

---------

Signed-off-by: Eric Wei <[email protected]>
Signed-off-by: Eric <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
Co-authored-by: Derek Ho <[email protected]>
Co-authored-by: Shenoy Pratik <[email protected]>
(cherry picked from commit e21dcf2)

* remove datasource routers

Signed-off-by: Joshua Li <[email protected]>

---------

Signed-off-by: Joshua Li <[email protected]>
Co-authored-by: Eric Wei <[email protected]>
pjfitzgibbons added a commit that referenced this pull request Oct 5, 2023
* Update mocha (#960)
* added code for the change of design of the sidebar, fixed overriding … (#928)
* Refactor add_integration_flyout to break out nested methods (#956)
* [Log Explorer] Remove top level tabs (#970)
* Explorer's timeheader & color change (#959)
* Update caching (#965)
* Move query_utils to /public (#983)
* Remove Zeppelin Parser from Notebook (#985)
* Explorer empty bucket (#990)
* refactored classnames for sidebar (#933)
* Refactor Integrations Backend to abstract IO (#947)
* Create React component for Integrations Setup UI (#1009)
* Create Data sources plugin with Manage Datasources Flow  (#1035)
* Manage datasources (#967)
* Add acceleration management UI  (#989)
* Rename data sources to data connections (#1004)
* Add fallback to show if user does not have datasource API permissions (#1008)
* Add access control tab content (#992)
* Delete datasource and Connection Configuration Tab (#1024)
* adjust explorer chart color and spacing (#1051)
* Configure S3 datasource flow (#1049)
* Manage datasources (#967)
* Add acceleration management UI  (#989)
* Rename data sources to data connections (#1004)
* Add fallback to show if user does not have datasource API permissions (#1008)
* Add access control tab content (#992)
* Delete datasource and Connection Configuration Tab (#1024)
* modified explorer data grid to follow discover look and feel (#1041)
* Create prometheus datasource flow (#1054)
* Manage datasources (#967)
* Add acceleration management UI  (#989)
* Rename data sources to data connections (#1004)
* Add fallback to show if user does not have datasource API permissions (#1008)
* Add access control tab content (#992)
* Delete datasource and Connection Configuration Tab (#1024)
* added design changes for sidebar (#1061)
* updated snapshots (#1062)
* Update UI for integrations setup (#1052)
* Data sources UI improvements (#1059)
* adding redirection to datasources (#1063)
* Move convertDateTime, refactor query_utils (#1064)
* Setup S3 connection with integrations (#1057)
* Use approved svg from UX (#1066)
* Fix missing import 'moment' on query_utils. (#1067)

---------

Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: sumukhswamy <[email protected]>
Signed-off-by: Eric Wei <[email protected]>
Signed-off-by: Paul Sebastian <[email protected]>
Signed-off-by: Peter Fitzgibbons <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Co-authored-by: sumukhswamy <[email protected]>
Co-authored-by: Eric Wei <[email protected]>
Co-authored-by: Paul Sebastian <[email protected]>
Co-authored-by: Peter Fitzgibbons <[email protected]>
Co-authored-by: Paul Sebastian <[email protected]>
Co-authored-by: Shenoy Pratik <[email protected]>
Co-authored-by: Simeon Widdis <[email protected]>
mengweieric added a commit to mengweieric/dashboards-observability that referenced this pull request Oct 15, 2023
…ct#988)

* remove unused files

Signed-off-by: Eric Wei <[email protected]>

* missing snapshots

Signed-off-by: Eric Wei <[email protected]>

* remove unused files

Signed-off-by: Eric Wei <[email protected]>

* missing snapshots

Signed-off-by: Eric Wei <[email protected]>

* create generic use polling hook

Signed-off-by: Eric <[email protected]>

* add unit tests

Signed-off-by: Eric <[email protected]>

* remove logging

Signed-off-by: Eric <[email protected]>

* datasource registeration for observability

Signed-off-by: Eric <[email protected]>

* Manage datasources (opensearch-project#967)

* fix name change bug and modify test to test behavior

Signed-off-by: Derek Ho <[email protected]>

* get rid of lint

Signed-off-by: Derek Ho <[email protected]>

* test for flyout

Signed-off-by: Derek Ho <[email protected]>

* flyout to medium size

Signed-off-by: Derek Ho <[email protected]>

* make accelerate extensible

Signed-off-by: Derek Ho <[email protected]>

* get datasources and hook up to pplservice

Signed-off-by: Derek Ho <[email protected]>

* get flint working

Signed-off-by: Derek Ho <[email protected]>

* add datasource page with steps and buttons on bottom bar

Signed-off-by: Derek Ho <[email protected]>

* datasources as a new plugin and mostly working

Signed-off-by: Derek Ho <[email protected]>

* hook up manage to show datasources call

Signed-off-by: Derek Ho <[email protected]>

* update two tables with descriptions

Signed-off-by: Derek Ho <[email protected]>

* make some updates to the page

Signed-off-by: Derek Ho <[email protected]>

* cleanup unused files for data connections

Signed-off-by: Derek Ho <[email protected]>

* cleanup and add overview panel columns

Signed-off-by: Derek Ho <[email protected]>

* render tabs

Signed-off-by: Derek Ho <[email protected]>

* add unit tests

Signed-off-by: Derek Ho <[email protected]>

* update data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

* Add datasources to management overview

Signed-off-by: Derek Ho <[email protected]>

* remove spark logo and update snapshot

Signed-off-by: Derek Ho <[email protected]>

* refactor routes out

Signed-off-by: Derek Ho <[email protected]>

* separate out the roles

Signed-off-by: Derek Ho <[email protected]>

* bump version back to 3.0

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add acceleration management UI  (opensearch-project#989)

* add acceleration management UI skeleton

Signed-off-by: Shenoy Pratik <[email protected]>

* Create new documentation link for acc

Signed-off-by: Shenoy Pratik <[email protected]>

* fix typos and minor bugs

Signed-off-by: Shenoy Pratik <[email protected]>

* update snapshot

Signed-off-by: Shenoy Pratik <[email protected]>

* update window location to hash

Signed-off-by: Shenoy Pratik <[email protected]>

* remove unused headers

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Shenoy Pratik <[email protected]>

* dummy data redirection for datasource selector and language selector

Signed-off-by: Eric <[email protected]>

* flint datasource registration

Signed-off-by: Eric <[email protected]>

* tempararily passing down setup deps for datasource

Signed-off-by: Eric <[email protected]>

* add node server endpoints for direct query and job status

Signed-off-by: Eric <[email protected]>

* add server side endpoints for direct query

Signed-off-by: Eric <[email protected]>

* add s3 datasource class

Signed-off-by: Eric <[email protected]>

* s3 datasource registeration

Signed-off-by: Eric <[email protected]>

* changes to use new endpoints

Signed-off-by: Eric <[email protected]>

* remove unused files

Signed-off-by: Eric Wei <[email protected]>

* missing snapshots

Signed-off-by: Eric Wei <[email protected]>

* initial direct query support in explorer

Signed-off-by: Eric <[email protected]>

* add datasource pluggable

Signed-off-by: Eric <[email protected]>

* remove unused files

Signed-off-by: Eric Wei <[email protected]>

* missing snapshots

Signed-off-by: Eric Wei <[email protected]>

* remove unused dependency as well as passing down pluggable

Signed-off-by: Eric <[email protected]>

* changes for adopting new endpoints

Signed-off-by: Eric <[email protected]>

* add initial commits for context swithing

Signed-off-by: Eric <[email protected]>

* add query running page

Signed-off-by: Eric <[email protected]>

* relayout as an effort of match look and feel

Signed-off-by: Eric <[email protected]>

* add changes for index pattern to work with context switch

Signed-off-by: Eric <[email protected]>

* remove search section from explorer home

Signed-off-by: Eric <[email protected]>

* visualization page for direct query

Signed-off-by: Eric <[email protected]>

* add direct query visualization page

Signed-off-by: Eric <[email protected]>

* merge main

Signed-off-by: Eric <[email protected]>

* add discover redirection

Signed-off-by: Eric <[email protected]>

* merge main and resolve conflicts

Signed-off-by: Eric <[email protected]>

* s3 datasource and layout changes

Signed-off-by: Eric <[email protected]>

* use newly changed handler name

Signed-off-by: Eric <[email protected]>

* fixes for sidebar and datasource

Signed-off-by: Eric <[email protected]>

* add fix for redirection issue

Signed-off-by: Eric <[email protected]>

* console/comments cleanup

Signed-off-by: Eric <[email protected]>

* remove outdated polling tests

Signed-off-by: Eric <[email protected]>

* delete few outdated tests to resolve testing issues and skipped search tests for now

Signed-off-by: Eric <[email protected]>

* adopt empty prompt

Signed-off-by: Eric <[email protected]>

* remove unused oui/eui component

Signed-off-by: Eric <[email protected]>

* adopt new endpoint cchanges

Signed-off-by: Eric <[email protected]>

* fix data grid issue

Signed-off-by: Eric <[email protected]>

* disable autosuggest for sql

Signed-off-by: Eric <[email protected]>

* remove manual link for SQL

Signed-off-by: Eric <[email protected]>

* query cancelling

Signed-off-by: Eric <[email protected]>

---------

Signed-off-by: Eric Wei <[email protected]>
Signed-off-by: Eric <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
Co-authored-by: Derek Ho <[email protected]>
Co-authored-by: Shenoy Pratik <[email protected]>
amsiglan pushed a commit to amsiglan/dashboards-observability that referenced this pull request Jun 7, 2024
…ensearch-project#988) (opensearch-project#1072)

* [Feature] Support SQL direct query in Observability (opensearch-project#988)

* remove unused files

Signed-off-by: Eric Wei <[email protected]>

* missing snapshots

Signed-off-by: Eric Wei <[email protected]>

* remove unused files

Signed-off-by: Eric Wei <[email protected]>

* missing snapshots

Signed-off-by: Eric Wei <[email protected]>

* create generic use polling hook

Signed-off-by: Eric <[email protected]>

* add unit tests

Signed-off-by: Eric <[email protected]>

* remove logging

Signed-off-by: Eric <[email protected]>

* datasource registeration for observability

Signed-off-by: Eric <[email protected]>

* Manage datasources (opensearch-project#967)

* fix name change bug and modify test to test behavior

Signed-off-by: Derek Ho <[email protected]>

* get rid of lint

Signed-off-by: Derek Ho <[email protected]>

* test for flyout

Signed-off-by: Derek Ho <[email protected]>

* flyout to medium size

Signed-off-by: Derek Ho <[email protected]>

* make accelerate extensible

Signed-off-by: Derek Ho <[email protected]>

* get datasources and hook up to pplservice

Signed-off-by: Derek Ho <[email protected]>

* get flint working

Signed-off-by: Derek Ho <[email protected]>

* add datasource page with steps and buttons on bottom bar

Signed-off-by: Derek Ho <[email protected]>

* datasources as a new plugin and mostly working

Signed-off-by: Derek Ho <[email protected]>

* hook up manage to show datasources call

Signed-off-by: Derek Ho <[email protected]>

* update two tables with descriptions

Signed-off-by: Derek Ho <[email protected]>

* make some updates to the page

Signed-off-by: Derek Ho <[email protected]>

* cleanup unused files for data connections

Signed-off-by: Derek Ho <[email protected]>

* cleanup and add overview panel columns

Signed-off-by: Derek Ho <[email protected]>

* render tabs

Signed-off-by: Derek Ho <[email protected]>

* add unit tests

Signed-off-by: Derek Ho <[email protected]>

* update data test subj and snapshot

Signed-off-by: Derek Ho <[email protected]>

* Add datasources to management overview

Signed-off-by: Derek Ho <[email protected]>

* remove spark logo and update snapshot

Signed-off-by: Derek Ho <[email protected]>

* refactor routes out

Signed-off-by: Derek Ho <[email protected]>

* separate out the roles

Signed-off-by: Derek Ho <[email protected]>

* bump version back to 3.0

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>

* Add acceleration management UI  (opensearch-project#989)

* add acceleration management UI skeleton

Signed-off-by: Shenoy Pratik <[email protected]>

* Create new documentation link for acc

Signed-off-by: Shenoy Pratik <[email protected]>

* fix typos and minor bugs

Signed-off-by: Shenoy Pratik <[email protected]>

* update snapshot

Signed-off-by: Shenoy Pratik <[email protected]>

* update window location to hash

Signed-off-by: Shenoy Pratik <[email protected]>

* remove unused headers

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Shenoy Pratik <[email protected]>

* dummy data redirection for datasource selector and language selector

Signed-off-by: Eric <[email protected]>

* flint datasource registration

Signed-off-by: Eric <[email protected]>

* tempararily passing down setup deps for datasource

Signed-off-by: Eric <[email protected]>

* add node server endpoints for direct query and job status

Signed-off-by: Eric <[email protected]>

* add server side endpoints for direct query

Signed-off-by: Eric <[email protected]>

* add s3 datasource class

Signed-off-by: Eric <[email protected]>

* s3 datasource registeration

Signed-off-by: Eric <[email protected]>

* changes to use new endpoints

Signed-off-by: Eric <[email protected]>

* remove unused files

Signed-off-by: Eric Wei <[email protected]>

* missing snapshots

Signed-off-by: Eric Wei <[email protected]>

* initial direct query support in explorer

Signed-off-by: Eric <[email protected]>

* add datasource pluggable

Signed-off-by: Eric <[email protected]>

* remove unused files

Signed-off-by: Eric Wei <[email protected]>

* missing snapshots

Signed-off-by: Eric Wei <[email protected]>

* remove unused dependency as well as passing down pluggable

Signed-off-by: Eric <[email protected]>

* changes for adopting new endpoints

Signed-off-by: Eric <[email protected]>

* add initial commits for context swithing

Signed-off-by: Eric <[email protected]>

* add query running page

Signed-off-by: Eric <[email protected]>

* relayout as an effort of match look and feel

Signed-off-by: Eric <[email protected]>

* add changes for index pattern to work with context switch

Signed-off-by: Eric <[email protected]>

* remove search section from explorer home

Signed-off-by: Eric <[email protected]>

* visualization page for direct query

Signed-off-by: Eric <[email protected]>

* add direct query visualization page

Signed-off-by: Eric <[email protected]>

* merge main

Signed-off-by: Eric <[email protected]>

* add discover redirection

Signed-off-by: Eric <[email protected]>

* merge main and resolve conflicts

Signed-off-by: Eric <[email protected]>

* s3 datasource and layout changes

Signed-off-by: Eric <[email protected]>

* use newly changed handler name

Signed-off-by: Eric <[email protected]>

* fixes for sidebar and datasource

Signed-off-by: Eric <[email protected]>

* add fix for redirection issue

Signed-off-by: Eric <[email protected]>

* console/comments cleanup

Signed-off-by: Eric <[email protected]>

* remove outdated polling tests

Signed-off-by: Eric <[email protected]>

* delete few outdated tests to resolve testing issues and skipped search tests for now

Signed-off-by: Eric <[email protected]>

* adopt empty prompt

Signed-off-by: Eric <[email protected]>

* remove unused oui/eui component

Signed-off-by: Eric <[email protected]>

* adopt new endpoint cchanges

Signed-off-by: Eric <[email protected]>

* fix data grid issue

Signed-off-by: Eric <[email protected]>

* disable autosuggest for sql

Signed-off-by: Eric <[email protected]>

* remove manual link for SQL

Signed-off-by: Eric <[email protected]>

* query cancelling

Signed-off-by: Eric <[email protected]>

---------

Signed-off-by: Eric Wei <[email protected]>
Signed-off-by: Eric <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
Co-authored-by: Derek Ho <[email protected]>
Co-authored-by: Shenoy Pratik <[email protected]>
(cherry picked from commit e21dcf2)

* remove datasource routers

Signed-off-by: Joshua Li <[email protected]>

---------

Signed-off-by: Joshua Li <[email protected]>
Co-authored-by: Eric Wei <[email protected]>
(cherry picked from commit cefd57f)
amsiglan pushed a commit to amsiglan/dashboards-observability that referenced this pull request Jun 7, 2024
* Update mocha (opensearch-project#960)
* added code for the change of design of the sidebar, fixed overriding … (opensearch-project#928)
* Refactor add_integration_flyout to break out nested methods (opensearch-project#956)
* [Log Explorer] Remove top level tabs (opensearch-project#970)
* Explorer's timeheader & color change (opensearch-project#959)
* Update caching (opensearch-project#965)
* Move query_utils to /public (opensearch-project#983)
* Remove Zeppelin Parser from Notebook (opensearch-project#985)
* Explorer empty bucket (opensearch-project#990)
* refactored classnames for sidebar (opensearch-project#933)
* Refactor Integrations Backend to abstract IO (opensearch-project#947)
* Create React component for Integrations Setup UI (opensearch-project#1009)
* Create Data sources plugin with Manage Datasources Flow  (opensearch-project#1035)
* Manage datasources (opensearch-project#967)
* Add acceleration management UI  (opensearch-project#989)
* Rename data sources to data connections (opensearch-project#1004)
* Add fallback to show if user does not have datasource API permissions (opensearch-project#1008)
* Add access control tab content (opensearch-project#992)
* Delete datasource and Connection Configuration Tab (opensearch-project#1024)
* adjust explorer chart color and spacing (opensearch-project#1051)
* Configure S3 datasource flow (opensearch-project#1049)
* Manage datasources (opensearch-project#967)
* Add acceleration management UI  (opensearch-project#989)
* Rename data sources to data connections (opensearch-project#1004)
* Add fallback to show if user does not have datasource API permissions (opensearch-project#1008)
* Add access control tab content (opensearch-project#992)
* Delete datasource and Connection Configuration Tab (opensearch-project#1024)
* modified explorer data grid to follow discover look and feel (opensearch-project#1041)
* Create prometheus datasource flow (opensearch-project#1054)
* Manage datasources (opensearch-project#967)
* Add acceleration management UI  (opensearch-project#989)
* Rename data sources to data connections (opensearch-project#1004)
* Add fallback to show if user does not have datasource API permissions (opensearch-project#1008)
* Add access control tab content (opensearch-project#992)
* Delete datasource and Connection Configuration Tab (opensearch-project#1024)
* added design changes for sidebar (opensearch-project#1061)
* updated snapshots (opensearch-project#1062)
* Update UI for integrations setup (opensearch-project#1052)
* Data sources UI improvements (opensearch-project#1059)
* adding redirection to datasources (opensearch-project#1063)
* Move convertDateTime, refactor query_utils (opensearch-project#1064)
* Setup S3 connection with integrations (opensearch-project#1057)
* Use approved svg from UX (opensearch-project#1066)
* Fix missing import 'moment' on query_utils. (opensearch-project#1067)

---------

Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: sumukhswamy <[email protected]>
Signed-off-by: Eric Wei <[email protected]>
Signed-off-by: Paul Sebastian <[email protected]>
Signed-off-by: Peter Fitzgibbons <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Co-authored-by: sumukhswamy <[email protected]>
Co-authored-by: Eric Wei <[email protected]>
Co-authored-by: Paul Sebastian <[email protected]>
Co-authored-by: Peter Fitzgibbons <[email protected]>
Co-authored-by: Paul Sebastian <[email protected]>
Co-authored-by: Shenoy Pratik <[email protected]>
Co-authored-by: Simeon Widdis <[email protected]>
(cherry picked from commit 171acde)
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.

2 participants