-
Notifications
You must be signed in to change notification settings - Fork 57
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
Setup S3 connection with integrations #1057
Merged
Merged
Changes from all commits
Commits
Show all changes
97 commits
Select commit
Hold shift + click to select a range
c5cea8d
Stub catalog reader interface
Swiddis 77ad89b
Add basic catalog functionality to new catalog reader
Swiddis 676591d
Refactor validation logic with a deeper interface
Swiddis 12c4bcf
Refactor validation logic with a deeper interface
Swiddis 412480e
Remove redundant test.
Swiddis 6d2bad1
Add tests for new validators
Swiddis c3dd111
Merge branch 'better-validation' into prototype-network-catalog
Swiddis 55d6490
Make better failure mode for invalid objects
Swiddis c62d28b
Merge branch 'main' into prototype-network-catalog
Swiddis ba56fb8
Generalize Result type
Swiddis cb29208
Convert backend to use catalog reader (unstable)
Swiddis c9de36e
Repair tests for integrations class (unstable)
Swiddis 37c7980
Refactor repository for new integration interface
Swiddis b331090
Fix outer repository and backend tests
Swiddis 4b29e17
Add tests for sample data
Swiddis b35dfa8
Merge remote-tracking branch 'upstream/main' into prototype-network-c…
Swiddis 1bef29e
Add CatalogReader JavaDocs
Swiddis a18cf47
Repair integrations builder
Swiddis 047b14a
Remove extra commented test
Swiddis e65fe8b
Remove unnecessary log statement
Swiddis 00ddb5b
Repair getSchemas behavior to return correct type
Swiddis 8af7f4a
Add tests for getSchemas
Swiddis a31963d
Add tests for asset and sample data backend methods
Swiddis feeaef5
Break flyout validation methods out of constructing method
Swiddis b644d11
Add tests for extracted flyout methods
Swiddis 614613a
Switch validation method to use ValidationResult
Swiddis d97b931
Merge branch 'prototype-network-catalog' into feature/integrations-setup
Swiddis c8b5eff
Merge branch 'refactor-integ-frontend' into feature/integrations-setup
Swiddis af78c27
Merge branch 'main' into prototype-network-catalog
Swiddis ab30ed0
Swap out flyout for hello-world setup page
Swiddis 85361f8
Add basic step incrementing
Swiddis af21831
Add basic field skeleton for each step
Swiddis 42dbb54
Add a cancel button
Swiddis bfa9d1a
Merge branch 'main' into prototype-network-catalog
Swiddis 533e6c7
Add config type to developing form
Swiddis 467488c
Flatten integration config
Swiddis 670d229
Add sample data table modal
Swiddis 392640d
Merge branch 'main' into feature/integrations-setup
Swiddis 0a997a4
Add toggle for standard and advanced asset config
Swiddis 8c7b0f2
Simplify imports
Swiddis 616d44e
Merge remote-tracking branch 'upstream/main' into feature/integration…
Swiddis 339fb09
Refactor major class names
Swiddis fae680f
(WIP) begin refactoring functionality into adaptor
Swiddis 3096626
Finish migrating functionality to data adaptor
Swiddis 5498724
Rename integration types for more clarity
Swiddis ee33a51
Merge branch 'main' into prototype-network-catalog
Swiddis 9f97f5a
Merge branch 'prototype-network-catalog' into feature/integrations-setup
Swiddis b465b9f
Refactor component usage
Swiddis 2af52f5
Connect forms to config state
Swiddis 1687fbc
Fix filetype selector
Swiddis cb8dfd3
Merge branch 'main' into feature/integrations-setup
Swiddis 1ee1b75
Merge remote-tracking branch 'upstream/main' into feature/integration…
Swiddis 1049b13
Remove hardcoded name in path
Swiddis edd6bbe
Write one snapshot test
Swiddis 1c95d41
Add more tests
Swiddis 1760038
Fix test naming
Swiddis d4b27fe
Update obsolete snapshots
Swiddis 4293290
Move integration creation helpers to own file
Swiddis 36d65c6
Break out integration creation methods
Swiddis fe16007
Isolate more create_integration helpers
Swiddis dfadcb5
Simplify setup form
Swiddis af1471d
Add data source picker items
Swiddis 9c9d800
Add better selector logic
Swiddis 69e4978
Add queries for data sources
Swiddis 038eefb
Switch from selector to combobox
Swiddis 16745d1
Update snapshots
Swiddis 1892b8f
Connect validation button to data source validation method
Swiddis ebdb008
Reimplement add integration button
Swiddis 6230a65
Temporarily remove validate button
Swiddis b2fdb69
Merge remote-tracking branch 'upstream/main' into feature/integration…
Swiddis bbb137b
Add queries to integrations config
Swiddis be45f19
Merge branch 'main' into feature/integrations-setup
Swiddis 764d028
Simplify dynamic table term selection
Swiddis 28d761c
Remove unused validate code
Swiddis aaeddef
Undo wildcard import
Swiddis 3ae20be
Switch from proxy to dataconnections endpoint
Swiddis 0158cc3
Remove unused table fields
Swiddis 3cb6c57
Switch dataconnections base to const
Swiddis dd1d763
Add console proxy to route constants
Swiddis 3f2a79a
Update snapshots
Swiddis b1d9b09
Merge branch 'feature/integrations-setup' into setup-s3
Swiddis 7325019
Add datasource toggling based on integration support
Swiddis ee6f063
Add basic querying to add-integration functionality
Swiddis 5b0d5b3
Add loading screen (TODO fix tests)
Swiddis 9a6dc3a
Move color to constants
Swiddis 1e267c6
Move index name validation to constants and improve matching
Swiddis 7d4854e
Move test constants to test constants
Swiddis 2ab4a80
Merge branch 'feature/integrations-setup' into setup-s3
Swiddis 4d5f491
Merge remote-tracking branch 'upstream/main' into setup-s3
Swiddis c7b9bf7
Remove mock query handler
Swiddis a17b757
Remove unused todo
Swiddis 58c1dfd
Remove buggy query files
Swiddis d89c004
Fix faulty test
Swiddis 97c02b2
Remove debug logging
Swiddis aaeb16d
Remove redundant copy complexity
Swiddis d1394a6
Add assets to default state
Swiddis d70b890
Fix progress updaters
Swiddis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,17 @@ type ValidationResult = { ok: true } | { ok: false; errors: string[] }; | |
export interface IntegrationTemplate { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Need to properly merge this type with the config on the backend later -- Just need to deal with the effects of converting it into a module. |
||
name: string; | ||
type: string; | ||
assets: { | ||
savedObjects?: { | ||
name: string; | ||
version: string; | ||
}; | ||
queries?: Array<{ | ||
name: string; | ||
version: string; | ||
language: string; | ||
}>; | ||
}; | ||
} | ||
|
||
export const doTypeValidation = ( | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you removing type here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stopped filling a default value when the integration isn't loaded yet -- We only use the type when we go to integration adding so it's safe to keep empty until it's loaded.