-
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
[Uptime] Remove legacy es client #51403
Merged
justinkambic
merged 40 commits into
elastic:master
from
justinkambic:uptime_remove-legacy-es-client
Dec 17, 2019
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
0314775
Move a REST endpoint and the GQL endpoint to NP routing.
justinkambic 1dd6ea8
Delete obsolete REST endpoint.
justinkambic a05594d
Update remaining REST routes to work with NP router.
justinkambic 74bb6f0
Remove obsolete code, update some unit tests.
justinkambic b2730e5
Simplify route creation.
justinkambic c36e42a
Remove tests of API decommissioned API endpoint.
justinkambic 92aee58
Rename domain check.
justinkambic 49d8cf2
Make return shape of index pattern endpoint correspond to required NP…
justinkambic bb35540
Move validate to appropriate level of route definition object for mon…
justinkambic 789d232
Update snapshot count route.
justinkambic a4047af
Fix broken lint rule.
justinkambic 7221e8a
Move a REST endpoint and the GQL endpoint to NP routing.
justinkambic 64fe387
Update remaining REST routes to work with NP router.
justinkambic 43a1c83
Refactor query functions to accept new es client from request contexts.
justinkambic 6eb1bf3
WIP updating framework adapter.
justinkambic 2990071
Refactor remaining routes/resolvers to remove usage of legacy Elastic…
justinkambic df4d4b7
Fix broken unit tests.
justinkambic 888ba2b
Fix incorrect user usage for a REST endpoint.
justinkambic 5361270
Fix some broken imports and types.
justinkambic cafa4de
Update remaining REST routes to work with NP router.
justinkambic 5a11ec0
Port monitor details REST endpoint to NP.
justinkambic cb5fe05
Remove some merge errors.
justinkambic 19b0b41
Merge branch 'master' into uptime_remove-legacy-es-client
justinkambic 7bac947
Merge branch 'master' of github.com:elastic/kibana into uptime_remove…
justinkambic 025b3e0
Update adapters to take a single options parameter.
justinkambic e6e7f1c
Update broken test files.
justinkambic 72e2148
Resolve typescript warnings.
justinkambic 786a714
Update resolver types.
justinkambic 7d91061
Merge branch 'master' into uptime_remove-legacy-es-client
justinkambic 2300e81
Change GraphQL interface name for es client.
justinkambic d7601be
Delete unused code and fix incorrect type.
justinkambic 17a6adc
Rename type for REST endpoint creators.
justinkambic ac4e2e9
Nest message values in body object for invalid response messages.
justinkambic ed9d586
Merge branch 'master' into uptime_remove-legacy-es-client
elasticmachine c440c64
Merge branch 'master' into uptime_remove-legacy-es-client
justinkambic c0d5187
Reorganize a file and clean up some types.
justinkambic 07f9cc4
Merge branch 'uptime_remove-legacy-es-client' of github.com:justinkam…
justinkambic 2300531
Merge master, modify new route to conform to updated ES client calling.
justinkambic c745fb8
Add wrapper function to reduce boilerplate route code.
justinkambic 75e9d84
Merge branch 'master' into uptime_remove-legacy-es-client
justinkambic 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
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
35 changes: 0 additions & 35 deletions
35
x-pack/legacy/plugins/uptime/server/lib/adapters/database/adapter_types.ts
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
x-pack/legacy/plugins/uptime/server/lib/adapters/database/index.ts
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
x-pack/legacy/plugins/uptime/server/lib/adapters/database/kibana_database_adapter.ts
This file was deleted.
Oops, something went wrong.
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
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.
any reason why this now has an underscore in front?
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.
It's a typescript thing. You can resolve unused parameter warnings by prefixing them with
_
.https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-0.html search for "exempt from unused parameter checking" to see more info.