public class MtTenantProviderHandler extends Object implements EventHandler
Constructor and Description |
---|
MtTenantProviderHandler(com.sap.cloud.mt.subscription.InstanceLifecycleManager ilm) |
Modifier and Type | Method and Description |
---|---|
void |
enrichTenants(ReadTenantsEventContext context)
After handler which is primarily used to enrich an existing list of tenants that has
been resolved before (e.g. |
void |
readTenants(ReadTenantsEventContext context) |
public MtTenantProviderHandler(com.sap.cloud.mt.subscription.InstanceLifecycleManager ilm)
@HandlerOrder(value=10901) public void readTenants(ReadTenantsEventContext context)
public void enrichTenants(ReadTenantsEventContext context)
After
handler which is primarily used to enrich an existing list of tenants that has
been resolved before (e.g. by MtTenantProviderSaasHandler
with additional fields
(e.g. 'database_id'). The enrichment is skipped in case the event context contains a field
DATABASE_ID_ADDED
. This might be the case if the required information has been added
already before.context
- ReadTenantsEventContext
which already contains a list of tenantsCopyright © 2023. All rights reserved.