Interface DeploymentService

All Superinterfaces:
Service

public interface DeploymentService extends Service
Implements steps during subscriptions, upgrades and unsubscription of tenants
  • Field Details

  • Method Details

    • dependencies

      List<Map<String,Object>> dependencies()
      Returns a list of dependencies required by this application. When reporting dependencies to SaaS Registry consider wrapping the Map with SaasRegistryDependency, as a type-safe alternative.
      Returns:
      the list of required dependencies
    • subscribe

      void subscribe(String tenant, Map<String,Object> options)
      Performs the subscription
      Parameters:
      tenant - the tenant ID
      options - optional additional options
    • upgrade

      default void upgrade(String tenant, Map<String,Object> options)
      Performs the upgrade
      Parameters:
      tenant - the tenant ID
      options - optional additional options
    • upgrade

      void upgrade(List<String> tenants, Map<String,Object> options)
      Performs the upgrade
      Parameters:
      tenants - the list of tenant IDs
      options - optional additional options
    • unsubscribe

      void unsubscribe(String tenant, Map<String,Object> options)
      Performs the unsubscription
      Parameters:
      tenant - the tenant ID
      options - optional additional options