-
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
Add support for /api/status before Kibana completes startup #79012
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
06dd043
Add support for /api/status before Kibana completes startup
joshdover 70ca428
Serve 503s when unavailable on /api/status
joshdover a5addbe
Expose detailed information when SO migrations are waiting for other …
joshdover 069213f
Fix 503 handling
joshdover 567da20
fx ci
joshdover 2cba1e3
Merge branch 'master' of github.com:elastic/kibana into update-not-re…
legrego 56e1f5f
fix merge
legrego c328b35
Type & test fixes
legrego 78cd007
Change custom response handling to optionally bypass the error format
legrego 9b1d174
fixing http service tests
legrego 5742dd9
Merge branch 'master' of github.com:elastic/kibana into update-not-re…
legrego e7f355b
allow KbnClient to ignore errors
legrego 11aa452
Merge branch 'master' into not-ready-status
kibanamachine 8791a24
wait for the kibana http server to start, not the NotReady server
legrego 8a6c767
Merge branch 'not-ready-status' of github.com:joshdover/kibana into u…
legrego efbbc7c
Avoid mutating internalSetup object
legrego fcc1853
Create dedicated method to support router registration after server h…
legrego 2e0ac39
Throw error if fakeContext is used unexpectedly
legrego ade858b
Declare return type for handleIndexExists
legrego 9e04194
Change legacy_status to .filter(Boolean)
legrego bbfda7b
Extract notReadyServer setup into its own function
legrego 4bac4c8
Skip adding to registeredRouters if server is already listening
legrego d7ad6d0
Adds integration tests for registerRouterAfterListening
legrego 11f0a0a
Merge branch 'master' of github.com:elastic/kibana into update-not-re…
legrego c0aebe1
Remove status retry, let's see what happens
legrego ecd4cbf
Merge branch 'master' of github.com:elastic/kibana into update-not-re…
legrego 4a4b772
only register status route on NotReady server when anonymous access i…
legrego e9ce811
Merge branch 'master' into not-ready-status
kibanamachine efa4809
Merge branch 'master' into not-ready-status
kibanamachine 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
13 changes: 13 additions & 0 deletions
13
...server/kibana-plugin-core-server.customhttpresponseoptions.bypasserrorformat.md
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [CustomHttpResponseOptions](./kibana-plugin-core-server.customhttpresponseoptions.md) > [bypassErrorFormat](./kibana-plugin-core-server.customhttpresponseoptions.bypasserrorformat.md) | ||
|
||
## CustomHttpResponseOptions.bypassErrorFormat property | ||
|
||
Bypass the default error formatting | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
bypassErrorFormat?: boolean; | ||
``` |
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
13 changes: 13 additions & 0 deletions
13
.../core/server/kibana-plugin-core-server.httpresponseoptions.bypasserrorformat.md
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [HttpResponseOptions](./kibana-plugin-core-server.httpresponseoptions.md) > [bypassErrorFormat](./kibana-plugin-core-server.httpresponseoptions.bypasserrorformat.md) | ||
|
||
## HttpResponseOptions.bypassErrorFormat property | ||
|
||
Bypass the default error formatting | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
bypassErrorFormat?: boolean; | ||
``` |
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
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
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.
I'm fine to add it as long as it doesn't leak outside of the
@kbn/test
package, but would it make sense to name itignore
for consistency with ES API?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 had that same exact thought, but I thought that
ignoreErrors
was slightly more descriptive. I was personally confused the first time I saw theignore
property on the ES API. Happy to adjust this though if you'd prefer the consistency