genofire/hs_monolith
genofire
/
hs_monolith
Archived
1
0
Fork 0

[TASK] Configurate with monolith

This commit is contained in:
Martin Geno 2017-06-23 12:29:30 +02:00
parent 1b08ce63dd
commit ff669c697d
No known key found for this signature in database
GPG Key ID: F0D39A37E925E941
3 changed files with 6 additions and 6 deletions

View File

@ -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/"

View File

@ -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',

View File

@ -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'
} }
}; };