VEuPathDB / lib-jaxrs-container-core

Core library for VEuPathDB JaxRS container services
Apache License 2.0
0 stars 0 forks source link

Health endpoint should give some indication as to which DB(s) a service is connecting to. #3

Closed Foxcapades closed 1 year ago

Foxcapades commented 3 years ago

Presently it gives a vague answer such as "user-db" or "acct-db". It should include some information (probably not the actual db name) that can be used to determine what site's DB is in use.

Foxcapades commented 2 years ago

probably not the actual db name

Perhaps this is just being overly cautious?

Foxcapades commented 2 years ago

The easiest way to implement this would be to examine the DataSource object that is handed to the Dependency instance to get the connection info if possible.

steve-fischer-200 commented 1 year ago

i wonder about this. this seems like it is part of the service's configuration. there is a lot of config info, and i don't know we expect the health endpoint to describe it.

we now have a confluence document describing how to fine out config info for services. does that suffice?

Foxcapades commented 1 year ago

Yeah, that should suffice. When this ticket was created, I don't believe the info we need was available through pconf, but since it is now available to us, this is, at best, very low priority.