Interface MorpheusIntegrationService
-
public interface MorpheusIntegrationService
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.8.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MorpheusAccountInventoryService
getAccountInventory()
Gets the inventory context for interacting withAccountInventory
objects.io.reactivex.Completable
updateAccountIntegrationStatus(AccountIntegration integration, AccountIntegration.Status status)
Used for updating the status of aNetworkPoolServer
integration.io.reactivex.Completable
updateAccountIntegrationStatus(AccountIntegration integration, AccountIntegration.Status status, java.lang.String message)
Used for updating the status of aNetworkPoolServer
integration.
-
-
-
Method Detail
-
getAccountInventory
MorpheusAccountInventoryService 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
io.reactivex.Completable updateAccountIntegrationStatus(AccountIntegration integration, AccountIntegration.Status status, java.lang.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'.- Returns:
- a Completable for notification or subscription
-
updateAccountIntegrationStatus
io.reactivex.Completable 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)- Returns:
- the on complete state
-
-