Skip to content

Commit

Permalink
chore: Release v1.2.5 - See CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun-KumarH committed Nov 23, 2023
1 parent 726cba5 commit 7c7a776
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.2.5 (November 23rd, 2023)

- add redis job store and register job meta for emitting jobDone / jobFailed (for processing pending notifications job)

## 1.2.4 (November 23rd, 2023)

- added separate queue for processing pending notification jobs
Expand Down
12 changes: 9 additions & 3 deletions cfg/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"offsetStoreInterval": 1000,
"db-indexes": {
"db-offsetStore": 0,
"db-subject": 4
"db-subject": 4,
"db-reccurTime": 7,
"db-repeatJobId": 8,
"db-jobStore": 1
}
},
"client": {
Expand Down Expand Up @@ -38,8 +41,11 @@
"versionResponse": {
"messageObject": "io.restorecommerce.commandinterface.CommandResponse"
},
"queuedJob": {
"messageObject": "io.restorecommerce.job.ScheduledJob"
"jobDone": {
"messageObject": "io.restorecommerce.job.JobDone"
},
"jobFailed": {
"messageObject": "io.restorecommerce.job.JobFailed"
},
"topics": {
"notificationReq": {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@restorecommerce/notification-srv",
"version": "1.2.4",
"version": "1.2.5",
"description": "Restorecommerce notification microservice",
"main": "lib/start.js",
"author": "n-fuse GmbH",
Expand Down
5 changes: 4 additions & 1 deletion src/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@ import {
} from '@restorecommerce/rc-grpc-clients/dist/generated-server/io/restorecommerce/resource_base';
import * as fs from 'fs';
import { runWorker } from '@restorecommerce/scs-jobs';
import {
protoMetadata as jobMeta
} from '@restorecommerce/rc-grpc-clients/dist/generated-server/io/restorecommerce/job';


registerProtoMeta(NotificationReqMeta, CommandInterfaceMeta, reflectionMeta);
registerProtoMeta(NotificationReqMeta, CommandInterfaceMeta, reflectionMeta, jobMeta);
const SEND_MAIL_EVENT = 'sendEmail';
const HEALTH_CHECK_CMD_EVENT = 'healthCheckCommand';
const VERSION_CMD_EVENT = 'versionCommand';
Expand Down

0 comments on commit 7c7a776

Please sign in to comment.