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 Detail

      • getAccountInventory

        MorpheusAccountInventoryService getAccountInventory()
        Gets the inventory context for interacting with AccountInventory 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 a NetworkPoolServer 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 a NetworkPoolServer 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