Skip to content

Commit 356157f

Browse files
Merge branch 'main' into bound-actions
2 parents a15f75d + 27c2a31 commit 356157f

File tree

6 files changed

+31
-15
lines changed

6 files changed

+31
-15
lines changed

.vitepress/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ config.rewrites = rewrites
106106
// Add custom capire info to the theme config
107107
config.themeConfig.capire = {
108108
versions: {
109-
java_services: '4.3.1',
110-
java_cds4j: '4.3.0'
109+
java_services: '4.3.2',
110+
java_cds4j: '4.3.2'
111111
},
112112
gotoLinks: []
113113
}

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright [yyyy] [name of copyright owner]
189+
Copyright 2019-2025 SAP SE
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

guides/deployment/to-cf.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -194,22 +194,20 @@ Two deployment options are available:
194194

195195
#### Option A: SAP Cloud Portal
196196

197-
If you intend to deploy user interface applications, you also need to set up the [HTML5 Application Repository](https://discovery-center.cloud.sap/serviceCatalog/html5-application-repository-service) in combination with the [SAP Cloud Portal service](https://discovery-center.cloud.sap/serviceCatalog/cloud-portal-service):
197+
If you intend to deploy **multi-tenant** user interface applications, you also need to set up the [HTML5 Application Repository](https://discovery-center.cloud.sap/serviceCatalog/html5-application-repository-service) in combination with the [SAP Cloud Portal service](https://discovery-center.cloud.sap/serviceCatalog/cloud-portal-service):
198198

199199
```sh
200200
cds add portal
201201
```
202202

203-
#### Option B: SAP Build Work Zone, Standard Edition <Beta />
203+
#### Option B: SAP BTP Application Frontend <Beta />
204204

205-
For **single-tenant applications**, you can use [SAP Build Work Zone, Standard Edition](https://discovery-center.cloud.sap/serviceCatalog/sap-build-work-zone-standard-edition):
205+
For **single-tenant** applications, you can use the new [SAP BTP Application Frontend](https://help.sap.com/docs/application-frontend-service) service:
206206

207207
```sh
208-
cds add workzone
208+
cds add app-front
209209
```
210210

211-
**Important:** This also requires you to set up SAP Build Work Zone, Standard Edition [according to the SAP Learning tutorial](https://developers.sap.com/tutorials/spa-configure-workzone.html).
212-
213211
### 6. Optional: Multitenancy { #add-multitenancy }
214212

215213
To enable multitenancy for production, run the following command:

node.js/cds-i18n.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -674,11 +674,11 @@ Ensure you correctly understand how the config option `cds.i18n.folders` work be
674674
These are the current i18n entries for [`cds.i18n.messages`](#messages) used by the CAP runtime, which you can provide own translations for in your app-specific `_i18n/messages_<locale>.properties` files:
675675

676676
```properties
677-
MULTIPLE_ERRORS = Multiple errors occurred. Please see the details for more information.
678-
ASSERT_FORMAT = Value "{0}" is not in specified format "{1}"
679-
ASSERT_RANGE = Value {0} is not in specified range [{1}, {2}]
680-
ASSERT_ENUM = Value {0} is invalid according to enum declaration {{1}}
681-
ASSERT_NOT_NULL = Value is required
677+
MULTIPLE_ERRORS = Multiple errors occurred, see details below.
678+
ASSERT_FORMAT = Enter a value matching the pattern {1}.
679+
ASSERT_RANGE = Enter a value between {1} and {2}.
680+
ASSERT_ENUM = Enter one of the allowed values: {1}.
681+
ASSERT_MANDATORY = Provide the missing value.
682682
```
683683

684684
In addition the following HTTP status codes can be translated:

node.js/events.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,3 +612,21 @@ Content-Type: application/json
612612
> In production, error responses should never disclose internal information that could be exploited by attackers. To ensure that, all errors with a `5xx` status code are returned to the client with only the respective generic message (example: `500 Internal Server Error`).
613613
>
614614
> In very rare cases, you might want to return 5xx errors with a meaningful message to the client. This can be achieved with `err.$sanitize = false`. Use that option with care!
615+
616+
617+
## Translations for Validation Errors
618+
619+
For the following annotations/error codes, the runtime provides default translations:
620+
621+
| Annotation | Error Code |
622+
|-------------------------|---------------------------------|
623+
| `@mandatory` | ASSERT_MANDATORY<sup>(1)</sup> |
624+
| `@assert.range` | ASSERT_RANGE |
625+
| `@assert.range` on enum | ASSERT_ENUM |
626+
| `@assert.format` | ASSERT_FORMAT |
627+
| `@assert.target` | ASSERT_TARGET |
628+
629+
<sup>(1)</sup> Falls back to error code `ASSERT_NOT_NULL` if provided in custom translations.
630+
631+
These can be overridden by the known technique of providing [custom i18n messages](cds-i18n#localized-messages).
632+

plugins/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ Available for:
392392
[![Java logo](../assets/logos/java.svg){style="height:3em; display:inline; margin:0 0.2em;"}](https://github.com/cap-java/cds-feature-event-hub#readme)
393393

394394

395-
## SAP Integration Suite, Advanced Event Mesh <Beta /> {#advanced-event-mesh}
395+
## SAP Integration Suite, Advanced Event Mesh {#advanced-event-mesh}
396396

397397
[SAP Integration Suite, advanced event mesh](https://www.sap.com/products/technology-platform/integration-suite/advanced-event-mesh.html) allows you to, amongst others, integrate non-SAP systems into your event-driven architecture.
398398

0 commit comments

Comments
 (0)