Skip to content

Commit aed5aaf

Browse files
author
Gerald Baulig
committed
fix(currency): resolve currency for price precision
1 parent 51e4074 commit aed5aaf

6 files changed

+594
-1356
lines changed

cfg/config.json

+3
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,9 @@
192192
"country": {
193193
"address": "localhost:50053"
194194
},
195+
"currency": {
196+
"address": "localhost:50053"
197+
},
195198
"tax": {
196199
"address": "localhost:50053"
197200
},

cfg/config_production.json

+3
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@
4949
"country": {
5050
"address": "resource-srv:50051"
5151
},
52+
"currency": {
53+
"address": "resource-srv:50051"
54+
},
5255
"tax": {
5356
"address": "resource-srv:50051"
5457
},

cfg/config_test.json

+13
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,19 @@
212212
]
213213
}
214214
}
215+
},
216+
"currency": {
217+
"address": "localhost:50178",
218+
"mock": {
219+
"protoPath": "io/restorecommerce/currency.proto",
220+
"packageName": "io.restorecommerce.currency",
221+
"serviceName": "CurrencyService",
222+
"protoLoadOptions": {
223+
"includeDirs": [
224+
"node_modules/@restorecommerce/protos/"
225+
]
226+
}
227+
}
215228
}
216229
}
217230
}

0 commit comments

Comments
 (0)