Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cds/cdl.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ Using directives allow to import definitions from other CDS models. As shown in

::: code-group

```cds
using foo.bar.scoped.Bar from './contexts';
using foo.bar.scoped.nested from './contexts';
using foo.bar.scoped.nested as animal from './contexts';
Expand Down
2 changes: 1 addition & 1 deletion guides/databases/initial-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ The following table describes the purpose and deployment scope of each location:

::: details Bookshop data is actually test data...
Note that the initial data provided in the [_@capire/bookshop_](../../get-started/bookshop) sample is actually test data, and hence we would typically place it in the _test/data_ folder. But for simplicity, it's placed in _db/data_, also because the whole purpose of that project is to be a _sample_.
::::
:::

> [!danger] Don't let users modify productive initial data
> Otherwise this [data might get overridden on SAP HANA](./hana#csv-data-gets-overridden).
Expand Down
1 change: 0 additions & 1 deletion guides/integration/calesi.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ With CAP, Service integration is greatly simplified. Consumption of remote servi
}
}`
```
:::

The graphic below illustrates what happened here:

Expand Down
1 change: 1 addition & 0 deletions guides/uis/localized-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -444,5 +444,6 @@ d2a65a27-9f2a-480f-bc38-84ee8ec5c13e,201,de,Sturmhöhe,Sturmhöhe (Originaltitel
9e1c4c81-dc90-4600-85b1-e9dd4bf12ce0,207,de,Jane Eyre,Jane Eyre. Eine Autobiographie (Originaltitel: Jane Eyre. An Autobiography)...
9be0524b-4cb9-4fc1-9dc2-d65b1c13cf53,252,de,Eleonora,Eleonora ist eine Erzählung von Edgar Allan Poe. Sie wurde 1841...
```
:::

[Learn more about Enabling Draft for Localized Data.](./fiori#draft-for-localized-data){.learn-more}
3 changes: 2 additions & 1 deletion java/cqn-services/remote-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ cds:
name: my-ias-destination
onBehalfOf: systemUser
```
:::

The following options are available:

Expand Down Expand Up @@ -527,7 +528,7 @@ Destination destination = DestinationAccessor.getDestination("<destinationName>"
HttpClient httpClient = HttpClientAccessor.getHttpClient(destination);
...
```
::::
:::

### Programmatic Destinations { #programmatic-destinations }

Expand Down
2 changes: 1 addition & 1 deletion java/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ If you have customized the security configuration, you need to adapt it to the n
Though CAP does not support multiple XSUAA bindings, it was possible in previous versions to extend the standard security configuration to work with multiple bindings. If you require this, you need to set `cds.security.xsuaa.allowMultipleBinding` to `true` so that all XSUAA bindings are available in custom spring auto-configurations. Note: CAP Java still does not process multiple bindings and requires a dedicated spring configuration. In general, applications should refrain from configuring several XSUAA bindings.

[Learn more about the security configuration.](./security#xsuaa-ias){.learn-more}
[Learn more about migration to SAP´s `spring-security` library.](https://github.com/SAP/cloud-security-services-integration-library/blob/main/spring-security/Migration_SpringXsuaaProjects.md)
[Learn more about migration to SAP´s `spring-security` library.](https://github.com/SAP/cloud-security-services-integration-library/blob/main/spring-security/Migration_SpringXsuaaProjects.md){.learn-more}

### Proof-Of-Possession enforced for IAS-based authentication

Expand Down
4 changes: 2 additions & 2 deletions java/working-with-cql/query-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ Aliases of columns have precedence over the element names when `orderBy` is eval

::: warning
Aliases may shadow elements names. To avoid shadowing, don't use element names as aliases.
::::
:::

On SAP HANA, the user's locale is passed to the database, resulting in locale-specific sorting of string-based columns.

Expand Down Expand Up @@ -2137,7 +2137,7 @@ Select.from("bookshop.Books").where(t -> t.get("title").matchesPattern("CAP"));

::: tip
As a general rule, consider regular expressions as a last resort. They are powerful, but also complex and hard to read. For simple string operations, prefer other simpler functions like `contains`.
::::
:::

In the following example, the title of the book must start with the letter `C` and end with the letter `e` and contains any number of letters in between:

Expand Down
2 changes: 1 addition & 1 deletion node.js/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ Both caches are enabled by default.

The _signature cache_ can be configured or deactivated via <Config keyOnly>cds.requires.auth.config</Config> (which is passed through to `@sap/xssec`).

[Learn more about signature cache and its configuration.](https://www.npmjs.com/package/@sap/xssec#signature-cache){}.learn-more}
[Learn more about signature cache and its configuration.](https://www.npmjs.com/package/@sap/xssec#signature-cache){.learn-more}

The _token decode cache_, on the other hand, can only be configured programmatically during bootstrapping, for example in a [custom `server.js`](cds-server#custom-server-js) file, as follows:
```js
Expand Down
1 change: 1 addition & 0 deletions tools/apis/cds-add.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ Starting with <span class="list-item">1</span>, register the plugin:
```js [cds-plugin.js]
cds.add?.register?.('postgres', require('./lib/add')) // ...or inline:
cds.add?.register?.('postgres', class extends cds.add.Plugin {})
```
:::

In our example, we'll create a file _lib/add.js_:
Expand Down
Loading