Skip to content

Commit

Permalink
fix(deps): upgrade deps, adds pdf-rendering and templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Apr 26, 2024
1 parent eeab0ec commit 486c516
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 15 deletions.
5 changes: 5 additions & 0 deletions cfg/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@
"address": "127.0.0.1:50066"
}
},
"pdf_rendering": {
"client": {
"address": "127.0.0.1:50067"
}
},
"events": {
"kafka": {
"provider": "kafka",
Expand Down
5 changes: 5 additions & 0 deletions cfg/config_production.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@
"address": "ostorage-srv:50051"
}
},
"pdf_rendering": {
"client": {
"address": "access-control-srv:50051"
}
},
"events": {
"kafka": {
"kafka": {
Expand Down
26 changes: 13 additions & 13 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
Expand Up @@ -20,7 +20,7 @@
"dependencies": {
"@apollo/federation": "^0.38.1",
"@apollo/gateway": "2.3.6",
"@restorecommerce/facade": "^1.13.14",
"@restorecommerce/facade": "^1.13.19",
"@restorecommerce/logger": "^1.2.10",
"@restorecommerce/service-config": "^1.0.12",
"array.prototype.flat": "^1.3.2",
Expand Down
4 changes: 3 additions & 1 deletion src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import {
orderingModule,
ostorageModule,
paymentModule,
schedulingModule
schedulingModule,
pdfRenderingModule,
} from '@restorecommerce/facade';

export class Worker {
Expand Down Expand Up @@ -56,6 +57,7 @@ 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();
Expand Down

0 comments on commit 486c516

Please sign in to comment.