Skip to content

Create a Controller for CDA Server info #515

Open
@rma-rripken

Description

@rma-rripken

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions