Package com.calm.CalmHelpers
Class Application
- java.lang.Object
- 
- com.calm.CalmHelpers.Application
 
- 
 public class Application extends Object 
- 
- 
Field SummaryFields Modifier and Type Field Description static Map<String,String>applicationNameUuidPairstatic Map<String,String>systemActions
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
getInstancepublic static Application getInstance(Rest rest) throws Exception - Throws:
- Exception
 
 - 
getApplicationUuidByRequestIdpublic String getApplicationUuidByRequestId(String blueprintUuid, String requestId) throws Exception - Throws:
- Exception
 
 - 
getApplicationDetailspublic org.json.JSONObject getApplicationDetails(String applicationUuid) throws Exception - Throws:
- Exception
 
 - 
waitForApplicationToGoIntoSuccessStatepublic String waitForApplicationToGoIntoSuccessState(String appName, String applicationUuid, String state_name, PrintStream logger) throws Exception - Throws:
- Exception
 
 - 
fetchRuntimeProfileActionVariablespublic String fetchRuntimeProfileActionVariables(String applicationName, String actionName) throws Exception - Throws:
- Exception
 
 - 
patchAppProfileActionVariablespublic org.json.JSONObject patchAppProfileActionVariables(org.json.JSONObject actionSpec, String applicationName, String actionName, String runtimeVariablesStr, PrintStream logger) throws Exception- Throws:
- Exception
 
 - 
getActionUuidpublic String getActionUuid(String applicationName, String actionName) throws Exception - Throws:
- Exception
 
 - 
runActionpublic org.json.JSONObject runAction(String applicationName, String actionName, org.json.JSONObject actionSpec) throws Exception - Throws:
- Exception
 
 - 
waitForActionToCompletepublic String waitForActionToComplete(String applicationName, String runlogUuid, PrintStream logger) throws Exception - Throws:
- Exception
 
 - 
taskOutputpublic void taskOutput(String appUuid, String action, PrintStream logger) throws Exception - Throws:
- Exception
 
 - 
getProfileActionsFromBlueprintpublic List<String> getProfileActionsFromBlueprint(String blueprintName, String appProfileName) throws Exception - Throws:
- Exception
 
 - 
getProfileActionsVariablesFromBlueprintpublic String getProfileActionsVariablesFromBlueprint(String blueprintName, String appProfileName, String actionName) throws Exception - Throws:
- Exception
 
 
- 
 
-