[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"
|
webroot = "webroot"
|
||||||
|
|
||||||
good_availablity_template = "contrib/good_availablity.svg"
|
good_availablity_template = "contrib/good_availablity.svg"
|
||||||
|
@ -22,5 +22,5 @@ every = "5m"
|
||||||
after = "30m"
|
after = "30m"
|
||||||
|
|
||||||
[microservice_dependencies]
|
[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/"
|
permission = "http://localhost:8080/api-test/session/%s/%d/"
|
||||||
|
|
|
@ -79,8 +79,8 @@
|
||||||
<script>
|
<script>
|
||||||
var config = {
|
var config = {
|
||||||
'microservice_dependencies': {
|
'microservice_dependencies': {
|
||||||
'products': '/api-test/product/',
|
'products': 'http://localhost:8080/products.json',
|
||||||
'productById': '/api-test/product/%d/',
|
'productById': 'http://localhost:8080/products/%d.json',
|
||||||
'lockGoods': '/api/goods/locking',
|
'lockGoods': '/api/goods/locking',
|
||||||
'unlockGoods': '/api/goods/locking',
|
'unlockGoods': '/api/goods/locking',
|
||||||
'buyGoods': '/api/goods/locking',
|
'buyGoods': '/api/goods/locking',
|
||||||
|
|
|
@ -46,7 +46,7 @@ var config = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'microservice_dependencies': {
|
'microservice_dependencies': {
|
||||||
'products': '/api-test/product/',
|
'products': 'http://localhost:8080/products.json',
|
||||||
'productById': '/api-test/product/%d/'
|
'productById': 'http://localhost:8080/products/%d.json'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Reference in New Issue