Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add/update tests, update help text links and icons, add Restore activ…
…ities panel (opensearch-project#277) * Change alignment of Snapshot Management panels in pages/Main/Main.tsx Signed-off-by: Chris Hesterman <phestech@amazon.com> * Unify vertical button alignment across panels, ContentPanel.tsx Signed-off-by: Chris Hesterman <phestech@amazon.com> * Update jest snapshots, add ROUTE_STYLE variable Signed-off-by: Chris Hesterman <phestech@amazon.com> * Add placeholder restore button to Snapshots panel Signed-off-by: Chris Hesterman <phestech@amazon.com> * Comment out line 20 rollups_spec.js in cypress/integration/ Signed-off-by: Chris Hesterman <phestech@amazon.com> * Remove unused code and comment cypress/integration/rollups_spec.js Signed-off-by: Chris Hesterman <phestech@amazon.com> * Starting adaptation/use of existing code for Restore functionality Signed-off-by: Chris Hesterman <phestech@amazon.com> * Adapt Snapshots.tsx to include RestoreSnapshotFlyout Signed-off-by: Chris Hesterman <phestech@amazon.com> * Add restoreSnapshot method to SMservice,RestoreSnapshotResponse int Signed-off-by: Chris Hesterman <phestech@amazon.com> * Implement RestoreSnapshotFlyout open/close Signed-off-by: Chris Hesterman <phestech@amazon.com> * Make Snapshot name appear on RestoreSnapshotFlyout Signed-off-by: Chris Hesterman <phestech@amazon.com> * Add/adapt restoreSnapshot to server/SnapshotManagementService Signed-off-by: Chris Hesterman <phestech@amazon.com> * Add route for restoreSnapshot in server/routes.ts Signed-off-by: Chris Hesterman <phestech@amazon.com> * Rudimentary restore from snapshot functionality reached, buggy Signed-off-by: Chris Hesterman <phestech@amazon.com> * Fix index list-snapshot restore, restrict restore to single selection Signed-off-by: Chris Hesterman <phestech@amazon.com> * Remove console.logs, commented out code Signed-off-by: Chris Hesterman <phestech@amazon.com> * Create Advanced options accordion for Snapshot restore. Signed-off-by: Chris Hesterman <phestech@amazon.com> Currently only visually functional. TODO - make it apply the options Signed-off-by: Chris Hesterman <phestech@amazon.com> * Add initial restore/rename options to ui. Only visual functionality Signed-off-by: Chris Hesterman <phestech@amazon.com> * Resolve radio button events not firing Signed-off-by: Chris Hesterman <phestech@amazon.com> Split radio buttons into SnapshotRestoreOption and SnapshotRenameOptions Signed-off-by: Chris Hesterman <phestech@amazon.com> Move 'restore' button between 'delete' and 'take snapshot' Signed-off-by: Chris Hesterman <phestech@amazon.com> Set default rename option to 'add prefix' Signed-off-by: Chris Hesterman <phestech@amazon.com> * Add AddPrefixInput, remove unused component RestoreSnapshotInitialOptions Signed-off-by: Chris Hesterman <phestech@amazon.com> * Fix issues with restore specific indices Signed-off-by: Chris Hesterman <phestech@amazon.com> Implement first 4 Advanced restore options functionality Signed-off-by: Chris Hesterman <phestech@amazon.com> * Begin cypress testing for snapshots Signed-off-by: Chris Hesterman <phestech@amazon.com> Passing tests for create repo and create snapshot Signed-off-by: Chris Hesterman <phestech@amazon.com> * Begin cypress testing Snapshots. Create repo and Create snapshot done Signed-off-by: Chris Hesterman <phestech@amazon.com> * Implement add_prefix functionality for snapshot restore Signed-off-by: Chris Hesterman <phestech@amazon.com> * Implement rename indices option for restore snapshot Signed-off-by: Chris Hesterman <phestech@amazon.com> * Remove console.logs, unusted variables in SnapshotFlyout, SMservice Signed-off-by: Chris Hesterman <phestech@amazon.com> * Add full stop to help text/errors, add RESTORE_OPTIONS enum Signed-off-by: Chris Hesterman <phestech@amazon.com> * Progress on custom index settings, ignore index settings Signed-off-by: Chris Hesterman <phestech@amazon.com> * Implement custom index settings functionality Signed-off-by: Chris Hesterman <phestech@amazon.com> * Successfully implement/debug custom index settings/ignore index settings. Signed-off-by: Chris Hesterman <phestech@amazon.com> * Add back line 20 in rollups_spec, required by changes in 2.3 release. Signed-off-by: Chris Hesterman <phestech@amazon.com> * Fix bug when both custom settings and ignore settings chosen Signed-off-by: Chris Hesterman <phestech@amazon.com> * Remove unused getRepos func, add repo prop, trim state in RestoreFlyout Signed-off-by: Chris Hesterman <phestech@amazon.com> * Add increment to 2.3.0 Signed-off-by: Chris Hesterman <phestech@amazon.com> * Remove index settings from options if none entered, RestoreFlyout Signed-off-by: Chris Hesterman <phestech@amazon.com> * Add rel="noopener noreferrer" to links in IndexList, add CatSnapshotIndex interface Signed-off-by: Chris Hesterman <phestech@amazon.com> * Current progress, cypress testing Signed-off-by: Chris Hesterman <phestech@amazon.com> * Add unit testing for AddPrefixInput, RenameInput components Signed-off-by: Chris Hesterman <phestech@amazon.com> * Add unit tests for SnapshotRenameOptions component Signed-off-by: Chris Hesterman <phestech@amazon.com> * Add unit tests for SnapshotRestoreOption component Signed-off-by: Chris Hesterman <phestech@amazon.com> * Add unit tests for SnapshotIndicesInput component Signed-off-by: Chris Hesterman <phestech@amazon.com> * Change anchor tags to EuiLinks, IndexSettings Signed-off-by: Chris Hesterman <phestech@amazon.com> * Add rel attribute to EuiLink, IndexSettingsInput Signed-off-by: Chris Hesterman <phestech@amazon.com> * Version bump 2.3.0 to 2.3 1 Signed-off-by: Chris Hesterman <phestech@amazon.com> * Add version bump 2.3.1 for OS in cypress-workflow.yml Signed-off-by: Chris Hesterman <phestech@amazon.com> * Remove 2.3.1 bump Signed-off-by: Chris Hesterman <phestech@amazon.com> * Small mods to rollups_spec and snapshots_spec Signed-off-by: Chris Hesterman <phestech@amazon.com> * Change snapshots_spec in effort to pass E2E. Passes locally Signed-off-by: Chris Hesterman <phestech@amazon.com> * Fix spelling of 'index' line67, snapshots_spec Signed-off-by: Chris Hesterman <phestech@amazon.com> * Version bump 2.4 Signed-off-by: Chris Hesterman <phestech@amazon.com> * Make sure 2.4 applied, add TODO in rollups_spec Signed-off-by: Chris Hesterman <phestech@amazon.com> * Change 2.4 back to 2.x again cypress, unit_test workflows Signed-off-by: Chris Hesterman <phestech@amazon.com> Remove one more 'wait' from snapshots_spec Signed-off-by: Chris Hesterman <phestech@amazon.com> * Add "cy.wait" back line 56 snapshots_spec Signed-off-by: Chris Hesterman <phestech@amazon.com> * Add '0' to OSD version, opensearch_dashboards.json. Signed-off-by: Chris Hesterman <phestech@amazon.com> Remove redundant 'cleanup()' from AddPrefixInput.jest.js Signed-off-by: Chris Hesterman <phestech@amazon.com> Signed-off-by: Chris Hesterman <phestech@amazon.com>
- Loading branch information