Skip to content

Commit 6231313

Browse files
author
Gerald Baulig
committed
fix(config): intermediate pre-release to fix kafka error jamming
1 parent 79d0061 commit 6231313

15 files changed

+756
-990
lines changed

Dockerfile

-2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,4 @@ EXPOSE 50051
3535
USER root
3636
USER node
3737

38-
HEALTHCHECK CMD ["/bin/grpc_health_probe", "-addr=:50051"]
39-
4038
CMD [ "npm", "start" ]

cfg/config.json

+12-6
Original file line numberDiff line numberDiff line change
@@ -265,15 +265,21 @@
265265
"renderRequest": {
266266
"messageObject": "io.restorecommerce.rendering.RenderRequest"
267267
},
268+
"setApiKeyCommand": {
269+
"messageObject": "io.restorecommerce.commandinterface.CommandRequest"
270+
},
268271
"topics": {
269272
"command": {
270273
"topic": "io.restorecommerce.command",
271-
"events": [
272-
"healthCheckCommand",
273-
"versionCommand",
274-
"restoreCommand",
275-
"resetCommand"
276-
]
274+
"events": {
275+
"healthCheckCommand": "fulfillmentCommandInterface.command",
276+
"restoreCommand": "fulfillmentCommandInterface.command",
277+
"resetCommand": "fulfillmentCommandInterface.command",
278+
"versionCommand": "fulfillmentCommandInterface.command",
279+
"configUpdateCommand": "fulfillmentCommandInterface.command",
280+
"setApiKeyCommand": "fulfillmentCommandInterface.command",
281+
"flushCacheCommand": "fulfillmentCommandInterface.command"
282+
}
277283
},
278284
"jobs": {
279285
"topic": "io.restorecommerce.jobs",

cfg/config_test.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"logger": {
3-
"console": {
4-
"handleExceptions": false,
5-
"level": "error",
6-
"colorize": true,
7-
"prettyPrint": true
8-
}
3+
"console": {
4+
"handleExceptions": false,
5+
"level": "error",
6+
"colorize": true,
7+
"prettyPrint": true
98
}
9+
}
1010
}

0 commit comments

Comments
 (0)