public class RuntimeFabricClient extends AbstractMuleClient
| Modifier and Type | Field and Description |
|---|---|
static String |
API_VERSION |
static String |
DEPLOYMENTS_PATH |
static String |
HYBRID_API |
static String |
RESOURCES_PATH |
static String |
RUNTIME_FABRIC_TARGET_INFO |
static String |
WORKERCLOUD_API_V1_AGENTS |
authenticationServiceClient, baseUri, DEFAULT_BASE_URL, ID, NAME, ORGANIZATION, SUB_ORGANIZATION_IDS, USERlog| Constructor and Description |
|---|
RuntimeFabricClient(RuntimeFabricDeployment runtimeFabricDeployment,
DeployerLog log) |
| Modifier and Type | Method and Description |
|---|---|
DeploymentDetailedResponse |
deleteDeployment(String deploymentId)
f
Deletes an existing deployment
|
DeploymentDetailedResponse |
deploy(DeploymentRequest request)
Create a new deployment
|
Supplier<String> |
getAgentsPathSupplier() |
DeploymentDetailedResponse |
getDeployment(String deploymentId)
Retrieves an existing deployment
|
Deployments |
getDeployments()
Look up all the deployments
|
Supplier<String> |
getPathSupplier() |
com.google.gson.JsonObject |
getTargetInfo(String targetId) |
com.google.gson.JsonArray |
getTargets() |
DeploymentDetailedResponse |
redeploy(DeploymentModify modify,
String deploymentId)
Update an existing deployment
|
configureRequest, createBusinessGroupPath, findEnvironmentByName, getBusinessGroupIdByBusinessGroupPath, getEnvId, getEnvironments, getMe, getOrgId, getSuborganizationIds, init, resolveSuborganizationscheckResponseStatus, checkResponseStatus, configureSecurityContext, delete, delete, get, get, get, getTarget, getUserAgent, initialize, patch, patch, post, post, post, put, put, readJsonEntity, setUserAgentpublic static final String API_VERSION
public static final String HYBRID_API
public static final String RESOURCES_PATH
public static final String DEPLOYMENTS_PATH
public static final String WORKERCLOUD_API_V1_AGENTS
public static final String RUNTIME_FABRIC_TARGET_INFO
public RuntimeFabricClient(RuntimeFabricDeployment runtimeFabricDeployment, DeployerLog log)
public Deployments getDeployments()
Deploymentspublic DeploymentDetailedResponse deploy(DeploymentRequest request)
DeploymentDetailedResponsepublic DeploymentDetailedResponse redeploy(DeploymentModify modify, String deploymentId)
DeploymentGenericResponsepublic DeploymentDetailedResponse getDeployment(String deploymentId)
DeploymentDetailedResponsepublic DeploymentDetailedResponse deleteDeployment(String deploymentId)
DeploymentDetailedResponsepublic com.google.gson.JsonArray getTargets()
public com.google.gson.JsonObject getTargetInfo(String targetId)
Copyright © 2018 MuleSoft Inc. All rights reserved.