test_class.declarator: TEST_CI_ID = 1440L
test_class.modifier: private static final
test_class.original_string: private static final Long TEST_CI_ID = 1440L;
test_class.type: Long
test_class.var_name: TEST_CI_ID
test_class.declarator: DPLMNT_ID = 1000001L
test_class.modifier: private static final
test_class.original_string: private static final Long DPLMNT_ID = 1000001L;
test_class.type: Long
test_class.var_name: DPLMNT_ID
test_class.declarator: PROCEDURE_ID = 444L
test_class.modifier: private static final
test_class.original_string: private static final Long PROCEDURE_ID = 444L;
test_class.type: Long
test_class.var_name: PROCEDURE_ID
test_class.declarator: cc = new CMSClient()
test_class.modifier: private
test_class.original_string: private CMSClient cc = new CMSClient();
test_class.type: CMSClient
test_class.var_name: cc
test_class.declarator: mockHttpDoNothing = mock(RestTemplate.class)
test_class.modifier: private
test_class.original_string: private RestTemplate mockHttpDoNothing = mock(RestTemplate.class);
test_class.type: RestTemplate
test_class.var_name: mockHttpDoNothing
test_class.declarator: mockHttpClientGetWorkOrderSimple = mock(RestTemplate.class)
test_class.modifier: private
test_class.original_string: private RestTemplate mockHttpClientGetWorkOrderSimple = mock(RestTemplate.class);
test_class.type: RestTemplate
test_class.var_name: mockHttpClientGetWorkOrderSimple
test_class.declarator: mockHttpClientGetFailedWorkOrderSimple = mock(RestTemplate.class)
test_class.modifier: private
test_class.original_string: private RestTemplate mockHttpClientGetFailedWorkOrderSimple = mock(RestTemplate.class);
test_class.type: RestTemplate
test_class.var_name: mockHttpClientGetFailedWorkOrderSimple
test_class.declarator: mockHttpClientPostCommitAndDeploy = mock(RestTemplate.class)
test_class.modifier: private
test_class.original_string: private RestTemplate mockHttpClientPostCommitAndDeploy = mock(RestTemplate.class);
test_class.type: RestTemplate
test_class.var_name: mockHttpClientPostCommitAndDeploy
test_class.declarator: mockHttpClientGetEnvs = mock(RestTemplate.class)
test_class.modifier: private
test_class.original_string: private RestTemplate mockHttpClientGetEnvs = mock(RestTemplate.class);
test_class.type: RestTemplate
test_class.var_name: mockHttpClientGetEnvs
test_class.declarator: mockHttpActionOrders = mock(RestTemplate.class)
test_class.modifier: private
test_class.original_string: private RestTemplate mockHttpActionOrders = mock(RestTemplate.class);
test_class.type: RestTemplate
test_class.var_name: mockHttpActionOrders
test_class.declarator: mockHttpAnchor = mock(RestTemplate.class)
test_class.modifier: private
test_class.original_string: private RestTemplate mockHttpAnchor = mock(RestTemplate.class);
test_class.type: RestTemplate
test_class.var_name: mockHttpAnchor
test_class.declarator: mockWoProvider = mock(CmsWoProvider.class)
test_class.modifier: private
test_class.original_string: private CmsWoProvider mockWoProvider = mock(CmsWoProvider.class);
test_class.type: CmsWoProvider
test_class.var_name: mockWoProvider
test_class.declarator: ctrlUtil = mock(ControllerUtil.class)
test_class.modifier: private
test_class.original_string: private ControllerUtil ctrlUtil = mock(ControllerUtil.class);
test_class.type: ControllerUtil
test_class.var_name: ctrlUtil
test_class.declarator: cmsDpmtProcessor = mock(CmsDpmtProcessor.class)
test_class.modifier: private
test_class.original_string: private CmsDpmtProcessor cmsDpmtProcessor = mock(CmsDpmtProcessor.class);
test_class.type: CmsDpmtProcessor
test_class.var_name: cmsDpmtProcessor
test_class.declarator: cmsCmProcessor = mock(CmsCmProcessor.class)
test_class.modifier: private
test_class.original_string: private CmsCmProcessor cmsCmProcessor = mock(CmsCmProcessor.class);
test_class.type: CmsCmProcessor
test_class.var_name: cmsCmProcessor
test_class.declarator: cmsUtil = mock(CmsUtil.class)
test_class.modifier: private
test_class.original_string: private CmsUtil cmsUtil = mock(CmsUtil.class) ;
test_class.type: CmsUtil
test_class.var_name: cmsUtil
test_class.declarator: opsProcedureProcessor = mock(OpsProcedureProcessor.class)
test_class.modifier: private
test_class.original_string: private OpsProcedureProcessor opsProcedureProcessor = mock(OpsProcedureProcessor.class) ;
test_class.type: OpsProcedureProcessor
test_class.var_name: opsProcedureProcessor
test_class.declarator: logger = Logger.getLogger(CMSClientTest.class)
test_class.modifier: private static
test_class.original_string: private static Logger logger = Logger.getLogger(CMSClientTest.class);
test_class.type: Logger
test_class.var_name: logger
test_class.file: controller/src/test/java/com/oneops/controller/cms/CMSClientTest.java
test_class.identifier: CMSClientTest
test_case.body: @Test
  	public void updateActionOrderStateTest(){
  		DelegateExecution delegateExecution = mock(DelegateExecution.class);
  		CmsOpsProcedure cmsOpsProcedure = mock(CmsOpsProcedure.class);
  		when(delegateExecution.getVariable("proc")).thenReturn(cmsOpsProcedure);
  
  		CmsActionOrderSimple cmsActionOrderSimple= new CmsActionOrderSimple();
  		cmsActionOrderSimple.setActionId(3);
  		cmsActionOrderSimple.setProcedureId(6);
  		cmsActionOrderSimple.setIsCritical(true);
  		
  		cc.setRestTemplate(mockHttpDoNothing);	
  		cc.updateActionOrderState(delegateExecution, cmsActionOrderSimple, "failed") ; //also to do complete
  		assertEquals(cmsActionOrderSimple.getActionState().getName() ,"failed","desired change to failed did not happen");
  	}
test_case.class_method_signature: CMSClientTest.updateActionOrderStateTest()
test_case.full_signature: @Test public void updateActionOrderStateTest()
test_case.identifier: updateActionOrderStateTest
test_case.invocations: mock mock thenReturn when getVariable setActionId setProcedureId setIsCritical setRestTemplate updateActionOrderState assertEquals getName getActionState
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void updateActionOrderStateTest()
focal_class.declarator: logger = Logger.getLogger(CMSClient.class)
focal_class.modifier: private static
focal_class.original_string: private static Logger logger = Logger.getLogger(CMSClient.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: NSPATH_ENV_ELEM_NO = 3
focal_class.modifier: private static final
focal_class.original_string: private static final int NSPATH_ENV_ELEM_NO = 3;
focal_class.type: int
focal_class.var_name: NSPATH_ENV_ELEM_NO
focal_class.declarator: NSPARTS_SIZE_MIN = 5
focal_class.modifier: private static final
focal_class.original_string: private static final int NSPARTS_SIZE_MIN = 5;
focal_class.type: int
focal_class.var_name: NSPARTS_SIZE_MIN
focal_class.declarator: INPROGRESS = "inprogress"
focal_class.modifier: public static final
focal_class.original_string: public static final String INPROGRESS = "inprogress";
focal_class.type: String
focal_class.var_name: INPROGRESS
focal_class.declarator: CANCELLED = "canceled"
focal_class.modifier: public static final
focal_class.original_string: public static final String CANCELLED = "canceled";
focal_class.type: String
focal_class.var_name: CANCELLED
focal_class.declarator: COMPLETE = "complete"
focal_class.modifier: public static final
focal_class.original_string: public static final String COMPLETE = "complete";
focal_class.type: String
focal_class.var_name: COMPLETE
focal_class.declarator: FAILED = "failed"
focal_class.modifier: public static final
focal_class.original_string: public static final String FAILED = "failed";
focal_class.type: String
focal_class.var_name: FAILED
focal_class.declarator: PAUSED = "paused"
focal_class.modifier: public static final
focal_class.original_string: public static final String PAUSED = "paused";
focal_class.type: String
focal_class.var_name: PAUSED
focal_class.declarator: PENDING = "pending"
focal_class.modifier: public static final
focal_class.original_string: public static final String PENDING = "pending";
focal_class.type: String
focal_class.var_name: PENDING
focal_class.declarator: DPMT = "dpmt"
focal_class.modifier: public static final
focal_class.original_string: public static final String DPMT = "dpmt";
focal_class.type: String
focal_class.var_name: DPMT
focal_class.declarator: restTemplate
focal_class.modifier: private
focal_class.original_string: private RestTemplate restTemplate;
focal_class.type: RestTemplate
focal_class.var_name: restTemplate
focal_class.declarator: serviceUrl
focal_class.modifier: @SuppressWarnings("unused")
  	private
focal_class.original_string: @SuppressWarnings("unused")
  	private String serviceUrl;
focal_class.type: String
focal_class.var_name: serviceUrl
focal_class.declarator: transUrl = "http://cmsapi:8080/transistor/rest/"
focal_class.modifier: private
focal_class.original_string: private String transUrl = "http://cmsapi:8080/transistor/rest/";
focal_class.type: String
focal_class.var_name: transUrl
focal_class.declarator: cmsCrypto
focal_class.modifier: private
focal_class.original_string: private CmsCrypto cmsCrypto;
focal_class.type: CmsCrypto
focal_class.var_name: cmsCrypto
focal_class.declarator: gson = new Gson()
focal_class.modifier: private
focal_class.original_string: private Gson gson = new Gson();
focal_class.type: Gson
focal_class.var_name: gson
focal_class.declarator: deploymentNotifier
focal_class.modifier: private
focal_class.original_string: private DeploymentNotifier deploymentNotifier;
focal_class.type: DeploymentNotifier
focal_class.var_name: deploymentNotifier
focal_class.declarator: stepWoLimit = 100
focal_class.modifier: private
focal_class.original_string: private int stepWoLimit = 100;
focal_class.type: int
focal_class.var_name: stepWoLimit
focal_class.declarator: cmsWoProvider
focal_class.modifier: private
focal_class.original_string: private CmsWoProvider cmsWoProvider;
focal_class.type: CmsWoProvider
focal_class.var_name: cmsWoProvider
focal_class.declarator: cmsDpmtProcessor
focal_class.modifier: private
focal_class.original_string: private CmsDpmtProcessor cmsDpmtProcessor;
focal_class.type: CmsDpmtProcessor
focal_class.var_name: cmsDpmtProcessor
focal_class.declarator: cmsCmProcessor
focal_class.modifier: private
focal_class.original_string: private CmsCmProcessor cmsCmProcessor;
focal_class.type: CmsCmProcessor
focal_class.var_name: cmsCmProcessor
focal_class.declarator: cmsUtil
focal_class.modifier: private
focal_class.original_string: private CmsUtil cmsUtil;
focal_class.type: CmsUtil
focal_class.var_name: cmsUtil
focal_class.declarator: controllerUtil
focal_class.modifier: private
focal_class.original_string: private ControllerUtil controllerUtil;
focal_class.type: ControllerUtil
focal_class.var_name: controllerUtil
focal_class.declarator: opsProcedureProcessor
focal_class.modifier: private
focal_class.original_string: private OpsProcedureProcessor opsProcedureProcessor;
focal_class.type: OpsProcedureProcessor
focal_class.var_name: opsProcedureProcessor
focal_class.declarator: ONEOPS_SYSTEM_USER = "oneops-system"
focal_class.modifier: public static final
focal_class.original_string: public static final String ONEOPS_SYSTEM_USER = "oneops-system";
focal_class.type: String
focal_class.var_name: ONEOPS_SYSTEM_USER
focal_class.declarator: retryTemplate
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private RetryTemplate retryTemplate;
focal_class.type: RetryTemplate
focal_class.var_name: retryTemplate
focal_class.file: controller/src/main/java/com/oneops/controller/cms/CMSClient.java
focal_class.identifier: CMSClient
focal_class.class_method_signature: CMSClient.setCmsDpmtProcessor(CmsDpmtProcessor cmsDpmtProcessor)
focal_class.full_signature: public void setCmsDpmtProcessor(CmsDpmtProcessor cmsDpmtProcessor)
focal_class.identifier: setCmsDpmtProcessor
focal_class.modifiers: public
focal_class.parameters: (CmsDpmtProcessor cmsDpmtProcessor)
focal_class.return: void
focal_class.signature: void setCmsDpmtProcessor(CmsDpmtProcessor cmsDpmtProcessor)
focal_class.class_method_signature: CMSClient.setCmsCmProcessor(CmsCmProcessor cmsCmProcessor)
focal_class.full_signature: public void setCmsCmProcessor(CmsCmProcessor cmsCmProcessor)
focal_class.identifier: setCmsCmProcessor
focal_class.modifiers: public
focal_class.parameters: (CmsCmProcessor cmsCmProcessor)
focal_class.return: void
focal_class.signature: void setCmsCmProcessor(CmsCmProcessor cmsCmProcessor)
focal_class.class_method_signature: CMSClient.setOpsProcedureProcessor(OpsProcedureProcessor opsProcedureProcessor)
focal_class.full_signature: public void setOpsProcedureProcessor(OpsProcedureProcessor opsProcedureProcessor)
focal_class.identifier: setOpsProcedureProcessor
focal_class.modifiers: public
focal_class.parameters: (OpsProcedureProcessor opsProcedureProcessor)
focal_class.return: void
focal_class.signature: void setOpsProcedureProcessor(OpsProcedureProcessor opsProcedureProcessor)
focal_class.class_method_signature: CMSClient.setCmsUtil(CmsUtil cmsUtil)
focal_class.full_signature: public void setCmsUtil(CmsUtil cmsUtil)
focal_class.identifier: setCmsUtil
focal_class.modifiers: public
focal_class.parameters: (CmsUtil cmsUtil)
focal_class.return: void
focal_class.signature: void setCmsUtil(CmsUtil cmsUtil)
focal_class.class_method_signature: CMSClient.setControllerUtil(ControllerUtil controllerUtil)
focal_class.full_signature: public void setControllerUtil(ControllerUtil controllerUtil)
focal_class.identifier: setControllerUtil
focal_class.modifiers: public
focal_class.parameters: (ControllerUtil controllerUtil)
focal_class.return: void
focal_class.signature: void setControllerUtil(ControllerUtil controllerUtil)
focal_class.class_method_signature: CMSClient.setCmsWoProvider(CmsWoProvider cmsWoProvider)
focal_class.full_signature: public void setCmsWoProvider(CmsWoProvider cmsWoProvider)
focal_class.identifier: setCmsWoProvider
focal_class.modifiers: public
focal_class.parameters: (CmsWoProvider cmsWoProvider)
focal_class.return: void
focal_class.signature: void setCmsWoProvider(CmsWoProvider cmsWoProvider)
focal_class.class_method_signature: CMSClient.setStepWoLimit(int stepWoLimit)
focal_class.full_signature: public void setStepWoLimit(int stepWoLimit)
focal_class.identifier: setStepWoLimit
focal_class.modifiers: public
focal_class.parameters: (int stepWoLimit)
focal_class.return: void
focal_class.signature: void setStepWoLimit(int stepWoLimit)
focal_class.class_method_signature: CMSClient.setRetryTemplate(RetryTemplate retryTemplate)
focal_class.full_signature: public void setRetryTemplate(RetryTemplate retryTemplate)
focal_class.identifier: setRetryTemplate
focal_class.modifiers: public
focal_class.parameters: (RetryTemplate retryTemplate)
focal_class.return: void
focal_class.signature: void setRetryTemplate(RetryTemplate retryTemplate)
focal_class.class_method_signature: CMSClient.setRestTemplate(RestTemplate restTemplate)
focal_class.full_signature: public void setRestTemplate(RestTemplate restTemplate)
focal_class.identifier: setRestTemplate
focal_class.modifiers: public
focal_class.parameters: (RestTemplate restTemplate)
focal_class.return: void
focal_class.signature: void setRestTemplate(RestTemplate restTemplate)
focal_class.class_method_signature: CMSClient.setServiceUrl(String serviceUrl)
focal_class.full_signature: public void setServiceUrl(String serviceUrl)
focal_class.identifier: setServiceUrl
focal_class.modifiers: public
focal_class.parameters: (String serviceUrl)
focal_class.return: void
focal_class.signature: void setServiceUrl(String serviceUrl)
focal_class.class_method_signature: CMSClient.setTransUrl(String transUrl)
focal_class.full_signature: public void setTransUrl(String transUrl)
focal_class.identifier: setTransUrl
focal_class.modifiers: public
focal_class.parameters: (String transUrl)
focal_class.return: void
focal_class.signature: void setTransUrl(String transUrl)
focal_class.class_method_signature: CMSClient.setCmsCrypto(CmsCrypto cmsCrypto)
focal_class.full_signature: public void setCmsCrypto(CmsCrypto cmsCrypto)
focal_class.identifier: setCmsCrypto
focal_class.modifiers: public
focal_class.parameters: (CmsCrypto cmsCrypto)
focal_class.return: void
focal_class.signature: void setCmsCrypto(CmsCrypto cmsCrypto)
focal_class.class_method_signature: CMSClient.getWorkOrderIds(DelegateExecution exec)
focal_class.full_signature: public void getWorkOrderIds(DelegateExecution exec)
focal_class.identifier: getWorkOrderIds
focal_class.modifiers: public
focal_class.parameters: (DelegateExecution exec)
focal_class.return: void
focal_class.signature: void getWorkOrderIds(DelegateExecution exec)
focal_class.class_method_signature: CMSClient.getWorkOrderIdsNoLimit(CmsDeployment dpmt, int execOrder)
focal_class.full_signature: public List<CmsWorkOrderSimple> getWorkOrderIdsNoLimit(CmsDeployment dpmt, int execOrder)
focal_class.identifier: getWorkOrderIdsNoLimit
focal_class.modifiers: public
focal_class.parameters: (CmsDeployment dpmt, int execOrder)
focal_class.return: List<CmsWorkOrderSimple>
focal_class.signature: List<CmsWorkOrderSimple> getWorkOrderIdsNoLimit(CmsDeployment dpmt, int execOrder)
focal_class.class_method_signature: CMSClient.handleWoError(CmsDeployment dpmt, int execOrder, CmsBaseException e)
focal_class.full_signature: private void handleWoError(CmsDeployment dpmt, int execOrder, CmsBaseException e)
focal_class.identifier: handleWoError
focal_class.modifiers: private
focal_class.parameters: (CmsDeployment dpmt, int execOrder, CmsBaseException e)
focal_class.return: void
focal_class.signature: void handleWoError(CmsDeployment dpmt, int execOrder, CmsBaseException e)
focal_class.class_method_signature: CMSClient.handleWoError(CmsDeployment dpmt, String descr)
focal_class.full_signature: private void handleWoError(CmsDeployment dpmt, String descr)
focal_class.identifier: handleWoError
focal_class.modifiers: private
focal_class.parameters: (CmsDeployment dpmt, String descr)
focal_class.return: void
focal_class.signature: void handleWoError(CmsDeployment dpmt, String descr)
focal_class.class_method_signature: CMSClient.getWorkOrder(DelegateExecution exec, CmsWorkOrderSimple dpmtRec)
focal_class.full_signature: public CmsWorkOrderSimple getWorkOrder(DelegateExecution exec, CmsWorkOrderSimple dpmtRec)
focal_class.identifier: getWorkOrder
focal_class.modifiers: public
focal_class.parameters: (DelegateExecution exec, CmsWorkOrderSimple dpmtRec)
focal_class.return: CmsWorkOrderSimple
focal_class.signature: CmsWorkOrderSimple getWorkOrder(DelegateExecution exec, CmsWorkOrderSimple dpmtRec)
focal_class.class_method_signature: CMSClient.getWorkOrder(CmsDeployment dpmt, WorkOrderContext woContext)
focal_class.full_signature: public CmsWorkOrderSimple getWorkOrder(CmsDeployment dpmt, WorkOrderContext woContext)
focal_class.identifier: getWorkOrder
focal_class.modifiers: public
focal_class.parameters: (CmsDeployment dpmt, WorkOrderContext woContext)
focal_class.return: CmsWorkOrderSimple
focal_class.signature: CmsWorkOrderSimple getWorkOrder(CmsDeployment dpmt, WorkOrderContext woContext)
focal_class.class_method_signature: CMSClient.handleWoError2(DelegateExecution exec, CmsDeployment dpmt, String descr)
focal_class.full_signature: private void handleWoError2(DelegateExecution exec, CmsDeployment dpmt, String descr)
focal_class.identifier: handleWoError2
focal_class.modifiers: private
focal_class.parameters: (DelegateExecution exec, CmsDeployment dpmt, String descr)
focal_class.return: void
focal_class.signature: void handleWoError2(DelegateExecution exec, CmsDeployment dpmt, String descr)
focal_class.class_method_signature: CMSClient.handleGetWoError(DelegateExecution exec, CmsDeployment dpmt, CmsWorkOrderSimple dpmtRec, String descr)
focal_class.full_signature: private void handleGetWoError(DelegateExecution exec, CmsDeployment dpmt, CmsWorkOrderSimple dpmtRec, String descr)
focal_class.identifier: handleGetWoError
focal_class.modifiers: private
focal_class.parameters: (DelegateExecution exec, CmsDeployment dpmt, CmsWorkOrderSimple dpmtRec, String descr)
focal_class.return: void
focal_class.signature: void handleGetWoError(DelegateExecution exec, CmsDeployment dpmt, CmsWorkOrderSimple dpmtRec, String descr)
focal_class.class_method_signature: CMSClient.checkDpmt(DelegateExecution exec)
focal_class.full_signature: public void checkDpmt(DelegateExecution exec)
focal_class.identifier: checkDpmt
focal_class.modifiers: public
focal_class.parameters: (DelegateExecution exec)
focal_class.return: void
focal_class.signature: void checkDpmt(DelegateExecution exec)
focal_class.class_method_signature: CMSClient.updateWoState(DelegateExecution exec, CmsWorkOrderSimple wo, String newState)
focal_class.full_signature: public void updateWoState(DelegateExecution exec, CmsWorkOrderSimple wo, String newState)
focal_class.identifier: updateWoState
focal_class.modifiers: public
focal_class.parameters: (DelegateExecution exec, CmsWorkOrderSimple wo, String newState)
focal_class.return: void
focal_class.signature: void updateWoState(DelegateExecution exec, CmsWorkOrderSimple wo, String newState)
focal_class.class_method_signature: CMSClient.updateWoState(CmsDeployment dpmt, CmsWorkOrderSimple wo, String newState, String error)
focal_class.full_signature: public void updateWoState(CmsDeployment dpmt, CmsWorkOrderSimple wo, String newState, String error)
focal_class.identifier: updateWoState
focal_class.modifiers: public
focal_class.parameters: (CmsDeployment dpmt, CmsWorkOrderSimple wo, String newState, String error)
focal_class.return: void
focal_class.signature: void updateWoState(CmsDeployment dpmt, CmsWorkOrderSimple wo, String newState, String error)
focal_class.class_method_signature: CMSClient.updateWoState(CmsWorkOrderSimple wo, String newState, CmsDeployment dpmt, String execContextName,
                                String error, Consumer<CmsDeployment> updateDpmtFunc)
focal_class.full_signature: public void updateWoState(CmsWorkOrderSimple wo, String newState, CmsDeployment dpmt, String execContextName,
                                String error, Consumer<CmsDeployment> updateDpmtFunc)
focal_class.identifier: updateWoState
focal_class.modifiers: public
focal_class.parameters: (CmsWorkOrderSimple wo, String newState, CmsDeployment dpmt, String execContextName,
                                String error, Consumer<CmsDeployment> updateDpmtFunc)
focal_class.return: void
focal_class.signature: void updateWoState(CmsWorkOrderSimple wo, String newState, CmsDeployment dpmt, String execContextName,
                                String error, Consumer<CmsDeployment> updateDpmtFunc)
focal_class.class_method_signature: CMSClient.isDeleteWO(CmsWorkOrderSimple wo)
focal_class.full_signature: private boolean isDeleteWO(CmsWorkOrderSimple wo)
focal_class.identifier: isDeleteWO
focal_class.modifiers: private
focal_class.parameters: (CmsWorkOrderSimple wo)
focal_class.return: boolean
focal_class.signature: boolean isDeleteWO(CmsWorkOrderSimple wo)
focal_class.class_method_signature: CMSClient.failAllManagedViaWorkOrders(CmsWorkOrderSimple wo)
focal_class.full_signature: private void failAllManagedViaWorkOrders(CmsWorkOrderSimple wo)
focal_class.identifier: failAllManagedViaWorkOrders
focal_class.modifiers: private
focal_class.parameters: (CmsWorkOrderSimple wo)
focal_class.return: void
focal_class.signature: void failAllManagedViaWorkOrders(CmsWorkOrderSimple wo)
focal_class.class_method_signature: CMSClient.completeWO(CmsWorkOrderSimple woSimple)
focal_class.full_signature: private void completeWO(CmsWorkOrderSimple woSimple)
focal_class.identifier: completeWO
focal_class.modifiers: private
focal_class.parameters: (CmsWorkOrderSimple woSimple)
focal_class.return: void
focal_class.signature: void completeWO(CmsWorkOrderSimple woSimple)
focal_class.class_method_signature: CMSClient.setDpmtProcessId(DelegateExecution exec, CmsDeployment dpmt)
focal_class.full_signature: public void setDpmtProcessId(DelegateExecution exec, CmsDeployment dpmt)
focal_class.identifier: setDpmtProcessId
focal_class.modifiers: public
focal_class.parameters: (DelegateExecution exec, CmsDeployment dpmt)
focal_class.return: void
focal_class.signature: void setDpmtProcessId(DelegateExecution exec, CmsDeployment dpmt)
focal_class.class_method_signature: CMSClient.updateDeploymentAndNotify(CmsDeployment dpmt, String processId, String dpmtModel)
focal_class.full_signature: public void updateDeploymentAndNotify(CmsDeployment dpmt, String processId, String dpmtModel)
focal_class.identifier: updateDeploymentAndNotify
focal_class.modifiers: public
focal_class.parameters: (CmsDeployment dpmt, String processId, String dpmtModel)
focal_class.return: void
focal_class.signature: void updateDeploymentAndNotify(CmsDeployment dpmt, String processId, String dpmtModel)
focal_class.class_method_signature: CMSClient.updateDpmtState(DelegateExecution exec, CmsDeployment dpmt, String newState)
focal_class.full_signature: public void updateDpmtState(DelegateExecution exec, CmsDeployment dpmt, String newState)
focal_class.identifier: updateDpmtState
focal_class.modifiers: public
focal_class.parameters: (DelegateExecution exec, CmsDeployment dpmt, String newState)
focal_class.return: void
focal_class.signature: void updateDpmtState(DelegateExecution exec, CmsDeployment dpmt, String newState)
focal_class.class_method_signature: CMSClient.updateDeploymentEndState(CmsDeployment dpmt)
focal_class.full_signature: private void updateDeploymentEndState(CmsDeployment dpmt)
focal_class.identifier: updateDeploymentEndState
focal_class.modifiers: private
focal_class.parameters: (CmsDeployment dpmt)
focal_class.return: void
focal_class.signature: void updateDeploymentEndState(CmsDeployment dpmt)
focal_class.class_method_signature: CMSClient.checkWoStateAndUpdateDpmt(CmsDeployment dpmt)
focal_class.full_signature: private void checkWoStateAndUpdateDpmt(CmsDeployment dpmt)
focal_class.identifier: checkWoStateAndUpdateDpmt
focal_class.modifiers: private
focal_class.parameters: (CmsDeployment dpmt)
focal_class.return: void
focal_class.signature: void checkWoStateAndUpdateDpmt(CmsDeployment dpmt)
focal_class.class_method_signature: CMSClient.updateDpmtState(CmsDeployment dpmt, String newState)
focal_class.full_signature: public void updateDpmtState(CmsDeployment dpmt, String newState)
focal_class.identifier: updateDpmtState
focal_class.modifiers: public
focal_class.parameters: (CmsDeployment dpmt, String newState)
focal_class.return: void
focal_class.signature: void updateDpmtState(CmsDeployment dpmt, String newState)
focal_class.class_method_signature: CMSClient.incExecOrder(DelegateExecution exec)
focal_class.full_signature: public void incExecOrder(DelegateExecution exec)
focal_class.identifier: incExecOrder
focal_class.modifiers: public
focal_class.parameters: (DelegateExecution exec)
focal_class.return: void
focal_class.signature: void incExecOrder(DelegateExecution exec)
focal_class.class_method_signature: CMSClient.getActionOrders(CmsOpsProcedure proc, int execOrder)
focal_class.full_signature: public List<CmsActionOrderSimple> getActionOrders(CmsOpsProcedure proc, int execOrder)
focal_class.identifier: getActionOrders
focal_class.modifiers: public
focal_class.parameters: (CmsOpsProcedure proc, int execOrder)
focal_class.return: List<CmsActionOrderSimple>
focal_class.signature: List<CmsActionOrderSimple> getActionOrders(CmsOpsProcedure proc, int execOrder)
focal_class.class_method_signature: CMSClient.getActionOrders(DelegateExecution exec)
focal_class.full_signature: public void getActionOrders(DelegateExecution exec)
focal_class.identifier: getActionOrders
focal_class.modifiers: public
focal_class.parameters: (DelegateExecution exec)
focal_class.return: void
focal_class.signature: void getActionOrders(DelegateExecution exec)
focal_class.class_method_signature: CMSClient.updateProcedureState(DelegateExecution exec, CmsOpsProcedure proc)
focal_class.full_signature: public void updateProcedureState(DelegateExecution exec, CmsOpsProcedure proc)
focal_class.identifier: updateProcedureState
focal_class.modifiers: public
focal_class.parameters: (DelegateExecution exec, CmsOpsProcedure proc)
focal_class.return: void
focal_class.signature: void updateProcedureState(DelegateExecution exec, CmsOpsProcedure proc)
focal_class.class_method_signature: CMSClient.updateActionOrderState(DelegateExecution exec, CmsActionOrderSimple aos, String newState)
focal_class.full_signature: public void updateActionOrderState(DelegateExecution exec, CmsActionOrderSimple aos, String newState)
focal_class.identifier: updateActionOrderState
focal_class.modifiers: public
focal_class.parameters: (DelegateExecution exec, CmsActionOrderSimple aos, String newState)
focal_class.return: void
focal_class.signature: void updateActionOrderState(DelegateExecution exec, CmsActionOrderSimple aos, String newState)
focal_class.class_method_signature: CMSClient.updateActionOrderState(CmsActionOrderSimple aos, OpsActionState newState)
focal_class.full_signature: public void updateActionOrderState(CmsActionOrderSimple aos, OpsActionState newState)
focal_class.identifier: updateActionOrderState
focal_class.modifiers: public
focal_class.parameters: (CmsActionOrderSimple aos, OpsActionState newState)
focal_class.return: void
focal_class.signature: void updateActionOrderState(CmsActionOrderSimple aos, OpsActionState newState)
focal_class.class_method_signature: CMSClient.failActionOrder(CmsActionOrder ao)
focal_class.full_signature: public void failActionOrder(CmsActionOrder ao)
focal_class.identifier: failActionOrder
focal_class.modifiers: public
focal_class.parameters: (CmsActionOrder ao)
focal_class.return: void
focal_class.signature: void failActionOrder(CmsActionOrder ao)
focal_class.class_method_signature: CMSClient.updateAoWithState(long procedureId, long actionId, OpsActionState state)
focal_class.full_signature: private void updateAoWithState(long procedureId, long actionId, OpsActionState state)
focal_class.identifier: updateAoWithState
focal_class.modifiers: private
focal_class.parameters: (long procedureId, long actionId, OpsActionState state)
focal_class.return: void
focal_class.signature: void updateAoWithState(long procedureId, long actionId, OpsActionState state)
focal_class.class_method_signature: CMSClient.getEnv4Release(DelegateExecution exec)
focal_class.full_signature: public void getEnv4Release(DelegateExecution exec)
focal_class.identifier: getEnv4Release
focal_class.modifiers: public
focal_class.parameters: (DelegateExecution exec)
focal_class.return: void
focal_class.signature: void getEnv4Release(DelegateExecution exec)
focal_class.class_method_signature: CMSClient.commitAndDeployRelease(DelegateExecution exec)
focal_class.full_signature: public void commitAndDeployRelease(DelegateExecution exec)
focal_class.identifier: commitAndDeployRelease
focal_class.modifiers: public
focal_class.parameters: (DelegateExecution exec)
focal_class.return: void
focal_class.signature: void commitAndDeployRelease(DelegateExecution exec)
focal_class.class_method_signature: CMSClient.decryptWo(CmsWorkOrderSimple wo)
focal_class.full_signature: private void decryptWo(CmsWorkOrderSimple wo)
focal_class.identifier: decryptWo
focal_class.modifiers: private
focal_class.parameters: (CmsWorkOrderSimple wo)
focal_class.return: void
focal_class.signature: void decryptWo(CmsWorkOrderSimple wo)
focal_class.class_method_signature: CMSClient.decryptAo(CmsActionOrderSimple ao)
focal_class.full_signature: private void decryptAo(CmsActionOrderSimple ao)
focal_class.identifier: decryptAo
focal_class.modifiers: private
focal_class.parameters: (CmsActionOrderSimple ao)
focal_class.return: void
focal_class.signature: void decryptAo(CmsActionOrderSimple ao)
focal_class.class_method_signature: CMSClient.decryptCI(CmsCISimple ci)
focal_class.full_signature: private void decryptCI(CmsCISimple ci)
focal_class.identifier: decryptCI
focal_class.modifiers: private
focal_class.parameters: (CmsCISimple ci)
focal_class.return: void
focal_class.signature: void decryptCI(CmsCISimple ci)
focal_class.class_method_signature: CMSClient.decryptRfc(CmsRfcCISimple rfc, boolean keepEncVarsValues)
focal_class.full_signature: private void decryptRfc(CmsRfcCISimple rfc, boolean keepEncVarsValues)
focal_class.identifier: decryptRfc
focal_class.modifiers: private
focal_class.parameters: (CmsRfcCISimple rfc, boolean keepEncVarsValues)
focal_class.return: void
focal_class.signature: void decryptRfc(CmsRfcCISimple rfc, boolean keepEncVarsValues)
focal_class.class_method_signature: CMSClient.setOrCreateLocalVar(DelegateExecution exec, String name, Object value)
focal_class.full_signature: private void setOrCreateLocalVar(DelegateExecution exec, String name, Object value)
focal_class.identifier: setOrCreateLocalVar
focal_class.modifiers: private
focal_class.parameters: (DelegateExecution exec, String name, Object value)
focal_class.return: void
focal_class.signature: void setOrCreateLocalVar(DelegateExecution exec, String name, Object value)
focal_class.class_method_signature: CMSClient.setDeploymentNotifier(DeploymentNotifier deploymentNotifier)
focal_class.full_signature: public void setDeploymentNotifier(DeploymentNotifier deploymentNotifier)
focal_class.identifier: setDeploymentNotifier
focal_class.modifiers: public
focal_class.parameters: (DeploymentNotifier deploymentNotifier)
focal_class.return: void
focal_class.signature: void setDeploymentNotifier(DeploymentNotifier deploymentNotifier)
focal_class.class_method_signature: CMSClient.getRetryTemplate(@Value("${controller.retryCount:3}") int retryCount, @Value("${controller.intial_delay:1000}") int initialDelay, @Value("${controller.maxInterval:10000}") int maxInterval)
focal_class.full_signature: @Bean protected RetryTemplate getRetryTemplate(@Value("${controller.retryCount:3}") int retryCount, @Value("${controller.intial_delay:1000}") int initialDelay, @Value("${controller.maxInterval:10000}") int maxInterval)
focal_class.identifier: getRetryTemplate
focal_class.modifiers: @Bean protected
focal_class.parameters: (@Value("${controller.retryCount:3}") int retryCount, @Value("${controller.intial_delay:1000}") int initialDelay, @Value("${controller.maxInterval:10000}") int maxInterval)
focal_class.return: RetryTemplate
focal_class.signature: RetryTemplate getRetryTemplate(@Value("${controller.retryCount:3}") int retryCount, @Value("${controller.intial_delay:1000}") int initialDelay, @Value("${controller.maxInterval:10000}") int maxInterval)
focal_class.class_method_signature: CMSClient.getVarByMatchingCriteriaBoolean(String varNameLike, String criteria)
focal_class.full_signature: public boolean getVarByMatchingCriteriaBoolean(String varNameLike, String criteria)
focal_class.identifier: getVarByMatchingCriteriaBoolean
focal_class.modifiers: public
focal_class.parameters: (String varNameLike, String criteria)
focal_class.return: boolean
focal_class.signature: boolean getVarByMatchingCriteriaBoolean(String varNameLike, String criteria)
focal_method.body: public void updateActionOrderState(DelegateExecution exec, CmsActionOrderSimple aos, String newState) {
  
          aos.setActionState(OpsActionState.valueOf(newState));
          try {
              if (newState.equalsIgnoreCase(COMPLETE)) {
                  CmsActionOrder ao = cmsUtil.custSimple2ActionOrder(aos);
                  opsProcedureProcessor.completeActionOrder(ao);
                  /*
                  
                  retryTemplate.execute(retryContext -> {
                      restTemplate.put(serviceUrl + "cm/ops/procedures/{procedureId}/actionorders", ao, ao.getProcedureId());
                      return null;
                  });
                  */
              } else {
                  CmsOpsAction action = new CmsOpsAction();
                  action.setActionId(aos.getActionId());
                  action.setProcedureId(aos.getProcedureId());
                  action.setActionState(OpsActionState.valueOf(newState));
                  if (newState.equalsIgnoreCase(FAILED) && aos.getIsCritical()) {
                      CmsOpsProcedure proc = (CmsOpsProcedure) exec.getVariable("proc");
                      proc.setProcedureState(OpsProcedureState.failed);
                      exec.setVariable("proc", proc);
                  }
                  opsProcedureProcessor.updateOpsAction(action);
                  /*
                  retryTemplate.execute(retryContext -> {
                      restTemplate.put(serviceUrl + "cm/ops/procedures/{procedureId}/actions", action, action.getProcedureId());
                      return null;
                  });
                  */
              }
          } catch (CmsBaseException rce) {
              logger.error(rce);
              CmsOpsProcedure proc = (CmsOpsProcedure) exec.getVariable("proc");
              proc.setProcedureState(OpsProcedureState.failed);
              exec.setVariable("proc", proc);
          }
          logger.info("Client: put:ops action id " + aos.getActionId() + " to state " + newState);
      }
focal_method.class_method_signature: CMSClient.updateActionOrderState(DelegateExecution exec, CmsActionOrderSimple aos, String newState)
focal_method.full_signature: public void updateActionOrderState(DelegateExecution exec, CmsActionOrderSimple aos, String newState)
focal_method.identifier: updateActionOrderState
focal_method.invocations: setActionState valueOf equalsIgnoreCase custSimple2ActionOrder completeActionOrder setActionId getActionId setProcedureId getProcedureId setActionState valueOf equalsIgnoreCase getIsCritical getVariable setProcedureState setVariable updateOpsAction error getVariable setProcedureState setVariable info getActionId
focal_method.modifiers: public
focal_method.parameters: (DelegateExecution exec, CmsActionOrderSimple aos, String newState)
focal_method.return: void
focal_method.signature: void updateActionOrderState(DelegateExecution exec, CmsActionOrderSimple aos, String newState)