[TASK] Configurate with monolith
This commit is contained in:
parent
1b08ce63dd
commit
ff669c697d
|
@ -1,4 +1,4 @@
|
|||
webserver_bind = ":8080"
|
||||
webserver_bind = ":8081"
|
||||
webroot = "webroot"
|
||||
|
||||
good_availablity_template = "contrib/good_availablity.svg"
|
||||
|
@ -22,5 +22,5 @@ every = "5m"
|
|||
after = "30m"
|
||||
|
||||
[microservice_dependencies]
|
||||
product = "http://localhost:8080/api-test/product/%d/"
|
||||
product = "http://localhost:8080/products/%d.json"
|
||||
permission = "http://localhost:8080/api-test/session/%s/%d/"
|
||||
|
|
|
@ -79,8 +79,8 @@
|
|||
<script>
|
||||
var config = {
|
||||
'microservice_dependencies': {
|
||||
'products': '/api-test/product/',
|
||||
'productById': '/api-test/product/%d/',
|
||||
'products': 'http://localhost:8080/products.json',
|
||||
'productById': 'http://localhost:8080/products/%d.json',
|
||||
'lockGoods': '/api/goods/locking',
|
||||
'unlockGoods': '/api/goods/locking',
|
||||
'buyGoods': '/api/goods/locking',
|
||||
|
|
|
@ -46,7 +46,7 @@ var config = {
|
|||
},
|
||||
},
|
||||
'microservice_dependencies': {
|
||||
'products': '/api-test/product/',
|
||||
'productById': '/api-test/product/%d/'
|
||||
'products': 'http://localhost:8080/products.json',
|
||||
'productById': 'http://localhost:8080/products/%d.json'
|
||||
}
|
||||
};
|
||||
|
|
Reference in New Issue