HG-67 Add account management (#23)

* HG-67 Add account management. Add default shop services for shop creation. Add party management todo
This commit is contained in:
Artem Ocheredko 2016-10-12 15:44:21 +03:00 committed by GitHub
parent 3ef7408ea4
commit 1de020308d
4 changed files with 24 additions and 1 deletions

@ -1 +1 @@
Subproject commit 406fd17f79fdfe8823ccfeddaa571e6cf61c7d28
Subproject commit 25a49e442670c72c1fe10426d1190936307899a0

View File

@ -15,6 +15,7 @@
{in_files, [
"state_processing.thrift",
"payment_processing.thrift",
"accounter.thrift",
"proxy_provider.thrift"
]},
{gen, "erlang:scoped_typenames,app_prefix=hg"}

View File

@ -17,6 +17,7 @@
{port, 8022},
{automaton_service_url , <<"http://machinegun:8022/v1/automaton">>},
{eventsink_service_url , <<"http://machinegun:8022/v1/event_sink">>},
{accounter_service_url , <<"http://shumway:8022/accounter">>},
{provider_proxy_url , <<"http://proxy_vtb:8022/proxy">>}
]}
].

View File

@ -12,12 +12,33 @@ services:
command: /sbin/init
depends_on:
- machinegun
- shumway
machinegun:
image: dr.rbkmoney.com/rbkmoney/machinegun:4c29acdcdce065dbba1f3c8ee1683caea837869c
volumes:
- ./test/machinegun/sys.config:/opt/machinegun/releases/0.1.0/sys.config
shumway:
image: dr.rbkmoney.com/rbkmoney/shumway:b9487a2313ede02780a90895eb74d43e57b931f6
entrypoint: |
java
-Xmx512m
-jar
/opt/shumway/shumway-0.0.1-SNAPSHOT.jar
command: |
--spring.datasource.url=jdbc:postgresql://shumway_psql:5432/shumway
--spring.datasource.username=shumway
--spring.datasource.password=shumway
depends_on:
- shumway_psql
shumway_psql:
image: dr.rbkmoney.com/rbkmoney/postgres:9.6
environment:
- POSTGRES_DATABASE=shumway
- POSTGRES_USER=shumway
- POSTGRES_PASSWORD=shumway
networks:
default:
driver: bridge