Package com.sap.cds.services.mt
Interface MtAsyncDeployEventContext
- All Superinterfaces:
EventContext
Deprecated.
The
EventContext used for the MtSubscriptionService.EVENT_ASYNC_DEPLOY event.-
Method Summary
Modifier and TypeMethodDescriptionstatic MtAsyncDeployEventContextcreate()Deprecated.Creates anEventContextalready overlayed with this interface.Deprecated.Deprecated.Deprecated.com.sap.cloud.mt.subscription.json.SidecarUpgradePayloadDeprecated.voidsetAuthorizationHeader(String authorizationHeader) Deprecated.voidDeprecated.voidsetUpgradePayload(com.sap.cloud.mt.subscription.json.SidecarUpgradePayload payload) Deprecated.Methods inherited from interface com.sap.cds.services.EventContext
as, get, getAuthenticationInfo, getCdsRuntime, getChangeSetContext, getEvent, getFeatureTogglesInfo, getMessages, getModel, getParameterInfo, getServiceCatalog, getTarget, getUserInfo, isCompleted, keySet, proceed, put, setCompleted
-
Method Details
-
create
Deprecated.Creates anEventContextalready overlayed with this interface. The event is set to beMtSubscriptionService.EVENT_ASYNC_DEPLOY- Returns:
- the
MtAsyncDeployEventContext
-
getService
MtSubscriptionService getService()Deprecated.- Specified by:
getServicein interfaceEventContext
-
getUpgradePayload
com.sap.cloud.mt.subscription.json.SidecarUpgradePayload getUpgradePayload()Deprecated.- Returns:
- the payload which triggers updating individual tenants by specifying tenants individually, or "all" to update all tenants
-
setUpgradePayload
void setUpgradePayload(com.sap.cloud.mt.subscription.json.SidecarUpgradePayload payload) Deprecated.- Parameters:
payload- the payload which triggers updating individual tenants by specifying tenants individually, or "all" to update all tenants
-
getAuthorizationHeader
String getAuthorizationHeader()Deprecated.- Returns:
- the header containing the OAuth2 authorization token
-
setAuthorizationHeader
Deprecated.- Parameters:
authorizationHeader- the header containing the OAuth2 authorization token
-
getResult
String getResult()Deprecated.- Returns:
- JobId which is returned from the Sidecar
-
setResult
Deprecated.- Parameters:
jobId- which is returned from the Sidecar
-
DeploymentService.upgrade(java.util.List, java.util.Map)andUpgradeEventContextinstead.