diff --git a/cfg/config.json b/cfg/config.json index 33768c7..523b5ca 100644 --- a/cfg/config.json +++ b/cfg/config.json @@ -83,11 +83,6 @@ "address": "127.0.0.1:50066" } }, - "pdf_rendering": { - "client": { - "address": "127.0.0.1:50067" - } - }, "events": { "kafka": { "provider": "kafka", diff --git a/package-lock.json b/package-lock.json index 857d3e2..8e55ccb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "dependencies": { "@apollo/federation": "^0.38.1", "@apollo/gateway": "2.3.6", - "@restorecommerce/facade": "^1.13.19", + "@restorecommerce/facade": "^1.13.21", "@restorecommerce/logger": "^1.2.10", "@restorecommerce/service-config": "^1.0.12", "array.prototype.flat": "^1.3.2", @@ -2069,11 +2069,11 @@ } }, "node_modules/@grpc/grpc-js": { - "version": "1.10.6", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.10.6.tgz", - "integrity": "sha512-xP58G7wDQ4TCmN/cMUHh00DS7SRDv/+lC+xFLrTkMIN8h55X5NhZMLYbvy7dSELP15qlI6hPhNCRWVMtZMwqLA==", + "version": "1.10.7", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.10.7.tgz", + "integrity": "sha512-ZMBVjSeDAz3tFSehyO6Pd08xZT1HfIwq3opbeM4cDlBh52gmwp0wVIPcQur53NN0ac68HMZ/7SF2rGRD5KmVmg==", "dependencies": { - "@grpc/proto-loader": "^0.7.10", + "@grpc/proto-loader": "^0.7.13", "@js-sdsl/ordered-map": "^4.4.2" }, "engines": { @@ -2081,13 +2081,13 @@ } }, "node_modules/@grpc/proto-loader": { - "version": "0.7.12", - "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.7.12.tgz", - "integrity": "sha512-DCVwMxqYzpUCiDMl7hQ384FqP4T3DbNpXU8pt681l3UWCip1WUiD5JrkImUwCB9a7f2cq4CUTmi5r/xIMRPY1Q==", + "version": "0.7.13", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.7.13.tgz", + "integrity": "sha512-AiXO/bfe9bmxBjxxtYxFAXGZvMaN5s8kO+jBHAJCON8rJoB5YS/D6X7ZNc6XQkuHNmyl4CYaMI1fJ/Gn27RGGw==", "dependencies": { "lodash.camelcase": "^4.3.0", "long": "^5.0.0", - "protobufjs": "^7.2.4", + "protobufjs": "^7.2.5", "yargs": "^17.7.2" }, "bin": { @@ -3461,9 +3461,9 @@ } }, "node_modules/@restorecommerce/facade": { - "version": "1.13.19", - "resolved": "https://registry.npmjs.org/@restorecommerce/facade/-/facade-1.13.19.tgz", - "integrity": "sha512-9oLzW+hIchvortdioFynTe3AY/Bx3sUU6wN6V/7EtoX+sA8U0/JMtsz4wZs0Sug1n9Rwj15mSJvhPpzWTpBlLQ==", + "version": "1.13.21", + "resolved": "https://registry.npmjs.org/@restorecommerce/facade/-/facade-1.13.21.tgz", + "integrity": "sha512-LS9GzLohy2ZatgTZwaYjOd8bENw2bl0ObmmEOHkrjTSA7GjUiVRYRY30ABYkiVCkAsyiOAx4SW05tooO1O5Mqw==", "hasInstallScript": true, "dependencies": { "@apollo/federation": "^0.38.1", @@ -3475,9 +3475,9 @@ "@grpc/proto-loader": "^0.7.12", "@koa/cors": "^5.0.0", "@restorecommerce/grpc-client": "^2.2.1", - "@restorecommerce/kafka-client": "^1.2.5", + "@restorecommerce/kafka-client": "^1.2.7", "@restorecommerce/logger": "^1.2.10", - "@restorecommerce/rc-grpc-clients": "^5.1.27", + "@restorecommerce/rc-grpc-clients": "^5.1.29", "@restorecommerce/service-config": "^1.0.12", "array.prototype.flat": "^1.3.1", "co": "^4.6.0", @@ -3550,12 +3550,12 @@ } }, "node_modules/@restorecommerce/kafka-client": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/@restorecommerce/kafka-client/-/kafka-client-1.2.5.tgz", - "integrity": "sha512-tvEhiWsTewnoA9kEFLqE1op+62ItGOKjoV6pF85zisznxin7BYXXcn7zCd3d4JQpao0HHBPuzgILCYRyaIdn9w==", + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@restorecommerce/kafka-client/-/kafka-client-1.2.7.tgz", + "integrity": "sha512-tZNxAl+4g4fUr83Gcr5j2EU6vvom8T6Fsfi0dZfgyZ+RjPqA6aoGO4Be4oPLO8P413qHKOAXeQWMEqFIFILt7A==", "dependencies": { "@restorecommerce/logger": "^1.2.10", - "@restorecommerce/rc-grpc-clients": "^5.1.27", + "@restorecommerce/rc-grpc-clients": "^5.1.29", "async": "^3.2.5", "cls-rtracer": "^2.6.3", "events": "^3.3.0", @@ -3586,9 +3586,9 @@ } }, "node_modules/@restorecommerce/rc-grpc-clients": { - "version": "5.1.27", - "resolved": "https://registry.npmjs.org/@restorecommerce/rc-grpc-clients/-/rc-grpc-clients-5.1.27.tgz", - "integrity": "sha512-zjPI8/CSjV93yDWVei2NiidblleFjQwD7NfgjchKkFc1rgzFJTd7ZHyOqoP6EV5VdbMgc3B3DRodxn0vlt1EtQ==", + "version": "5.1.29", + "resolved": "https://registry.npmjs.org/@restorecommerce/rc-grpc-clients/-/rc-grpc-clients-5.1.29.tgz", + "integrity": "sha512-psS6XutSQvt7V7syGGU2KpYSlQDVl/PR2EuqatI3oGSCaJBjSeRb1hQxzuTtm4Ae5dW0QDzrG99OKAtADPdkqw==", "dependencies": { "@grpc/grpc-js": "^1.9.11", "@restorecommerce/grpc-client": "^2.2.1", diff --git a/package.json b/package.json index 516cf32..32cf776 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "dependencies": { "@apollo/federation": "^0.38.1", "@apollo/gateway": "2.3.6", - "@restorecommerce/facade": "^1.13.19", + "@restorecommerce/facade": "^1.13.21", "@restorecommerce/logger": "^1.2.10", "@restorecommerce/service-config": "^1.0.12", "array.prototype.flat": "^1.3.2", diff --git a/src/worker.ts b/src/worker.ts index 851ec73..f4d4708 100644 --- a/src/worker.ts +++ b/src/worker.ts @@ -15,7 +15,6 @@ import { ostorageModule, paymentModule, schedulingModule, - pdfRenderingModule, } from '@restorecommerce/facade'; export class Worker { @@ -57,7 +56,6 @@ export class Worker { .useModule(ostorageModule({config: this.cfg.get('ostorage')})) .useModule(paymentModule({config: this.cfg.get('payment')})) .useModule(schedulingModule({config: this.cfg.get('scheduling')})) - .useModule(pdfRenderingModule({config: this.cfg.get('pdf_rendering')})) .useMiddleware(reqResLogger({logger: this.logger})); return await this.facade.start();