public interface DeploymentRESTClient
Modifier and Type | Method and Description |
---|---|
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.
|
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 |
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 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 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 gatewaysDeploymentResponse 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