| Modifier and Type | Method and Description |
|---|---|
static void |
APIManagerAdapter.deleteInstance() |
static String |
APIManagerAdapter.getApiManagerVersion() |
ClientApplication |
APIManagerAdapter.getAppIdForCredential(String credential,
String type)
The actual App-ID based on the AppName.
|
static com.fasterxml.jackson.databind.JsonNode |
APIManagerAdapter.getCertInfo(InputStream certFile,
CaCert cert)
Helper method to fulfill the given certificates by the API-Developer into the required
format as it's needed by the API-Manager.
|
static User |
APIManagerAdapter.getCurrentUser(boolean useAdminClient) |
static com.fasterxml.jackson.databind.JsonNode |
APIManagerAdapter.getCustomPropertiesConfig() |
static com.fasterxml.jackson.databind.JsonNode |
APIManagerAdapter.getFileData(byte[] certificate,
String filename)
Helper method to translate a Base64 encoded format
as it's needed by the API-Manager.
|
static Image |
APIManagerAdapter.getImageFromAPIM(URI uri,
String baseFilename) |
static APIManagerAdapter |
APIManagerAdapter.getInstance() |
static boolean |
APIManagerAdapter.hasAdminAccount() |
void |
APIManagerAdapter.loginToAPIManager(boolean useAdminClient) |
static com.fasterxml.jackson.databind.JsonNode |
APIManagerAdapter.parseAppConfig(String appConfig)
Helper method to validate that configured Custom-Properties are really configured
in the API-Manager configuration.
|
void |
APIStatusManager.update(API apiToUpdate,
String desiredState) |
void |
APIStatusManager.update(API apiToUpdate,
String desiredState,
boolean enforceBreakingChange) |
void |
APIStatusManager.update(API apiToUpdate,
String desiredState,
String vhost) |
void |
APIStatusManager.update(API apiToUpdate,
String desiredState,
String vhost,
boolean enforceBreakingChange) |
| Constructor and Description |
|---|
APIStatusManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
APIManagerAPIAdapter.addClientApplications(API api,
APIFilter filter) |
APIAccess |
APIManagerAPIAccessAdapter.createAPIAccess(APIAccess apiAccess,
String parentId,
APIManagerAPIAccessAdapter.Type type) |
API |
APIManagerAPIAdapter.createAPIProxy(API api) |
void |
APIManagerAPIAdapter.deleteAPI(API api) |
void |
APIManagerAPIAccessAdapter.deleteAPIAccess(APIAccess apiAccess,
String parentId,
APIManagerAPIAccessAdapter.Type type) |
void |
APIManagerAPIAdapter.deleteAPIProxy(API api) |
void |
APIManagerAPIAdapter.deleteBackendAPI(API api) |
boolean |
APIFilter.filter(API api) |
List<APIMethod> |
APIManagerAPIMethodAdapter.getAllMethodsForAPI(String apiId) |
List<Organization> |
APIManagerOrganizationAdapter.getAllOrgs() |
API |
APIManagerAPIAdapter.getAPI(APIFilter filter,
boolean logMessage) |
List<APIAccess> |
APIManagerAPIAccessAdapter.getAPIAccess(String id,
APIManagerAPIAccessAdapter.Type type) |
List<APIAccess> |
APIManagerAPIAccessAdapter.getAPIAccess(String id,
APIManagerAPIAccessAdapter.Type type,
boolean includeAPIName) |
String |
APIManagerConfigAdapter.getApiManagerConfig(String configField)
Lazy helper method to get the actual API-Manager version.
|
List<API> |
APIManagerAPIAdapter.getAPIs(APIFilter filter,
boolean logProgress) |
API |
APIManagerAPIAdapter.getAPIWithId(String id) |
APIQuota |
APIManagerQuotaAdapter.getDefaultQuota(APIManagerQuotaAdapter.Quota quotaType) |
APIMethod |
APIManagerAPIMethodAdapter.getMethodForId(String apiId,
String methodId) |
APIMethod |
APIManagerAPIMethodAdapter.getMethodForName(String apiId,
String methodName) |
OAuthClientProfile |
APIManagerOAuthClientProfilesAdapter.getOAuthClientProfile(String profileName) |
List<OAuthClientProfile> |
APIManagerOAuthClientProfilesAdapter.getOAuthClientProfiles() |
Organization |
APIManagerOrganizationAdapter.getOrg(OrgFilter filter) |
Organization |
APIManagerOrganizationAdapter.getOrgForId(String orgId) |
Organization |
APIManagerOrganizationAdapter.getOrgForName(String orgName) |
List<Organization> |
APIManagerOrganizationAdapter.getOrgs(OrgFilter filter) |
Policy |
APIManagerPoliciesAdapter.getPolicyForKey(APIManagerPoliciesAdapter.PolicyType type,
String key) |
Policy |
APIManagerPoliciesAdapter.getPolicyForName(APIManagerPoliciesAdapter.PolicyType type,
String name) |
APIQuota |
APIManagerQuotaAdapter.getQuotaForAPI(String quotaId,
String apiId) |
void |
APIManagerAPIAdapter.grantClientOrganization(List<Organization> grantAccessToOrgs,
API api,
boolean allOrgs) |
API |
APIManagerAPIAdapter.importBackendAPI(API api) |
void |
APIManagerAPIAccessAdapter.removeClientOrganization(List<Organization> removingActualOrgs,
String apiId) |
List<APIAccess> |
APIManagerAPIAccessAdapter.saveAPIAccess(List<APIAccess> apiAccess,
String parentId,
APIManagerAPIAccessAdapter.Type type) |
APIQuota |
APIManagerQuotaAdapter.saveQuota(APIQuota quotaConfig,
String quotaId) |
<profile> void |
APIManagerAPIAdapter.translateMethodIds(API api,
APIFilter.METHOD_TRANSLATION mode)
Translates the methodIds of the given api.
|
<profile> void |
APIManagerAPIAdapter.translateMethodIds(API api,
String apiId,
APIFilter.METHOD_TRANSLATION mode)
Translates the methodIds of the given api.
|
<profile> void |
APIManagerAPIAdapter.translateMethodIds(List<API> apis,
List<String> apiIds,
APIFilter.METHOD_TRANSLATION mode) |
void |
APIManagerAPIAdapter.updateAPIImage(API api,
Image image) |
API |
APIManagerAPIAdapter.updateAPIProxy(API api) |
void |
APIManagerAPIAdapter.updateAPIStatus(API api,
String desiredState,
String vhost) |
void |
APIManagerAPIAdapter.updateRetirementDate(API api,
Long retirementDate) |
void |
APIManagerAPIAdapter.upgradeAccessToNewerAPI(API newAPI,
API oldAPI) |
| Constructor and Description |
|---|
APIManagerAPIAdapter() |
| Constructor and Description |
|---|
APIMgrAppsAdapter() |
| Modifier and Type | Method and Description |
|---|---|
List<Organization> |
API.getClientOrganizations() |
Map<String,OutboundProfile> |
API.getOutboundProfiles() |
String |
API.getPath() |
List<SecurityProfile> |
API.getSecurityProfiles() |
String |
API.getState()
The tool handles deprecation as an additional state (might not be best choice), but
the API-Manager internally doesn't.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
WSDLSpecification.configure() |
boolean |
Swagger2xSpecification.configure() |
boolean |
Swagger1xSpecification.configure() |
boolean |
OAS3xSpecification.configure() |
abstract boolean |
APISpecification.configure() |
protected void |
WSDLSpecification.configureBasepath() |
protected void |
Swagger2xSpecification.configureBasepath() |
protected void |
Swagger1xSpecification.configureBasepath() |
protected void |
OAS3xSpecification.configureBasepath() |
protected abstract void |
APISpecification.configureBasepath() |
APISpecification.APISpecType |
WSDLSpecification.getAPIDefinitionType() |
APISpecification.APISpecType |
Swagger2xSpecification.getAPIDefinitionType() |
APISpecification.APISpecType |
Swagger1xSpecification.getAPIDefinitionType() |
APISpecification.APISpecType |
OAS3xSpecification.getAPIDefinitionType() |
abstract APISpecification.APISpecType |
APISpecification.getAPIDefinitionType() |
static APISpecification |
APISpecificationFactory.getAPISpecification(byte[] apiSpecificationContent,
String apiDefinitionFile,
String backendBasepath) |
| Constructor and Description |
|---|
APISpecification(byte[] apiSpecificationContent,
String backendBasepath) |
OAS3xSpecification(byte[] apiSpecificationContent,
String backendBasepath) |
Swagger1xSpecification(byte[] apiSpecificationContent,
String backendBasepath) |
Swagger2xSpecification(byte[] apiSpecificationContent,
String backendBasepath) |
WSDLSpecification(byte[] apiSpecificationContent,
String backendBasepath) |
| Modifier and Type | Method and Description |
|---|---|
static Image |
Image.createImageFromFile(File file) |
Map<String,String> |
SecurityDevice.getProperties() |
void |
OutboundProfile.setFaultHandlerPolicy(Policy faultHandlerPolicy) |
void |
OutboundProfile.setRequestPolicy(Policy requestPolicy) |
void |
OutboundProfile.setResponsePolicy(Policy responsePolicy) |
void |
OutboundProfile.setRoutePolicy(Policy routePolicy) |
| Constructor and Description |
|---|
APIAuthentication(com.fasterxml.jackson.databind.JsonNode config) |
OutboundProfile() |
SecurityDevice() |
| Modifier and Type | Method and Description |
|---|---|
static void |
APIChangeState.copyChangedProps(API desiredAPI,
API createdAPI,
List<String> changes) |
static void |
APIChangeState.copyProps(API sourceAPI,
API targetAPI,
List<String> propsToCopy,
boolean logMessage)
Copied all changed properties of the API having APIPropertyAnnotation set to copyProp = true (default)
|
static void |
APIChangeState.initCreatedAPI(API desiredAPI,
API createdAPI) |
boolean |
APIChangeState.isAdminAccountNeeded() |
boolean |
APIChangeState.isBreaking() |
String |
APIChangeState.waiting4Approval() |
| Constructor and Description |
|---|
APIChangeState(API actualAPI,
API desiredAPI)
Constructs the APIChangeState based on the given Actual- and Desired-API.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CommandParameters.validateRequiredParameters() |
| Constructor and Description |
|---|
CommandParameters(org.apache.commons.cli.CommandLine cmd) |
CommandParameters(org.apache.commons.cli.CommandLine cmd,
org.apache.commons.cli.CommandLine internalCmd,
EnvironmentProperties environment) |
CommandParameters(org.apache.commons.cli.CommandLine cmd,
org.apache.commons.cli.CommandLine internalCmd,
EnvironmentProperties environment,
boolean validateParams) |
EnvironmentProperties(String stage) |
EnvironmentProperties(String stage,
String swaggerPromoteHome) |
StandardExportParams(org.apache.commons.cli.CommandLine cmd,
org.apache.commons.cli.CommandLine internalCmd,
EnvironmentProperties environment) |
| Modifier and Type | Method and Description |
|---|---|
static String |
Utils.getAPIDefinitionUriFromFile(String pathToAPIDefinition) |
| Constructor and Description |
|---|
URLParser(String urlToAPIDefinition) |
| Modifier and Type | Method and Description |
|---|---|
abstract org.apache.http.HttpResponse |
RestAPICall.execute() |
org.apache.http.HttpResponse |
PUTRequest.execute() |
org.apache.http.HttpResponse |
POSTRequest.execute() |
org.apache.http.HttpResponse |
GETRequest.execute() |
org.apache.http.HttpResponse |
DELRequest.execute() |
static APIMHttpClient |
APIMHttpClient.getInstance() |
static APIMHttpClient |
APIMHttpClient.getInstance(boolean adminInstance) |
protected org.apache.http.HttpResponse |
RestAPICall.sendRequest(org.apache.http.client.methods.HttpUriRequest request) |
Copyright © 2020. All rights reserved.