Skip to content

Commit 4b20569

Browse files
authored
Merge branch 'main' into shared-db
2 parents ccdcb8e + 317758c commit 4b20569

35 files changed

+1385
-1203
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: '3.8.1',
110-
java_cds4j: '3.8.1'
109+
java_services: '3.9.0',
110+
java_cds4j: '3.9.0'
111111
},
112112
gotoLinks: [],
113113
maven_host_base: 'https://repo1.maven.org/maven2'

.vitepress/theme/styles.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
--vp-c-text-1: rgba(255, 255, 245, 0.86);
5858

5959
/* brightness fine-tuned to turn #fff into --vp-c-bg */
60-
img, svg.adapt-dark {
60+
img, svg.adapt-dark,
61+
video.bright { // assuming videos are usually dark, only darken them if marked as bright
6162
filter: brightness(.884) invert(1) hue-rotate(177deg)
6263
}
6364
img.mute-dark {

about/features.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -178,15 +178,15 @@ Following is an index of the features currently covered by CAP, with status and
178178

179179
### Events / Messaging
180180

181-
| | CDS | Node.js | Java |
182-
|-------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----:|:------------:|:----:|
183-
| [Declared Events in CDS](../cds/cdl#events) | <X/> | <X/> | <X/> |
184-
| Mock Broker (to speed up local dev) [[Node.js](../node.js/messaging#file-based)\|[Java](../java/messaging#local-testing)] | <Na/> | <X/> | <X/> |
185-
| SAP Event Mesh (For single-tenant apps) [[Node.js](../node.js/messaging#event-mesh-shared)\|[Java](../java/messaging#configuring-sap-event-mesh-support)] | <Na/> | <X/> | <X/> |
186-
| SAP Cloud Application Event Hub (For single-tenant apps) [[Node.js](../node.js/messaging#event-broker)] | <Na/> | <X/><br>beta | <D/> |
187-
| Composite Messaging (routing by configuration) [[Node.js](../node.js/messaging#composite-messaging)\|[Java](../java/messaging#composite-messaging-service)] | <Na/> | <X/> | <X/> |
188-
| Import AsyncAPI | <O/> | | |
189-
| Export AsyncAPI | <X/> | | |
181+
| | CDS | Node.js | Java |
182+
|-------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----:|:-------------------------:|:-------------------------:|
183+
| [Declared Events in CDS](../cds/cdl#events) | <X/> | <X/> | <X/> |
184+
| Mock Broker (to speed up local dev) [[Node.js](../node.js/messaging#file-based)\|[Java](../java/messaging#local-testing)] | <Na/> | <X/> | <X/> |
185+
| [SAP Cloud Application Event Hub](../guides/messaging/event-broker) | <Na/> | <X/><br><sup>plugin</sup> | <X/><br><sup>plugin</sup> |
186+
| [SAP Event Mesh](../guides/messaging/event-mesh) | <Na/> | <X/> | <X/> |
187+
| Composite Messaging (routing by configuration) [[Node.js](../node.js/messaging#composite-messaging)\|[Java](../java/messaging#composite-messaging-service)] | <Na/> | <X/> | <X/> |
188+
| Import AsyncAPI | <O/> | | |
189+
| Export AsyncAPI | <X/> | | |
190190

191191
<span id="events-messaging-more" />
192192

about/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ CAP provides mocked variants for several platform services out of the box, which
8585
| Database | SQLite, H2 in-memory | SAP HANA, PostgreSQL |
8686
| Authentication | Mocked Auth | SAP Identity Services |
8787
| App Gateway | None | SAP App Router |
88-
| Messaging | File-based Queues | SAP Event Hub, Kafka, Redis, ... |
88+
| Messaging | File-based Queues | SAP Cloud Appl. Event Hub, Kafka, Redis, ... |
8989

9090
> [!tip]
9191
>
@@ -223,7 +223,7 @@ That initiative happened to be successful, and gave a boost to a steadily **grow
223223
- [Open Telemetry → SAP Cloud Logging, Dynatrace, ...](../plugins/#telemetry)
224224
- [Attachments → SAP Object Store /S3](../plugins/#attachments)
225225
- [Attachments → SAP Document Management Service](../plugins/#@cap-js/sdm)
226-
- [Messaging → SAP Cloud Application Event Hub](../plugins/#event-broker-plugin)
226+
- [Messaging → SAP Cloud Application Event Hub](../plugins/#event-hub)
227227
- [Change Tracking](../plugins/#change-tracking)
228228
- [Notifications](../plugins/#notifications)
229229
- [Audit Logging → SAP Audit Logging](../plugins/#audit-logging)

advanced/odata.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,9 +1106,9 @@ Provide support for hierarchy attribute calculation and navigation, and allow th
11061106

11071107
| Transformation | Description | Node.js | Java |
11081108
|-----------------------------------------------|------------------------------------------------------------------|:-------:|:------------------:|
1109-
| `com.sap.vocabularies.Hierarchy.v1.TopLevels` | generate a hierarchy based on recursive parent-child source data | <Na/> | <X/><sup>(1)</sup> |
1110-
| `ancestors` | return all ancestors of a set of start nodes in a hierarchy | <Na/> | <X/><sup>(1)</sup> |
1111-
| `descendants` | return all descendants of a set of start nodes in a hierarchy | <Na/> | <X/><sup>(1)</sup> |
1109+
| `com.sap.vocabularies.Hierarchy.v1.TopLevels` | generate a hierarchy based on recursive parent-child source data | <X/><sup>(1)</sup> | <X/><sup>(1)</sup> |
1110+
| `ancestors` | return all ancestors of a set of start nodes in a hierarchy | <X/><sup>(1)</sup> | <X/><sup>(1)</sup> |
1111+
| `descendants` | return all descendants of a set of start nodes in a hierarchy | <X/><sup>(1)</sup> | <X/><sup>(1)</sup> |
11121112

11131113
- <sup>(1)</sup> Beta feature, API may change
11141114

get-started/attic/grow-as-you-go.-md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ As your project evolves, you would gradually add new features, for example as ou
1515
While we used SQLite in-memory databases and mocked authentication during development, we would use SAP HANA Cloud and a combination of App Router, IAS and/or XSUAA in production. We can quickly do so as follows:
1616

1717
```sh
18-
cds add hana,approuter,xsuaa --for production
18+
cds add hana,approuter,xsuaa
1919
```
2020

21-
This adds respective packages and configuration to your project. The content of your project, that is, models or code, doesn't change and doesn't have to be touched. The option `--for production` controls that these service variants are only used when in production profile, that is, when the app is deployed to the cloud. Locally you continue to develop in airplane mode.
21+
This adds respective packages and configuration to your project with the `[production]` profile. The content of your project, that is, models or code, doesn't change and doesn't have to be touched. The profile controls that these service variants are only used when in production, that is, when the app is deployed to the cloud. Locally you continue to develop in airplane mode.
2222

2323

2424

@@ -39,7 +39,7 @@ cds add mta
3939
If you are creating a SaaS application you also need to add support for tenant subscriptions and tenant upgrades. When a tenant subscribes, new database containers have to be bootstrapped along with other resources, like message channels. CAP provides the so-called MTX services which do that automatically in a sidecar micro service. You can add all required packages and configurations by:
4040

4141
```sh
42-
cds add multitenancy --for production
42+
cds add multitenancy
4343
```
4444

4545
[Learn more about multitenancy.](../guides/multitenancy/){.learn-more}

get-started/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ Follow the steps after this for a minimalistic local setup. Alternatively, you c
2626

2727
### Prerequisites
2828

29-
- [Node.js](https://nodejs.org) — required for installing the `cds` command line interface.
30-
- [SQLite](https://sqlite.org) — included in macOS and Linux → [install it](https://sqlite.org/download.html) on Windows.
29+
- [Node.js](https://nodejs.org) — required for installing the `cds` command line interface
30+
- [SQLite](https://sqlite.org) — included in macOS and Linux → [install it](https://sqlite.org/download.html) on Windows
3131
- **A Terminal**{style="font-weight: 500"} — for using the `cds` command line interface (CLI)
32-
- **A Text Editor**{style="font-weight: 500"} → we recommend [VS Code](https://code.visualstudio.com) with [CDS plugin](../tools/cds-editors#vscode).
32+
- **A Text Editor**{style="font-weight: 500"} → we recommend [VS Code](https://code.visualstudio.com) with [CDS plugin](../tools/cds-editors#vscode)
3333

3434

3535
### Installation
@@ -88,7 +88,7 @@ Follow the steps after this for a minimalistic local setup. Alternatively, you c
8888
8989
## Starting Projects
9090
91-
- Use `cds init` to start a CAP project, and then open it in VSCode:
91+
- Use `cds init` to start a CAP project, and then open it in VS Code:
9292
9393
```sh
9494
cds init bookshop

0 commit comments

Comments
 (0)