You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guides/multitenancy/index.md
+4-29Lines changed: 4 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -292,12 +292,6 @@ This is a known issue in CDS 9.
292
292
293
293
## Test-Drive Locally {#test-locally}
294
294
295
-
For local testing, create a new profile that contains the multitenancy configuration:
296
-
297
-
```sh
298
-
cds add multitenancy --for local-multitenancy
299
-
```
300
-
301
295
<divclass="impl java">
302
296
303
297
For multitenancy you need additional dependencies in the _pom.xml_ of the `srv` directory. To support mock users in the local test scenario add `cds-starter-cloudfoundry`:
Configure the sidecar to use dummy authentication.
339
-
340
-
::: code-group
341
-
342
-
```json [mtx/sidecar/package.json]
343
-
{
344
-
"cds": {
345
-
"profile": "mtx-sidecar",
346
-
"[development]": {
347
-
"requires": {
348
-
"auth": "dummy"
349
-
}
350
-
}
351
-
}
352
-
}
353
-
```
354
-
355
-
:::
356
-
357
332
</div>
358
333
359
334
Before deploying to the cloud, you can test-drive common SaaS operations with your app locally, including SaaS startup, subscribing tenants, and upgrading tenants.
@@ -410,7 +385,7 @@ In the following steps, we start two servers, the main app and MTX sidecar, and
410
385
<divclass="impl node">
411
386
412
387
```sh
413
-
cds watch --profile local-multitenancy
388
+
cds watch --with-mtx
414
389
```
415
390
416
391
::: details Persistent database
@@ -446,15 +421,15 @@ In the following steps, we start two servers, the main app and MTX sidecar, and
0 commit comments