Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…#296) * Bumping 2.x branch from version 2.1 to 2.2. (#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. (#220) (#221) Signed-off-by: AWSHurneyt <[email protected]> (cherry picked from commit 4821889) Co-authored-by: AWSHurneyt <[email protected]> * Amended 2.2 release notes. (#222) Signed-off-by: AWSHurneyt <[email protected]> * Refactored dependency used by test mock. Adjusted OSD version used by test workflows. (#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. (#230) (#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 (#235) (#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 (#231) (#244) * Change alignment of Snapshot Management panels in pages/Main/Main.tsx (#236) (#241) * Version increment 2.3.0 (#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 (#250) (#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 (#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 #276 to 2.x, Snapshot restore - basic restore functionality (#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 (#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 (#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]>
- Loading branch information