public interface DeploymentRESTClient
Modifier and Type | Method and Description |
---|---|
java.lang.String |
promote(java.lang.String sourceGatewayKey,
java.util.Collection<java.lang.String> serviceKeys,
java.util.Collection<java.lang.String> targetGatewayKeys,
boolean includeApplications)
Promote virtual services from a source gateway to one or more target gateways.
|
DeploymentResponse |
promoteProgress(java.lang.String handle)
Get the promote status for a specific promote call
|
java.lang.String |
publish(java.util.Collection<Gateway> gateways,
java.util.Collection<CentraSiteRegistryObject> assets,
boolean exposeToPublish)
Publish Virtual Services and its variants to specific Gateways.
|
java.lang.String |
publish(java.util.Collection<Gateway> gateways,
java.util.Collection<CentraSiteRegistryObject> assets,
boolean exposeToPublish,
boolean activateOnPublish)
Publish Virtual Services and its variants to specific Gateways (API-Gateways).
|
java.lang.String |
publish(java.util.Collection<Gateway> gateways,
java.util.Collection<CentraSiteRegistryObject> assets,
boolean exposeToPublish,
boolean activateOnPublish,
DeploymentConfig deploymentConfig)
Publish Virtual Services and its variants to specific Gateways (API-Gateways) with specifying deployment configuration values.
|
DeploymentResponse |
publishProgress(java.lang.String handle)
Get the publish status for a specific publish call
|
java.lang.String |
publishReread(java.util.Collection<Gateway> gateways,
java.util.Collection<CentraSiteRegistryObject> assets,
boolean exposeToPublish)
Publish Virtual Services and its variants to specific Gateways.
|
java.lang.String |
publishReread(java.util.Collection<Gateway> gateways,
java.util.Collection<CentraSiteRegistryObject> assets,
boolean exposeToPublish,
boolean activateOnPublish)
Publish Virtual Services and its variants to specific Gateways.
|
java.lang.String |
publishReread(java.util.Collection<Gateway> gateways,
java.util.Collection<CentraSiteRegistryObject> assets,
boolean exposeToPublish,
boolean activateOnPublish,
DeploymentConfig deploymentConfig)
Publish Virtual Services and its variants to specific Gateways.
|
java.lang.String |
syncConsumers(java.lang.String gatewayKey)
Sync Consumers present in CentraSite with the specified gateway
This method invokes a REST service which does the consumers synchronization
|
java.lang.String |
unpublish(java.util.Map<CentraSiteRegistryObject,java.util.List<Gateway>> undeployedAliases,
boolean revokeConsume)
Unpublish Virtual Services and its variants from specific Gateways.
|
DeploymentResponse |
unpublishProgress(java.lang.String handle)
Get the unpublish status for a specific unpublish call
|
java.lang.String |
unpublishRuntimeAliases(java.util.Collection<CentraSiteRegistryObject> aliases,
Gateway gateway)
Unpublish aliases from specified gateway
|
java.lang.String promote(java.lang.String sourceGatewayKey, java.util.Collection<java.lang.String> serviceKeys, java.util.Collection<java.lang.String> targetGatewayKeys, boolean includeApplications) throws CLLException
sourceGatewayKey
- The key of the source gateways from which promote is performed.serviceKeys
- The keys of a virtual services that are to be promoted.targetGatewayKeys
- The keys of the target gateways to which promote is to be performed.includeApplications
- Include the applications associated with the APIs during the promotion of APIs.CLLException
- If an exception occurs while promoting the virtual service to the gateways.java.lang.String publish(java.util.Collection<Gateway> gateways, java.util.Collection<CentraSiteRegistryObject> assets, boolean exposeToPublish) throws CLLException
gateways
- Gateways to which publish is to be performedassets
- Collection of Registry objects that are to be published.exposeToPublish
- true if publish is needed.CLLException
- If an exception occurs while publishing the assets to the gatewaysjava.lang.String publish(java.util.Collection<Gateway> gateways, java.util.Collection<CentraSiteRegistryObject> assets, boolean exposeToPublish, boolean activateOnPublish) throws CLLException
gateways
- Gateways to which publish is to be performedassets
- Collection of Registry objects that are to be published.exposeToPublish
- true if publish is needed.activateOnPublish
- true if all APIs published to API Gateways in the gateway list should be activated immediatelyCLLException
- If an exception occurs while publishing the assets to the gatewaysjava.lang.String publish(java.util.Collection<Gateway> gateways, java.util.Collection<CentraSiteRegistryObject> assets, boolean exposeToPublish, boolean activateOnPublish, DeploymentConfig deploymentConfig) throws CLLException
gateways
- Gateways to which publish is to be performedassets
- Collection of Registry objects that are to be published.exposeToPublish
- true if publish is needed.activateOnPublish
- true if all APIs published to API Gateways in the gateway list should be activated immediatelydeploymentConfig
- Custom deploy deployment configurationCLLException
- If an exception occurs while publishing the assets to the gatewaysjava.lang.String publishReread(java.util.Collection<Gateway> gateways, java.util.Collection<CentraSiteRegistryObject> assets, boolean exposeToPublish) throws CLLException
gateways
- Gateways to which publish is to be performedassets
- Collection of Registry objects that are to be publishedexposeToPublish
- true if publish is neededCLLException
- If an exception occurs while publishing the assets to the gatewaysjava.lang.String publishReread(java.util.Collection<Gateway> gateways, java.util.Collection<CentraSiteRegistryObject> assets, boolean exposeToPublish, boolean activateOnPublish, DeploymentConfig deploymentConfig) throws CLLException
gateways
- Gateways to which publish is to be performedassets
- Collection of Registry objects that are to be publishedexposeToPublish
- true if publish is neededactivateOnPublish
- true if all APIs published to API Gateways in the gateway list should be activated immediatelydeploymentConfig
- Custom deploy deployment configurationCLLException
- If an exception occurs while publishing the assets to the gatewaysjava.lang.String publishReread(java.util.Collection<Gateway> gateways, java.util.Collection<CentraSiteRegistryObject> assets, boolean exposeToPublish, boolean activateOnPublish) throws CLLException
gateways
- Gateways to which publish is to be performedassets
- Collection of Registry objects that are to be publishedexposeToPublish
- true if publish is neededactivateOnPublish
- true if all APIs published to API Gateways in the gateway list should be activated immediatelyCLLException
- If an exception occurs while publishing the assets to the gatewaysDeploymentResponse promoteProgress(java.lang.String handle) throws CLLException
handle
- Handle which is returned during promote callCLLException
- If an exception occurs while getting the statusDeploymentResponse publishProgress(java.lang.String handle) throws CLLException
handle
- Handle which is returned during publish callCLLException
- If an exception occurs while getting the statusjava.lang.String unpublish(java.util.Map<CentraSiteRegistryObject,java.util.List<Gateway>> undeployedAliases, boolean revokeConsume) throws CLLException
gateways
- Gateways to which unpublish is to be performedassets
- Collection of Registry objects that are to be unpublish.revokeConsume
- Revoke consumability for the service.CLLException
- If an exception occurs while unpublishing the assets from the gatewaysDeploymentResponse unpublishProgress(java.lang.String handle) throws CLLException
handle
- Handle which is returned during unpublish callCLLException
- If an exception occurs while getting the statusjava.lang.String syncConsumers(java.lang.String gatewayKey) throws CLLException
gatewayKey
- Gateway to which the consumers has to be synchronizedCLLException
- If an exception occurs during consumers synchronizationjava.lang.String unpublishRuntimeAliases(java.util.Collection<CentraSiteRegistryObject> aliases, Gateway gateway) throws CLLException
aliases
- Aliases to be unpublished from the specified gatewaygateway
- Gateway from which the aliases has to be unpublishedCLLException
- f an exception occurs while unpublishing the aliases from the gateways