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.
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
[Ingest Manager] Support registration of server side callbacks for Create Datasource API #69428
[Ingest Manager] Support registration of server side callbacks for Create Datasource API #69428
Changes from 18 commits
2f86a8b
0816d17
9e8ed16
3120282
82dd221
bab7468
e30dfcb
d5adaa8
74db641
f6e38af
4deb01d
5b1d540
8bd5cfa
72c249a
af3caa5
018ba8f
2a5f67c
35af2c8
1758eb8
28f46ce
9da8165
bf12a27
fc29695
50d4859
a641f4f
2edcfb3
4ffeed6
4811e51
28fae3d
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
I moved this to the server side now that we have the ability to intercept the datasource create. This means that as soon as we create a datasource, the Endpoint policy will be there and we no longer have to navigate over to the Policy page and perform a "save" just so that the policy data is inserted into the DS.
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.
For the most part, this is just a placeholder handler. I currently only moved over the logic that inserts the policy into the Datasource from the Front end Middleware
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.
This is great for purposes of this PR! We'll ultimately need to get some things from
CoreStart
andStartPlugins
in here, but that can be done with a closure or using the app context. Thanks!