Skip to content

Commit 2461b3f

Browse files
ecklieswaldmann
andauthored
tenant-specific deployment parameters (#2379)
Co-authored-by: Steffen Waldmann <steffen.waldmann@sap.com>
1 parent 21b9a29 commit 2461b3f

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

guides/multitenancy/mtxs.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1296,6 +1296,12 @@ The _SaasProvisioningService_ is a façade for the _DeploymentService_ to adapt
12961296
Requests are implicitly asynchronous when `status_callback` is set.
12971297
:::
12981298

1299+
##### Passing tenant-specific deployment parameters
1300+
1301+
Using the `"_"` section of the payload, you can pass deployment parameters for an individual tenant. The syntax is identical with the [static deployment configuration of `cds.xt.DeploymentService`](#deployment-config).
1302+
1303+
In most cases, the requests are received from a third party, so the deployment parameters need to be added in [a handler implementation](#adding-custom-lifecycle-event-handlers) for `cds.xt.SaasProvisioningService`.
1304+
12991305
##### Example Usage
13001306

13011307
<br>
@@ -1436,7 +1442,12 @@ Content-Type: application/json
14361442
{
14371443
"subscribedTenantId": "t1",
14381444
"subscribedSubdomain": "subdomain1",
1439-
"eventType": "CREATE"
1445+
"eventType": "CREATE",
1446+
"_": {
1447+
"hdi": {
1448+
...
1449+
}
1450+
}
14401451
}
14411452
```
14421453

0 commit comments

Comments
 (0)