/** * If the given service is in ghost state, force the actual service deployment. This method * is useful when we want to make sure the actual service is in the system before we do some * operation on the service. * * @param serviceName - name of the service */ public void forceActualServiceDeployment(String serviceName) { AxisService service = axisConfig.getServiceForActivation(serviceName); if (service == null) { // try to find it from the transit ghost map try { service = GhostDeployerUtils .getTransitGhostServicesMap(axisConfig).get(serviceName); } catch (AxisFault axisFault) { log.error("Error while reading Transit Ghosts map", axisFault); } } if (service != null && GhostDeployerUtils.isGhostService(service)) { // if the service is a ghost service, load the actual service try { GhostDeployerUtils.deployActualService(axisConfig, service); } catch (AxisFault axisFault) { log.error("Error while loading actual service from Ghost", axisFault); } } }
/** * If the given service is in ghost state, force the actual service deployment. This method * is useful when we want to make sure the actual service is in the system before we do some * operation on the service. * * @param serviceName - name of the service */ public void forceActualServiceDeployment(String serviceName) { AxisService service = axisConfig.getServiceForActivation(serviceName); if (service == null) { // try to find it from the transit ghost map try { service = GhostDeployerUtils .getTransitGhostServicesMap(axisConfig).get(serviceName); } catch (AxisFault axisFault) { log.error("Error while reading Transit Ghosts map", axisFault); } } if (service != null && GhostDeployerUtils.isGhostService(service)) { // if the service is a ghost service, load the actual service try { GhostDeployerUtils.deployActualService(axisConfig, service); } catch (AxisFault axisFault) { log.error("Error while loading actual service from Ghost", axisFault); } } }
/** * If the given service is in ghost state, force the actual service deployment. This method * is useful when we want to make sure the actual service is in the system before we do some * operation on the service. * * @param serviceName - name of the service */ public void forceActualServiceDeployment(String serviceName) { AxisService service = axisConfig.getServiceForActivation(serviceName); if (service == null) { // try to find it from the transit ghost map try { service = GhostDeployerUtils .getTransitGhostServicesMap(axisConfig).get(serviceName); } catch (AxisFault axisFault) { log.error("Error while reading Transit Ghosts map", axisFault); } } if (service != null && GhostDeployerUtils.isGhostService(service)) { // if the service is a ghost service, load the actual service try { GhostDeployerUtils.deployActualService(axisConfig, service); } catch (AxisFault axisFault) { log.error("Error while loading actual service from Ghost", axisFault); } } }
if (GhostDeployerUtils.isGhostService(service)) { service = GhostDeployerUtils.deployActualService(axisConfig, service);
if (GhostDeployerUtils.isGhostService(service)) { service = GhostDeployerUtils.deployActualService(axisConfig, service);
if (GhostDeployerUtils.isGhostService(service)) { service = GhostDeployerUtils.deployActualService(axisConfig, service);
disableRESTCalls(service.getName(), securityScenario.getScenarioId()); if (GhostDeployerUtils.isGhostService(service)) { try { service = GhostDeployerUtils.deployActualService(axisConfig, service);
disableRESTCalls(service.getName(), securityScenario.getScenarioId()); if (GhostDeployerUtils.isGhostService(service)) { try { service = GhostDeployerUtils.deployActualService(axisConfig, service);
disableRESTCalls(service.getName(), securityScenario.getScenarioId()); if (GhostDeployerUtils.isGhostService(service)) { try { service = GhostDeployerUtils.deployActualService(axisConfig, service);