Using uppercase in service and container name produces the following error message on mac os x
{"message":"[DbUtils::startAndMaintainDbConnection] Could not connect to DB for 30000 ms. DB Connection = { url: 'mongodb://user:userpw@CADB-dtag:27017/commondb?authSource=commondb', createConnectionTimeout: '30000', heartbeatFrequency: '5000', poolSize: '10' }","level":"error","service":"user-service","timestamp":"2020-12-02T14:06:42.408Z“}
Changing "CADB-dtag" to "cadb-dtag" fixes the problem.
Using uppercase in service and container name produces the following error message on mac os x
{"message":"[DbUtils::startAndMaintainDbConnection] Could not connect to DB for 30000 ms. DB Connection = { url: 'mongodb://user:userpw@CADB-dtag:27017/commondb?authSource=commondb', createConnectionTimeout: '30000', heartbeatFrequency: '5000', poolSize: '10' }","level":"error","service":"user-service","timestamp":"2020-12-02T14:06:42.408Z“}
Changing "CADB-dtag" to "cadb-dtag" fixes the problem.