Closed ganisimov closed 6 months ago
@chrisknoll , the checkConnection() is used in API call /source/connection/{key} here: https://github.com/OHDSI/WebAPI/blob/6a43da50ab2bf10df18306df658933ec6a49235e/src/main/java/org/ohdsi/webapi/source/SourceController.java#L348 So, I'm not sure if it's desired to suppress connection check here in any case. If the change was requested to optionally skip the check only when dealing with daimons (#2350), I would handle the setting closer to that code and not in checkConnection(). Do you have any thoughts on this?
Seems like if the setting on the source is to disable check connections, then it's reasonable that all calls to check connection will just bypass. So, in the case you show here, you would want to bypass the check in all cases.
OK then I'm good with the changes, thanks!
Addresses #2359