Skip to content

Commit 0f3b8dd

Browse files
committed
Update + fix
1 parent 4d3102c commit 0f3b8dd

File tree

4 files changed

+83
-3
lines changed

4 files changed

+83
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## v2.0.4 - 2025-01-22
9+
10+
### Fixed
11+
12+
- Fix for deprecated model reflection
13+
814
## v2.0.3 - 2025-12-11
915

1016
### Fixed

package-lock.json

Lines changed: 73 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cap-js-community/event-queue",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"description": "An event queue that enables secure transactional processing of asynchronous and periodic events, featuring instant event processing with Redis Pub/Sub and load distribution across all application instances.",
55
"main": "src/index.js",
66
"types": "src/index.d.ts",
@@ -54,6 +54,7 @@
5454
"yaml": "^2.8.2"
5555
},
5656
"devDependencies": {
57+
"@actions/core": "^2.0.2",
5758
"@cap-js/cds-test": "^0.4.1",
5859
"@cap-js/db-service": "^2.8.1",
5960
"@cap-js/hana": "^2.5.1",

srv/service/admin-service.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ const COMPONENT_NAME = "/eventQueue/admin";
1212

1313
module.exports = class AdminService extends cds.ApplicationService {
1414
async init() {
15-
const { Event: EventService, Lock: LockService } = cds.entities("EventQueueAdminService");
16-
const { Event: EventDb } = cds.db.entities("sap.eventqueue");
15+
const { Event: EventService, Lock: LockService } = this.entities;
16+
const { Event: EventDb } = cds.entities("sap.eventqueue");
1717
const { publishEvent } = this.actions;
1818

1919
this.before("*", (req) => {

0 commit comments

Comments
 (0)