Go to file
2016-12-22 18:57:56 +03:00
build_utils@0a57c5f107 PROX-34: Made a sketch of the skeleton of the application (#1) 2016-12-15 13:14:13 +03:00
docs PROX-34: Made a sketch of the skeleton of the application (#1) 2016-12-15 13:14:13 +03:00
src PROX-39: added logs (#2) 2016-12-20 13:34:35 +03:00
.gitignore PROX-34: Made a sketch of the skeleton of the application (#1) 2016-12-15 13:14:13 +03:00
.gitmodules PROX-34: Made a sketch of the skeleton of the application (#1) 2016-12-15 13:14:13 +03:00
containerpilot.json PROX-34: Made a sketch of the skeleton of the application (#1) 2016-12-15 13:14:13 +03:00
Dockerfile PROX-34: Made a sketch of the skeleton of the application (#1) 2016-12-15 13:14:13 +03:00
Jenkinsfile PROX-34: Made a sketch of the skeleton of the application (#1) 2016-12-15 13:14:13 +03:00
pom.xml PROX-39: update pom version (#3) 2016-12-22 18:57:56 +03:00
README.md PROX-39: update pom version (#3) 2016-12-22 18:57:56 +03:00

Proxy Test

Build Status

Сервис предназначен для эмулирования запросов между процессингом и банковском

Developers

Оглавление:

  1. Техническая документация
  2. Полезные ссылки
  3. FAQ

Отправка запросов на сервис:

http(s)//{host}:{port}/proxy/test

Конфигурация для docker-compose

version: '2'
services:

  proxy_test:
    depends_on:
      - cds
      - proxy_test_mpi
    image: dr.rbkmoney.com/rbkmoney/proxy-test:last
    environment:
      - SERVICE_NAME=proxy_test
    command: |
      -Xms64m -Xmx256m
      -jar /opt/proxy-test/proxy-test.jar
      --logging.file=/var/log/proxy-test/proxy-test.json
      --server.secondary.ports=8080
      --server.port=8022
      --cds.url.storage=http://cds:8022/v1/storage
      --cds.url.keyring=http://cds:8022/v1/keyring
      --hellgate.url=http://hellgate:8022/v1/proxyhost/provider
      --proxy-test.callbackUrl=http://proxy-test:8080
      --proxy-test-mpi.url=http://proxy-test-mpi:8080
    working_dir: /opt/proxy-test
    restart: on-failure:3

  proxy_test_mpi:
    image: dr.rbkmoney.com/rbkmoney/proxy-test-mpi:last
    environment:
      - SERVICE_NAME=proxy_test_mpi
    ports:
      - "8018:8080"
    command: |
      -Xms64m -Xmx256m
      -jar /opt/proxy-test-mpi/proxy-test-mpi.jar
      --logging.file=/var/log/proxy-test-mpi/proxy-test-mpi.json
      --proxy-test-mpi.callbackUrl=http://proxy-test-mpi:8080
    working_dir: /opt/proxy-test-mpi
    restart: on-failure:3
    
  cds:
     image: dr.rbkmoney.com/rbkmoney/cds:last
     environment:
       - SERVICE_NAME=cds
     command: /opt/cds/bin/cds foreground
     restart: on-failure:3
    
networks:
  default:
    driver: bridge
    driver_opts:
      com.docker.network.enable_ipv6: "true"
      com.docker.network.bridge.enable_ip_masquerade: "true"