public class APIManagerAPIAdapter extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
APIManagerAPIAdapter.StatusEndpoint
Maps the provided status to the REST-API endpoint to change the status!
|
| Constructor and Description |
|---|
APIManagerAPIAdapter() |
public APIManagerAPIAdapter()
throws AppException
AppExceptionpublic List<API> getAPIs(APIFilter filter, boolean logProgress) throws AppException
AppExceptionpublic API getAPI(APIFilter filter, boolean logMessage) throws AppException
AppExceptionpublic API getAPIWithId(String id) throws AppException
AppExceptionpublic <profile> void translateMethodIds(API api, String apiId, APIFilter.METHOD_TRANSLATION mode) throws AppException
profile - An Outbound- or InboundProfileapi - in which the methods should be translatedapiId - the methods are loaded based on this API-ID (this might be a another referenced APImode - translation directionAppException - when something goes wrongpublic <profile> void translateMethodIds(API api, APIFilter.METHOD_TRANSLATION mode) throws AppException
profile - the type of the profileapi - in which the methods should be translatedmode - translation directionAppException - if methods cannot be translatedpublic <profile> void translateMethodIds(List<API> apis, List<String> apiIds, APIFilter.METHOD_TRANSLATION mode) throws AppException
AppExceptionpublic void updateAPIImage(API api, Image image) throws AppException
AppExceptionpublic void addClientApplications(API api, APIFilter filter) throws AppException
AppExceptionpublic API createAPIProxy(API api) throws AppException
AppExceptionpublic API updateAPIProxy(API api) throws AppException
AppExceptionpublic void deleteAPI(API api) throws AppException
AppExceptionpublic void deleteAPIProxy(API api) throws AppException
AppExceptionpublic void deleteBackendAPI(API api) throws AppException
AppExceptionpublic void updateAPIStatus(API api, String desiredState, String vhost) throws AppException
AppExceptionpublic void updateRetirementDate(API api, Long retirementDate) throws AppException
AppExceptionpublic API importBackendAPI(API api) throws AppException
AppExceptionpublic void upgradeAccessToNewerAPI(API newAPI, API oldAPI) throws AppException
AppExceptionpublic void grantClientOrganization(List<Organization> grantAccessToOrgs, API api, boolean allOrgs) throws AppException
AppExceptionpublic APIManagerAPIAdapter setAPIManagerResponse(APIFilter filter, String apiManagerResponse)
public APIManagerAPIAdapter setAPIManagerResponse(String apiId, Image image)
Copyright © 2020. All rights reserved.