com.sap.cds.services.mt.MtSubscriptionService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cds-feature-mt Show documentation
Show all versions of cds-feature-mt Show documentation
Multi tenancy feature for CDS Services Java
/**************************************************************************
* (C) 2019-2020 SAP SE or an SAP affiliate company. All rights reserved. *
**************************************************************************/
package com.sap.cds.services.mt;
import java.util.List;
import com.sap.cds.services.Service;
import com.sap.cloud.mt.subscription.json.ApplicationDependency;
import com.sap.cloud.mt.subscription.json.DeletePayload;
import com.sap.cloud.mt.subscription.json.SidecarUpgradePayload;
import com.sap.cloud.mt.subscription.json.SubscriptionPayload;
/**
* Service for the subscription events.
*/
public interface MtSubscriptionService extends Service {
String DEFAULT_NAME = "MtSubscriptionService$Default";
String EVENT_GET_DEPENDENCIES = "GET_DEPENDENCIES";
String EVENT_SUBSCRIBE = "SUBSCRIBE";
String EVENT_UNSUBSCRIBE = "UNSUBSCRIBE";
String EVENT_DEPLOY = "DEPLOY";
String EVENT_ASYNC_DEPLOY = "ASYNC_DEPLOY";
String EVENT_ASYNC_DEPLOY_STATUS = "ASYNC_DEPLOY_STATUS";
List getDependencies();
String subscribe(SubscriptionPayload payload, String tenantId);
void unsubscribe(DeletePayload payload, String tenantId);
void deploy(SidecarUpgradePayload payload);
String asyncDeploy(SidecarUpgradePayload payload);
String asyncDeployStatus(String jobId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy