Skip to content

Commit b1c7be4

Browse files
authored
Use cds up in multitenancy guide (#1803)
1 parent 9d8c9c4 commit b1c7be4

File tree

1 file changed

+5
-23
lines changed

1 file changed

+5
-23
lines changed

guides/multitenancy/index.md

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -751,33 +751,15 @@ Add the following snippet to your _xs-security.json_ and adapt it to the landsca
751751

752752
[Learn more about configured BTP services for SaaS applications.](#behind-the-scenes){.learn-more}
753753

754-
[Freeze the `npm` dependencies](../deployment/to-cf#freeze-dependencies) for server and MTX sidecar.
755-
756-
```sh
757-
npm update --package-lock-only
758-
npm update --package-lock-only --prefix mtx/sidecar
759-
```
760-
761-
In addition, you need install and freeze dependencies for your UI applications:
762-
```sh
763-
npm i --prefix app/browse
764-
npm i --prefix app/admin-books
765-
```
766-
767-
**Build and deploy**:
768754

769755
::: code-group
770756

771757
```sh [Cloud Foundry]
772-
mbt build -t gen --mtar mta.tar
773-
cf deploy gen/mta.tar
758+
cds up
774759
```
775760

776761
```sh [Kyma]
777-
# Omit `--push` flag for testing, otherwise `ctz`
778-
# will push images to the specified repository
779-
ctz containerize.yaml --push
780-
helm upgrade --install bookshop ./chart
762+
cds up --to k8s
781763
```
782764

783765
:::
@@ -1049,10 +1031,11 @@ The Boolean values in the _mtx/sidecar/package.json_ activate the default config
10491031

10501032
### Additional Services
10511033

1052-
If your CAP Java application uses a service that isn't supported out of the box, you can add a custom dependency by providing a custom handler. Refer to [Define Dependent Services](../../java/multitenancy#define-dependent-services) for details.
1034+
In **CAP Java**, if your application uses a service that isn't supported out of the box, you can define dependencies by providing a custom handler.
10531035

1036+
[Learn more about defining dependent services](../../java/multitenancy#define-dependent-services){.learn-more}
10541037

1055-
In Node.js, you can use the `subscriptionDependency` setting to provide a dependency configuration similar to the standard configuration shown before. Use your application's or CAP plugin's _package.json_:
1038+
In **CAP Node.js**, you can use a custom `subscriptionDependency` entry in your application's or CAP plugin's _package.json_:
10561039

10571040
```json [package.json]
10581041
"cds": {
@@ -1068,7 +1051,6 @@ In Node.js, you can use the `subscriptionDependency` setting to provide a depend
10681051

10691052
Alternatively, overriding the [`dependencies`](./mtxs#get-dependencies) handler gives you full flexibility for any custom implementation.
10701053

1071-
10721054
<div id="subscriptiondashboard" />
10731055

10741056
## Add Custom Handlers

0 commit comments

Comments
 (0)