public abstract class AbstractMuleClient extends AbstractClient
| Modifier and Type | Field and Description |
|---|---|
protected AuthenticationServiceClient |
authenticationServiceClient |
protected String |
baseUri |
static String |
DEFAULT_BASE_URL |
static String |
ID |
static String |
NAME |
static String |
ORGANIZATION |
static String |
SUB_ORGANIZATION_IDS |
static String |
USER |
log| Constructor and Description |
|---|
AbstractMuleClient(AnypointDeployment anypointDeployment,
DeployerLog log) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureRequest(javax.ws.rs.client.Invocation.Builder builder)
Template method to allow subclasses to configure the request (adding headers for example).
|
protected String[] |
createBusinessGroupPath() |
Environment |
findEnvironmentByName(String name) |
Environments |
getEnvironments() |
UserInfo |
getMe() |
String |
getOrgId() |
Set<String> |
getSuborganizationIds(com.google.gson.JsonObject organizationJson) |
void |
init() |
protected List<Organization> |
resolveSuborganizations(com.google.gson.JsonObject userJson,
com.google.gson.JsonObject organizationJson) |
configureSecurityContext, delete, get, get, getTarget, getUserAgentMuleDeployer, patch, post, post, put, put, validateStatusSuccesspublic static final String ORGANIZATION
public static final String SUB_ORGANIZATION_IDS
public static final String NAME
public static final String USER
public static final String ID
public static final String DEFAULT_BASE_URL
protected String baseUri
protected AuthenticationServiceClient authenticationServiceClient
public AbstractMuleClient(AnypointDeployment anypointDeployment, DeployerLog log)
public void init()
public UserInfo getMe()
protected List<Organization> resolveSuborganizations(com.google.gson.JsonObject userJson, com.google.gson.JsonObject organizationJson)
public String getOrgId()
public Environment findEnvironmentByName(String name)
protected void configureRequest(javax.ws.rs.client.Invocation.Builder builder)
AbstractClientconfigureRequest in class AbstractClientbuilder - The invocation builder for the request.protected String[] createBusinessGroupPath()
public Environments getEnvironments()
Copyright © 2018 MuleSoft Inc. All rights reserved.