Interface DeploymentManagementInterface
public interface DeploymentManagementInterface
DeploymentManagementInterface describes the deployment of IT infrastructure assets.
An IT infrastructure asset can be deployed to any type of asset.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclearDeployment(String userId, String infrastructureManagerGUID, String infrastructureManagerName, String itAssetGUID, String destinationGUID, Date effectiveTime) Remove a deployment relationship.voiddeployITAsset(String userId, String infrastructureManagerGUID, String infrastructureManagerName, boolean infrastructureManagerIsHome, String itAssetGUID, String destinationGUID, DeploymentProperties deploymentProperties) Create a relationship that represents the deployment of an IT infrastructure asset to a specific deployment destination (another asset).getDeployedITAssets(String userId, String destinationGUID, Date effectiveTime, int startFrom, int pageSize) Return the list of assets deployed on a particular destination.getDeploymentDestinations(String userId, String itAssetGUID, Date effectiveTime, int startFrom, int pageSize) Return the list of destinations that a particular IT infrastructure asset is deployed to.voidupdateITAssetDeployment(String userId, String infrastructureManagerGUID, String infrastructureManagerName, String deploymentGUID, boolean isMergeUpdate, DeploymentProperties deploymentProperties) Update a deployment relationship.
-
Method Details
-
deployITAsset
void deployITAsset(String userId, String infrastructureManagerGUID, String infrastructureManagerName, boolean infrastructureManagerIsHome, String itAssetGUID, String destinationGUID, DeploymentProperties deploymentProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Create a relationship that represents the deployment of an IT infrastructure asset to a specific deployment destination (another asset).- Parameters:
userId- calling userinfrastructureManagerGUID- unique identifier of software server capability representing the infrastructure managerinfrastructureManagerName- unique name of software server capability representing the infrastructure managerinfrastructureManagerIsHome- should the relationship be marked as owned by the infrastructure manager so others can not update?itAssetGUID- unique identifier of the IT infrastructure assetdestinationGUID- unique identifier of the destination where the asset is being deployed todeploymentProperties- relationship properties- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
updateITAssetDeployment
void updateITAssetDeployment(String userId, String infrastructureManagerGUID, String infrastructureManagerName, String deploymentGUID, boolean isMergeUpdate, DeploymentProperties deploymentProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Update a deployment relationship.- Parameters:
userId- calling userinfrastructureManagerGUID- unique identifier of software server capability representing the infrastructure managerinfrastructureManagerName- unique name of software server capability representing the infrastructure managerdeploymentGUID- unique identifier of the relationshipisMergeUpdate- should the supplied properties be merged with existing properties (true) by replacing just the properties with matching names, or should the entire properties of the instance be replaced?deploymentProperties- properties for the relationship- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearDeployment
void clearDeployment(String userId, String infrastructureManagerGUID, String infrastructureManagerName, String itAssetGUID, String destinationGUID, Date effectiveTime) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Remove a deployment relationship.- Parameters:
userId- calling userinfrastructureManagerGUID- unique identifier of software server capability representing the infrastructure managerinfrastructureManagerName- unique name of software server capability representing the infrastructure manageritAssetGUID- unique identifier of the IT infrastructure assetdestinationGUID- unique identifier of the destination where the asset is being deployed toeffectiveTime- time when the deployment is effective- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getDeployedITAssets
List<DeploymentElement> getDeployedITAssets(String userId, String destinationGUID, Date effectiveTime, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return the list of assets deployed on a particular destination.- Parameters:
userId- calling userdestinationGUID- unique identifier of the destination asset to queryeffectiveTime- effective time for the querystartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getDeploymentDestinations
List<DeploymentElement> getDeploymentDestinations(String userId, String itAssetGUID, Date effectiveTime, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException Return the list of destinations that a particular IT infrastructure asset is deployed to.- Parameters:
userId- calling useritAssetGUID- unique identifier of the IT infrastructure asset to queryeffectiveTime- effective time for the querystartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-