Modifier and Type | Method and Description |
---|---|
boolean |
doesAllMediatorPublishFailed()
Returns whether publish to all mediator failed
|
java.util.List<CentraSiteRegistryObject> |
getAliases()
Return the existing aliases for the selected service.
|
java.util.Collection<Category> |
getAllSandboxes() |
java.util.List<Gateway> |
getApplicableGateways()
Fetches all the gateways that are applicable.
|
java.util.Collection<Community> |
getCommunities()
Get all present communities of all registered API portals.
|
java.util.Collection<Community> |
getCommunities(APIPortal apiPortal)
Get all present communities from API portal.
|
java.util.Collection<Community> |
getCommunities(java.util.Collection<java.lang.String> selectedAssets)
Get all present communities of all registered API portals.
|
java.util.Collection<Category> |
getEndpointSemantics()
Returns the
Collection of Category objects which indicate the endpoint semantics. |
java.util.Map<Gateway,java.lang.String> |
getFailedDeploymentMessages()
Returns the failed deployment status as key-value pair of (gateway, status message).
|
java.util.Map<Gateway,java.lang.String> |
getFailedMediatorMessages() |
java.lang.String |
getFailedPortalMessages()
Returns the failed deployment status as string.
|
java.lang.String |
getPortalPublishStatus() |
int |
getProgress()
Returns number of deployment requests made which highlight the deployment progress.
|
java.util.Collection<APIPortal> |
getRegisteredApiPortals()
returns the list of registered API-Portals
|
java.util.List<CentraSiteRegistryObject> |
getSelectedAliases()
Return the selected alias(es) for the native service.
|
boolean |
isBaseType()
Checks if the type of the asset being published is a base type or not.
|
boolean |
isLCMCompliant() |
boolean |
isPortalPublishPermitted(java.util.List<java.lang.String> assetIds)
Checks if the assets given by ID are permitted to be published to API portal.
|
boolean |
isPrevious()
Gets whether to execute the previous state of the Action.
|
void |
setApiGatewayTargetsToActivate(java.util.List<java.lang.String> targetIds) |
void |
setFromBulk(boolean isFromBulk) |
void |
setGateways(java.util.Collection<Gateway> gatewaysForDeployment)
Sets the collection of gateways for which the selected asset will be deployed.
|
void |
setPrevious(boolean prev)
Sets whether to execute the previous state of the Action.
|
void |
setSelectedAliases(java.util.List<CentraSiteRegistryObject> aliases)
Sets the aliases for the service.
|
void |
setSelectedApiPortals(java.util.Collection<APIPortal> selectedPortals) |
void |
setSelectedCommunities(java.util.Map<java.lang.String,java.util.Collection<java.lang.String[]>> selectedCommunities)
Set map of all selected communities.
|
void |
setSelectedPortalEndpointSemantics(java.util.Map<APIPortal,java.util.Collection<Category>> portalEndpointSemanticsMap) |
void |
setVisibleToEveryOne(boolean visibility)
Controls the visibility of the API being published.
|
cancel, doesLoggedInUserHaveSufficientRolesOrPermissions, executeNextStep, executePreviousStep, finishAllSteps, getCurrentState, getGroup, getIconURL, getId, getName, getNonApplicableReason, getSkippedObjectsWithReason, isAllowed, isApplicable, setObjects
void setVisibleToEveryOne(boolean visibility) throws CLLException
visibility
- - true/falseCLLException
- If an error occurs while setting the propertyjava.util.List<Gateway> getApplicableGateways() throws CLLException
List
of active and inactive Gateway
s sorted by nameCLLException
- If an error occurs while fetching the applicable gatewaysvoid setGateways(java.util.Collection<Gateway> gatewaysForDeployment)
gatewaysForDeployment
- - Collection
of gateways. Ideally not null/empty.java.util.Map<Gateway,java.lang.String> getFailedDeploymentMessages() throws CLLException
Map
having the gateway ids as keys and the failure messages as values.CLLException
- If an error occurs while processing the deployment response messagesjava.lang.String getFailedPortalMessages() throws CLLException
CLLException
- If an error occurs while processing the publish response messagesint getProgress() throws CLLException
CLLException
- If an error occurred while trying to get the deployment progressjava.util.List<CentraSiteRegistryObject> getAliases() throws CLLException
List
of CentraSiteRegistryObject
sCLLException
- In case of a failure to get the aliasesvoid setSelectedAliases(java.util.List<CentraSiteRegistryObject> aliases)
aliases
- The List
of CentraSiteRegistryObject
aliases to setjava.util.List<CentraSiteRegistryObject> getSelectedAliases() throws CLLException
CentraSiteRegistryObject
List
CLLException
boolean isBaseType()
java.util.Collection<APIPortal> getRegisteredApiPortals() throws CLLException
CLLException
void setSelectedApiPortals(java.util.Collection<APIPortal> selectedPortals) throws CLLException
CLLException
void setSelectedPortalEndpointSemantics(java.util.Map<APIPortal,java.util.Collection<Category>> portalEndpointSemanticsMap)
java.util.Collection<Category> getEndpointSemantics() throws CLLException
Collection
of Category
objects which indicate the endpoint semantics.Collection
of Category
objectsCLLException
- If an error occurs while fetching the categoriesjava.util.Collection<Category> getAllSandboxes() throws CLLException
CLLException
java.util.Collection<Community> getCommunities()
Collection
of Community
objectsjava.util.Collection<Community> getCommunities(APIPortal apiPortal) throws CLLException
Collection
of Community
objectsCLLException
java.util.Collection<Community> getCommunities(java.util.Collection<java.lang.String> selectedAssets)
selectedAssets
- uddi keys of assets which were selected for the publishCollection
of Community
objectsvoid setSelectedCommunities(java.util.Map<java.lang.String,java.util.Collection<java.lang.String[]>> selectedCommunities)
selectedCommunities
- map of selected communitiesjava.lang.String getPortalPublishStatus() throws java.lang.Exception
java.lang.Exception
boolean isPrevious()
true
if the action is executing the previous state of the current statevoid setPrevious(boolean prev)
prev
- If true
then the action executes the previous state of the current state.boolean doesAllMediatorPublishFailed() throws CLLException
CLLException
java.util.Map<Gateway,java.lang.String> getFailedMediatorMessages()
void setFromBulk(boolean isFromBulk)
boolean isLCMCompliant() throws CLLException
CLLException
boolean isPortalPublishPermitted(java.util.List<java.lang.String> assetIds) throws CLLException
assetIds
- uddi keys of assetsCLLException
void setApiGatewayTargetsToActivate(java.util.List<java.lang.String> targetIds) throws CLLException
CLLException