360361362363364365366367368369370
try { if(useEmbeddedAutoscaler){ autoscalerService = new CloudControllerOsgiClient(); } else{ autoscalerService = new CloudControllerStubClient(); } // let's initialize the auto-scaler service autoscalerService.init(); }catch (Exception e) {