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

Backport/backport 1080 to 2.x #1082

Conversation

RamakrishnaChilaka
Copy link
Collaborator

Description

backport of PR 1080

Issues Resolved

backport of #1080 (comment)

Check List

  • [✅] 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.

AWSHurneyt and others added 30 commits August 5, 2022 08:53
* Bumping 2.x branch from version 2.1 to 2.2. Bumped terser version to 4.8.1 to address CVE.

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

* Drafted `2.2` release notes.

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

* Drafted `2.2` release notes.

Signed-off-by: AWSHurneyt <[email protected]>
…t#221)

Signed-off-by: AWSHurneyt <[email protected]>
(cherry picked from commit 4821889)

Co-authored-by: AWSHurneyt <[email protected]>
… test workflows. (opensearch-project#229)

* Enabled unit and cypress test workflows on all branches. Adjusted OSD version used by unit and cypress test workflows to align with OSD branching strategy.

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

* Adjusted path for a dependency used by unit tests to align with migration from EUI to OUI.

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

Signed-off-by: AWSHurneyt <[email protected]>
…t#230) (opensearch-project#233)

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

Signed-off-by: AWSHurneyt <[email protected]>
(cherry picked from commit 20374a4)

Co-authored-by: AWSHurneyt <[email protected]>
)

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

Signed-off-by: prudhvigodithi <[email protected]>
Signed-off-by: AWSHurneyt <[email protected]>

Signed-off-by: prudhvigodithi <[email protected]>
Signed-off-by: AWSHurneyt <[email protected]>
Co-authored-by: Prudhvi Godithi <[email protected]>
…ect#254)

* Added release notes for 2.3

Signed-off-by: Chris Hesterman <[email protected]>

* Remove commit 221, move 229 to Maintenance, add 250 to Documentation

Signed-off-by: Chris Hesterman <[email protected]>

* Move 230 to Maintenance, 229 back to Bug fixes

Signed-off-by: Chris Hesterman <[email protected]>

* Move 229 back to Maintenance

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>
(cherry picked from commit 248a2fe)
Signed-off-by: Angie Zhang <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>
Signed-off-by: Angie Zhang <[email protected]>
Co-authored-by: phestecAMZN <[email protected]>
…-project#259)

* Version increament 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Update OSD version in cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Add 2.3 release notes, added 's' to 'Enhancement' header

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>
…ore functionality (opensearch-project#279)

* Version increament 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Update OSD version in cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Snapshot Restore, basic restore functionality with basic options. Initial PR (opensearch-project#276)

* Change alignment of Snapshot Management panels in pages/Main/Main.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Unify vertical button alignment across panels, ContentPanel.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots, add ROUTE_STYLE variable

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder restore button to Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Comment out line 20 rollups_spec.js in cypress/integration/

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused code and comment cypress/integration/rollups_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Starting adaptation/use of existing code for Restore functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Adapt Snapshots.tsx to include RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add restoreSnapshot method to SMservice,RestoreSnapshotResponse int

Signed-off-by: Chris Hesterman <[email protected]>

* Implement RestoreSnapshotFlyout open/close

Signed-off-by: Chris Hesterman <[email protected]>

* Make Snapshot name appear on RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add/adapt restoreSnapshot to server/SnapshotManagementService

Signed-off-by: Chris Hesterman <[email protected]>

* Add route for restoreSnapshot in server/routes.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Rudimentary restore from snapshot functionality reached, buggy

Signed-off-by: Chris Hesterman <[email protected]>

* Fix index list-snapshot restore, restrict restore to single selection

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, commented out code

Signed-off-by: Chris Hesterman <[email protected]>

* Create Advanced options accordion for Snapshot restore.

Signed-off-by: Chris Hesterman <[email protected]>

Currently only visually functional. TODO - make it apply the options

Signed-off-by: Chris Hesterman <[email protected]>

* Add initial restore/rename options to ui. Only visual functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve radio button events not firing

Signed-off-by: Chris Hesterman <[email protected]>

Split radio buttons into SnapshotRestoreOption and SnapshotRenameOptions

Signed-off-by: Chris Hesterman <[email protected]>

Move 'restore' button between 'delete' and 'take snapshot'

Signed-off-by: Chris Hesterman <[email protected]>

Set default rename option to 'add prefix'

Signed-off-by: Chris Hesterman <[email protected]>

* Add AddPrefixInput, remove unused component RestoreSnapshotInitialOptions

Signed-off-by: Chris Hesterman <[email protected]>

* Fix issues with restore specific indices

Signed-off-by: Chris Hesterman <[email protected]>

Implement first 4 Advanced restore options functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing for snapshots

Signed-off-by: Chris Hesterman <[email protected]>

Passing tests for create repo and create snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing Snapshots. Create repo and Create snapshot done

Signed-off-by: Chris Hesterman <[email protected]>

* Implement add_prefix functionality for snapshot restore

Signed-off-by: Chris Hesterman <[email protected]>

* Implement rename indices option for restore snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, unusted variables in SnapshotFlyout, SMservice

Signed-off-by: Chris Hesterman <[email protected]>

* Add full stop to help text/errors, add RESTORE_OPTIONS enum

Signed-off-by: Chris Hesterman <[email protected]>

* Add back line 20 in rollups_spec, required by changes in 2.3 release.

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused getRepos func, add repo prop, trim state in RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add increment to 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.3 to 2.3.0, cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Comment out line 20 rollups_spec.js causing error in PR E2E

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.2 to 2.3 unit-tests-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Uncomment line 19, rollups_spec.js to attempt E2E success on github

Signed-off-by: Chris Hesterman <[email protected]>

* Fix url, change "Sample" to "sample" rollups_spec lines 17, 21

Signed-off-by: Chris Hesterman <[email protected]>

* Change "sample data" to "Add data" rollops_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

All of these variations pass seamlessly when run locally.

Signed-off-by: Chris Hesterman <[email protected]>

* Add 10s wait line19, rollups_spec to help find button next step

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>
(cherry picked from commit f7db4af)

* Change 2.3 to 2.3.0, cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>
* Bump 2.x to 2.4

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>
* Updated rollup help text. (opensearch-project#220)

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

* Bumping main to 2.2, address dependabot alert, enable test workflows on all PRs, fix snapshot tests. (opensearch-project#227)

* Bumping 2.x branch from version 2.1 to 2.2. (opensearch-project#218)

* Bumping 2.x branch from version 2.1 to 2.2. Bumped terser version to 4.8.1 to address CVE.

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

* Drafted `2.2` release notes.

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

* Drafted `2.2` release notes.

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

* Amended 2.2 release notes. (opensearch-project#222)

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

* Adjusted version of OSD used by unit and cypress tests to align with OSD branching strategy. Enabled unit and cypress test workflows on all branches.

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

* Updated link that was broken when ODFE was deprecated.

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

* Adjusted path for dependency used by unit tests to align with migration from EUI to OUI.

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

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

* Bumped moment version to resolve dependabot alert. (opensearch-project#230)

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

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

* Change alignment of Snapshot Management panels in pages/Main/Main.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Unify vertical button alignment across panels, ContentPanel.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots, add ROUTE_STYLE variable

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder restore button to Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Version increment 2.2.1 (opensearch-project#235) (opensearch-project#239) (opensearch-project#240)

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

Signed-off-by: prudhvigodithi <[email protected]>
Signed-off-by: AWSHurneyt <[email protected]>

Signed-off-by: prudhvigodithi <[email protected]>
Signed-off-by: AWSHurneyt <[email protected]>
Co-authored-by: Prudhvi Godithi <[email protected]>
(cherry picked from commit 2f96369)

Co-authored-by: AWSHurneyt <[email protected]>

* Comment out line 20 rollups_spec.js in cypress/integration/

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused code and comment cypress/integration/rollups_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Change alignment of Snapshot Management panels in pages/Main/Main.tsx (opensearch-project#236)

* Change alignment of Snapshot Management panels in pages/Main/Main.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Unify vertical button alignment across panels, ContentPanel.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots, add ROUTE_STYLE variable

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder restore button to Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Comment out line 20 rollups_spec.js in cypress/integration/

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused code and comment cypress/integration/rollups_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>

* Removed the extra forward slash leading to a non-existing documentation (opensearch-project#231)

page for snapshot management

Signed-off-by: Victor Nilsson <[email protected]>

Signed-off-by: Victor Nilsson <[email protected]>

* Starting adaptation/use of existing code for Restore functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Adapt Snapshots.tsx to include RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add restoreSnapshot method to SMservice,RestoreSnapshotResponse int

Signed-off-by: Chris Hesterman <[email protected]>

* Implement RestoreSnapshotFlyout open/close

Signed-off-by: Chris Hesterman <[email protected]>

* Make Snapshot name appear on RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add/adapt restoreSnapshot to server/SnapshotManagementService

Signed-off-by: Chris Hesterman <[email protected]>

* Add route for restoreSnapshot in server/routes.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Rudimentary restore from snapshot functionality reached, buggy

Signed-off-by: Chris Hesterman <[email protected]>

* Fix index list-snapshot restore, restrict restore to single selection

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, commented out code

Signed-off-by: Chris Hesterman <[email protected]>

* Create Advanced options accordion for Snapshot restore.

Signed-off-by: Chris Hesterman <[email protected]>

Currently only visually functional. TODO - make it apply the options

Signed-off-by: Chris Hesterman <[email protected]>

* Add initial restore/rename options to ui. Only visual functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve radio button events not firing

Signed-off-by: Chris Hesterman <[email protected]>

Split radio buttons into SnapshotRestoreOption and SnapshotRenameOptions

Signed-off-by: Chris Hesterman <[email protected]>

Move 'restore' button between 'delete' and 'take snapshot'

Signed-off-by: Chris Hesterman <[email protected]>

Set default rename option to 'add prefix'

Signed-off-by: Chris Hesterman <[email protected]>

* Add AddPrefixInput, remove unused component RestoreSnapshotInitialOptions

Signed-off-by: Chris Hesterman <[email protected]>

* Fix issues with restore specific indices

Signed-off-by: Chris Hesterman <[email protected]>

Implement first 4 Advanced restore options functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing for snapshots

Signed-off-by: Chris Hesterman <[email protected]>

Passing tests for create repo and create snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing Snapshots. Create repo and Create snapshot done

Signed-off-by: Chris Hesterman <[email protected]>

* Implement add_prefix functionality for snapshot restore

Signed-off-by: Chris Hesterman <[email protected]>

* Implement rename indices option for restore snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, unusted variables in SnapshotFlyout, SMservice

Signed-off-by: Chris Hesterman <[email protected]>

* Add full stop to help text/errors, add RESTORE_OPTIONS enum

Signed-off-by: Chris Hesterman <[email protected]>

* Version increament 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Update OSD version in cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Added release notes for 2.3 (opensearch-project#250)

* Added release notes for 2.3

Signed-off-by: Chris Hesterman <[email protected]>

* Remove commit 221, move 229 to Maintenance, add 250 to Documentation

Signed-off-by: Chris Hesterman <[email protected]>

* Move 230 to Maintenance, 229 back to Bug fixes

Signed-off-by: Chris Hesterman <[email protected]>

* Move 229 back to Maintenance

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>

* Add back line 20 in rollups_spec, required by changes in 2.3 release.

Signed-off-by: Chris Hesterman <[email protected]>

* Add release notes 2.3, add 's' to 'Enhancement' header -> 'Enhancements' (opensearch-project#257)

* Added release notes for 2.3

Signed-off-by: Chris Hesterman <[email protected]>

* Remove commit 221, move 229 to Maintenance, add 250 to Documentation

Signed-off-by: Chris Hesterman <[email protected]>

* Move 230 to Maintenance, 229 back to Bug fixes

Signed-off-by: Chris Hesterman <[email protected]>

* Move 229 back to Maintenance

Signed-off-by: Chris Hesterman <[email protected]>

* Add 's' to 'Enhancement' header.

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused getRepos func, add repo prop, trim state in RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add increment to 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Add rel to link for external links, IM dashboards plugin (opensearch-project#261)

* Change alignment of Snapshot Management panels in pages/Main/Main.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Unify vertical button alignment across panels, ContentPanel.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots, add ROUTE_STYLE variable

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder restore button to Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Comment out line 20 rollups_spec.js in cypress/integration/

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused code and comment cypress/integration/rollups_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Set window.opener to null via anchor tag 'rel' attribute-TransformIndices

Signed-off-by: Chris Hesterman <[email protected]>

* Add rel="noopener noreferrer" to external links, update snapshots

Signed-off-by: Chris Hesterman <[email protected]>

* Include version increment to 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Remove 2.3 version bump

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>

* Version bump 2.3.0 to 2.3 1

Signed-off-by: Chris Hesterman <[email protected]>

* Add version bump 2.3.1 for OS in cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Backport main 2.3.0 fix sign off (opensearch-project#272)

* Added release notes for 2.3 (opensearch-project#250)

* Added release notes for 2.3

Signed-off-by: Chris Hesterman <[email protected]>

* Remove commit 221, move 229 to Maintenance, add 250 to Documentation

Signed-off-by: Chris Hesterman <[email protected]>

* Move 230 to Maintenance, 229 back to Bug fixes

Signed-off-by: Chris Hesterman <[email protected]>

* Move 229 back to Maintenance

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>

* Add release notes 2.3, add 's' to 'Enhancement' header -> 'Enhancements' (opensearch-project#257)

* Added release notes for 2.3

Signed-off-by: Chris Hesterman <[email protected]>

* Remove commit 221, move 229 to Maintenance, add 250 to Documentation

Signed-off-by: Chris Hesterman <[email protected]>

* Move 230 to Maintenance, 229 back to Bug fixes

Signed-off-by: Chris Hesterman <[email protected]>

* Move 229 back to Maintenance

Signed-off-by: Chris Hesterman <[email protected]>

* Add 's' to 'Enhancement' header.

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>

* Version increment 2.3.0 (opensearch-project#247)

Signed-off-by: Chris Hesterman <[email protected]>

(cherry picked from commit 2824645)

Signed-off-by: Chris Hesterman <[email protected]>

* Add rel to link for external links, IM dashboards plugin (opensearch-project#261)

* Change alignment of Snapshot Management panels in pages/Main/Main.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Unify vertical button alignment across panels, ContentPanel.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots, add ROUTE_STYLE variable

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder restore button to Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Comment out line 20 rollups_spec.js in cypress/integration/

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused code and comment cypress/integration/rollups_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Set window.opener to null via anchor tag 'rel' attribute-TransformIndices

Signed-off-by: Chris Hesterman <[email protected]>

* Add rel="noopener noreferrer" to external links, update snapshots

Signed-off-by: Chris Hesterman <[email protected]>

* Include version increment to 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Remove 2.3 version bump

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>

* Update cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Update beforeEach hook, rollups_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>

* Remove 2.3.1 bump

Signed-off-by: Chris Hesterman <[email protected]>

* Snapshot Restore, basic restore functionality with basic options. Initial PR (opensearch-project#276)

* Change alignment of Snapshot Management panels in pages/Main/Main.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Unify vertical button alignment across panels, ContentPanel.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots, add ROUTE_STYLE variable

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder restore button to Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Comment out line 20 rollups_spec.js in cypress/integration/

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused code and comment cypress/integration/rollups_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Starting adaptation/use of existing code for Restore functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Adapt Snapshots.tsx to include RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add restoreSnapshot method to SMservice,RestoreSnapshotResponse int

Signed-off-by: Chris Hesterman <[email protected]>

* Implement RestoreSnapshotFlyout open/close

Signed-off-by: Chris Hesterman <[email protected]>

* Make Snapshot name appear on RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add/adapt restoreSnapshot to server/SnapshotManagementService

Signed-off-by: Chris Hesterman <[email protected]>

* Add route for restoreSnapshot in server/routes.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Rudimentary restore from snapshot functionality reached, buggy

Signed-off-by: Chris Hesterman <[email protected]>

* Fix index list-snapshot restore, restrict restore to single selection

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, commented out code

Signed-off-by: Chris Hesterman <[email protected]>

* Create Advanced options accordion for Snapshot restore.

Signed-off-by: Chris Hesterman <[email protected]>

Currently only visually functional. TODO - make it apply the options

Signed-off-by: Chris Hesterman <[email protected]>

* Add initial restore/rename options to ui. Only visual functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve radio button events not firing

Signed-off-by: Chris Hesterman <[email protected]>

Split radio buttons into SnapshotRestoreOption and SnapshotRenameOptions

Signed-off-by: Chris Hesterman <[email protected]>

Move 'restore' button between 'delete' and 'take snapshot'

Signed-off-by: Chris Hesterman <[email protected]>

Set default rename option to 'add prefix'

Signed-off-by: Chris Hesterman <[email protected]>

* Add AddPrefixInput, remove unused component RestoreSnapshotInitialOptions

Signed-off-by: Chris Hesterman <[email protected]>

* Fix issues with restore specific indices

Signed-off-by: Chris Hesterman <[email protected]>

Implement first 4 Advanced restore options functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing for snapshots

Signed-off-by: Chris Hesterman <[email protected]>

Passing tests for create repo and create snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing Snapshots. Create repo and Create snapshot done

Signed-off-by: Chris Hesterman <[email protected]>

* Implement add_prefix functionality for snapshot restore

Signed-off-by: Chris Hesterman <[email protected]>

* Implement rename indices option for restore snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, unusted variables in SnapshotFlyout, SMservice

Signed-off-by: Chris Hesterman <[email protected]>

* Add full stop to help text/errors, add RESTORE_OPTIONS enum

Signed-off-by: Chris Hesterman <[email protected]>

* Add back line 20 in rollups_spec, required by changes in 2.3 release.

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused getRepos func, add repo prop, trim state in RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add increment to 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.3 to 2.3.0, cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Comment out line 20 rollups_spec.js causing error in PR E2E

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.2 to 2.3 unit-tests-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Uncomment line 19, rollups_spec.js to attempt E2E success on github

Signed-off-by: Chris Hesterman <[email protected]>

* Fix url, change "Sample" to "sample" rollups_spec lines 17, 21

Signed-off-by: Chris Hesterman <[email protected]>

* Change "sample data" to "Add data" rollops_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

All of these variations pass seamlessly when run locally.

Signed-off-by: Chris Hesterman <[email protected]>

* Add 10s wait line19, rollups_spec to help find button next step

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>

* Version increment 2.4 (opensearch-project#283)

* Change alignment of Snapshot Management panels in pages/Main/Main.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Unify vertical button alignment across panels, ContentPanel.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots, add ROUTE_STYLE variable

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder restore button to Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Comment out line 20 rollups_spec.js in cypress/integration/

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused code and comment cypress/integration/rollups_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Starting adaptation/use of existing code for Restore functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Adapt Snapshots.tsx to include RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add restoreSnapshot method to SMservice,RestoreSnapshotResponse int

Signed-off-by: Chris Hesterman <[email protected]>

* Implement RestoreSnapshotFlyout open/close

Signed-off-by: Chris Hesterman <[email protected]>

* Make Snapshot name appear on RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add/adapt restoreSnapshot to server/SnapshotManagementService

Signed-off-by: Chris Hesterman <[email protected]>

* Add route for restoreSnapshot in server/routes.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Rudimentary restore from snapshot functionality reached, buggy

Signed-off-by: Chris Hesterman <[email protected]>

* Fix index list-snapshot restore, restrict restore to single selection

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, commented out code

Signed-off-by: Chris Hesterman <[email protected]>

* Create Advanced options accordion for Snapshot restore.

Signed-off-by: Chris Hesterman <[email protected]>

Currently only visually functional. TODO - make it apply the options

Signed-off-by: Chris Hesterman <[email protected]>

* Add initial restore/rename options to ui. Only visual functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve radio button events not firing

Signed-off-by: Chris Hesterman <[email protected]>

Split radio buttons into SnapshotRestoreOption and SnapshotRenameOptions

Signed-off-by: Chris Hesterman <[email protected]>

Move 'restore' button between 'delete' and 'take snapshot'

Signed-off-by: Chris Hesterman <[email protected]>

Set default rename option to 'add prefix'

Signed-off-by: Chris Hesterman <[email protected]>

* Add AddPrefixInput, remove unused component RestoreSnapshotInitialOptions

Signed-off-by: Chris Hesterman <[email protected]>

* Fix issues with restore specific indices

Signed-off-by: Chris Hesterman <[email protected]>

Implement first 4 Advanced restore options functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing for snapshots

Signed-off-by: Chris Hesterman <[email protected]>

Passing tests for create repo and create snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing Snapshots. Create repo and Create snapshot done

Signed-off-by: Chris Hesterman <[email protected]>

* Implement add_prefix functionality for snapshot restore

Signed-off-by: Chris Hesterman <[email protected]>

* Implement rename indices option for restore snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, unusted variables in SnapshotFlyout, SMservice

Signed-off-by: Chris Hesterman <[email protected]>

* Add full stop to help text/errors, add RESTORE_OPTIONS enum

Signed-off-by: Chris Hesterman <[email protected]>

* Add back line 20 in rollups_spec, required by changes in 2.3 release.

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused getRepos func, add repo prop, trim state in RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add increment to 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Version bump 2.3.0 to 2.3 1

Signed-off-by: Chris Hesterman <[email protected]>

* Add version bump 2.3.1 for OS in cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Remove 2.3.1 bump

Signed-off-by: Chris Hesterman <[email protected]>

* Version increment 2.4

Signed-off-by: Chris Hesterman <[email protected]>

* Remove commented code, rollups_spec

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.4 back to 2.3, unit-tests-workflow

Signed-off-by: Chris Hesterman <[email protected]>

* Change Opensearch Dashboards version to 2.x in 3 files

Signed-off-by: Chris Hesterman <[email protected]>

* Change OSD version from 2.x to 2.4 in response to PR error

Signed-off-by: Chris Hesterman <[email protected]>

* Update dashboards version 2.x -> 2.4, cypress, unit test workflows.

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.4 -> 2.x, cypress and unit test workflows.

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.4 to 2.4.0 opensearch_dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Add/update tests, update help text links and icons, add Restore activities panel (opensearch-project#277)

* Change alignment of Snapshot Management panels in pages/Main/Main.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Unify vertical button alignment across panels, ContentPanel.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots, add ROUTE_STYLE variable

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder restore button to Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Comment out line 20 rollups_spec.js in cypress/integration/

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused code and comment cypress/integration/rollups_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Starting adaptation/use of existing code for Restore functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Adapt Snapshots.tsx to include RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add restoreSnapshot method to SMservice,RestoreSnapshotResponse int

Signed-off-by: Chris Hesterman <[email protected]>

* Implement RestoreSnapshotFlyout open/close

Signed-off-by: Chris Hesterman <[email protected]>

* Make Snapshot name appear on RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add/adapt restoreSnapshot to server/SnapshotManagementService

Signed-off-by: Chris Hesterman <[email protected]>

* Add route for restoreSnapshot in server/routes.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Rudimentary restore from snapshot functionality reached, buggy

Signed-off-by: Chris Hesterman <[email protected]>

* Fix index list-snapshot restore, restrict restore to single selection

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, commented out code

Signed-off-by: Chris Hesterman <[email protected]>

* Create Advanced options accordion for Snapshot restore.

Signed-off-by: Chris Hesterman <[email protected]>

Currently only visually functional. TODO - make it apply the options

Signed-off-by: Chris Hesterman <[email protected]>

* Add initial restore/rename options to ui. Only visual functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve radio button events not firing

Signed-off-by: Chris Hesterman <[email protected]>

Split radio buttons into SnapshotRestoreOption and SnapshotRenameOptions

Signed-off-by: Chris Hesterman <[email protected]>

Move 'restore' button between 'delete' and 'take snapshot'

Signed-off-by: Chris Hesterman <[email protected]>

Set default rename option to 'add prefix'

Signed-off-by: Chris Hesterman <[email protected]>

* Add AddPrefixInput, remove unused component RestoreSnapshotInitialOptions

Signed-off-by: Chris Hesterman <[email protected]>

* Fix issues with restore specific indices

Signed-off-by: Chris Hesterman <[email protected]>

Implement first 4 Advanced restore options functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing for snapshots

Signed-off-by: Chris Hesterman <[email protected]>

Passing tests for create repo and create snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing Snapshots. Create repo and Create snapshot done

Signed-off-by: Chris Hesterman <[email protected]>

* Implement add_prefix functionality for snapshot restore

Signed-off-by: Chris Hesterman <[email protected]>

* Implement rename indices option for restore snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, unusted variables in SnapshotFlyout, SMservice

Signed-off-by: Chris Hesterman <[email protected]>

* Add full stop to help text/errors, add RESTORE_OPTIONS enum

Signed-off-by: Chris Hesterman <[email protected]>

* Progress on custom index settings, ignore index settings

Signed-off-by: Chris Hesterman <[email protected]>

* Implement custom index settings functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Successfully implement/debug custom index settings/ignore index settings.

Signed-off-by: Chris Hesterman <[email protected]>

* Add back line 20 in rollups_spec, required by changes in 2.3 release.

Signed-off-by: Chris Hesterman <[email protected]>

* Fix bug when both custom settings and ignore settings chosen

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused getRepos func, add repo prop, trim state in RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add increment to 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Remove index settings from options if none entered, RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add rel="noopener noreferrer" to links in IndexList, add CatSnapshotIndex interface

Signed-off-by: Chris Hesterman <[email protected]>

* Current progress, cypress testing

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit testing for AddPrefixInput, RenameInput components

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit tests for SnapshotRenameOptions component

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit tests for SnapshotRestoreOption component

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit tests for SnapshotIndicesInput component

Signed-off-by: Chris Hesterman <[email protected]>

* Change anchor tags to EuiLinks, IndexSettings

Signed-off-by: Chris Hesterman <[email protected]>

* Add rel attribute to EuiLink, IndexSettingsInput

Signed-off-by: Chris Hesterman <[email protected]>

* Version bump 2.3.0 to 2.3 1

Signed-off-by: Chris Hesterman <[email protected]>

* Add version bump 2.3.1 for OS in cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Remove 2.3.1 bump

Signed-off-by: Chris Hesterman <[email protected]>

* Small mods to rollups_spec and snapshots_spec

Signed-off-by: Chris Hesterman <[email protected]>

* Change snapshots_spec in effort to pass E2E. Passes locally

Signed-off-by: Chris Hesterman <[email protected]>

* Fix spelling of 'index' line67, snapshots_spec

Signed-off-by: Chris Hesterman <[email protected]>

* Version bump 2.4

Signed-off-by: Chris Hesterman <[email protected]>

* Make sure 2.4 applied, add TODO in rollups_spec

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.4 back to 2.x again cypress, unit_test workflows

Signed-off-by: Chris Hesterman <[email protected]>

Remove one more 'wait' from snapshots_spec

Signed-off-by: Chris Hesterman <[email protected]>

* Add "cy.wait" back line 56 snapshots_spec

Signed-off-by: Chris Hesterman <[email protected]>

* Add '0' to OSD version,  opensearch_dashboards.json.

Signed-off-by: Chris Hesterman <[email protected]>

Remove redundant 'cleanup()' from AddPrefixInput.jest.js

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: AWSHurneyt <[email protected]>
Signed-off-by: Chris Hesterman <[email protected]>
Signed-off-by: Victor Nilsson <[email protected]>
Co-authored-by: AWSHurneyt <[email protected]>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: Victor Nilsson <[email protected]>
…earch-project#294) (opensearch-project#296)

* Bumping 2.x branch from version 2.1 to 2.2. (opensearch-project#218)

* Bumping 2.x branch from version 2.1 to 2.2. Bumped terser version to 4.8.1 to address CVE.

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

* Drafted `2.2` release notes.

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

* Drafted `2.2` release notes.

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

* Updated rollup help text. (opensearch-project#220) (opensearch-project#221)

Signed-off-by: AWSHurneyt <[email protected]>
(cherry picked from commit 4821889)

Co-authored-by: AWSHurneyt <[email protected]>

* Amended 2.2 release notes. (opensearch-project#222)

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

* Refactored dependency used by test mock. Adjusted OSD version used by test workflows. (opensearch-project#229)

* Enabled unit and cypress test workflows on all branches. Adjusted OSD version used by unit and cypress test workflows to align with OSD branching strategy.

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

* Adjusted path for a dependency used by unit tests to align with migration from EUI to OUI.

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

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

* Bumped moment version to resolve dependabot alert. (opensearch-project#230) (opensearch-project#233)

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

Signed-off-by: AWSHurneyt <[email protected]>
(cherry picked from commit 20374a4)

Co-authored-by: AWSHurneyt <[email protected]>

* Change alignment of Snapshot Management panels in pages/Main/Main.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Unify vertical button alignment across panels, ContentPanel.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots, add ROUTE_STYLE variable

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder restore button to Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Version increment 2.2.1 (opensearch-project#235) (opensearch-project#239)

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

Signed-off-by: prudhvigodithi <[email protected]>
Signed-off-by: AWSHurneyt <[email protected]>

Signed-off-by: prudhvigodithi <[email protected]>
Signed-off-by: AWSHurneyt <[email protected]>
Co-authored-by: Prudhvi Godithi <[email protected]>

* Comment out line 20 rollups_spec.js in cypress/integration/

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused code and comment cypress/integration/rollups_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Starting adaptation/use of existing code for Restore functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Adapt Snapshots.tsx to include RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add restoreSnapshot method to SMservice,RestoreSnapshotResponse int

Signed-off-by: Chris Hesterman <[email protected]>

* Implement RestoreSnapshotFlyout open/close

Signed-off-by: Chris Hesterman <[email protected]>

* Make Snapshot name appear on RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add/adapt restoreSnapshot to server/SnapshotManagementService

Signed-off-by: Chris Hesterman <[email protected]>

* Add route for restoreSnapshot in server/routes.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Rudimentary restore from snapshot functionality reached, buggy

Signed-off-by: Chris Hesterman <[email protected]>

* Fix index list-snapshot restore, restrict restore to single selection

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, commented out code

Signed-off-by: Chris Hesterman <[email protected]>

* Create Advanced options accordion for Snapshot restore.

Signed-off-by: Chris Hesterman <[email protected]>

Currently only visually functional. TODO - make it apply the options

Signed-off-by: Chris Hesterman <[email protected]>

* Add initial restore/rename options to ui. Only visual functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve radio button events not firing

Signed-off-by: Chris Hesterman <[email protected]>

Split radio buttons into SnapshotRestoreOption and SnapshotRenameOptions

Signed-off-by: Chris Hesterman <[email protected]>

Move 'restore' button between 'delete' and 'take snapshot'

Signed-off-by: Chris Hesterman <[email protected]>

Set default rename option to 'add prefix'

Signed-off-by: Chris Hesterman <[email protected]>

* Add AddPrefixInput, remove unused component RestoreSnapshotInitialOptions

Signed-off-by: Chris Hesterman <[email protected]>

* Fix issues with restore specific indices

Signed-off-by: Chris Hesterman <[email protected]>

Implement first 4 Advanced restore options functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing for snapshots

Signed-off-by: Chris Hesterman <[email protected]>

Passing tests for create repo and create snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing Snapshots. Create repo and Create snapshot done

Signed-off-by: Chris Hesterman <[email protected]>

* Implement add_prefix functionality for snapshot restore

Signed-off-by: Chris Hesterman <[email protected]>

* Implement rename indices option for restore snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, unusted variables in SnapshotFlyout, SMservice

Signed-off-by: Chris Hesterman <[email protected]>

* Add full stop to help text/errors, add RESTORE_OPTIONS enum

Signed-off-by: Chris Hesterman <[email protected]>

* Removed the extra forward slash leading to a non-existing documentation (opensearch-project#231) (opensearch-project#244)

* Change alignment of Snapshot Management panels in pages/Main/Main.tsx (opensearch-project#236) (opensearch-project#241)

* Version increment 2.3.0 (opensearch-project#247)

* Add RestoreActivitiesPanel component folder, files (starter)

Signed-off-by: Chris Hesterman <[email protected]>

* Implement tabs on Snapshots page: Snapshots, Restore activities...

Signed-off-by: Chris Hesterman <[email protected]>

Implement skeleton Restore activities panel, panel switching in Snapshots

Signed-off-by: Chris Hesterman <[email protected]>

* Progress on catIndexRecovery, TODO - debug

Signed-off-by: Chris Hesterman <[email protected]>

* Fix syntax bug - server/services/SnapshotManagementService.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Resolved some errors, getting a response but not correct response.

Signed-off-by: Chris Hesterman <[email protected]>

* Add back line 20 in rollups_spec, required by changes in 2.3 release.

Signed-off-by: Chris Hesterman <[email protected]>

* Implement code to use Index Recovery api. successful.

Signed-off-by: Chris Hesterman <[email protected]>

* Current progress extracting data and displaying in Restore activities

Signed-off-by: Chris Hesterman <[email protected]>

* Implement Restore Activities with self updating until restore done

Signed-off-by: Chris Hesterman <[email protected]>

* Add clickable indexes link and hello world click handler

Signed-off-by: Chris Hesterman <[email protected]>

* Add toast if no snapshot selected upon restore activities click

Signed-off-by: Chris Hesterman <[email protected]>

Add empty flyout where restoring indices will be listed

Signed-off-by: Chris Hesterman <[email protected]>

* Change danger toast to warning when no snapshot selected

Signed-off-by: Chris Hesterman <[email protected]>

* Add refresh button to restore activities page, remove auto refreshing

Signed-off-by: Chris Hesterman <[email protected]>

* Added release notes for 2.3 (opensearch-project#250) (opensearch-project#254)

* Added release notes for 2.3

Signed-off-by: Chris Hesterman <[email protected]>

* Remove commit 221, move 229 to Maintenance, add 250 to Documentation

Signed-off-by: Chris Hesterman <[email protected]>

* Move 230 to Maintenance, 229 back to Bug fixes

Signed-off-by: Chris Hesterman <[email protected]>

* Move 229 back to Maintenance

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>
(cherry picked from commit 248a2fe)
Signed-off-by: Angie Zhang <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>
Signed-off-by: Angie Zhang <[email protected]>
Co-authored-by: phestecAMZN <[email protected]>

* Remove unused getRepos func, add repo prop, trim state in RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add increment to 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Changes to RestoreActivitesPanel to prep for listing indice

Signed-off-by: Chris Hesterman <[email protected]>

* Snapshots testing in progress

Signed-off-by: Chris Hesterman <[email protected]>

* Current progress, cypress testing

Signed-off-by: Chris Hesterman <[email protected]>

* 2.x _2.3 release notes, added 's' to 'Enhancement' header (opensearch-project#259)

* Version increament 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Update OSD version in cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Add 2.3 release notes, added 's' to 'Enhancement' header

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit testing for AddPrefixInput, RenameInput components

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit tests for SnapshotRenameOptions component

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit tests for SnapshotRestoreOption component

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit tests for SnapshotIndicesInput component

Signed-off-by: Chris Hesterman <[email protected]>

* Change 'Indices' to 'Index' if only 1 index.

Signed-off-by: Chris Hesterman <[email protected]>

* Auto populate prefix field initially with "restored_"

Signed-off-by: Chris Hesterman <[email protected]>

* Change Restore button to color="primary" (blue)

Signed-off-by: Chris Hesterman <[email protected]>

* Version bump 2.3.0 to 2.3 1

Signed-off-by: Chris Hesterman <[email protected]>

* Add version bump 2.3.1 for OS in cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Remove 2.3.1 bump

Signed-off-by: Chris Hesterman <[email protected]>

* Small mods to rollups_spec and snapshots_spec

Signed-off-by: Chris Hesterman <[email protected]>

* Backport  opensearch-project#276 to 2.x, Snapshot restore - basic restore functionality (opensearch-project#279)

* Version increament 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Update OSD version in cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Snapshot Restore, basic restore functionality with basic options. Initial PR (opensearch-project#276)

* Change alignment of Snapshot Management panels in pages/Main/Main.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Unify vertical button alignment across panels, ContentPanel.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots, add ROUTE_STYLE variable

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder restore button to Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Comment out line 20 rollups_spec.js in cypress/integration/

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused code and comment cypress/integration/rollups_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Starting adaptation/use of existing code for Restore functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Adapt Snapshots.tsx to include RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add restoreSnapshot method to SMservice,RestoreSnapshotResponse int

Signed-off-by: Chris Hesterman <[email protected]>

* Implement RestoreSnapshotFlyout open/close

Signed-off-by: Chris Hesterman <[email protected]>

* Make Snapshot name appear on RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add/adapt restoreSnapshot to server/SnapshotManagementService

Signed-off-by: Chris Hesterman <[email protected]>

* Add route for restoreSnapshot in server/routes.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Rudimentary restore from snapshot functionality reached, buggy

Signed-off-by: Chris Hesterman <[email protected]>

* Fix index list-snapshot restore, restrict restore to single selection

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, commented out code

Signed-off-by: Chris Hesterman <[email protected]>

* Create Advanced options accordion for Snapshot restore.

Signed-off-by: Chris Hesterman <[email protected]>

Currently only visually functional. TODO - make it apply the options

Signed-off-by: Chris Hesterman <[email protected]>

* Add initial restore/rename options to ui. Only visual functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve radio button events not firing

Signed-off-by: Chris Hesterman <[email protected]>

Split radio buttons into SnapshotRestoreOption and SnapshotRenameOptions

Signed-off-by: Chris Hesterman <[email protected]>

Move 'restore' button between 'delete' and 'take snapshot'

Signed-off-by: Chris Hesterman <[email protected]>

Set default rename option to 'add prefix'

Signed-off-by: Chris Hesterman <[email protected]>

* Add AddPrefixInput, remove unused component RestoreSnapshotInitialOptions

Signed-off-by: Chris Hesterman <[email protected]>

* Fix issues with restore specific indices

Signed-off-by: Chris Hesterman <[email protected]>

Implement first 4 Advanced restore options functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing for snapshots

Signed-off-by: Chris Hesterman <[email protected]>

Passing tests for create repo and create snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing Snapshots. Create repo and Create snapshot done

Signed-off-by: Chris Hesterman <[email protected]>

* Implement add_prefix functionality for snapshot restore

Signed-off-by: Chris Hesterman <[email protected]>

* Implement rename indices option for restore snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, unusted variables in SnapshotFlyout, SMservice

Signed-off-by: Chris Hesterman <[email protected]>

* Add full stop to help text/errors, add RESTORE_OPTIONS enum

Signed-off-by: Chris Hesterman <[email protected]>

* Add back line 20 in rollups_spec, required by changes in 2.3 release.

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused getRepos func, add repo prop, trim state in RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add increment to 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.3 to 2.3.0, cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Comment out line 20 rollups_spec.js causing error in PR E2E

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.2 to 2.3 unit-tests-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Uncomment line 19, rollups_spec.js to attempt E2E success on github

Signed-off-by: Chris Hesterman <[email protected]>

* Fix url, change "Sample" to "sample" rollups_spec lines 17, 21

Signed-off-by: Chris Hesterman <[email protected]>

* Change "sample data" to "Add data" rollops_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

All of these variations pass seamlessly when run locally.

Signed-off-by: Chris Hesterman <[email protected]>

* Add 10s wait line19, rollups_spec to help find button next step

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>
(cherry picked from commit f7db4af)

* Change 2.3 to 2.3.0, cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.3 to 2.3.0 in cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Select indices individually to fix test, line62, snapshots_spec

Signed-off-by: Chris Hesterman <[email protected]>

* Remove vertical space, snapshots_spec

Signed-off-by: Chris Hesterman <[email protected]>

* Backport - 2.x => 2.4 (opensearch-project#286)

* Bump 2.x to 2.4

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.4 to 2.4.0 opensearch_dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Update 2.4, TODO rollups_spec, remove 'wait' when possible snapshots_spec

Signed-off-by: Chris Hesterman <[email protected]>

* Small changes to AddPrefixInput.test, opensearch_dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Changes in response to comments

Signed-off-by: Chris Hesterman <[email protected]>

* Add comment to assist reader, RestoreActivitiesPanel

Signed-off-by: Chris Hesterman <[email protected]>

* Replace '!' with '?', line 31 RestoreActivitiesPanel

Signed-off-by: Chris Hesterman <[email protected]>

* Add typing to RestoreActivitiesPanel FC

Signed-off-by: Chris Hesterman <[email protected]>

* Memoize actions, RestoreActivitiesPanel

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: AWSHurneyt <[email protected]>
Signed-off-by: Chris Hesterman <[email protected]>
Signed-off-by: prudhvigodithi <[email protected]>
Signed-off-by: Angie Zhang <[email protected]>
Co-authored-by: AWSHurneyt <[email protected]>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: Prudhvi Godithi <[email protected]>
Co-authored-by: Angie Zhang <[email protected]>
(cherry picked from commit 233e52c)

Co-authored-by: phestecAMZN <[email protected]>
…-project#297) (opensearch-project#318)

* Change alignment of Snapshot Management panels in pages/Main/Main.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Unify vertical button alignment across panels, ContentPanel.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots, add ROUTE_STYLE variable

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder restore button to Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Comment out line 20 rollups_spec.js in cypress/integration/

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused code and comment cypress/integration/rollups_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Starting adaptation/use of existing code for Restore functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Adapt Snapshots.tsx to include RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add restoreSnapshot method to SMservice,RestoreSnapshotResponse int

Signed-off-by: Chris Hesterman <[email protected]>

* Implement RestoreSnapshotFlyout open/close

Signed-off-by: Chris Hesterman <[email protected]>

* Make Snapshot name appear on RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add/adapt restoreSnapshot to server/SnapshotManagementService

Signed-off-by: Chris Hesterman <[email protected]>

* Add route for restoreSnapshot in server/routes.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Rudimentary restore from snapshot functionality reached, buggy

Signed-off-by: Chris Hesterman <[email protected]>

* Fix index list-snapshot restore, restrict restore to single selection

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, commented out code

Signed-off-by: Chris Hesterman <[email protected]>

* Create Advanced options accordion for Snapshot restore.

Signed-off-by: Chris Hesterman <[email protected]>

Currently only visually functional. TODO - make it apply the options

Signed-off-by: Chris Hesterman <[email protected]>

* Add initial restore/rename options to ui. Only visual functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve radio button events not firing

Signed-off-by: Chris Hesterman <[email protected]>

Split radio buttons into SnapshotRestoreOption and SnapshotRenameOptions

Signed-off-by: Chris Hesterman <[email protected]>

Move 'restore' button between 'delete' and 'take snapshot'

Signed-off-by: Chris Hesterman <[email protected]>

Set default rename option to 'add prefix'

Signed-off-by: Chris Hesterman <[email protected]>

* Add AddPrefixInput, remove unused component RestoreSnapshotInitialOptions

Signed-off-by: Chris Hesterman <[email protected]>

* Fix issues with restore specific indices

Signed-off-by: Chris Hesterman <[email protected]>

Implement first 4 Advanced restore options functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing for snapshots

Signed-off-by: Chris Hesterman <[email protected]>

Passing tests for create repo and create snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing Snapshots. Create repo and Create snapshot done

Signed-off-by: Chris Hesterman <[email protected]>

* Implement add_prefix functionality for snapshot restore

Signed-off-by: Chris Hesterman <[email protected]>

* Implement rename indices option for restore snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, unusted variables in SnapshotFlyout, SMservice

Signed-off-by: Chris Hesterman <[email protected]>

* Add full stop to help text/errors, add RESTORE_OPTIONS enum

Signed-off-by: Chris Hesterman <[email protected]>

* Progress on IndexList component, using cat.index.

Signed-off-by: Chris Hesterman <[email protected]>

* IndexList with pagination fully functional, todo: styling

Signed-off-by: Chris Hesterman <[email protected]>

* Add RestoreActivitiesPanel component folder, files (starter)

Signed-off-by: Chris Hesterman <[email protected]>

* Complete IndexList with pagination, sorting.

Signed-off-by: Chris Hesterman <[email protected]>

* Add maxWidth to RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]

* Implement tabs on Snapshots page: Snapshots, Restore activities...

Signed-off-by: Chris Hesterman <[email protected]>

Implement skeleton Restore activities panel, panel switching in Snapshots

Signed-off-by: Chris Hesterman <[email protected]>

* Progress on catIndexRecovery, TODO - debug

Signed-off-by: Chris Hesterman <[email protected]>

* Fix syntax bug - server/services/SnapshotManagementService.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Resolved some errors, getting a response but not correct response.

Signed-off-by: Chris Hesterman <[email protected]>

* Add back line 20 in rollups_spec, required by changes in 2.3 release.

Signed-off-by: Chris Hesterman <[email protected]>

* Implement code to use Index Recovery api. successful.

Signed-off-by: Chris Hesterman <[email protected]>

* Current progress extracting data and displaying in Restore activities

Signed-off-by: Chris Hesterman <[email protected]>

* Implement Restore Activities with self updating until restore done

Signed-off-by: Chris Hesterman <[email protected]>

* Add clickable indexes link and hello world click handler

Signed-off-by: Chris Hesterman <[email protected]>

* Add toast if no snapshot selected upon restore activities click

Signed-off-by: Chris Hesterman <[email protected]>

Add empty flyout where restoring indices will be listed

Signed-off-by: Chris Hesterman <[email protected]>

* Change danger toast to warning when no snapshot selected

Signed-off-by: Chris Hesterman <[email protected]>

* Add refresh button to restore activities page, remove auto refreshing

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused getRepos func, add repo prop, trim state in RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add increment to 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Create CatSnapshotIndex in server/models/interfaces, apply in IndexList

Signed-off-by: Chris Hesterman <[email protected]>

* Changes to RestoreActivitesPanel to prep for listing indice

Signed-off-by: Chris Hesterman <[email protected]>

* Re do merge commit - forgot to save file.

Signed-off-by: Chris Hesterman <[email protected]>

* Snapshots testing in progress

Signed-off-by: Chris Hesterman <[email protected]>

* Change 'Indices' to 'Index' if only 1 index.

Signed-off-by: Chris Hesterman <[email protected]>

* Auto populate prefix field initially with "restored_"

Signed-off-by: Chris Hesterman <[email protected]>

* Change Restore button to color="primary" (blue)

Signed-off-by: Chris Hesterman <[email protected]>

* Make flyout close on restore, direct user to activities tab

Signed-off-by: Chris Hesterman <[email protected]>

* Title case flyout 'status', use EuiHealth for status color dot

Signed-off-by: Chris Hesterman <[email protected]>

* Add auto status check until 'DONE', RestoreActivities

Signed-off-by: Chris Hesterman <[email protected]>

* Add auto status update until 'SUCCESS', Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Change tab implementation to be consistent with other plugins

Signed-off-by: Chris Hesterman <[email protected]>

* Minor text and styling fixes, Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Fix styling to match main Snapshot page, RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Update text to match mocks in Snapshots, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Change to title case for status in Restore activities panel

Signed-off-by: Chris Hesterman <[email protected]>

* Fix behavior of IndexList, include size when active, else unknown

Signed-off-by: Chris Hesterman <[email protected]>

* Functioning start/stop times in RestoreActivities

Signed-off-by: Chris Hesterman <[email protected]>

Accurate listing of indices being restored from snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Restore start/stop working. Auto updating working.

Signed-off-by: Chris Hesterman <[email protected]>

* Version bump 2.3.0 to 2.3 1

Signed-off-by: Chris Hesterman <[email protected]>

* Add version bump 2.3.1 for OS in cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Remove 2.3.1 bump

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.3 to 2.3.0 cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Select indices individually to fix test, line62 snapshots_spec

Signed-off-by: Chris Hesterman <[email protected]>

* Change "Sample" to "sample", rollups_spec line20

Signed-off-by: Chris Hesterman <[email protected]>

* Add 5s wait line 19 rollups_spec to wait for page load

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.4 to 2.4.0 opensearch_dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve 1 leftover merge conflict, snapshots_spec

Signed-off-by: Chris Hesterman <[email protected]>

* Fix one test which is newer than code at this point.

Signed-off-by: Chris Hesterman <[email protected]>

* Update AddPrefixInput.test for pre populated text field

Signed-off-by: Chris Hesterman <[email protected]>

* Remove comment from AddPrefixInput.test

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unneeded new lines, AddPrefixInput.test

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unneeded cy.wait(), snapshots_spec

Signed-off-by: Chris Hesterman <[email protected]>

* Add React.FC to RestoreActivitiesPanel

Signed-off-by: Chris Hesterman <[email protected]>

* Remove commented code Snapshots.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console log from Snapshots

Signed-off-by: Chris Hesterman <[email protected]>

* Change let to const - RestoreSnapshotFlyout/getSnapshotIndices

Signed-off-by: Chris Hesterman <[email protected]>

* Simplify conditional rendering, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>
Signed-off-by: Chris Hesterman <[email protected]
(cherry picked from commit fa09afb)

Co-authored-by: phestecAMZN <[email protected]>
…search-project#326)

* Change alignment of Snapshot Management panels in pages/Main/Main.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Unify vertical button alignment across panels, ContentPanel.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots, add ROUTE_STYLE variable

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder restore button to Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Comment out line 20 rollups_spec.js in cypress/integration/

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused code and comment cypress/integration/rollups_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Starting adaptation/use of existing code for Restore functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Adapt Snapshots.tsx to include RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add restoreSnapshot method to SMservice,RestoreSnapshotResponse int

Signed-off-by: Chris Hesterman <[email protected]>

* Implement RestoreSnapshotFlyout open/close

Signed-off-by: Chris Hesterman <[email protected]>

* Make Snapshot name appear on RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add/adapt restoreSnapshot to server/SnapshotManagementService

Signed-off-by: Chris Hesterman <[email protected]>

* Add route for restoreSnapshot in server/routes.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Rudimentary restore from snapshot functionality reached, buggy

Signed-off-by: Chris Hesterman <[email protected]>

* Fix index list-snapshot restore, restrict restore to single selection

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, commented out code

Signed-off-by: Chris Hesterman <[email protected]>

* Create Advanced options accordion for Snapshot restore.

Signed-off-by: Chris Hesterman <[email protected]>

Currently only visually functional. TODO - make it apply the options

Signed-off-by: Chris Hesterman <[email protected]>

* Add initial restore/rename options to ui. Only visual functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve radio button events not firing

Signed-off-by: Chris Hesterman <[email protected]>

Split radio buttons into SnapshotRestoreOption and SnapshotRenameOptions

Signed-off-by: Chris Hesterman <[email protected]>

Move 'restore' button between 'delete' and 'take snapshot'

Signed-off-by: Chris Hesterman <[email protected]>

Set default rename option to 'add prefix'

Signed-off-by: Chris Hesterman <[email protected]>

* Add AddPrefixInput, remove unused component RestoreSnapshotInitialOptions

Signed-off-by: Chris Hesterman <[email protected]>

* Fix issues with restore specific indices

Signed-off-by: Chris Hesterman <[email protected]>

Implement first 4 Advanced restore options functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing for snapshots

Signed-off-by: Chris Hesterman <[email protected]>

Passing tests for create repo and create snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing Snapshots. Create repo and Create snapshot done

Signed-off-by: Chris Hesterman <[email protected]>

* Implement add_prefix functionality for snapshot restore

Signed-off-by: Chris Hesterman <[email protected]>

* Implement rename indices option for restore snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, unusted variables in SnapshotFlyout, SMservice

Signed-off-by: Chris Hesterman <[email protected]>

* Add full stop to help text/errors, add RESTORE_OPTIONS enum

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder examples to rename options, add line breaks to help text

Signed-off-by: Chris Hesterman <[email protected]>

* Progress on custom index settings, ignore index settings

Signed-off-by: Chris Hesterman <[email protected]>

* Implement custom index settings functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Successfully implement/debug custom index settings/ignore index settings.

Signed-off-by: Chris Hesterman <[email protected]>

* Progress on IndexList component, using cat.index.

Signed-off-by: Chris Hesterman <[email protected]>

* IndexList with pagination fully functional, todo: styling

Signed-off-by: Chris Hesterman <[email protected]>

* Add RestoreActivitiesPanel component folder, files (starter)

Signed-off-by: Chris Hesterman <[email protected]>

* Complete IndexList with pagination, sorting.

Signed-off-by: Chris Hesterman <[email protected]>

* Add maxWidth to RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]

* Implement tabs on Snapshots page: Snapshots, Restore activities...

Signed-off-by: Chris Hesterman <[email protected]>

Implement skeleton Restore activities panel, panel switching in Snapshots

Signed-off-by: Chris Hesterman <[email protected]>

* Progress on catIndexRecovery, TODO - debug

Signed-off-by: Chris Hesterman <[email protected]>

* Fix syntax bug - server/services/SnapshotManagementService.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Resolved some errors, getting a response but not correct response.

Signed-off-by: Chris Hesterman <[email protected]>

* Add back line 20 in rollups_spec, required by changes in 2.3 release.

Signed-off-by: Chris Hesterman <[email protected]>

* Implement code to use Index Recovery api. successful.

Signed-off-by: Chris Hesterman <[email protected]>

* Current progress extracting data and displaying in Restore activities

Signed-off-by: Chris Hesterman <[email protected]>

* Implement Restore Activities with self updating until restore done

Signed-off-by: Chris Hesterman <[email protected]>

* Add clickable indexes link and hello world click handler

Signed-off-by: Chris Hesterman <[email protected]>

* Add toast if no snapshot selected upon restore activities click

Signed-off-by: Chris Hesterman <[email protected]>

Add empty flyout where restoring indices will be listed

Signed-off-by: Chris Hesterman <[email protected]>

* Change danger toast to warning when no snapshot selected

Signed-off-by: Chris Hesterman <[email protected]>

* Fix bug when both custom settings and ignore settings chosen

Signed-off-by: Chris Hesterman <[email protected]>

* Add refresh button to restore activities page, remove auto refreshing

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused getRepos func, add repo prop, trim state in RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add increment to 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Remove index settings from options if none entered, RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add rel="noopener noreferrer" to links in help text, use url from constants.

Signed-off-by: Chris Hesterman <[email protected]>

* Create CatSnapshotIndex in server/models/interfaces, apply in IndexList

Signed-off-by: Chris Hesterman <[email protected]>

* Add rel="noopener noreferrer" to links in IndexList, add CatSnapshotIndex interface

Signed-off-by: Chris Hesterman <[email protected]>

* Changes to RestoreActivitesPanel to prep for listing indice

Signed-off-by: Chris Hesterman <[email protected]>

* Re do merge commit - forgot to save file.

Signed-off-by: Chris Hesterman <[email protected]>

* Snapshots testing in progress

Signed-off-by: Chris Hesterman <[email protected]>

* Current progress, cypress testing

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit testing for AddPrefixInput, RenameInput components

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit tests for SnapshotRenameOptions component

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit tests for SnapshotRestoreOption component

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit tests for SnapshotIndicesInput component

Signed-off-by: Chris Hesterman <[email protected]>

* Change 'Indices' to 'Index' if only 1 index.

Signed-off-by: Chris Hesterman <[email protected]>

* Replace anchor tags with EuiLinks set to external, rename options

Signed-off-by: Chris Hesterman <[email protected]>

* Change anchor tags to EuiLinks, IndexSettings

Signed-off-by: Chris Hesterman <[email protected]>

* Add rel attribute to EuiLink, IndexSettingsInput

Signed-off-by: Chris Hesterman <[email protected]>

* Auto populate prefix field initially with "restored_"

Signed-off-by: Chris Hesterman <[email protected]>

* Change Restore button to color="primary" (blue)

Signed-off-by: Chris Hesterman <[email protected]>

* Make flyout close on restore, direct user to activities tab

Signed-off-by: Chris Hesterman <[email protected]>

* Title case flyout 'status', use EuiHealth for status color dot

Signed-off-by: Chris Hesterman <[email protected]>

* Add auto status check until 'DONE', RestoreActivities

Signed-off-by: Chris Hesterman <[email protected]>

* Add auto status update until 'SUCCESS', Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Change tab implementation to be consistent with other plugins

Signed-off-by: Chris Hesterman <[email protected]>

* Minor text and styling fixes, Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Fix styling to match main Snapshot page, RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Update text to match mocks in Snapshots, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Pre fill rename inputs, prefix input with default values from mock

Signed-off-by: Chris Hesterman <[email protected]>

* Change to title case for status in Restore activities panel

Signed-off-by: Chris Hesterman <[email protected]>

* Add warning banner if snapshot is partial, with checkbox to allow

Signed-off-by: Chris Hesterman <[email protected]>

* Fix behavior of IndexList, include size when active, else unknown

Signed-off-by: Chris Hesterman <[email protected]>

* Functioning start/stop times in RestoreActivities

Signed-off-by: Chris Hesterman <[email protected]>

Accurate listing of indices being restored from snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Restore start/stop working. Auto updating working.

Signed-off-by: Chris Hesterman <[email protected]>

* Add EuiHealth to RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Progress with restore monitoring, finally error free

Signed-off-by: Chris Hesterman <[email protected]>

* Progress on restore/delete buttons correctly disabled edge cases

Signed-off-by: Chris Hesterman <[email protected]>

* Add EuiOverlayMask when RestoreSnapshotFlyout active

Signed-off-by: Chris Hesterman <[email protected]>

* Create user friendly error toasts with button to full error

Signed-off-by: Chris Hesterman <[email protected]>

* Direct user to browser console for full error from error toasts

Signed-off-by: Chris Hesterman <[email protected]>

* Progress with restore success toast with button. Close

Signed-off-by: Chris Hesterman <[email protected]>

* Custom restore success toast with button to activities panel done

Signed-off-by: Chris Hesterman <[email protected]>

* Created custom error toast. Need to debug.

Signed-off-by: Chris Hesterman <[email protected]>

* Custom error and success toasts fully functional and error free.

Signed-off-by: Chris Hesterman <[email protected]>

* Add and debug Index Settings portion of Advanced Options. Successful.

Signed-off-by: Chris Hesterman <[email protected]>

* Remove stray console logs

Signed-off-by: Chris Hesterman <[email protected]>

* Add, update jest and cypress testing for snapshots & restore snapshots

Signed-off-by: Chris Hesterman <[email protected]>

* Save small change snapshots_spec, forgot before prev commit

Signed-off-by: Chris Hesterman <[email protected]>

* Version bump 2.3.0 to 2.3 1

Signed-off-by: Chris Hesterman <[email protected]>

* Add version bump 2.3.1 for OS in cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Remove 2.3.1 bump

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.3 to 2.3.0 cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Change OSDB version to 2.3.1, opensearch_dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.4 to 2.4.0 opensearch_dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Update for 2.4

Signed-off-by: Chris Hesterman <[email protected]>

* Update help text, Snapshots.jsx

Signed-off-by: Chris Hesterman <[email protected]>

* Remove Total size column from IndexList

Signed-off-by: Chris Hesterman <[email protected]>

* Disable restore if partial snapshot but not checked in banner

Signed-off-by: Chris Hesterman <[email protected]>

Remove total size column in indexList

Signed-off-by: Chris Hesterman <[email protected]>

* Add status code and code meaning to toasts, error modal

Signed-off-by: Chris Hesterman <[email protected]>

* Progress making Restore activities panel independent

Signed-off-by: Chris Hesterman <[email protected]>

* RestoreActivitiesPanel no longer needs selected snapshot to access

Signed-off-by: Chris Hesterman <[email protected]>

* Clean up unused code,console logs

Signed-off-by: Chris Hesterman <[email protected]>

* Modify error toasts to be more user friendly

Signed-off-by: Chris Hesterman <[email protected]>

* Handle bad regex input, handle bad JSON input, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add check and toast for no indices selected, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused interface, server/models/interfaces

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused interface, console log.

Signed-off-by: Chris Hesterman <[email protected]>

* Small style changes, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve one missed conflict from previous merge

Signed-off-by: Chris Hesterman <[email protected]>

* Update snapshots_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unneeded cy.wait, snapshots_spec

Signed-off-by: Chris Hesterman <[email protected]>

* Fix small bug with refresh button, Restore activities panel

Signed-off-by: Chris Hesterman <[email protected]>

* Remove conflicts in server/models/interfaces

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused prop"ignore", change ternary to if() in toast helper

Signed-off-by: Chris Hesterman <[email protected]>

* Change label text styling for radios and checkboxes in flyout

Signed-off-by: Chris Hesterman <[email protected]>

* Create checkBoxLabel component in helper.jsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots for unit tests.

Signed-off-by: Chris Hesterman <[email protected]>

* Remove default close button from Restore activities/indiceslist

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>
Signed-off-by: Chris Hesterman <[email protected]
(cherry picked from commit 58b88b5)

Co-authored-by: Chris Hesterman <[email protected]>
…#327)

Signed-off-by: bowenlan-amzn <[email protected]>

Signed-off-by: bowenlan-amzn <[email protected]>
(cherry picked from commit 05873ba)

Co-authored-by: bowenlan-amzn <[email protected]>
…ect#333) (opensearch-project#337)

* Change alignment of Snapshot Management panels in pages/Main/Main.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Unify vertical button alignment across panels, ContentPanel.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots, add ROUTE_STYLE variable

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder restore button to Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Comment out line 20 rollups_spec.js in cypress/integration/

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused code and comment cypress/integration/rollups_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Starting adaptation/use of existing code for Restore functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Adapt Snapshots.tsx to include RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add restoreSnapshot method to SMservice,RestoreSnapshotResponse int

Signed-off-by: Chris Hesterman <[email protected]>

* Implement RestoreSnapshotFlyout open/close

Signed-off-by: Chris Hesterman <[email protected]>

* Make Snapshot name appear on RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add/adapt restoreSnapshot to server/SnapshotManagementService

Signed-off-by: Chris Hesterman <[email protected]>

* Add route for restoreSnapshot in server/routes.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Rudimentary restore from snapshot functionality reached, buggy

Signed-off-by: Chris Hesterman <[email protected]>

* Fix index list-snapshot restore, restrict restore to single selection

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, commented out code

Signed-off-by: Chris Hesterman <[email protected]>

* Create Advanced options accordion for Snapshot restore.

Signed-off-by: Chris Hesterman <[email protected]>

Currently only visually functional. TODO - make it apply the options

Signed-off-by: Chris Hesterman <[email protected]>

* Add initial restore/rename options to ui. Only visual functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve radio button events not firing

Signed-off-by: Chris Hesterman <[email protected]>

Split radio buttons into SnapshotRestoreOption and SnapshotRenameOptions

Signed-off-by: Chris Hesterman <[email protected]>

Move 'restore' button between 'delete' and 'take snapshot'

Signed-off-by: Chris Hesterman <[email protected]>

Set default rename option to 'add prefix'

Signed-off-by: Chris Hesterman <[email protected]>

* Add AddPrefixInput, remove unused component RestoreSnapshotInitialOptions

Signed-off-by: Chris Hesterman <[email protected]>

* Fix issues with restore specific indices

Signed-off-by: Chris Hesterman <[email protected]>

Implement first 4 Advanced restore options functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing for snapshots

Signed-off-by: Chris Hesterman <[email protected]>

Passing tests for create repo and create snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing Snapshots. Create repo and Create snapshot done

Signed-off-by: Chris Hesterman <[email protected]>

* Implement add_prefix functionality for snapshot restore

Signed-off-by: Chris Hesterman <[email protected]>

* Implement rename indices option for restore snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, unusted variables in SnapshotFlyout, SMservice

Signed-off-by: Chris Hesterman <[email protected]>

* Add full stop to help text/errors, add RESTORE_OPTIONS enum

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder examples to rename options, add line breaks to help text

Signed-off-by: Chris Hesterman <[email protected]>

* Progress on custom index settings, ignore index settings

Signed-off-by: Chris Hesterman <[email protected]>

* Implement custom index settings functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Successfully implement/debug custom index settings/ignore index settings.

Signed-off-by: Chris Hesterman <[email protected]>

* Progress on IndexList component, using cat.index.

Signed-off-by: Chris Hesterman <[email protected]>

* IndexList with pagination fully functional, todo: styling

Signed-off-by: Chris Hesterman <[email protected]>

* Add RestoreActivitiesPanel component folder, files (starter)

Signed-off-by: Chris Hesterman <[email protected]>

* Complete IndexList with pagination, sorting.

Signed-off-by: Chris Hesterman <[email protected]>

* Add maxWidth to RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]

* Implement tabs on Snapshots page: Snapshots, Restore activities...

Signed-off-by: Chris Hesterman <[email protected]>

Implement skeleton Restore activities panel, panel switching in Snapshots

Signed-off-by: Chris Hesterman <[email protected]>

* Progress on catIndexRecovery, TODO - debug

Signed-off-by: Chris Hesterman <[email protected]>

* Fix syntax bug - server/services/SnapshotManagementService.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Resolved some errors, getting a response but not correct response.

Signed-off-by: Chris Hesterman <[email protected]>

* Add back line 20 in rollups_spec, required by changes in 2.3 release.

Signed-off-by: Chris Hesterman <[email protected]>

* Implement code to use Index Recovery api. successful.

Signed-off-by: Chris Hesterman <[email protected]>

* Current progress extracting data and displaying in Restore activities

Signed-off-by: Chris Hesterman <[email protected]>

* Implement Restore Activities with self updating until restore done

Signed-off-by: Chris Hesterman <[email protected]>

* Add clickable indexes link and hello world click handler

Signed-off-by: Chris Hesterman <[email protected]>

* Add toast if no snapshot selected upon restore activities click

Signed-off-by: Chris Hesterman <[email protected]>

Add empty flyout where restoring indices will be listed

Signed-off-by: Chris Hesterman <[email protected]>

* Change danger toast to warning when no snapshot selected

Signed-off-by: Chris Hesterman <[email protected]>

* Fix bug when both custom settings and ignore settings chosen

Signed-off-by: Chris Hesterman <[email protected]>

* Add refresh button to restore activities page, remove auto refreshing

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused getRepos func, add repo prop, trim state in RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add increment to 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Remove index settings from options if none entered, RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add rel="noopener noreferrer" to links in help text, use url from constants.

Signed-off-by: Chris Hesterman <[email protected]>

* Create CatSnapshotIndex in server/models/interfaces, apply in IndexList

Signed-off-by: Chris Hesterman <[email protected]>

* Add rel="noopener noreferrer" to links in IndexList, add CatSnapshotIndex interface

Signed-off-by: Chris Hesterman <[email protected]>

* Changes to RestoreActivitesPanel to prep for listing indice

Signed-off-by: Chris Hesterman <[email protected]>

* Re do merge commit - forgot to save file.

Signed-off-by: Chris Hesterman <[email protected]>

* Snapshots testing in progress

Signed-off-by: Chris Hesterman <[email protected]>

* Current progress, cypress testing

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit testing for AddPrefixInput, RenameInput components

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit tests for SnapshotRenameOptions component

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit tests for SnapshotRestoreOption component

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit tests for SnapshotIndicesInput component

Signed-off-by: Chris Hesterman <[email protected]>

* Change 'Indices' to 'Index' if only 1 index.

Signed-off-by: Chris Hesterman <[email protected]>

* Replace anchor tags with EuiLinks set to external, rename options

Signed-off-by: Chris Hesterman <[email protected]>

* Change anchor tags to EuiLinks, IndexSettings

Signed-off-by: Chris Hesterman <[email protected]>

* Add rel attribute to EuiLink, IndexSettingsInput

Signed-off-by: Chris Hesterman <[email protected]>

* Auto populate prefix field initially with "restored_"

Signed-off-by: Chris Hesterman <[email protected]>

* Change Restore button to color="primary" (blue)

Signed-off-by: Chris Hesterman <[email protected]>

* Make flyout close on restore, direct user to activities tab

Signed-off-by: Chris Hesterman <[email protected]>

* Title case flyout 'status', use EuiHealth for status color dot

Signed-off-by: Chris Hesterman <[email protected]>

* Add auto status check until 'DONE', RestoreActivities

Signed-off-by: Chris Hesterman <[email protected]>

* Add auto status update until 'SUCCESS', Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Change tab implementation to be consistent with other plugins

Signed-off-by: Chris Hesterman <[email protected]>

* Minor text and styling fixes, Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Fix styling to match main Snapshot page, RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Update text to match mocks in Snapshots, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Pre fill rename inputs, prefix input with default values from mock

Signed-off-by: Chris Hesterman <[email protected]>

* Change to title case for status in Restore activities panel

Signed-off-by: Chris Hesterman <[email protected]>

* Add warning banner if snapshot is partial, with checkbox to allow

Signed-off-by: Chris Hesterman <[email protected]>

* Fix behavior of IndexList, include size when active, else unknown

Signed-off-by: Chris Hesterman <[email protected]>

* Functioning start/stop times in RestoreActivities

Signed-off-by: Chris Hesterman <[email protected]>

Accurate listing of indices being restored from snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Restore start/stop working. Auto updating working.

Signed-off-by: Chris Hesterman <[email protected]>

* Add EuiHealth to RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Progress with restore monitoring, finally error free

Signed-off-by: Chris Hesterman <[email protected]>

* Progress on restore/delete buttons correctly disabled edge cases

Signed-off-by: Chris Hesterman <[email protected]>

* Add EuiOverlayMask when RestoreSnapshotFlyout active

Signed-off-by: Chris Hesterman <[email protected]>

* Create user friendly error toasts with button to full error

Signed-off-by: Chris Hesterman <[email protected]>

* Direct user to browser console for full error from error toasts

Signed-off-by: Chris Hesterman <[email protected]>

* Progress with restore success toast with button. Close

Signed-off-by: Chris Hesterman <[email protected]>

* Custom restore success toast with button to activities panel done

Signed-off-by: Chris Hesterman <[email protected]>

* Created custom error toast. Need to debug.

Signed-off-by: Chris Hesterman <[email protected]>

* Custom error and success toasts fully functional and error free.

Signed-off-by: Chris Hesterman <[email protected]>

* Add and debug Index Settings portion of Advanced Options. Successful.

Signed-off-by: Chris Hesterman <[email protected]>

* Remove stray console logs

Signed-off-by: Chris Hesterman <[email protected]>

* Add, update jest and cypress testing for snapshots & restore snapshots

Signed-off-by: Chris Hesterman <[email protected]>

* Save small change snapshots_spec, forgot before prev commit

Signed-off-by: Chris Hesterman <[email protected]>

* Version bump 2.3.0 to 2.3 1

Signed-off-by: Chris Hesterman <[email protected]>

* Add version bump 2.3.1 for OS in cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Remove 2.3.1 bump

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.3 to 2.3.0 cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Change OSDB version to 2.3.1, opensearch_dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.4 to 2.4.0 opensearch_dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Update for 2.4

Signed-off-by: Chris Hesterman <[email protected]>

* Update help text, Snapshots.jsx

Signed-off-by: Chris Hesterman <[email protected]>

* Remove Total size column from IndexList

Signed-off-by: Chris Hesterman <[email protected]>

* Disable restore if partial snapshot but not checked in banner

Signed-off-by: Chris Hesterman <[email protected]>

Remove total size column in indexList

Signed-off-by: Chris Hesterman <[email protected]>

* Add status code and code meaning to toasts, error modal

Signed-off-by: Chris Hesterman <[email protected]>

* Progress making Restore activities panel independent

Signed-off-by: Chris Hesterman <[email protected]>

* RestoreActivitiesPanel no longer needs selected snapshot to access

Signed-off-by: Chris Hesterman <[email protected]>

* Clean up unused code,console logs

Signed-off-by: Chris Hesterman <[email protected]>

* Modify error toasts to be more user friendly

Signed-off-by: Chris Hesterman <[email protected]>

* Handle bad regex input, handle bad JSON input, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add check and toast for no indices selected, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused interface, server/models/interfaces

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused interface, console log.

Signed-off-by: Chris Hesterman <[email protected]>

* Small style changes, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve one missed conflict from previous merge

Signed-off-by: Chris Hesterman <[email protected]>

* Update snapshots_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unneeded cy.wait, snapshots_spec

Signed-off-by: Chris Hesterman <[email protected]>

* Fix small bug with refresh button, Restore activities panel

Signed-off-by: Chris Hesterman <[email protected]>

* Remove conflicts in server/models/interfaces

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused prop"ignore", change ternary to if() in toast helper

Signed-off-by: Chris Hesterman <[email protected]>

* Change label text styling for radios and checkboxes in flyout

Signed-off-by: Chris Hesterman <[email protected]>

* Create checkBoxLabel component in helper.jsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots for unit tests.

Signed-off-by: Chris Hesterman <[email protected]>

* Remove default close button from Restore activities/indiceslist

Signed-off-by: Chris Hesterman <[email protected]>

* Progress with regex validation, testing restore fail in progressd

Signed-off-by: Chris Hesterman <[email protected]>

* Handle error case - bad connection - RestoreActivities

Signed-off-by: Chris Hesterman <[email protected]>

* Implement status for every index being restored, add to Indexlist.

Signed-off-by: Chris Hesterman <[email protected]>

* Sort indexList alphabetically in RestoreActivities

Signed-off-by: Chris Hesterman <[email protected]>

Remove unneeded "getSnapshotIndices" method - RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Progress with form validation, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* All validations working on action click, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Refine validation ui on error, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Refine some toasts/errors

Signed-off-by: Chris Hesterman <[email protected]>

* Simplify toasts, make restore status more descriptive.

Signed-off-by: Chris Hesterman <[email protected]>

* Add interface "IndexItem", models/interfaces

Signed-off-by: Chris Hesterman <[email protected]>

* Remove missed console log, IndexList

Signed-off-by: Chris Hesterman <[email protected]>

* Update unit test snapshots

Signed-off-by: Chris Hesterman <[email protected]>

* Update snapshots_spec to account for recent changes

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>
Signed-off-by: Chris Hesterman <[email protected]
(cherry picked from commit 4d16b12)

Co-authored-by: Chris Hesterman <[email protected]>
…ensearch-project#338) (opensearch-project#341)

* Change alignment of Snapshot Management panels in pages/Main/Main.tsx
* Unify vertical button alignment across panels, ContentPanel.tsx
* Update jest snapshots, add ROUTE_STYLE variable
* Add placeholder restore button to Snapshots panel
* Comment out line 20 rollups_spec.js in cypress/integration/
* Remove unused code and comment cypress/integration/rollups_spec.js
* Starting adaptation/use of existing code for Restore functionality
* Adapt Snapshots.tsx to include RestoreSnapshotFlyout
* Add restoreSnapshot method to SMservice,RestoreSnapshotResponse int
* Implement RestoreSnapshotFlyout open/close
* Make Snapshot name appear on RestoreSnapshotFlyout
* Add/adapt restoreSnapshot to server/SnapshotManagementService

Signed-off-by: Chris Hesterman <[email protected]>
Co-authored-by: Chris Hesterman <[email protected]>
…ensearch-project#344)

* Change alignment of Snapshot Management panels in pages/Main/Main.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Unify vertical button alignment across panels, ContentPanel.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots, add ROUTE_STYLE variable

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder restore button to Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Comment out line 20 rollups_spec.js in cypress/integration/

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused code and comment cypress/integration/rollups_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Starting adaptation/use of existing code for Restore functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Adapt Snapshots.tsx to include RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add restoreSnapshot method to SMservice,RestoreSnapshotResponse int

Signed-off-by: Chris Hesterman <[email protected]>

* Implement RestoreSnapshotFlyout open/close

Signed-off-by: Chris Hesterman <[email protected]>

* Make Snapshot name appear on RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add/adapt restoreSnapshot to server/SnapshotManagementService

Signed-off-by: Chris Hesterman <[email protected]>

* Add route for restoreSnapshot in server/routes.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Rudimentary restore from snapshot functionality reached, buggy

Signed-off-by: Chris Hesterman <[email protected]>

* Fix index list-snapshot restore, restrict restore to single selection

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, commented out code

Signed-off-by: Chris Hesterman <[email protected]>

* Create Advanced options accordion for Snapshot restore.

Signed-off-by: Chris Hesterman <[email protected]>

Currently only visually functional. TODO - make it apply the options

Signed-off-by: Chris Hesterman <[email protected]>

* Add initial restore/rename options to ui. Only visual functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve radio button events not firing

Signed-off-by: Chris Hesterman <[email protected]>

Split radio buttons into SnapshotRestoreOption and SnapshotRenameOptions

Signed-off-by: Chris Hesterman <[email protected]>

Move 'restore' button between 'delete' and 'take snapshot'

Signed-off-by: Chris Hesterman <[email protected]>

Set default rename option to 'add prefix'

Signed-off-by: Chris Hesterman <[email protected]>

* Add AddPrefixInput, remove unused component RestoreSnapshotInitialOptions

Signed-off-by: Chris Hesterman <[email protected]>

* Fix issues with restore specific indices

Signed-off-by: Chris Hesterman <[email protected]>

Implement first 4 Advanced restore options functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing for snapshots

Signed-off-by: Chris Hesterman <[email protected]>

Passing tests for create repo and create snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing Snapshots. Create repo and Create snapshot done

Signed-off-by: Chris Hesterman <[email protected]>

* Implement add_prefix functionality for snapshot restore

Signed-off-by: Chris Hesterman <[email protected]>

* Implement rename indices option for restore snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, unusted variables in SnapshotFlyout, SMservice

Signed-off-by: Chris Hesterman <[email protected]>

* Add full stop to help text/errors, add RESTORE_OPTIONS enum

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder examples to rename options, add line breaks to help text

Signed-off-by: Chris Hesterman <[email protected]>

* Progress on custom index settings, ignore index settings

Signed-off-by: Chris Hesterman <[email protected]>

* Implement custom index settings functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Successfully implement/debug custom index settings/ignore index settings.

Signed-off-by: Chris Hesterman <[email protected]>

* Progress on IndexList component, using cat.index.

Signed-off-by: Chris Hesterman <[email protected]>

* IndexList with pagination fully functional, todo: styling

Signed-off-by: Chris Hesterman <[email protected]>

* Add RestoreActivitiesPanel component folder, files (starter)

Signed-off-by: Chris Hesterman <[email protected]>

* Complete IndexList with pagination, sorting.

Signed-off-by: Chris Hesterman <[email protected]>

* Add maxWidth to RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]

* Implement tabs on Snapshots page: Snapshots, Restore activities...

Signed-off-by: Chris Hesterman <[email protected]>

Implement skeleton Restore activities panel, panel switching in Snapshots

Signed-off-by: Chris Hesterman <[email protected]>

* Progress on catIndexRecovery, TODO - debug

Signed-off-by: Chris Hesterman <[email protected]>

* Fix syntax bug - server/services/SnapshotManagementService.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Resolved some errors, getting a response but not correct response.

Signed-off-by: Chris Hesterman <[email protected]>

* Add back line 20 in rollups_spec, required by changes in 2.3 release.

Signed-off-by: Chris Hesterman <[email protected]>

* Implement code to use Index Recovery api. successful.

Signed-off-by: Chris Hesterman <[email protected]>

* Current progress extracting data and displaying in Restore activities

Signed-off-by: Chris Hesterman <[email protected]>

* Implement Restore Activities with self updating until restore done

Signed-off-by: Chris Hesterman <[email protected]>

* Add clickable indexes link and hello world click handler

Signed-off-by: Chris Hesterman <[email protected]>

* Add toast if no snapshot selected upon restore activities click

Signed-off-by: Chris Hesterman <[email protected]>

Add empty flyout where restoring indices will be listed

Signed-off-by: Chris Hesterman <[email protected]>

* Change danger toast to warning when no snapshot selected

Signed-off-by: Chris Hesterman <[email protected]>

* Fix bug when both custom settings and ignore settings chosen

Signed-off-by: Chris Hesterman <[email protected]>

* Add refresh button to restore activities page, remove auto refreshing

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused getRepos func, add repo prop, trim state in RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add increment to 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Remove index settings from options if none entered, RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add rel="noopener noreferrer" to links in help text, use url from constants.

Signed-off-by: Chris Hesterman <[email protected]>

* Create CatSnapshotIndex in server/models/interfaces, apply in IndexList

Signed-off-by: Chris Hesterman <[email protected]>

* Add rel="noopener noreferrer" to links in IndexList, add CatSnapshotIndex interface

Signed-off-by: Chris Hesterman <[email protected]>

* Changes to RestoreActivitesPanel to prep for listing indice

Signed-off-by: Chris Hesterman <[email protected]>

* Re do merge commit - forgot to save file.

Signed-off-by: Chris Hesterman <[email protected]>

* Snapshots testing in progress

Signed-off-by: Chris Hesterman <[email protected]>

* Current progress, cypress testing

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit testing for AddPrefixInput, RenameInput components

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit tests for SnapshotRenameOptions component

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit tests for SnapshotRestoreOption component

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit tests for SnapshotIndicesInput component

Signed-off-by: Chris Hesterman <[email protected]>

* Change 'Indices' to 'Index' if only 1 index.

Signed-off-by: Chris Hesterman <[email protected]>

* Replace anchor tags with EuiLinks set to external, rename options

Signed-off-by: Chris Hesterman <[email protected]>

* Change anchor tags to EuiLinks, IndexSettings

Signed-off-by: Chris Hesterman <[email protected]>

* Add rel attribute to EuiLink, IndexSettingsInput

Signed-off-by: Chris Hesterman <[email protected]>

* Auto populate prefix field initially with "restored_"

Signed-off-by: Chris Hesterman <[email protected]>

* Change Restore button to color="primary" (blue)

Signed-off-by: Chris Hesterman <[email protected]>

* Make flyout close on restore, direct user to activities tab

Signed-off-by: Chris Hesterman <[email protected]>

* Title case flyout 'status', use EuiHealth for status color dot

Signed-off-by: Chris Hesterman <[email protected]>

* Add auto status check until 'DONE', RestoreActivities

Signed-off-by: Chris Hesterman <[email protected]>

* Add auto status update until 'SUCCESS', Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Change tab implementation to be consistent with other plugins

Signed-off-by: Chris Hesterman <[email protected]>

* Minor text and styling fixes, Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Fix styling to match main Snapshot page, RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Update text to match mocks in Snapshots, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Pre fill rename inputs, prefix input with default values from mock

Signed-off-by: Chris Hesterman <[email protected]>

* Change to title case for status in Restore activities panel

Signed-off-by: Chris Hesterman <[email protected]>

* Add warning banner if snapshot is partial, with checkbox to allow

Signed-off-by: Chris Hesterman <[email protected]>

* Fix behavior of IndexList, include size when active, else unknown

Signed-off-by: Chris Hesterman <[email protected]>

* Functioning start/stop times in RestoreActivities

Signed-off-by: Chris Hesterman <[email protected]>

Accurate listing of indices being restored from snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Restore start/stop working. Auto updating working.

Signed-off-by: Chris Hesterman <[email protected]>

* Add EuiHealth to RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Progress with restore monitoring, finally error free

Signed-off-by: Chris Hesterman <[email protected]>

* Progress on restore/delete buttons correctly disabled edge cases

Signed-off-by: Chris Hesterman <[email protected]>

* Add EuiOverlayMask when RestoreSnapshotFlyout active

Signed-off-by: Chris Hesterman <[email protected]>

* Create user friendly error toasts with button to full error

Signed-off-by: Chris Hesterman <[email protected]>

* Direct user to browser console for full error from error toasts

Signed-off-by: Chris Hesterman <[email protected]>

* Progress with restore success toast with button. Close

Signed-off-by: Chris Hesterman <[email protected]>

* Custom restore success toast with button to activities panel done

Signed-off-by: Chris Hesterman <[email protected]>

* Created custom error toast. Need to debug.

Signed-off-by: Chris Hesterman <[email protected]>

* Custom error and success toasts fully functional and error free.

Signed-off-by: Chris Hesterman <[email protected]>

* Add and debug Index Settings portion of Advanced Options. Successful.

Signed-off-by: Chris Hesterman <[email protected]>

* Remove stray console logs

Signed-off-by: Chris Hesterman <[email protected]>

* Add, update jest and cypress testing for snapshots & restore snapshots

Signed-off-by: Chris Hesterman <[email protected]>

* Save small change snapshots_spec, forgot before prev commit

Signed-off-by: Chris Hesterman <[email protected]>

* Version bump 2.3.0 to 2.3 1

Signed-off-by: Chris Hesterman <[email protected]>

* Add version bump 2.3.1 for OS in cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Remove 2.3.1 bump

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.3 to 2.3.0 cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Change OSDB version to 2.3.1, opensearch_dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.4 to 2.4.0 opensearch_dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Update for 2.4

Signed-off-by: Chris Hesterman <[email protected]>

* Update help text, Snapshots.jsx

Signed-off-by: Chris Hesterman <[email protected]>

* Remove Total size column from IndexList

Signed-off-by: Chris Hesterman <[email protected]>

* Disable restore if partial snapshot but not checked in banner

Signed-off-by: Chris Hesterman <[email protected]>

Remove total size column in indexList

Signed-off-by: Chris Hesterman <[email protected]>

* Add status code and code meaning to toasts, error modal

Signed-off-by: Chris Hesterman <[email protected]>

* Progress making Restore activities panel independent

Signed-off-by: Chris Hesterman <[email protected]>

* RestoreActivitiesPanel no longer needs selected snapshot to access

Signed-off-by: Chris Hesterman <[email protected]>

* Clean up unused code,console logs

Signed-off-by: Chris Hesterman <[email protected]>

* Modify error toasts to be more user friendly

Signed-off-by: Chris Hesterman <[email protected]>

* Handle bad regex input, handle bad JSON input, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add check and toast for no indices selected, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused interface, server/models/interfaces

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused interface, console log.

Signed-off-by: Chris Hesterman <[email protected]>

* Small style changes, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve one missed conflict from previous merge

Signed-off-by: Chris Hesterman <[email protected]>

* Update snapshots_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unneeded cy.wait, snapshots_spec

Signed-off-by: Chris Hesterman <[email protected]>

* Fix small bug with refresh button, Restore activities panel

Signed-off-by: Chris Hesterman <[email protected]>

* Remove conflicts in server/models/interfaces

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused prop"ignore", change ternary to if() in toast helper

Signed-off-by: Chris Hesterman <[email protected]>

* Change label text styling for radios and checkboxes in flyout

Signed-off-by: Chris Hesterman <[email protected]>

* Create checkBoxLabel component in helper.jsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots for unit tests.

Signed-off-by: Chris Hesterman <[email protected]>

* Remove default close button from Restore activities/indiceslist

Signed-off-by: Chris Hesterman <[email protected]>

* Progress with regex validation, testing restore fail in progressd

Signed-off-by: Chris Hesterman <[email protected]>

* Handle error case - bad connection - RestoreActivities

Signed-off-by: Chris Hesterman <[email protected]>

* Implement status for every index being restored, add to Indexlist.

Signed-off-by: Chris Hesterman <[email protected]>

* Sort indexList alphabetically in RestoreActivities

Signed-off-by: Chris Hesterman <[email protected]>

Remove unneeded "getSnapshotIndices" method - RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Progress with form validation, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* All validations working on action click, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Refine validation ui on error, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Refine some toasts/errors

Signed-off-by: Chris Hesterman <[email protected]>

* Simplify toasts, make restore status more descriptive.

Signed-off-by: Chris Hesterman <[email protected]>

* Add interface "IndexItem", models/interfaces

Signed-off-by: Chris Hesterman <[email protected]>

* Remove missed console log, IndexList

Signed-off-by: Chris Hesterman <[email protected]>

* Update unit test snapshots

Signed-off-by: Chris Hesterman <[email protected]>

* Update snapshots_spec to account for recent changes

Signed-off-by: Chris Hesterman <[email protected]>

* Working out validation issue between norman/advanced options

Signed-off-by: Chris Hesterman <[email protected]>

* Incorporate minor requested changes to ui

Signed-off-by: Chris Hesterman <[email protected]>

* Fix issue with validating JSON, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

Move validation functions to helper.ts, debug typescript

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve several potential inconsistencies with validation

Signed-off-by: Chris Hesterman <[email protected]>

* Change title/messages for unrestorable snapshots toasts

Signed-off-by: Chris Hesterman <[email protected]>

* Remove old code that slipped by in update merge

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots

Signed-off-by: Chris Hesterman <[email protected]>

* Change minor but awkwardly implemented space between text/link

Signed-off-by: Chris Hesterman <[email protected]>

* Add EuiHealth to Restore activities panel, fix toast text Snapshots

Signed-off-by: Chris Hesterman <[email protected]>

* Change restore in progress color to "warning", EuiHealth, Restore activities

Signed-off-by: Chris Hesterman <[email protected]>

* Forgot to save brb

Signed-off-by: Chris Hesterman <[email protected]>

* Remove 2 console.logs, change === to ==, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Fix conditional in useEffect, RestoreActivitiesPanel

Signed-off-by: Chris Hesterman <[email protected]>

* Add release notes 2.4

Signed-off-by: Chris Hesterman <[email protected]>

* Add entry for release notes for adding release notes

Signed-off-by: Chris Hesterman <[email protected]>

* Make corrections to 2.4 release notes

Signed-off-by: Chris Hesterman <[email protected]>

* Add one PR to Maintenance, 2.4 release notes

Signed-off-by: Chris Hesterman <[email protected]>

* Bugfix that was preventing auto refresh from stopping Restore Activities Panel.

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>
Signed-off-by: Chris Hesterman <[email protected]
(cherry picked from commit cf16c2c)

Co-authored-by: Chris Hesterman <[email protected]>
* Change alignment of Snapshot Management panels in pages/Main/Main.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Unify vertical button alignment across panels, ContentPanel.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots, add ROUTE_STYLE variable

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder restore button to Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Comment out line 20 rollups_spec.js in cypress/integration/

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused code and comment cypress/integration/rollups_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Starting adaptation/use of existing code for Restore functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Adapt Snapshots.tsx to include RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add restoreSnapshot method to SMservice,RestoreSnapshotResponse int

Signed-off-by: Chris Hesterman <[email protected]>

* Implement RestoreSnapshotFlyout open/close

Signed-off-by: Chris Hesterman <[email protected]>

* Make Snapshot name appear on RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add/adapt restoreSnapshot to server/SnapshotManagementService

Signed-off-by: Chris Hesterman <[email protected]>

* Add route for restoreSnapshot in server/routes.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Rudimentary restore from snapshot functionality reached, buggy

Signed-off-by: Chris Hesterman <[email protected]>

* Fix index list-snapshot restore, restrict restore to single selection

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, commented out code

Signed-off-by: Chris Hesterman <[email protected]>

* Create Advanced options accordion for Snapshot restore.

Signed-off-by: Chris Hesterman <[email protected]>

Currently only visually functional. TODO - make it apply the options

Signed-off-by: Chris Hesterman <[email protected]>

* Add initial restore/rename options to ui. Only visual functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve radio button events not firing

Signed-off-by: Chris Hesterman <[email protected]>

Split radio buttons into SnapshotRestoreOption and SnapshotRenameOptions

Signed-off-by: Chris Hesterman <[email protected]>

Move 'restore' button between 'delete' and 'take snapshot'

Signed-off-by: Chris Hesterman <[email protected]>

Set default rename option to 'add prefix'

Signed-off-by: Chris Hesterman <[email protected]>

* Add AddPrefixInput, remove unused component RestoreSnapshotInitialOptions

Signed-off-by: Chris Hesterman <[email protected]>

* Fix issues with restore specific indices

Signed-off-by: Chris Hesterman <[email protected]>

Implement first 4 Advanced restore options functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing for snapshots

Signed-off-by: Chris Hesterman <[email protected]>

Passing tests for create repo and create snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing Snapshots. Create repo and Create snapshot done

Signed-off-by: Chris Hesterman <[email protected]>

* Implement add_prefix functionality for snapshot restore

Signed-off-by: Chris Hesterman <[email protected]>

* Implement rename indices option for restore snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, unusted variables in SnapshotFlyout, SMservice

Signed-off-by: Chris Hesterman <[email protected]>

* Add full stop to help text/errors, add RESTORE_OPTIONS enum

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder examples to rename options, add line breaks to help text

Signed-off-by: Chris Hesterman <[email protected]>

* Progress on custom index settings, ignore index settings

Signed-off-by: Chris Hesterman <[email protected]>

* Implement custom index settings functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Successfully implement/debug custom index settings/ignore index settings.

Signed-off-by: Chris Hesterman <[email protected]>

* Progress on IndexList component, using cat.index.

Signed-off-by: Chris Hesterman <[email protected]>

* IndexList with pagination fully functional, todo: styling

Signed-off-by: Chris Hesterman <[email protected]>

* Add RestoreActivitiesPanel component folder, files (starter)

Signed-off-by: Chris Hesterman <[email protected]>

* Complete IndexList with pagination, sorting.

Signed-off-by: Chris Hesterman <[email protected]>

* Add maxWidth to RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]

* Implement tabs on Snapshots page: Snapshots, Restore activities...

Signed-off-by: Chris Hesterman <[email protected]>

Implement skeleton Restore activities panel, panel switching in Snapshots

Signed-off-by: Chris Hesterman <[email protected]>

* Progress on catIndexRecovery, TODO - debug

Signed-off-by: Chris Hesterman <[email protected]>

* Fix syntax bug - server/services/SnapshotManagementService.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Resolved some errors, getting a response but not correct response.

Signed-off-by: Chris Hesterman <[email protected]>

* Add back line 20 in rollups_spec, required by changes in 2.3 release.

Signed-off-by: Chris Hesterman <[email protected]>

* Implement code to use Index Recovery api. successful.

Signed-off-by: Chris Hesterman <[email protected]>

* Current progress extracting data and displaying in Restore activities

Signed-off-by: Chris Hesterman <[email protected]>

* Implement Restore Activities with self updating until restore done

Signed-off-by: Chris Hesterman <[email protected]>

* Add clickable indexes link and hello world click handler

Signed-off-by: Chris Hesterman <[email protected]>

* Add toast if no snapshot selected upon restore activities click

Signed-off-by: Chris Hesterman <[email protected]>

Add empty flyout where restoring indices will be listed

Signed-off-by: Chris Hesterman <[email protected]>

* Change danger toast to warning when no snapshot selected

Signed-off-by: Chris Hesterman <[email protected]>

* Fix bug when both custom settings and ignore settings chosen

Signed-off-by: Chris Hesterman <[email protected]>

* Add refresh button to restore activities page, remove auto refreshing

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused getRepos func, add repo prop, trim state in RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add increment to 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Remove index settings from options if none entered, RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add rel="noopener noreferrer" to links in help text, use url from constants.

Signed-off-by: Chris Hesterman <[email protected]>

* Create CatSnapshotIndex in server/models/interfaces, apply in IndexList

Signed-off-by: Chris Hesterman <[email protected]>

* Add rel="noopener noreferrer" to links in IndexList, add CatSnapshotIndex interface

Signed-off-by: Chris Hesterman <[email protected]>

* Changes to RestoreActivitesPanel to prep for listing indice

Signed-off-by: Chris Hesterman <[email protected]>

* Re do merge commit - forgot to save file.

Signed-off-by: Chris Hesterman <[email protected]>

* Snapshots testing in progress

Signed-off-by: Chris Hesterman <[email protected]>

* Current progress, cypress testing

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit testing for AddPrefixInput, RenameInput components

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit tests for SnapshotRenameOptions component

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit tests for SnapshotRestoreOption component

Signed-off-by: Chris Hesterman <[email protected]>

* Add unit tests for SnapshotIndicesInput component

Signed-off-by: Chris Hesterman <[email protected]>

* Change 'Indices' to 'Index' if only 1 index.

Signed-off-by: Chris Hesterman <[email protected]>

* Replace anchor tags with EuiLinks set to external, rename options

Signed-off-by: Chris Hesterman <[email protected]>

* Change anchor tags to EuiLinks, IndexSettings

Signed-off-by: Chris Hesterman <[email protected]>

* Add rel attribute to EuiLink, IndexSettingsInput

Signed-off-by: Chris Hesterman <[email protected]>

* Auto populate prefix field initially with "restored_"

Signed-off-by: Chris Hesterman <[email protected]>

* Change Restore button to color="primary" (blue)

Signed-off-by: Chris Hesterman <[email protected]>

* Make flyout close on restore, direct user to activities tab

Signed-off-by: Chris Hesterman <[email protected]>

* Title case flyout 'status', use EuiHealth for status color dot

Signed-off-by: Chris Hesterman <[email protected]>

* Add auto status check until 'DONE', RestoreActivities

Signed-off-by: Chris Hesterman <[email protected]>

* Add auto status update until 'SUCCESS', Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Change tab implementation to be consistent with other plugins

Signed-off-by: Chris Hesterman <[email protected]>

* Minor text and styling fixes, Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Fix styling to match main Snapshot page, RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Update text to match mocks in Snapshots, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Pre fill rename inputs, prefix input with default values from mock

Signed-off-by: Chris Hesterman <[email protected]>

* Change to title case for status in Restore activities panel

Signed-off-by: Chris Hesterman <[email protected]>

* Add warning banner if snapshot is partial, with checkbox to allow

Signed-off-by: Chris Hesterman <[email protected]>

* Fix behavior of IndexList, include size when active, else unknown

Signed-off-by: Chris Hesterman <[email protected]>

* Functioning start/stop times in RestoreActivities

Signed-off-by: Chris Hesterman <[email protected]>

Accurate listing of indices being restored from snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Restore start/stop working. Auto updating working.

Signed-off-by: Chris Hesterman <[email protected]>

* Add EuiHealth to RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Progress with restore monitoring, finally error free

Signed-off-by: Chris Hesterman <[email protected]>

* Progress on restore/delete buttons correctly disabled edge cases

Signed-off-by: Chris Hesterman <[email protected]>

* Add EuiOverlayMask when RestoreSnapshotFlyout active

Signed-off-by: Chris Hesterman <[email protected]>

* Create user friendly error toasts with button to full error

Signed-off-by: Chris Hesterman <[email protected]>

* Direct user to browser console for full error from error toasts

Signed-off-by: Chris Hesterman <[email protected]>

* Progress with restore success toast with button. Close

Signed-off-by: Chris Hesterman <[email protected]>

* Custom restore success toast with button to activities panel done

Signed-off-by: Chris Hesterman <[email protected]>

* Created custom error toast. Need to debug.

Signed-off-by: Chris Hesterman <[email protected]>

* Custom error and success toasts fully functional and error free.

Signed-off-by: Chris Hesterman <[email protected]>

* Add and debug Index Settings portion of Advanced Options. Successful.

Signed-off-by: Chris Hesterman <[email protected]>

* Remove stray console logs

Signed-off-by: Chris Hesterman <[email protected]>

* Add, update jest and cypress testing for snapshots & restore snapshots

Signed-off-by: Chris Hesterman <[email protected]>

* Save small change snapshots_spec, forgot before prev commit

Signed-off-by: Chris Hesterman <[email protected]>

* Version bump 2.3.0 to 2.3 1

Signed-off-by: Chris Hesterman <[email protected]>

* Add version bump 2.3.1 for OS in cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Remove 2.3.1 bump

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.3 to 2.3.0 cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Change OSDB version to 2.3.1, opensearch_dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.4 to 2.4.0 opensearch_dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Update for 2.4

Signed-off-by: Chris Hesterman <[email protected]>

* Update help text, Snapshots.jsx

Signed-off-by: Chris Hesterman <[email protected]>

* Remove Total size column from IndexList

Signed-off-by: Chris Hesterman <[email protected]>

* Disable restore if partial snapshot but not checked in banner

Signed-off-by: Chris Hesterman <[email protected]>

Remove total size column in indexList

Signed-off-by: Chris Hesterman <[email protected]>

* Add status code and code meaning to toasts, error modal

Signed-off-by: Chris Hesterman <[email protected]>

* Progress making Restore activities panel independent

Signed-off-by: Chris Hesterman <[email protected]>

* RestoreActivitiesPanel no longer needs selected snapshot to access

Signed-off-by: Chris Hesterman <[email protected]>

* Clean up unused code,console logs

Signed-off-by: Chris Hesterman <[email protected]>

* Modify error toasts to be more user friendly

Signed-off-by: Chris Hesterman <[email protected]>

* Handle bad regex input, handle bad JSON input, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add check and toast for no indices selected, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused interface, server/models/interfaces

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused interface, console log.

Signed-off-by: Chris Hesterman <[email protected]>

* Small style changes, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve one missed conflict from previous merge

Signed-off-by: Chris Hesterman <[email protected]>

* Update snapshots_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unneeded cy.wait, snapshots_spec

Signed-off-by: Chris Hesterman <[email protected]>

* Fix small bug with refresh button, Restore activities panel

Signed-off-by: Chris Hesterman <[email protected]>

* Remove conflicts in server/models/interfaces

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused prop"ignore", change ternary to if() in toast helper

Signed-off-by: Chris Hesterman <[email protected]>

* Change label text styling for radios and checkboxes in flyout

Signed-off-by: Chris Hesterman <[email protected]>

* Create checkBoxLabel component in helper.jsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots for unit tests.

Signed-off-by: Chris Hesterman <[email protected]>

* Remove default close button from Restore activities/indiceslist

Signed-off-by: Chris Hesterman <[email protected]>

* Progress with regex validation, testing restore fail in progressd

Signed-off-by: Chris Hesterman <[email protected]>

* Handle error case - bad connection - RestoreActivities

Signed-off-by: Chris Hesterman <[email protected]>

* Implement status for every index being restored, add to Indexlist.

Signed-off-by: Chris Hesterman <[email protected]>

* Sort indexList alphabetically in RestoreActivities

Signed-off-by: Chris Hesterman <[email protected]>

Remove unneeded "getSnapshotIndices" method - RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Progress with form validation, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* All validations working on action click, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Refine validation ui on error, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Refine some toasts/errors

Signed-off-by: Chris Hesterman <[email protected]>

* Simplify toasts, make restore status more descriptive.

Signed-off-by: Chris Hesterman <[email protected]>

* Add interface "IndexItem", models/interfaces

Signed-off-by: Chris Hesterman <[email protected]>

* Remove missed console log, IndexList

Signed-off-by: Chris Hesterman <[email protected]>

* Update unit test snapshots

Signed-off-by: Chris Hesterman <[email protected]>

* Update snapshots_spec to account for recent changes

Signed-off-by: Chris Hesterman <[email protected]>

* Working out validation issue between norman/advanced options

Signed-off-by: Chris Hesterman <[email protected]>

* Incorporate minor requested changes to ui

Signed-off-by: Chris Hesterman <[email protected]>

* Fix issue with validating JSON, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

Move validation functions to helper.ts, debug typescript

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve several potential inconsistencies with validation

Signed-off-by: Chris Hesterman <[email protected]>

* Change title/messages for unrestorable snapshots toasts

Signed-off-by: Chris Hesterman <[email protected]>

* Remove old code that slipped by in update merge

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots

Signed-off-by: Chris Hesterman <[email protected]>

* Change minor but awkwardly implemented space between text/link

Signed-off-by: Chris Hesterman <[email protected]>

* Add EuiHealth to Restore activities panel, fix toast text Snapshots

Signed-off-by: Chris Hesterman <[email protected]>

* Change restore in progress color to "warning", EuiHealth, Restore activities

Signed-off-by: Chris Hesterman <[email protected]>

* Forgot to save brb

Signed-off-by: Chris Hesterman <[email protected]>

* Remove 2 console.logs, change === to ==, RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Fix conditional in useEffect, RestoreActivitiesPanel

Signed-off-by: Chris Hesterman <[email protected]>

* Add release notes 2.4

Signed-off-by: Chris Hesterman <[email protected]>

* Add entry for release notes for adding release notes

Signed-off-by: Chris Hesterman <[email protected]>

* Make corrections to 2.4 release notes

Signed-off-by: Chris Hesterman <[email protected]>

* Add one PR to Maintenance, 2.4 release notes

Signed-off-by: Chris Hesterman <[email protected]>

* Bugfix that was preventing auto refresh from stopping Restore Activities Panel.

Signed-off-by: Chris Hesterman <[email protected]>

* Add 2.4 release notes

Signed-off-by: Chris Hesterman <[email protected]>

* Update 2.4 release notes

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>
Signed-off-by: Chris Hesterman <[email protected]
(cherry picked from commit 0ae56b3)

Co-authored-by: Chris Hesterman <[email protected]>
… url in "IndexSettingsInput" (opensearch-project#365) (opensearch-project#366)

* Change help text - ignore unavailable indices

Signed-off-by: Chris Hesterman <[email protected]>

Change url for "Learn more" links, IndexSettingsInput

Signed-off-by: Chris Hesterman <[email protected]>

* Update ext link, IndexSettingsInput to ref 'Dynamic Index Settings' docs

Signed-off-by: Chris Hesterman <[email protected]>

* Change url back to Static and Dynamic docs link

Signed-off-by: Chris Hesterman <[email protected]>

* Change link in IndexSettingsInput to general "Index Settings" docs

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>
(cherry picked from commit 0b6457f)

Co-authored-by: Chris Hesterman <[email protected]>
…D 2.4.0 (opensearch-project#381) (opensearch-project#387)

* Change alignment of Snapshot Management panels in pages/Main/Main.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Unify vertical button alignment across panels, ContentPanel.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots, add ROUTE_STYLE variable

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder restore button to Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Comment out line 20 rollups_spec.js in cypress/integration/

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused code and comment cypress/integration/rollups_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Starting adaptation/use of existing code for Restore functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Adapt Snapshots.tsx to include RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add restoreSnapshot method to SMservice,RestoreSnapshotResponse int

Signed-off-by: Chris Hesterman <[email protected]>

* Implement RestoreSnapshotFlyout open/close

Signed-off-by: Chris Hesterman <[email protected]>

* Make Snapshot name appear on RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add/adapt restoreSnapshot to server/SnapshotManagementService

Signed-off-by: Chris Hesterman <[email protected]>

* Add route for restoreSnapshot in server/routes.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Rudimentary restore from snapshot functionality reached, buggy

Signed-off-by: Chris Hesterman <[email protected]>

* Fix index list-snapshot restore, restrict restore to single selection

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, commented out code

Signed-off-by: Chris Hesterman <[email protected]>

* Create Advanced options accordion for Snapshot restore.

Signed-off-by: Chris Hesterman <[email protected]>

Currently only visually functional. TODO - make it apply the options

Signed-off-by: Chris Hesterman <[email protected]>

* Add initial restore/rename options to ui. Only visual functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve radio button events not firing

Signed-off-by: Chris Hesterman <[email protected]>

Split radio buttons into SnapshotRestoreOption and SnapshotRenameOptions

Signed-off-by: Chris Hesterman <[email protected]>

Move 'restore' button between 'delete' and 'take snapshot'

Signed-off-by: Chris Hesterman <[email protected]>

Set default rename option to 'add prefix'

Signed-off-by: Chris Hesterman <[email protected]>

* Add AddPrefixInput, remove unused component RestoreSnapshotInitialOptions

Signed-off-by: Chris Hesterman <[email protected]>

* Fix issues with restore specific indices

Signed-off-by: Chris Hesterman <[email protected]>

Implement first 4 Advanced restore options functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing for snapshots

Signed-off-by: Chris Hesterman <[email protected]>

Passing tests for create repo and create snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing Snapshots. Create repo and Create snapshot done

Signed-off-by: Chris Hesterman <[email protected]>

* Implement add_prefix functionality for snapshot restore

Signed-off-by: Chris Hesterman <[email protected]>

* Implement rename indices option for restore snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, unusted variables in SnapshotFlyout, SMservice

Signed-off-by: Chris Hesterman <[email protected]>

* Add full stop to help text/errors, add RESTORE_OPTIONS enum

Signed-off-by: Chris Hesterman <[email protected]>

* Add back line 20 in rollups_spec, required by changes in 2.3 release.

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused getRepos func, add repo prop, trim state in RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add increment to 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Version bump 2.3.0 to 2.3 1

Signed-off-by: Chris Hesterman <[email protected]>

* Add version bump 2.3.1 for OS in cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Remove 2.3.1 bump

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.4 to 2.4.0 opensearch_dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Update package.json, opensearch-dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Update package.json, opensearch_dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Update OSD to 2.4.1, update loader-utils, ts-loader, webpack

Signed-off-by: Chris Hesterman <[email protected]>

* Update loader-utils to 1.4.1

Signed-off-by: Chris Hesterman <[email protected]>

* Roll back to 2.4.0 OSD

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>
(cherry picked from commit d7e6849)

Co-authored-by: Chris Hesterman <[email protected]>
…) (opensearch-project#413)

* Change alignment of Snapshot Management panels in pages/Main/Main.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Unify vertical button alignment across panels, ContentPanel.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots, add ROUTE_STYLE variable

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder restore button to Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Comment out line 20 rollups_spec.js in cypress/integration/

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused code and comment cypress/integration/rollups_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Starting adaptation/use of existing code for Restore functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Adapt Snapshots.tsx to include RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add restoreSnapshot method to SMservice,RestoreSnapshotResponse int

Signed-off-by: Chris Hesterman <[email protected]>

* Implement RestoreSnapshotFlyout open/close

Signed-off-by: Chris Hesterman <[email protected]>

* Make Snapshot name appear on RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add/adapt restoreSnapshot to server/SnapshotManagementService

Signed-off-by: Chris Hesterman <[email protected]>

* Add route for restoreSnapshot in server/routes.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Rudimentary restore from snapshot functionality reached, buggy

Signed-off-by: Chris Hesterman <[email protected]>

* Fix index list-snapshot restore, restrict restore to single selection

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, commented out code

Signed-off-by: Chris Hesterman <[email protected]>

* Create Advanced options accordion for Snapshot restore.

Signed-off-by: Chris Hesterman <[email protected]>

Currently only visually functional. TODO - make it apply the options

Signed-off-by: Chris Hesterman <[email protected]>

* Add initial restore/rename options to ui. Only visual functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve radio button events not firing

Signed-off-by: Chris Hesterman <[email protected]>

Split radio buttons into SnapshotRestoreOption and SnapshotRenameOptions

Signed-off-by: Chris Hesterman <[email protected]>

Move 'restore' button between 'delete' and 'take snapshot'

Signed-off-by: Chris Hesterman <[email protected]>

Set default rename option to 'add prefix'

Signed-off-by: Chris Hesterman <[email protected]>

* Add AddPrefixInput, remove unused component RestoreSnapshotInitialOptions

Signed-off-by: Chris Hesterman <[email protected]>

* Fix issues with restore specific indices

Signed-off-by: Chris Hesterman <[email protected]>

Implement first 4 Advanced restore options functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing for snapshots

Signed-off-by: Chris Hesterman <[email protected]>

Passing tests for create repo and create snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing Snapshots. Create repo and Create snapshot done

Signed-off-by: Chris Hesterman <[email protected]>

* Implement add_prefix functionality for snapshot restore

Signed-off-by: Chris Hesterman <[email protected]>

* Implement rename indices option for restore snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, unusted variables in SnapshotFlyout, SMservice

Signed-off-by: Chris Hesterman <[email protected]>

* Add full stop to help text/errors, add RESTORE_OPTIONS enum

Signed-off-by: Chris Hesterman <[email protected]>

* Add back line 20 in rollups_spec, required by changes in 2.3 release.

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused getRepos func, add repo prop, trim state in RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add increment to 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Version bump 2.3.0 to 2.3 1

Signed-off-by: Chris Hesterman <[email protected]>

* Add version bump 2.3.1 for OS in cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Remove 2.3.1 bump

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.4 to 2.4.0 opensearch_dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Update package.json, opensearch-dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Update package.json, opensearch_dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Update OSD to 2.4.1, update loader-utils, ts-loader, webpack

Signed-off-by: Chris Hesterman <[email protected]>

* Update loader-utils to 1.4.1

Signed-off-by: Chris Hesterman <[email protected]>

* Roll back to 2.4.0 OSD

Signed-off-by: Chris Hesterman <[email protected]>

* Implement quick fix for data-stream names being truncated

Signed-off-by: Chris Hesterman <[email protected]>

* Set min width for data stream selection popover

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>
(cherry picked from commit 02ccb96)

Co-authored-by: Chris Hesterman <[email protected]>
* Change alignment of Snapshot Management panels in pages/Main/Main.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Unify vertical button alignment across panels, ContentPanel.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots, add ROUTE_STYLE variable

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder restore button to Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Comment out line 20 rollups_spec.js in cypress/integration/

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused code and comment cypress/integration/rollups_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Starting adaptation/use of existing code for Restore functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Adapt Snapshots.tsx to include RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add restoreSnapshot method to SMservice,RestoreSnapshotResponse int

Signed-off-by: Chris Hesterman <[email protected]>

* Implement RestoreSnapshotFlyout open/close

Signed-off-by: Chris Hesterman <[email protected]>

* Make Snapshot name appear on RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add/adapt restoreSnapshot to server/SnapshotManagementService

Signed-off-by: Chris Hesterman <[email protected]>

* Add route for restoreSnapshot in server/routes.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Rudimentary restore from snapshot functionality reached, buggy

Signed-off-by: Chris Hesterman <[email protected]>

* Fix index list-snapshot restore, restrict restore to single selection

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, commented out code

Signed-off-by: Chris Hesterman <[email protected]>

* Create Advanced options accordion for Snapshot restore.

Signed-off-by: Chris Hesterman <[email protected]>

Currently only visually functional. TODO - make it apply the options

Signed-off-by: Chris Hesterman <[email protected]>

* Add initial restore/rename options to ui. Only visual functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve radio button events not firing

Signed-off-by: Chris Hesterman <[email protected]>

Split radio buttons into SnapshotRestoreOption and SnapshotRenameOptions

Signed-off-by: Chris Hesterman <[email protected]>

Move 'restore' button between 'delete' and 'take snapshot'

Signed-off-by: Chris Hesterman <[email protected]>

Set default rename option to 'add prefix'

Signed-off-by: Chris Hesterman <[email protected]>

* Add AddPrefixInput, remove unused component RestoreSnapshotInitialOptions

Signed-off-by: Chris Hesterman <[email protected]>

* Fix issues with restore specific indices

Signed-off-by: Chris Hesterman <[email protected]>

Implement first 4 Advanced restore options functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing for snapshots

Signed-off-by: Chris Hesterman <[email protected]>

Passing tests for create repo and create snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing Snapshots. Create repo and Create snapshot done

Signed-off-by: Chris Hesterman <[email protected]>

* Implement add_prefix functionality for snapshot restore

Signed-off-by: Chris Hesterman <[email protected]>

* Implement rename indices option for restore snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, unusted variables in SnapshotFlyout, SMservice

Signed-off-by: Chris Hesterman <[email protected]>

* Add full stop to help text/errors, add RESTORE_OPTIONS enum

Signed-off-by: Chris Hesterman <[email protected]>

* Add back line 20 in rollups_spec, required by changes in 2.3 release.

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused getRepos func, add repo prop, trim state in RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add increment to 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Version bump 2.3.0 to 2.3 1

Signed-off-by: Chris Hesterman <[email protected]>

* Add version bump 2.3.1 for OS in cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Remove 2.3.1 bump

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.4 to 2.4.0 opensearch_dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Update package.json, opensearch-dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Update package.json, opensearch_dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Update OSD to 2.4.1, update loader-utils, ts-loader, webpack

Signed-off-by: Chris Hesterman <[email protected]>

* Backport to 1.x

Signed-off-by: Chris Hesterman <[email protected]>

* Revert "Backport to 1.x", backport failed

Signed-off-by: Chris Hesterman <[email protected]>

This reverts commit f77922b.

Signed-off-by: Chris Hesterman <[email protected]>

* Implement check for singleIndex/datastream to address alias requirement

Signed-off-by: Chris Hesterman <[email protected]>

* Run version sync, adj. OSDB versions in workflows

Signed-off-by: Chris Hesterman <[email protected]>

* Set OSDB version to 2.4 in workflows

Signed-off-by: Chris Hesterman <[email protected]>

* Version bump to 2.4.1 to keep it working

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unintended dependency bumps

Signed-off-by: Chris Hesterman <[email protected]>

* Fresh bootstrap, update yarn lock

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>
(cherry picked from commit 2290ea5)

Co-authored-by: Chris Hesterman <[email protected]>
…rch-project#429) (opensearch-project#433)

* Change alignment of Snapshot Management panels in pages/Main/Main.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Unify vertical button alignment across panels, ContentPanel.tsx

Signed-off-by: Chris Hesterman <[email protected]>

* Update jest snapshots, add ROUTE_STYLE variable

Signed-off-by: Chris Hesterman <[email protected]>

* Add placeholder restore button to Snapshots panel

Signed-off-by: Chris Hesterman <[email protected]>

* Comment out line 20 rollups_spec.js in cypress/integration/

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused code and comment cypress/integration/rollups_spec.js

Signed-off-by: Chris Hesterman <[email protected]>

* Starting adaptation/use of existing code for Restore functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Adapt Snapshots.tsx to include RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add restoreSnapshot method to SMservice,RestoreSnapshotResponse int

Signed-off-by: Chris Hesterman <[email protected]>

* Implement RestoreSnapshotFlyout open/close

Signed-off-by: Chris Hesterman <[email protected]>

* Make Snapshot name appear on RestoreSnapshotFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add/adapt restoreSnapshot to server/SnapshotManagementService

Signed-off-by: Chris Hesterman <[email protected]>

* Add route for restoreSnapshot in server/routes.ts

Signed-off-by: Chris Hesterman <[email protected]>

* Rudimentary restore from snapshot functionality reached, buggy

Signed-off-by: Chris Hesterman <[email protected]>

* Fix index list-snapshot restore, restrict restore to single selection

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, commented out code

Signed-off-by: Chris Hesterman <[email protected]>

* Create Advanced options accordion for Snapshot restore.

Signed-off-by: Chris Hesterman <[email protected]>

Currently only visually functional. TODO - make it apply the options

Signed-off-by: Chris Hesterman <[email protected]>

* Add initial restore/rename options to ui. Only visual functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Resolve radio button events not firing

Signed-off-by: Chris Hesterman <[email protected]>

Split radio buttons into SnapshotRestoreOption and SnapshotRenameOptions

Signed-off-by: Chris Hesterman <[email protected]>

Move 'restore' button between 'delete' and 'take snapshot'

Signed-off-by: Chris Hesterman <[email protected]>

Set default rename option to 'add prefix'

Signed-off-by: Chris Hesterman <[email protected]>

* Add AddPrefixInput, remove unused component RestoreSnapshotInitialOptions

Signed-off-by: Chris Hesterman <[email protected]>

* Fix issues with restore specific indices

Signed-off-by: Chris Hesterman <[email protected]>

Implement first 4 Advanced restore options functionality

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing for snapshots

Signed-off-by: Chris Hesterman <[email protected]>

Passing tests for create repo and create snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Begin cypress testing Snapshots. Create repo and Create snapshot done

Signed-off-by: Chris Hesterman <[email protected]>

* Implement add_prefix functionality for snapshot restore

Signed-off-by: Chris Hesterman <[email protected]>

* Implement rename indices option for restore snapshot

Signed-off-by: Chris Hesterman <[email protected]>

* Remove console.logs, unusted variables in SnapshotFlyout, SMservice

Signed-off-by: Chris Hesterman <[email protected]>

* Add full stop to help text/errors, add RESTORE_OPTIONS enum

Signed-off-by: Chris Hesterman <[email protected]>

* Add back line 20 in rollups_spec, required by changes in 2.3 release.

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unused getRepos func, add repo prop, trim state in RestoreFlyout

Signed-off-by: Chris Hesterman <[email protected]>

* Add increment to 2.3.0

Signed-off-by: Chris Hesterman <[email protected]>

* Version bump 2.3.0 to 2.3 1

Signed-off-by: Chris Hesterman <[email protected]>

* Add version bump 2.3.1 for OS in cypress-workflow.yml

Signed-off-by: Chris Hesterman <[email protected]>

* Remove 2.3.1 bump

Signed-off-by: Chris Hesterman <[email protected]>

* Change 2.4 to 2.4.0 opensearch_dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Update package.json, opensearch-dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Update package.json, opensearch_dashboards.json

Signed-off-by: Chris Hesterman <[email protected]>

* Update OSD to 2.4.1, update loader-utils, ts-loader, webpack

Signed-off-by: Chris Hesterman <[email protected]>

* Backport to 1.x

Signed-off-by: Chris Hesterman <[email protected]>

* Revert "Backport to 1.x", backport failed

Signed-off-by: Chris Hesterman <[email protected]>

This reverts commit f77922b.

Signed-off-by: Chris Hesterman <[email protected]>

* Implement check for singleIndex/datastream to address alias requirement

Signed-off-by: Chris Hesterman <[email protected]>

* Run version sync, adj. OSDB versions in workflows

Signed-off-by: Chris Hesterman <[email protected]>

* Set OSDB version to 2.4 in workflows

Signed-off-by: Chris Hesterman <[email protected]>

* Version bump to 2.4.1 to keep it working

Signed-off-by: Chris Hesterman <[email protected]>

* Remove unintended dependency bumps

Signed-off-by: Chris Hesterman <[email protected]>

* Implement fix to exempt data streams from rollover alias requirement

Signed-off-by: Chris Hesterman <[email protected]>

* Fresh bootstrap to update yarn lock

Signed-off-by: Chris Hesterman <[email protected]>

Signed-off-by: Chris Hesterman <[email protected]>
(cherry picked from commit f983e9d)

Co-authored-by: Chris Hesterman <[email protected]>
…ject#522)

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

Signed-off-by: suzhou <[email protected]>
(cherry picked from commit 147090b)

Co-authored-by: suzhou <[email protected]>
Signed-off-by: bowenlan-amzn <[email protected]>

Signed-off-by: bowenlan-amzn <[email protected]>
(cherry picked from commit d3d8e6f)

Co-authored-by: bowenlan-amzn <[email protected]>
* Feature/common 2.5 (opensearch-project#519)

* feat: split to common change

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

* feat: update

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

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

* Feature/index management 2.5 (opensearch-project#520)

* Feature/common 2.5 (opensearch-project#506)

* feat: split to common change

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

* feat: update

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

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

* feat: update

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

* fix: detail of data stream

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

* feat: update

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

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

* Temp/template management 2.5 (opensearch-project#523)

* Feature/common 2.5 (opensearch-project#506)

* feat: split to common change

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

* feat: update

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

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

* feat: update

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

* feat: update

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

* feat: fix template error

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

* feat: update

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

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

* Temp/alias management 2.5 (opensearch-project#524)

* Feature/common 2.5 (opensearch-project#506)

* feat: split to common change

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

* feat: update

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

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

* feat: update

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

* feat: update

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

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

* Feature/unittest fix 2.5 (opensearch-project#525)

* Feature/common 2.5 (opensearch-project#506)

* feat: split to common change

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

* feat: update

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

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

* feat: update

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

* feat: update

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

* feat: update

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

* feat: update

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

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

* Merge/index operation reindex (opensearch-project#526)

* Feature/common 2.5 (opensearch-project#506)

* feat: split to common change

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

* feat: update

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

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

* enable fullwidth for JSON editor (opensearch-project#479)

* enable fullwidth for JSON editor

Signed-off-by: Hailong Cui <[email protected]>

* update width of import settings & mappings

Signed-off-by: Hailong Cui <[email protected]>

* wording change

Signed-off-by: Hailong Cui <[email protected]>

Signed-off-by: Hailong Cui <[email protected]>

* advanced settings

Signed-off-by: Hailong Cui <[email protected]>

* fix integration test

Signed-off-by: Hailong Cui <[email protected]>

* wording change

Signed-off-by: Hailong Cui <[email protected]>

* filter system index and alias from destination

Signed-off-by: Hailong Cui <[email protected]>

* fix code merge issue

Signed-off-by: Hailong Cui <[email protected]>

Signed-off-by: suzhou <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
Co-authored-by: suzhou <[email protected]>

* Add shrink index page (opensearch-project#530)

* Add shrink index page

Signed-off-by: Binlong Gao <[email protected]>

* Fix bug for shrink & close operation

Signed-off-by: Binlong Gao <[email protected]>

Signed-off-by: Binlong Gao <[email protected]>

* feat: update

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

* feat: update wording

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

* feat: update

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

* feat: update

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

* feat: update

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

* feat: update

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

* feat: update

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

* feat: update

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

* feat: change flyout to modal

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

* feat: update

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

* feat: update

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

* feat: update

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

* feat: update

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

* feat: enable global template warning

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

* feat: update

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

* feat: update

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

* Merge/index operation (opensearch-project#534)

* Feature/common 2.5 (opensearch-project#519)

* feat: split to common change

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

* feat: update

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

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

* Feature/index management 2.5 (opensearch-project#520)

* Feature/common 2.5 (opensearch-project#506)

* feat: split to common change

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

* feat: update

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

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

* feat: update

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

* fix: detail of data stream

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

* feat: update

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

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

* Temp/template management 2.5 (opensearch-project#523)

* Feature/common 2.5 (opensearch-project#506)

* feat: split to common change

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

* feat: update

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

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

* feat: update

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

* feat: update

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

* feat: fix template error

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

* feat: update

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

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

* Temp/alias management 2.5 (opensearch-project#524)

* Feature/common 2.5 (opensearch-project#506)

* feat: split to common change

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

* feat: update

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

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

* feat: update

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

* feat: update

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

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

* Feature/unittest fix 2.5 (opensearch-project#525)

* Feature/common 2.5 (opensearch-project#506)

* feat: split to common change

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

* feat: update

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

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

* feat: update

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

* feat: update

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

* feat: update

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

* feat: update

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

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

* Merge/index operation reindex (opensearch-project#526)

* Feature/common 2.5 (opensearch-project#506)

* feat: split to common change

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

* feat: update

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

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

* enable fullwidth for JSON editor (opensearch-project#479)

* enable fullwidth for JSON editor

Signed-off-by: Hailong Cui <[email protected]>

* update width of import settings & mappings

Signed-off-by: Hailong Cui <[email protected]>

* wording change

Signed-off-by: Hailong Cui <[email protected]>

Signed-off-by: Hailong Cui <[email protected]>

* advanced settings

Signed-off-by: Hailong Cui <[email protected]>

* fix integration test

Signed-off-by: Hailong Cui <[email protected]>

* wording change

Signed-off-by: Hailong Cui <[email protected]>

* filter system index and alias from destination

Signed-off-by: Hailong Cui <[email protected]>

* fix code merge issue

Signed-off-by: Hailong Cui <[email protected]>

Signed-off-by: suzhou <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
Co-authored-by: suzhou <[email protected]>

* Add split index operation

Signed-off-by: Xuesong Luo <[email protected]>

* Add split index operation

Signed-off-by: Xuesong Luo <[email protected]>

Signed-off-by: suzhou <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: Xuesong Luo <[email protected]>
Co-authored-by: suzhou <[email protected]>
Co-authored-by: Hailong-amzn <[email protected]>

* Merge/index operation (opensearch-project#535)

* Feature/common 2.5 (opensearch-project#519)

* feat: split to common change

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

* feat: update

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

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

* Feature/index management 2.5 (opensearch-project#520)

* Feature/common 2.5 (opensearch-project#506)

* feat: split to common change

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

* feat: update

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

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

* feat: update

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

* fix: detail of data stream

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

* feat: update

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

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

* Temp/template management 2.5 (opensearch-project#523)

* Feature/common 2.5 (opensearch-project#506)

* feat: split to common change

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

* feat: update

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

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

* feat: update

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

* feat: update

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

* feat: fix template error

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

* feat: update

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

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

* Temp/alias management 2.5 (opensearch-project#524)

* Feature/common 2.5 (opensearch-project#506)

* feat: split to common change

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

* feat: update

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

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

* feat: update

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

* feat: update

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

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

* Feature/unittest fix 2.5 (opensearch-project#525)

* Feature/common 2.5 (opensearch-project#506)

* feat: split to common change

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

* feat: update

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

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

* feat: update

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

* feat: update

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

* feat: update

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

* feat: update

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

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

* Merge/index operation reindex (opensearch-project#526)

* Feature/common 2.5 (opensearch-project#506)

* feat: split to common change

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

* feat: update

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

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

* enable fullwidth for JSON editor (opensearch-project#479)

* enable fullwidth for JSON editor

Signed-off-by: Hailong Cui <[email protected]>

* update width of import settings & mappings

Signed-off-by: Hailong Cui <[email protected]>

* wording change

Signed-off-by: Hailong Cui <[email protected]>

Signed-off-by: Hailong Cui <[email protected]>

* advanced settings

Signed-off-by: Hailong Cui <[email protected]>

* fix integration test

Signed-off-by: Hailong Cui <[email protected]>

* wording change

Signed-off-by: Hailong Cui <[email protected]>

* filter system index and alias from destination

Signed-off-by: Hailong Cui <[email protected]>

* fix code merge issue

Signed-off-by: Hailong Cui <[email protected]>

Signed-off-by: suzhou <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
Co-authored-by: suzhou <[email protected]>

* Add split index operation

Signed-off-by: Xuesong Luo <[email protected]>

* Add split index operation

Signed-off-by: Xuesong Luo <[email protected]>

* Return if exception is thrown when calling backend API

Signed-off-by: Xuesong Luo <[email protected]>

* Remove replica props that's not taking effect.

Signed-off-by: Xuesong Luo <[email protected]>

Signed-off-by: suzhou <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: Xuesong Luo <[email protected]>
Co-authored-by: suzhou <[email protected]>
Co-authored-by: Hailong-amzn <[email protected]>

* feat: rearrange main.tsx

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

* feat: update

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

* feat: update

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

* feat: add difference

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

* feat: add timeout

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

* feat: add timeout

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

* feat: add timeout to 60000 for macos has the timeout issue

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

* feat: update

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

* feat: update

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

* feat: add unsaved check logic

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

* feat: change timeout to 24h

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

* feat: remove warning

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

* feat: enable parse message for mapping_parsing_exception

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

* feat: update wording

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

* feat: rewording

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

* feat: update snapshot

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

* feat: optimize with new type of parsing error

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

* feat: update

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

* feat: update

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

* feat: update

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

* feat: update

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

* feat: update alias empty content

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

* feat: update

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

* feat: update

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

* feat: update

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

* feat: update

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

* feat: update

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

* feat: update alias modal header style

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

* feat: update

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

* feat: update

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

* feat: update

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

* feat: update e2e test

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

* Minor wording change after review (opensearch-project#544)

Signed-off-by: Xuesong Luo <[email protected]>

Signed-off-by: Xuesong Luo <[email protected]>

* feat: use correct version of doc

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

* feat: update typo

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

* feat: update snapshot

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

* feat: update

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

* feat: add destType for reindex notification toast

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

* support reindex unique documents (opensearch-project#546)

Signed-off-by: Hailong Cui <[email protected]>

Signed-off-by: Hailong Cui <[email protected]>

* feat: update patterns for template name

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

* feat: update validation

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

* feat: add validation for alias select

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

* feat: update test

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

* feat: add force in E2E test

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

* toast link support data stream and alias (opensearch-project#551)

Signed-off-by: Hailong Cui <[email protected]>

Signed-off-by: Hailong Cui <[email protected]>

* fix: index detail for data streams index

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

* feat: add error wrapper

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

* feat: change to multiple select

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

* feat: expand width

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

* feat: update

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

* Change some wording in shrink index page (opensearch-project#553)

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

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

* reindex page wording change (opensearch-project#554)

Signed-off-by: Hailong Cui <[email protected]>

Signed-off-by: Hailong Cui <[email protected]>

* feat: add comment on Better* component

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

* refractor: job handler

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

* feat: remove useless functions

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

* refractor: move functions to helpers.ts

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

* refractor: move types to interfaces.ts

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

* feat: remove duplicate div

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

* feat: use fragment

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

* feat: use cannot

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

* refractor: split TemplateDetail into multiple files

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

* feat: update timeout

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

* feat: move some constant lines to constant.tsx

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

* Remove unused TODO (opensearch-project#555)

Signed-off-by: Hailong Cui <[email protected]>

Signed-off-by: Hailong Cui <[email protected]>

* fix: catch error and do not jump in split page

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

* Add a space before the learn more link in shrink index page (opensearch-project#556)

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

Signed-off-by: suzhou <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: Binlong Gao <[email protected]>
Signed-off-by: Xuesong Luo <[email protected]>
Signed-off-by: gaobinlong <[email protected]>
Co-authored-by: Hailong-amzn <[email protected]>
Co-authored-by: Binlong Gao <[email protected]>
Co-authored-by: xluo-aws <[email protected]>
opensearch-trigger-bot bot and others added 13 commits April 9, 2024 13:52
Signed-off-by: opensearch-ci-bot <[email protected]>
Co-authored-by: opensearch-ci-bot <[email protected]>
…nsform Jobs (opensearch-project#1021) (opensearch-project#1025)

* Add MDS support for policies, policy managed indices, transform and rollup jobs



* Addressed PR comments



* Fixed tests



* Address few more comments



* Minor fix



* Address minor comment



---------



(cherry picked from commit 07c68ec)

Signed-off-by: Prabhat Sharma <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Prabhat Sharma <[email protected]>
…-project#1040)

(cherry picked from commit 4c7bf55)

Signed-off-by: Ramakrishna Chilaka <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
) (opensearch-project#1043)

(cherry picked from commit 9a8015a)

Signed-off-by: Ramakrishna Chilaka <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…orm workflow (opensearch-project#1047) (opensearch-project#1049)

(cherry picked from commit 43b9e1e)

Signed-off-by: Prabhat Sharma <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Prabhat Sharma <[email protected]>
…e of datasource (opensearch-project#1053) (opensearch-project#1054)

(cherry picked from commit 9d64b46)

Signed-off-by: Prabhat Sharma <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Prabhat Sharma <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…pensearch-project#1027)

When none of the indices are selected, ClearCacheModal makes call to
`//_cache/clear` path. Here, the intention is to clear the cache for
all indices, let's make it explicit by passing `_all` as target.

New call: `/_all/_cache/clear`


(cherry picked from commit 134f23f)

Signed-off-by: Rohit Ashiwal <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-project#1061)

(cherry picked from commit 2bcb2a5)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 2070768)

Signed-off-by: vikasvb90 <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…pensearch-project#1080)

* Adding dataVersionFilter support to MDS to enable version decoupling

Signed-off-by: Ramakrishna Chilaka <[email protected]>

* added check for checking available plugins on a datasource

Signed-off-by: Ramakrishna Chilaka <[email protected]>

---------

Signed-off-by: Ramakrishna Chilaka <[email protected]>
(cherry picked from commit 50c2275)
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.