Create a Controller for CDA Server info #515
Labels
approved-W192HQ23F0232-task4
Only valid if set by MikeNeilson, DanielO, CharlesG
enhancement
New feature or request
It would be helpful for debugging and other purposes if there was a CDA end-point that required authorization but was generally safe to call.
You could try to create a dummy location_group and then delete it again but thats annoying.
You could also try to write to catalog or some other non-writable end-point and look at what error code you get back. But that is sort of a hack.
I want a real end-point that requires auth and returns somewhat useful output that will also be obvious if its being cached.
The end-point should return some basic info like: A specific build number. Maybe even the commit hash if there is some way to get it. Not just "3.1". Maybe the OS and JDK versions. The native system clock (with tz) to the nearest second.
Then clients could call it on login. They could add the response in their own logs and if they hit a CDA bug we'd be able to correlate the bug report to source.
The text was updated successfully, but these errors were encountered: