-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[EPM]: Assign data source to policy in UI #53597
Merged
jfsiii
merged 19 commits into
elastic:feature-ingest
from
jfsiii:assign-data-source-to-policy-epm-ui
Dec 23, 2019
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
f5107eb
WIP. Add datasource to policy
27a827d
WIP. Fix proxy bug. Let ES generate source ids. Refactor along the way.
12e98a3
Datasource.id isn't optional. It's just missing before we send to Ingest
0b15c18
Delete EPM's mapping of datasources saved object. Ingest handles that.
12de8c5
Keep datasource object-related work in constructDatasource
f0df303
Whitespace / comment changes
0cc5d85
Move asset installation into own function. Keep entry point high-level.
e749c9d
Extract function arguments into an interface
48b9519
More descriptive (less ambiguous) names for these two functions
0b7a6de
Use enum values from Ingest instead of plain strings
4008ed2
Limit the 'type' key of references to known asset types.
ae5152f
Update variable names to clarify that we're merging arrays of references
a9dab31
Merge branch 'feature-ingest' into assign-data-source-to-policy-epm-ui
db8d6c6
Use [].flat instead .reduce + .concat to avoid error on empty arrays.
7f272dc
Pass PackageInfo value directly to component vs pulling off n properties
a502cb0
Name handlers/options based on the data, not the UI element
503dfec
Populate policy combo box based on values from Ingest policy API
5dba6cc
Mark Dataset.vars as optional.
bae5244
Add TODOs
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
Whitespace / comment changes
- Loading branch information
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
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.
Like the comment says, this is just a place to store Ingest-related behavior, like we do with Registry, Packages, etc. I expect these to be replaced by calls to functions from Ingest but this keeps them together while we're figuring thing out.