public interface ApiTrackingService
| Modifier and Type | Method and Description |
|---|---|
void |
apiTracked(com.mulesoft.mule.runtime.gw.api.key.ApiKey apiKey,
TrackingInfo trackingInfo,
PolicySet policySet,
List<com.mulesoft.mule.runtime.gw.api.contract.Sla> slas)
Indicates that an API was successfully tracked against API Platform
|
void |
apiTrackingFailed(com.mulesoft.mule.runtime.gw.api.key.ApiKey apiKey)
Indicates that there was an error while trying to track an API against API Platform
|
void |
apiUntracked(com.mulesoft.mule.runtime.gw.api.key.ApiKey apiKey)
Indicates that an API does not exist in API Platform
|
void |
clientsPolling(com.mulesoft.mule.runtime.gw.api.key.ApiKey apiKey,
List<PlatformContractAdapter> contracts,
String contractsEntityTag)
Indicates that a successful polling of API's clients happened
|
List<Api> |
getFailedTrackingApis()
Returns the deployed APIs in this runtime that are not still tracked because there was a previous error while doing it.
|
List<Api> |
getTrackedApis()
Returns the deployed APIs in this runtime that were successfully tracked
|
List<Api> |
getTrackedApisRequiringContracts()
Returns the deployed APIs in this runtime that were successfully tracked and requires
Contracts to be fetched |
void apiTracked(com.mulesoft.mule.runtime.gw.api.key.ApiKey apiKey, TrackingInfo trackingInfo, PolicySet policySet, List<com.mulesoft.mule.runtime.gw.api.contract.Sla> slas)
apiKey - the key of the APItrackingInfo - the tracking information containing API datapolicySet - the policy set present in the response of the polling processslas - the collection of tiers present in the response of the polling processvoid apiUntracked(com.mulesoft.mule.runtime.gw.api.key.ApiKey apiKey)
apiKey - the key of the API deployed in the runtimevoid apiTrackingFailed(com.mulesoft.mule.runtime.gw.api.key.ApiKey apiKey)
apiKey - the key of the APIList<Api> getTrackedApis()
List<Api> getFailedTrackingApis()
List<Api> getTrackedApisRequiringContracts()
Contracts to be fetchedContracts or empty if there are nonevoid clientsPolling(com.mulesoft.mule.runtime.gw.api.key.ApiKey apiKey, List<PlatformContractAdapter> contracts, String contractsEntityTag)
apiKey - the key of the APIcontracts - the new polled contractscontractsEntityTag, - eTag provided by the platform when retrieving API Clients. This is updated in the API
TrackingInfoCopyright © 2014–2025 MuleSoft, Inc.. All rights reserved.