Skip to content

Commit a1fb804

Browse files
committed
Merge branch 'main' of https://github.com/capire/docs
2 parents ced81f8 + 8917d9b commit a1fb804

File tree

10 files changed

+218
-2135
lines changed

10 files changed

+218
-2135
lines changed

cds/assets/cxl/expr.drawio.svg

Lines changed: 4 additions & 813 deletions
Loading

cds/assets/cxl/function.drawio.svg

Lines changed: 175 additions & 142 deletions
Loading

cds/assets/cxl/infix-filter.drawio.svg

Lines changed: 4 additions & 135 deletions
Loading

cds/assets/cxl/operators.drawio.svg

Lines changed: 4 additions & 609 deletions
Loading

cds/assets/cxl/ref.drawio.svg

Lines changed: 4 additions & 184 deletions
Loading

get-started/assets/bookshop/cds-compile.drawio.svg

Lines changed: 4 additions & 249 deletions
Loading

get-started/assets/concepts/key-concepts.drawio.svg

Lines changed: 1 addition & 1 deletion
Loading

get-started/get-help.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,13 @@ Ensure that database transactions are either committed or rolled back. This can
166166

167167
If you're using [@sap/hana-client](https://www.npmjs.com/package/@sap/hana-client), verify that the environment variable [`HDB_NODEJS_THREADPOOL_SIZE`](https://help.sap.com/docs/SAP_HANA_CLIENT/f1b440ded6144a54ada97ff95dac7adf/31a8c93a574b4f8fb6a8366d2c758f21.html?version=2.11) is adjusted appropriately. This variable specifies the amount of workers that concurrently execute asynchronous method calls for different connections.
168168

169+
### Why are requests rejected with `431` and not logged?
170+
171+
| | Explanation |
172+
|--------------|----------------------------------------------------------------------------------------------------------------------|
173+
| _Root Cause_ | `431` occurs when the size of the request headers exceeds the maximum limit configured in the Node.js HTTP server. In this case, the Node.js HTTP server rejects the request during the initial parsing phase before it reaches CAP. Therefore, the request is not logged by the application. |
174+
| _Solution_ | Inspect the request headers and check their size. If large headers are required and cannot be reduced, increase the maximum allowed HTTP header size in Node.js by setting the following environment variable `NODE_OPTIONS="--max-http-header-size=65536"` |
175+
169176

170177
### Why are requests rejected with `502`?
171178

@@ -639,6 +646,8 @@ See [How to configure your App Router](../guides/extensibility/customization#app
639646
640647
[Find the documentation on `cds login`](../guides/extensibility/customization#cds-login){.learn-more}
641648
649+
<div id="hana-tms-errors" />
650+
642651
## BTP
643652
644653
### How do I get an account on the SAP Business Technology Platform?

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

guides/security/cap-users.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ Refrain from activating user tracing in productive systems.
257257
258258
## Role Assignment with AMS { #roles-assignment-ams }
259259
260-
CAP applications that use the [Identity Authentication Service (IAS)](https://help.sap.com/docs/identity-authentication) for authentication can leverage the [Authorization Management Service (AMS)](https://help.sap.com/docs/cloud-identity-services/authorization-management-service) to provide comprehensive authorization. Similar to IAS, AMS is part of the [SAP Cloud Identity Services (SCI)](https://help.sap.com/docs/cloud-identity-services).
260+
CAP applications that use the [Identity Authentication Service (IAS)](https://help.sap.com/docs/identity-authentication) for authentication can leverage the [Authorization Management Service (AMS)](https://sap.github.io/cloud-identity-developer-guide/Authorization/GettingStarted.html) to provide comprehensive authorization. Similar to IAS, AMS is part of the [SAP Cloud Identity Services (SCI)](https://help.sap.com/docs/cloud-identity-services).
261261
262262
Why is AMS required? Unlike tokens issued by XSUAA, IAS tokens only contain static user information and cannot directly provide CAP roles.
263263
AMS acts as a central service to define access policies that include CAP roles and additional filter criteria for instance-based authorizations in CAP applications.

0 commit comments

Comments
 (0)