mirror of
https://github.com/valitydev/hellgate.git
synced 2024-11-06 10:55:22 +00:00
9c5c65bf04
* BUSINESS-160: Respect allocation terms in terms computations (#576)
* Support reducing allocation terms
* Fix naming as of rbkmoney/damsel@a2509fc
* ED-69: Implement Cashflow (#586)
* Revert "Revert "ED-69: Implement new cashflow (#577)" (#585)"
This reverts commit a76f6ee905
.
* ED-69: Fix migration from master to epic/split
* ED-69: Add allocations (#587)
* ED-69: Add allocations
* ED-69: Add validation
* ED-69: Update damsel
* ED-69: Fix compile
* ED-69: Add allocation refund
* ED-69: Compact transactions
* Update apps/hellgate/src/hg_allocations.erl
Co-authored-by: Артем <WWW_cool@inbox.ru>
* ED-69: Rename Params -> Data
* ED-69: Some changes to allocation work
* ED-69: Add non-working eunit test
* ED-69: Fix bugs and make test work
* ED-69: Fix bugs and make more tests
* ED-69: Fix some specs
* ED-69: Fix dialyzer and format
* ED-69: Redo allocation refund into subtraction
* ED-69: Integrate allocation subtraction to refund
* ED-69: Add headers, return tests to working conditions and update damsel
* ED-69: Review fix
* ED-69: Review fix
* ED-69: Review fix
* ED-69: Review fix
* ED-69: Fix tests
* ED-69: Add validation for aggegator clash
* ED-69: Review fix
* ED-69: Review fixes
* ED-69: Add cashflow usage
* ED-69: Fix cashflow
* ED-69: Format
* ED-69: Review fixes
* ED-69: Fix collect_refund_cashflow/10
* ED-69: Review fix
* ED-69: Various fixes
* ED-69: Fix tests
* ED-69: Format
* ED-69: Fix lint
* ED-69: Add list of shops to multiple_payment_institutions error
* ED-69: Fix specs
* ED-69: Review fixes
* ED-69: Review fix
* ED-69: Review fix
* ED-69: Review fixes
* ED-69: Review fixes
* ED-69: Fix compile
* ED-69: Review fixes
* ED-69: Review fixes
* Update apps/hellgate/src/hg_allocation.erl
Co-authored-by: Andrew Mayorov <a.mayorov@rbkmoney.com>
* ED-69: Review fixes
* ED-69: Review fixes
* ED-69: Fix test
* ED-69: Add tests
* ED-69: Format
* ED-69: Fix tests
* ED-69: Review fixes
* ED-69: Review fix
* ED-69: Review fix
* ED-69: Move allocation tests to test/*
* ED-69: Format
* ED-69: Fix lint
* ED-69: Fix spec
Co-authored-by: Артем <WWW_cool@inbox.ru>
Co-authored-by: Andrew Mayorov <a.mayorov@rbkmoney.com>
* ED-69: Fix merge
* ED-69: Update damsel to master
Co-authored-by: Andrew Mayorov <a.mayorov@rbkmoney.com>
Co-authored-by: Артем <WWW_cool@inbox.ru>
89 lines
2.4 KiB
Bash
Executable File
89 lines
2.4 KiB
Bash
Executable File
#!/bin/bash
|
|
cat <<EOF
|
|
version: '2.1'
|
|
services:
|
|
|
|
${SERVICE_NAME}:
|
|
image: ${BUILD_IMAGE}
|
|
volumes:
|
|
- .:$PWD
|
|
- $HOME/.cache:/home/$UNAME/.cache
|
|
working_dir: $PWD
|
|
command: /sbin/init
|
|
depends_on:
|
|
machinegun:
|
|
condition: service_healthy
|
|
shumway:
|
|
condition: service_healthy
|
|
mem_limit: 512M
|
|
|
|
dominant:
|
|
image: dr2.rbkmoney.com/rbkmoney/dominant:2f02d79d15db352c14359024dfcf082a51a1b17a
|
|
command: /opt/dominant/bin/dominant foreground
|
|
depends_on:
|
|
machinegun:
|
|
condition: service_healthy
|
|
|
|
machinegun:
|
|
image: dr2.rbkmoney.com/rbkmoney/machinegun:627130675ad6e7ee2127126740fe369542905b4b
|
|
command: /opt/machinegun/bin/machinegun foreground
|
|
volumes:
|
|
- ./test/machinegun/config.yaml:/opt/machinegun/etc/config.yaml
|
|
- ./test/machinegun/cookie:/opt/machinegun/etc/cookie
|
|
healthcheck:
|
|
test: "curl http://localhost:8022/"
|
|
interval: 5s
|
|
timeout: 1s
|
|
retries: 20
|
|
|
|
limiter:
|
|
image: dr2.rbkmoney.com/rbkmoney/limiter:c7e96068a56da444e78cc7739a902da8e268dc63
|
|
command: /opt/limiter/bin/limiter foreground
|
|
depends_on:
|
|
machinegun:
|
|
condition: service_healthy
|
|
shumway:
|
|
condition: service_healthy
|
|
|
|
shumway:
|
|
image: dr2.rbkmoney.com/rbkmoney/shumway:658c9aec229b5a70d745a49cb938bb1a132b5ca2
|
|
restart: unless-stopped
|
|
entrypoint:
|
|
- java
|
|
- -Xmx512m
|
|
- -jar
|
|
- /opt/shumway/shumway.jar
|
|
- --spring.datasource.url=jdbc:postgresql://shumway-db:5432/shumway
|
|
- --spring.datasource.username=postgres
|
|
- --spring.datasource.password=postgres
|
|
- --management.metrics.export.statsd.enabled=false
|
|
depends_on:
|
|
- shumway-db
|
|
healthcheck:
|
|
test: "curl http://localhost:8022/"
|
|
interval: 5s
|
|
timeout: 1s
|
|
retries: 20
|
|
|
|
party-management:
|
|
image: dr2.rbkmoney.com/rbkmoney/party-management:2066fff761c63a6c54a1c4825b31de81ff79e815
|
|
command: /opt/party-management/bin/party-management foreground
|
|
depends_on:
|
|
- machinegun
|
|
- dominant
|
|
- shumway
|
|
healthcheck:
|
|
test: "curl http://localhost:8022/"
|
|
interval: 5s
|
|
timeout: 1s
|
|
retries: 20
|
|
|
|
shumway-db:
|
|
image: dr2.rbkmoney.com/rbkmoney/postgres:9.6
|
|
environment:
|
|
- POSTGRES_DB=shumway
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=postgres
|
|
- SERVICE_NAME=shumway-db
|
|
EOF
|