Sign inSign up

linkedgit/oneopp-compose-payments

By linkedgit

Updated over 8 years ago

Payments application later service base image

Image
0

311

linkedgit/oneopp-compose-payments repository overview

Oneopp payments composer service

Requirements:

  • Node.js > 8
  • Docker.js > 17.*

Basic Usage

# clone the repo
$ git clone https://[email protected]/linkedgit/oneopp-composer-payments.git
$ cd oneopp-composer-payments

# install 
$ npm install

# run development/production
$ npm run dev  
$ npm start    

# run tests
$ npm test
# integration
$ npm run compose:test

Overview

Oneopp payments domain aggregation service. Includes functional operations for payments operations via razorpay

Dependencies

Depends on services:

  • TBD
Circuit Breaker

To avoid the chain of failures problem Circuit Breaker pattern is applied. It implements service which wrap a http call in a circuit breaker object, which monitors for failures and self restoring if failure occurs. Circuit Breaker becomes opened if failure occurs. In this case user will continiousely get 503 respond untill circuit breaker restore its state by means of healthchecking services functionality. This functionality must be included to all functional operations.

Environement variables

  • MS_NAME
  • NODE_ENV
  • DEBUG
  • PORT
  • SEARCH_SERVICE_URL
  • EVENTS_SERVICE_URL
  • OPP_SECRET
  • OPP_USER
  • OPP_PASS
  • PROXY_AUTH

Tag summary

Content type

Image

Digest

Size

62 MB

Last updated

over 8 years ago

docker pull linkedgit/oneopp-compose-payments