Skip to content

Commit f3d6d26

Browse files
committed
Prepare
1 parent b2812f1 commit f3d6d26

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

CHANGELOG.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
99

1010
### Added
1111

12-
- Add support for Cloud Events
13-
- Include or exclude defined list of users
12+
- Provide event headers to formatter
1413
- Support exclusion of event contexts
14+
- Include or exclude defined list of users
15+
- Add support for Cloud Events with format `cloudevent` resp. `cloudevents`
1516
- Overrule path of websocket event via `@websocket.path` or `@ws.path` for non-websocket services
1617
- Overrule format of websocket event via `@websocket.format` or `@ws.format` for non-websocket services
1718
- Ignore event elements or operation parameters with `@websocket.ignore` or `@ws.ignore`
18-
- Optimization of client determination for kind `ws`
19-
- Allow empty PCP message in event definition
20-
- Improve documentation and examples
21-
- Provide event headers to formatter
2219

2320
### Fixed
2421

22+
- Improve documentation and examples
23+
- Allow empty PCP message in event definition
24+
- Optimization of client determination for kind `ws`
2525
- Ignore not modeled PCP fields in payload serialization
2626
- Fix annotations value derivation for non-websocket service events
2727
- Fix annotations `wsCurrentUserInclude`, `currentUserInclude`, `wsCurrentUserExclude`, `currentUserExclude`

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,6 +1061,17 @@ action sendCloudEventMap(
10611061
) returns Boolean;
10621062
```
10631063
1064+
The following annotations are respected:
1065+
1066+
- **Operation level**:
1067+
- `@websocket.cloudevent.<attribute>: <value>`
1068+
- Type: `any` (according to Cloud Event JSON format)
1069+
- Provide static cloud event attribute value, according to cloud event specification
1070+
- **Operation parameter level**:
1071+
- `@websocket.cloudevent.<attribute>`
1072+
- Type: `Boolean`
1073+
- Value from operation parameter for the annotated element is used as dynamic cloud event attribute value, according to cloud event attribute specification
1074+
10641075
Unmapped operation parameters are consumed as cloud event data section and can be skipped for cloud event data section
10651076
via `@ws.ignore`, if not necessary.
10661077

0 commit comments

Comments
 (0)