Interface MorpheusSynchronousIntegrationService
public interface MorpheusSynchronousIntegrationService
Holds context methods for interacting with common integration type operations. This could be used for updating
integration type statuses or accessing object models that typically relate to integrations.
- Since:
- 0.15.2
-
Method Summary
Modifier and TypeMethodDescriptiondefault ServiceResponse
deleteCloudIntegration
(Long cloudId, AccountIntegration integration) default ServiceResponse
deleteCloudIntegration
(Long cloudId, NetworkServer networkServer) default ServiceResponse
deleteCloudIntegration
(Long cloudId, StorageServer storageServer) Gets the inventory context for interacting withAccountInventory
objects.default ServiceResponse<AccountIntegration>
registerCloudIntegration
(Long cloudId, AccountIntegration integration) default ServiceResponse<NetworkLoadBalancer>
registerCloudIntegration
(Long cloudId, NetworkLoadBalancer networkLoadBalancer) default ServiceResponse<NetworkServer>
registerCloudIntegration
(Long cloudId, NetworkServer networkServer) default ServiceResponse<StorageServer>
registerCloudIntegration
(Long cloudId, StorageServer storageServer) default void
updateAccountIntegrationStatus
(AccountIntegration integration, AccountIntegration.Status status) Used for updating the status of aNetworkPoolServer
integration.default void
updateAccountIntegrationStatus
(AccountIntegration integration, AccountIntegration.Status status, String message) Used for updating the status of aNetworkPoolServer
integration.
-
Method Details
-
getIntegrationService
MorpheusIntegrationService getIntegrationService() -
getAccountInventory
MorpheusSynchronousAccountInventoryService getAccountInventory()Gets the inventory context for interacting withAccountInventory
objects. This is mostly used for Ansible Tower integrations and is not yet really extensible but could be in the future.- Returns:
- the inventory context
-
updateAccountIntegrationStatus
default void updateAccountIntegrationStatus(AccountIntegration integration, AccountIntegration.Status status, String message) Used for updating the status of aNetworkPoolServer
integration.- Parameters:
integration
- the integration with which we want to update the status.status
- the status of the pool server (ok,syncing,error)message
- the status message for more details. typically only used when status is 'error'.
-
updateAccountIntegrationStatus
default void updateAccountIntegrationStatus(AccountIntegration integration, AccountIntegration.Status status) Used for updating the status of aNetworkPoolServer
integration.- Parameters:
integration
- the integration with which we want to update the status.status
- the status string of the pool server (ok,syncing,error)
-
registerCloudIntegration
default ServiceResponse<AccountIntegration> registerCloudIntegration(Long cloudId, AccountIntegration integration) -
registerCloudIntegration
default ServiceResponse<NetworkServer> registerCloudIntegration(Long cloudId, NetworkServer networkServer) -
registerCloudIntegration
default ServiceResponse<StorageServer> registerCloudIntegration(Long cloudId, StorageServer storageServer) -
registerCloudIntegration
default ServiceResponse<NetworkLoadBalancer> registerCloudIntegration(Long cloudId, NetworkLoadBalancer networkLoadBalancer) -
deleteCloudIntegration
-
deleteCloudIntegration
-
deleteCloudIntegration
-