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: README.md
+5-18Lines changed: 5 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,19 @@ a [CDS plugin](https://cap.cloud.sap/docs/node.js/cds-plugins#cds-plugin-package
6
6
7
7
> [!IMPORTANT]
8
8
> This release establishes support for multi-tenant deployments using MTX and extensibility.
9
+
> This release establishes support for multi-tenant deployments using MTX and extensibility.
9
10
>
10
11
> To achieve this, the code was modified significantly. While we tested extensively, there still may be glitches or unexpected situations which we did not cover. So please **test this release extensively before applying it to productive** scenarios. Please also report any bugs or glitches, ideally by contributing a test-case for us to incorporate.
12
+
> To achieve this, the code was modified significantly. While we tested extensively, there still may be glitches or unexpected situations which we did not cover. So please **test this release extensively before applying it to productive** scenarios. Please also report any bugs or glitches, ideally by contributing a test-case for us to incorporate.
11
13
>
12
14
> See the changelog for a full list of changes
13
15
14
16
> [!Warning]
15
17
>
16
18
> When using multi-tenancy with MTX, the generated facets and associations have to be created by the model provider of the MTX component. Therefore, the plugin also must be added to the `package.json` of the MTX sidecar.
17
19
>Although we tested this scenario extensively, there still might be cases where the automatic generation will not work as expected. If this happends in your scenario, we suggest using the `@changelog.disable_assoc` ([see here](#disable-association-to-changes-generation)) for all tracked entities and to add the association and facet manually to the service entity.
20
+
> When using multi-tenancy with MTX, the generated facets and associations have to be created by the model provider of the MTX component. Therefore, the plugin also must be added to the `package.json` of the MTX sidecar.
21
+
>Although we tested this scenario extensively, there still might be cases where the automatic generation will not work as expected. If this happends in your scenario, we suggest using the `@changelog.disable_assoc` ([see here](#disable-association-to-changes-generation)) for all tracked entities and to add the association and facet manually to the service entity.
18
22
19
23
20
24
### Table of Contents
@@ -76,6 +80,7 @@ To enable change tracking, simply add this self-configuring plugin package to yo
76
80
npm add @cap-js/change-tracking
77
81
```
78
82
If you use multi-tenancy, please add the plugin also to the MTX poroject.
83
+
If you use multi-tenancy, please add the plugin also to the MTX poroject.
79
84
80
85
### 3. Annotations
81
86
@@ -267,24 +272,6 @@ You can turn this behavior off globally by adding the following switch to the `p
267
272
268
273
This section describes modelling cases for further reference, from simple to complex, including the following:
269
274
270
-
-[Change Tracking Plugin for SAP Cloud Application Programming Model (CAP)](#change-tracking-plugin-for-sap-cloud-application-programming-model-cap)
271
-
-[Table of Contents](#table-of-contents)
272
-
-[Try it Locally](#try-it-locally)
273
-
-[1. Prerequisites](#1-prerequisites)
274
-
-[2. Setup](#2-setup)
275
-
-[3. Annotations](#3-annotations)
276
-
-[4. Testing](#4-testing)
277
-
-[Change History View](#change-history-view)
278
-
-[Detailed Explanation](#detailed-explanation)
279
-
-[Human-readable Types and Fields](#human-readable-types-and-fields)
-[Disable Association to Changes Generation](#disable-association-to-changes-generation)
287
-
-[Preserve change logs of deleted data](#preserve-change-logs-of-deleted-data)
288
275
-[Examples](#examples)
289
276
-[Specify Object ID](#specify-object-id)
290
277
-[Use Case 1: Annotate single field/multiple fields of associated table(s) as the Object ID](#use-case-1-annotate-single-fieldmultiple-fields-of-associated-tables-as-the-object-id)
0 commit comments