Package com.sap.cds.services.mt.impl
Class MtDeploymentServiceHandler
java.lang.Object
com.sap.cds.services.mt.impl.MtDeploymentServiceHandler
- All Implemented Interfaces:
EventHandler
- Direct Known Subclasses:
MtSubscriptionServiceCompatibilityHandler
The default handler for subscription events.
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final com.fasterxml.jackson.databind.ObjectMapper
protected final ThreadLocal<com.sap.xsa.core.instancemanager.client.InstanceCreationOptions>
Thread local used to pass the instance manager options to the mt libprotected final com.sap.cloud.mt.subscription.Subscriber
The subscriber that performs the actual tenant onboarding -
Constructor Summary
ConstructorDescriptionMtDeploymentServiceHandler
(com.sap.cloud.mt.subscription.InstanceLifecycleManager instanceLifecycleManager, CdsRuntime runtime) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.sap.xsa.core.instancemanager.client.InstanceCreationOptions
protected String
forwardToken
(EventContext context) protected void
onSubscribe
(SubscribeEventContext context) protected void
onUnsubscribe
(UnsubscribeEventContext context) protected void
onUpgrade
(UpgradeEventContext context)
-
Field Details
-
mapper
protected static final com.fasterxml.jackson.databind.ObjectMapper mapper -
subscriber
protected final com.sap.cloud.mt.subscription.Subscriber subscriberThe subscriber that performs the actual tenant onboarding -
options
protected final ThreadLocal<com.sap.xsa.core.instancemanager.client.InstanceCreationOptions> optionsThread local used to pass the instance manager options to the mt lib
-
-
Constructor Details
-
MtDeploymentServiceHandler
public MtDeploymentServiceHandler(com.sap.cloud.mt.subscription.InstanceLifecycleManager instanceLifecycleManager, CdsRuntime runtime)
-
-
Method Details
-
onSubscribe
-
onUnsubscribe
-
onUpgrade
-
forwardToken
-
buildInstanceCreationOptions
protected com.sap.xsa.core.instancemanager.client.InstanceCreationOptions buildInstanceCreationOptions(SubscribeEventContext context)
-