Package com.sap.cds.services.mt
Interface DeploymentService
- All Superinterfaces:
Service
Implements steps during subscriptions, upgrades and unsubscription of tenants
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list of dependencies required by this application.void
Performs the subscriptionvoid
unsubscribe
(String tenant, Map<String, Object> options) Performs the unsubscriptiondefault void
Performs the upgradevoid
Performs the upgrade
-
Field Details
-
DEFAULT_NAME
- See Also:
-
EVENT_DEPENDENCIES
- See Also:
-
EVENT_SUBSCRIBE
- See Also:
-
EVENT_UPGRADE
- See Also:
-
EVENT_UNSUBSCRIBE
- See Also:
-
-
Method Details
-
dependencies
Returns a list of dependencies required by this application. When reporting dependencies to SaaS Registry consider wrapping theMap
withSaasRegistryDependency
, as a type-safe alternative.- Returns:
- the list of required dependencies
-
subscribe
Performs the subscription- Parameters:
tenant
- the tenant IDoptions
- optional additional options
-
upgrade
Performs the upgrade- Parameters:
tenant
- the tenant IDoptions
- optional additional options
-
upgrade
Performs the upgrade- Parameters:
tenants
- the list of tenant IDsoptions
- optional additional options
-
unsubscribe
Performs the unsubscription- Parameters:
tenant
- the tenant IDoptions
- optional additional options
-