Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update UI for integrations setup (opensearch-project#1052)
* Stub catalog reader interface Signed-off-by: Simeon Widdis <[email protected]> * Add basic catalog functionality to new catalog reader Signed-off-by: Simeon Widdis <[email protected]> * Refactor validation logic with a deeper interface Signed-off-by: Simeon Widdis <[email protected]> * Refactor validation logic with a deeper interface Signed-off-by: Simeon Widdis <[email protected]> * Remove redundant test. This test is unneeded after 12c4bcf Signed-off-by: Simeon Widdis <[email protected]> * Add tests for new validators Signed-off-by: Simeon Widdis <[email protected]> * Make better failure mode for invalid objects Signed-off-by: Simeon Widdis <[email protected]> * Generalize Result type Signed-off-by: Simeon Widdis <[email protected]> * Convert backend to use catalog reader (unstable) Signed-off-by: Simeon Widdis <[email protected]> * Repair tests for integrations class (unstable) Signed-off-by: Simeon Widdis <[email protected]> * Refactor repository for new integration interface Signed-off-by: Simeon Widdis <[email protected]> * Fix outer repository and backend tests Signed-off-by: Simeon Widdis <[email protected]> * Add tests for sample data Signed-off-by: Simeon Widdis <[email protected]> * Add CatalogReader JavaDocs Signed-off-by: Simeon Widdis <[email protected]> * Repair integrations builder Signed-off-by: Simeon Widdis <[email protected]> * Remove extra commented test Signed-off-by: Simeon Widdis <[email protected]> * Remove unnecessary log statement Signed-off-by: Simeon Widdis <[email protected]> * Repair getSchemas behavior to return correct type Let it be known at on this day, with this commit, I have truly grokked why we don't use `any` in typescript. Signed-off-by: Simeon Widdis <[email protected]> * Add tests for getSchemas Signed-off-by: Simeon Widdis <[email protected]> * Add tests for asset and sample data backend methods Signed-off-by: Simeon Widdis <[email protected]> * Break flyout validation methods out of constructing method Signed-off-by: Simeon Widdis <[email protected]> * Add tests for extracted flyout methods Signed-off-by: Simeon Widdis <[email protected]> * Switch validation method to use ValidationResult Signed-off-by: Simeon Widdis <[email protected]> * Swap out flyout for hello-world setup page Signed-off-by: Simeon Widdis <[email protected]> * Add basic step incrementing Signed-off-by: Simeon Widdis <[email protected]> * Add basic field skeleton for each step Signed-off-by: Simeon Widdis <[email protected]> * Add a cancel button Signed-off-by: Simeon Widdis <[email protected]> * Add config type to developing form Signed-off-by: Simeon Widdis <[email protected]> * Flatten integration config Signed-off-by: Simeon Widdis <[email protected]> * Add sample data table modal Signed-off-by: Simeon Widdis <[email protected]> * Add toggle for standard and advanced asset config Signed-off-by: Simeon Widdis <[email protected]> * Simplify imports Signed-off-by: Simeon Widdis <[email protected]> * Refactor major class names Signed-off-by: Simeon Widdis <[email protected]> * (WIP) begin refactoring functionality into adaptor Signed-off-by: Simeon Widdis <[email protected]> * Finish migrating functionality to data adaptor Signed-off-by: Simeon Widdis <[email protected]> * Rename integration types for more clarity Signed-off-by: Simeon Widdis <[email protected]> * Refactor component usage Signed-off-by: Simeon Widdis <[email protected]> * Connect forms to config state Signed-off-by: Simeon Widdis <[email protected]> * Fix filetype selector Signed-off-by: Simeon Widdis <[email protected]> * Remove hardcoded name in path Signed-off-by: Simeon Widdis <[email protected]> * Write one snapshot test Signed-off-by: Simeon Widdis <[email protected]> * Add more tests Signed-off-by: Simeon Widdis <[email protected]> * Fix test naming Signed-off-by: Simeon Widdis <[email protected]> * Update obsolete snapshots Signed-off-by: Simeon Widdis <[email protected]> * Move integration creation helpers to own file Signed-off-by: Simeon Widdis <[email protected]> * Break out integration creation methods Signed-off-by: Simeon Widdis <[email protected]> * Isolate more create_integration helpers Signed-off-by: Simeon Widdis <[email protected]> * Simplify setup form Signed-off-by: Simeon Widdis <[email protected]> * Add data source picker items Signed-off-by: Simeon Widdis <[email protected]> * Add better selector logic Signed-off-by: Simeon Widdis <[email protected]> * Add queries for data sources Signed-off-by: Simeon Widdis <[email protected]> * Switch from selector to combobox Signed-off-by: Simeon Widdis <[email protected]> * Update snapshots Signed-off-by: Simeon Widdis <[email protected]> * Connect validation button to data source validation method Signed-off-by: Simeon Widdis <[email protected]> * Reimplement add integration button Signed-off-by: Simeon Widdis <[email protected]> * Temporarily remove validate button Signed-off-by: Simeon Widdis <[email protected]> * Simplify dynamic table term selection Signed-off-by: Simeon Widdis <[email protected]> * Remove unused validate code Signed-off-by: Simeon Widdis <[email protected]> * Undo wildcard import Signed-off-by: Simeon Widdis <[email protected]> * Switch from proxy to dataconnections endpoint Signed-off-by: Simeon Widdis <[email protected]> * Remove unused table fields Signed-off-by: Simeon Widdis <[email protected]> * Switch dataconnections base to const Signed-off-by: Simeon Widdis <[email protected]> * Add console proxy to route constants Signed-off-by: Simeon Widdis <[email protected]> * Update snapshots Signed-off-by: Simeon Widdis <[email protected]> * Move color to constants Signed-off-by: Simeon Widdis <[email protected]> * Move index name validation to constants and improve matching Signed-off-by: Simeon Widdis <[email protected]> * Move test constants to test constants Signed-off-by: Simeon Widdis <[email protected]> --------- Signed-off-by: Simeon Widdis <[email protected]>
- Loading branch information