mirror of
https://github.com/valitydev/hellgate.git
synced 2024-11-06 10:55:22 +00:00
baaf8ad7de
* added payment system objects * updated dominant image * updating hg_payment_tool * added payment-system and crypto-currency objects * refactored hg_dummy_provider:make_payment_tool * refactored hg_dummy_provider:make_payment_tool (part II, mobile-commerce) * added payment-token object * updated party-management docker image reference * mobile commerce tests * payment_with_offsite_preauth (jcb payment system) tests * payment service (terminals) tests * payment service (wallet) tests * erlformat * added payment system (no_preauth mastercard) tests * payment system (visa wo cvv) tests * payment system (visa no_preauth) tests * payment system (visa unexpected_failure) tests * payment system (visa unexpected_failure_no_trx) tests * payment system (visa preauth_3ds) tests * tokenized bank card tests * payment system (visa scenarios) tests * direct recurent tests * invoice adjustment tests * customer tests * recurrent paytools tests * some prepearing for tests * crypto-currency tests * running chargeback tests consistently * added payment adjustment test
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:9de9cf7f9d80c6bdcf549bbed9ac3096fe5e519d
|
|
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:988193d4bf2c667123234118a1976b9f4ec1369d
|
|
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
|