-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
/xh
endpoints and config for version/instance change detecti…
…on (#387) * Rename `xhAppVersionCheck` -> `xhAppStatusCheck` and provide more appropriate defaults * Update CHANGELOG * Fix `xhAppStatusCheck` note in Bootstrap * Updates to environment polling / endpoints + Tailor /xh/environment return based on auth user - support minimal unauthorized payload for backwards compat with existing usages, but mix-in full details for authenticated users. + Client now calls this endpoint both for initial load and for ongoing polling. + Rework `xhAppStatusCheck` to `xhEnvPollingConfig`, nest within authenticated /xh/environment return. Client reads and respects changes to config updates, with some sanity checks. + Restore /xh/version for backwards compat, return minimal environment summary. * Changelog updates * Checkpoint * Take 2 on Environment Service changes * Tweaks * Use XhController.version for /ping + Remove dedicated `PingController` + Add extra info - appCode, timestamp, success:true - from ping to version output. --------- Co-authored-by: Anselm McClain <atm@xh.io> Co-authored-by: lbwexler <lbwexler@xh.io>
- Loading branch information
1 parent
4690e66
commit 5df3ca0
Showing
7 changed files
with
78 additions
and
77 deletions.
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 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
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