Skip to content

Commit

Permalink
chore(grpc-js): hotfix, override grpc-js
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Nov 27, 2023
1 parent 3c10966 commit 45ba64d
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 55 deletions.
42 changes: 27 additions & 15 deletions cfg/config_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,24 @@
"prettyPrint": true
}
},
"authorization": {
"client": null
},
"server": {
"transports": [
{
"name": "grpcOrdering",
"provider": "grpc",
"addr": "0.0.0.0:50165"
}
]
},
"client": {
"order": {
"address": "localhost:50065"
"address": "localhost:50165"
},
"acs-srv": {
"address": "localhost:50061",
"address": "localhost:50161",
"mock": {
"protoPath": "io/restorecommerce/access_control.proto",
"packageName": "io.restorecommerce.access_control",
Expand All @@ -25,7 +37,7 @@
}
},
"user": {
"address": "localhost:50062",
"address": "localhost:50162",
"mock": {
"protoPath": "io/restorecommerce/user.proto",
"packageName": "io.restorecommerce.user",
Expand All @@ -38,7 +50,7 @@
}
},
"product": {
"address": "localhost:50066",
"address": "localhost:50166",
"mock": {
"protoPath": "io/restorecommerce/product.proto",
"packageName": "io.restorecommerce.product",
Expand All @@ -51,7 +63,7 @@
}
},
"contact_point": {
"address": "localhost:50067",
"address": "localhost:50167",
"mock": {
"protoPath": "io/restorecommerce/contact_point.proto",
"packageName": "io.restorecommerce.contact_point",
Expand All @@ -64,7 +76,7 @@
}
},
"address": {
"address": "localhost:50068",
"address": "localhost:50168",
"mock": {
"protoPath": "io/restorecommerce/address.proto",
"packageName": "io.restorecommerce.address",
Expand All @@ -77,7 +89,7 @@
}
},
"country": {
"address": "localhost:50069",
"address": "localhost:50169",
"mock": {
"protoPath": "io/restorecommerce/country.proto",
"packageName": "io.restorecommerce.country",
Expand All @@ -90,7 +102,7 @@
}
},
"tax": {
"address": "localhost:50070",
"address": "localhost:50170",
"mock": {
"protoPath": "io/restorecommerce/tax.proto",
"packageName": "io.restorecommerce.tax",
Expand All @@ -103,7 +115,7 @@
}
},
"tax_type": {
"address": "localhost:50071",
"address": "localhost:50171",
"mock": {
"protoPath": "io/restorecommerce/tax_type.proto",
"packageName": "io.restorecommerce.tax_type",
Expand All @@ -116,7 +128,7 @@
}
},
"customer": {
"address": "localhost:50072",
"address": "localhost:50172",
"mock": {
"protoPath": "io/restorecommerce/customer.proto",
"packageName": "io.restorecommerce.customer",
Expand All @@ -129,7 +141,7 @@
}
},
"shop": {
"address": "localhost:50073",
"address": "localhost:50173",
"mock": {
"protoPath": "io/restorecommerce/shop.proto",
"packageName": "io.restorecommerce.shop",
Expand All @@ -142,7 +154,7 @@
}
},
"organization": {
"address": "localhost:50074",
"address": "localhost:50174",
"mock": {
"protoPath": "io/restorecommerce/organization.proto",
"packageName": "io.restorecommerce.organization",
Expand All @@ -156,7 +168,7 @@
},
"fulfillment": {
"disabled": false,
"address": "localhost:50075",
"address": "localhost:50175",
"mock": {
"protoPath": "io/restorecommerce/fulfillment.proto",
"packageName": "io.restorecommerce.fulfillment",
Expand All @@ -170,7 +182,7 @@
},
"fulfillment_product": {
"disabled": false,
"address": "localhost:50076",
"address": "localhost:50176",
"mock": {
"protoPath": "io/restorecommerce/fulfillment_product.proto",
"packageName": "io.restorecommerce.fulfillment_product",
Expand All @@ -184,7 +196,7 @@
},
"invoice": {
"disabled": true,
"address": "localhost:50077",
"address": "localhost:50177",
"mock": {
"protoPath": "io/restorecommerce/invoice.proto",
"packageName": "io.restorecommerce.invoice",
Expand Down
42 changes: 3 additions & 39 deletions package-lock.json

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

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@restorecommerce/ordering-srv",
"version": "0.0.12",
"description": "Restore Commerce microservice for managing orders",
"main": "./lib/index.js",
"main": "./lib/start.js",
"author": "n-fuse GmbH",
"repository": {
"type": "git",
Expand Down Expand Up @@ -53,6 +53,9 @@
"tslint": "^6.1.3",
"typescript": "^4.9.5"
},
"overrides": {
"@grpc/grpc-js": "^1.9.11"
},
"scripts": {
"build": "npm-run-all lint build:clean build:tsc",
"build:clean": "rimraf lib",
Expand Down

0 comments on commit 45ba64d

Please sign in to comment.