Merge remote-tracking branch 'upstream/develop' into develop

This commit is contained in:
Marko Milić 2023-10-20 11:38:45 +02:00
commit e32456aba0
2 changed files with 4 additions and 2 deletions

View File

@ -4774,9 +4774,9 @@ object APIUtil extends MdcLoggable with CustomJsonFormats{
val (serviceNameCounterLatest, serviceNameOpenFuturesCounterLatest) = serviceNameCountersMap.getOrDefault(serviceName,(0,0))
if(serviceNameOpenFuturesCounterLatest>=expectedOpenFuturesPerService) {
logger.warn(s"incrementFutureCounter says: serviceName is $serviceName, serviceNameOpenFuturesCounterLatest is ${serviceNameOpenFuturesCounterLatest}, which is over expectedOpenFuturesPerService($expectedOpenFuturesPerService)")
logger.warn(s"WARNING! incrementFutureCounter says: serviceName is $serviceName, serviceNameOpenFuturesCounterLatest is ${serviceNameOpenFuturesCounterLatest}, which is over expectedOpenFuturesPerService($expectedOpenFuturesPerService)")
}
logger.debug(s"incrementFutureCounter says: serviceName is $serviceName, serviceNameCounterLatest is ${serviceNameCounterLatest}, serviceNameOpenFuturesCounterLatest is ${serviceNameOpenFuturesCounterLatest}")
logger.debug(s"For your information: incrementFutureCounter says: serviceName is $serviceName, serviceNameCounterLatest is ${serviceNameCounterLatest}, serviceNameOpenFuturesCounterLatest is ${serviceNameOpenFuturesCounterLatest}")
}
def decrementFutureCounter(serviceName:String) = {

View File

@ -53,6 +53,8 @@ import scala.concurrent.duration.Duration
class ConnectorMethodTest extends V400ServerSetup {
setPropsValues("starConnector_supported_types" -> "mapped,internal")
setPropsValues("connector" -> "star")
val requestGetBank = (v4_0_0_Request / "banks" / "123").GET
val rightEntity = MethodRoutingCommons("getBank", "internal", false, Some("*"), List(MethodRoutingParam("url", "http://mydomain.com/xxx")))