Commit Graph

51 Commits

Author SHA1 Message Date
Evgeny Levenets
b66c8c7664 HG-112: implemented party contracts (#53) 2017-01-10 19:53:01 +03:00
Evgeny Levenets
79c10fe02d HG-128: bumped machinegun (#54)
Bumped to 2c956c1172
2016-12-27 18:13:54 +03:00
Artem Ocheredko
dac53a5847 HG-74 Integrate with new damsel protocols (#50)
* HG-74 Integrate with new damsel protocols
2016-12-08 19:18:32 +03:00
Evgeny Levenets
ccc419ed8f HG-72: save context in gproc instead of carrying around from function to function (#48) 2016-11-15 10:59:17 +03:00
Evgeny Levenets
58b5676056 MSPF-70: use cache for dialyze speed up (#46) 2016-10-25 14:16:12 +03:00
Andrew Mayorov
5645661e8e HG-63: Interwine payment processing with accounting (#45)
* HG-63: Interwine payment processing with accounting

* HG-63: Fix linting issues

* HG-63: Fix badmatch

* HG-63: Play with timings in tests

* HG-63: Add a couple of TODOs

* HG-63: Use `partition` instead of deceptive `splitwith`
2016-10-23 17:57:22 +03:00
Artem Ocheredko
69e435b5d9 HG-64 Move proxy provider to the newest damsel (#44) 2016-10-21 18:35:34 +03:00
Evgeny Levenets
e706ad0563 MSPF-91: update damsel to 2fc021a714 (#41) 2016-10-20 17:24:09 +03:00
Andrew Mayorov
38c7befbb5 HG-64: Implement validation and naïve routing (#39)
* HG-62: Implement cashflows, w/o any reasonable safeguards for now

* HG-64: Drop unused piece of code

* HG-64: Export a domain revision type

* HG-64: Validate invoice params upon creation

* HG-64: Create default shop from prototype

* HG-64: Fix badmatch

* HG-64: Implement validation and naive routing

* HG-64: Bump to rbkmoney/damsel@29d6caf

* HG-64: Fix linting issues

* HG-64: Activate shop created from prototype

* HG-64: Refactor everything to use the newest woody_erlang

* HG-64: Add TODO concerning importance of autogenerated reflection
2016-10-20 13:51:35 +03:00
Evgeny Levenets
31d0aaa372 MSPF-91: updated dmt_client version (#40) 2016-10-19 16:39:13 +03:00
Igor Savchuk
a9d87a710a use fixed dmt_core (#38)
* use fixed dmt_core

* update to latest commit in dmt_core master
2016-10-17 16:21:21 +02:00
Igor Savchuk
49843818ab add dmt_client (#21)
* add dmt_client

remove traitorous tab

fix traitorous spec

fixes

rebase fixes

add tiny little fixes

eta wtuka ni k chemu

fix tabs and spaces

* drop some ugly stuff

* use fresh dominant image

* update build_utils
2016-10-16 20:55:55 +02:00
Artem Ocheredko
a5398f86e8 CAPI-32 Add newest damsel_erlang (#37) 2016-10-14 23:21:51 +03:00
Andrew Mayorov
3ead2e373f HG-61: Implement renewed invoicing service protocol (#35)
* HG-64: Implement renewed invoicing protocol

 * Bump damsel to rbkmoney/damsel@5e264e0

* HG-64: Relax the linter and fix a spec error

* Hg-64: Fix incorrect specs

* HG-64: Bump machinegun w/ bugfix
2016-10-14 20:27:22 +03:00
Igor Savchuk
1f21b50346 use damsel_erlang (#33)
* use damsel_erlang

* update dmsl
2016-10-13 22:57:59 +02:00
Artem Ocheredko
1de020308d HG-67 Add account management (#23)
* HG-67 Add account management. Add default shop services for shop creation. Add party management todo
2016-10-12 15:44:21 +03:00
Anton Belyaev
3ef7408ea4 MSPF-97: update pilot config (#29)
* cpilot: ipv6 addr is preferable
* use more templates
* bump up build image
2016-10-12 10:20:22 +03:00
Anton Belyaev
dded44d94b MSPF-97: introduce containerpilot (#28) 2016-10-11 17:36:35 +03:00
Andrew Mayorov
f551cab1d1 HG-51: Payments over new protocol (#24)
* HG-51: Implement new proxy protocol, shitcode at its best

* HG-51: Refactor a bit

* HG-51: Switch to a renewed mg protocol

* HG-51: Bump to damsel upstream w/ payer contact info

* HG-51: Mention pointlessly complex payment ids in TODO list

* HG-51: Hardcode eventsink id instead

* HG-51: Update lockfile

* HG-51: Fail furiosly when callback handling ends up w/ unexpected error

* HG-51: Store less state in the session start event

* HG-51: Fail furiously on protocol errors, e.g. proxy contract violations

* HG-51: Add more TODO
2016-10-10 19:05:28 +03:00
Andrew Mayorov
17e6d5ae85 MSPF-91: Stream logs into a single json-formatted file (#26) 2016-10-10 14:41:18 +03:00
Evgeny Levenets
0da3552986 HG-70: Added IPv6 support (#25)
Added IPv6 support and set IPv6 "::" as default listen address
2016-10-07 14:32:51 +03:00
Evgeny Levenets
87fab9ad03 HG-68: Claims that don't need approval now create with accepted status (#22)
* Claims that don't need approval now create with accepted status

* Removed unnecessary checks
2016-10-03 18:54:43 +03:00
Andrew Mayorov
89267cd6af HG-49: Provide basic party management implementation (#20)
* HG-49: Provide basic party management implementation

* Bit simplified machine interfaces
* Tests split into three different modules
* Verify history consistency in each test suite

* HG-49: Switch temporarily to damsel fork

* HG-49: Ensure to throw in case of empty machine history too

* HG-49: Implement claim revocation + tests

* HG-49: Switch temporarily to damsel fork

* HG-49: Include and fix claim related tests in the suite

* HG-49: Implement claim acceptance / denial, no access control yet

* HG-49: Switch temporarily to damsel fork

* HG-47: Fix naming of claim status tags in line w/ proto

* HG-49: Implement pending claim retrieval

* HG-49: Implement shop management w/o proper acceptance flow for now

* HG-49: Introduce preliminary pending claims management

* HG-49: Split monolithic client into pieces service-wise

* HG-49: Fix copypasta artifact in a header guard

* HG-49: Make any new shop suspended initially

* HG-49: Use sequences instead of unique ids for shops / claims

* HG-49: Reference specific coredocs documents in the implementation

* HG-49: Employ generic unwrap, which raises error when fed w/ error tuple

* HG-49: Season complex code fragments w/ comments

* HG-49: Provide meaningful revocation reason

* HG-49: Simplify exception handling a bit in hg_party

* HG-49: Please the Linter

* HG-49: Provide moar tests
2016-09-22 15:25:41 +03:00
Andrew Mayorov
d6d11ccb24 MG-16: Reimplement state processing in line with proto changes (#19)
* MG-16: Reimplement state processing in line w/ proto changes + remove some quirks

* MG-16: Update machinegun endpoints

* MG-16: Bump to the newest woody

* MG-16: Switch to a fresh machinegun container in test env
2016-08-25 15:41:23 +00:00
Andrew Mayorov
62e5c8884e HG-48: Configure demo endpoint for a provider proxy (#17) 2016-08-15 13:35:15 +00:00
Anton Belyaev
2f66129ad4 MSPF-66: fix for release target (#16) 2016-08-12 21:33:39 +04:00
Anton Belyaev
5700705ae9 MSPF-66: bump up build utils (#15)
* MSPF-66: bump up to the latest build_utils
2016-08-12 16:40:18 +04:00
Andrew Mayorov
ba19d5d593 HG-48: Switch to the new stateproc protocol (#14)
* HG-48: Linting should not require compilation

* HG-48: Switch to the new stateproc protocol + introduce dynamic dispatch

* HG-47: Update TODOs

* HG-48: Fix process_signal contract

* HG-48: Update Payer construction in tests

* HG-48: Fix context handling

* HG-48: Bump damsel dep and update invoice machine accordingly

* HG-48: Bump mg_prototype service dep

* HG-48: Consolidate service specs in one place
2016-08-11 15:52:58 +00:00
Anton Belyaev
b321e8952d MSPF-73: use build_utils (#13)
* MSPF-73: use build_utils - align with the latest & greatest WoWs
2016-08-08 22:16:17 +04:00
Andrew Mayorov
d54e4e64a3 HG-40: Explicitly point to the right branch in submodules (#12) 2016-08-03 12:58:40 +00:00
Andrew Mayorov
b07dadd7e6 Implement event sink and event filtering (#11)
* HG-40: Implement EventSink + remap invoice events

* HG-40: Simplify machine code a bit

* HG-40: Fix eventsink handlers wrt to woody specs

* HG-40: Introduce eventsink tests + fix a couple of bugs alongside

* HG-40: Bump thrift runtime dep

* HG-45: Implement internal events and event filtering

* HG-45: Start checking sequnces in tests

* HG-45: Bump woody dep version

* HG-45: Remove unused module

* HG-45: Move sequencing out of hg_machine, fix it and test it

* HG-45: Switch to proper damsel fork

* HG-45: Shut the elvis up since I've no idea how to not repeat yourself in test suites

* HG-40: Update CI env definition + provide reasonable defaults for tcp endpoint

* HG-40: Revert UserInfo removal
2016-08-02 17:06:39 +00:00
niku64
05b6983ba7 Merge pull request #9 from rbkmoney/build_image_elvis_test
Build image elvis
2016-07-25 16:46:15 +04:00
Grigory Antsiferov
dc74ecaba8 * packer.json
Deleted.
2016-07-25 15:35:46 +03:00
Grigory Antsiferov
8b88765bdd Jenkinsfile: uncommented the lint stage. 2016-07-24 19:39:27 +03:00
niku64
2f1130108e Merge pull request #8 from rbkmoney/ft/MSPF-46/ci_testing
Изменения для более оптимальной работы с Jenkins CI, перехода на dr.rbkmoney.com
2016-07-22 13:39:38 +04:00
Grigory Antsiferov
bc716ff06f * Makefile
Added $(REGISTRY) to contatiner push destination.
2016-07-18 13:54:54 +03:00
Grigory Antsiferov
aa4b765eb9 * Makefile
Docker registry changed to dr.rbkmoney.com.
2016-07-18 13:11:04 +03:00
Grigory Antsiferov
5a7618e0d3 * docker-compose
masquerade has been disabled
* Jenkinsfile
  fetch state was removed, because rebar3 fetches in root home directory, which is then lost with container.
2016-07-15 16:21:30 +03:00
Grigory Antsiferov
eab2d27be4 docker-compose.yml: bridge network testing 2016-07-15 15:58:11 +03:00
Grigory Antsiferov
4ff1543b80 Jenkinsfile: extra stages were added. 2016-07-15 15:23:13 +03:00
Grigory Antsiferov
a3edd2f837 some markup fixes. 2016-07-15 15:08:05 +03:00
Grigory Antsiferov
580ce5810d * utils.mk
Separated w_container and w_compose states.
* Jenkinsfile
  Use w_compose for tests, and only for tests.
2016-07-15 14:55:00 +03:00
Anton Belyaev
f1c907636f Merge pull request #6 from rbkmoney/ft/MSPF-46/jenkinsci-adaption
MSPF-46: introduce scripts for Jekins CI 2.0 and new dev WoWs
2016-07-12 21:09:56 +04:00
Anton Belyaev
2318cb0144 MSPF-46: introduce scripts for Jekins CI 2.0 and new dev WoWs 2016-07-12 19:37:38 +03:00
Artem Ocheredko
23a0238d42 HG-24 Add more correct context handling to hg invoicing (#5)
* HG-24 Add more correct context handling to hg invoicing
2016-07-06 17:10:16 +03:00
Andrew Mayorov
458ddafd2c HG-4: Adapt implementation to work w/ event lists (#3)
* HG-4: Adapt implementation to work w/ event lists

* HG-4: Switch to damsel upstream

* HG-4: Explicitly match on declared events
2016-06-23 15:29:28 +03:00
Andrew Mayorov
2b6d52e903 HG-3: Add stubbed invoice machine and all the wiring (#2)
* HG-3: Add stubbed invoice machine and all the wiring

* HG-3: Bump damsel to a proper revision

* HG-3: Get rid of precompile hook to make submodules work

* HG-3: Add missing elvis config

* HG-3: Switch to proto fork temporarily

* HG-3: Merge dispatcher activities w/ machine behaviour

* HG-4: Switch to new proto fork temporarily

* HG-3: Avoid `submodule init` on every make invocation

* HG-3: Allow to pass datetime in both native and iso8601 format

* HG-4: Switch to new proto fork temporarily

* HG-4: Adapt to new protocol + internal & external events

* HG-3: Switch to proto fork already

* HG-21: Add containerization maketargets

* HG-4: Fix interfaces and add missing activities

* HG-4: Switch to new proto fork temporarily

* HG-6: Fix ruble currency code

* HG-4: Fix interface issues

* HG-4: Add default config

* HG-4: Switch to new proto fork temporarily

* HG-4: Start filling provider proxy interaction in

* Publish TODOs

* HG-4: Stub a provider proxy w/ settings from app env

* HG-4: Fix copypasta

* HG-4: Add dummy provider proxy, to be moved into testsuite

* HG-4: Switch to new proto fork temporarily

* HG-21: Remove nonfunctional target dependencies

* HG-4: Rename hg_action to make its objective clearer

* HG-4: Simplify interface address manipulation

* HG-4: Compile proxy related thrift files

* HG-4: Switch to new proto fork temporarily

* HG-4: Update TODOs

* HG-4: Isolate service specs and put them to the proto lib

* HG-4: Move dummy provider into the test dir

* HG-4: Fix getting events with respect to proto update

* damsel@24a247b

* HG-4: Introduce hg client + add preliminary test suite

* HG-4: Merge woody handler with invoice module

* HG-4: Fuse processor handler with machine

* HG-4: Harden the build + fix typing errors alongside

* HG-4: Add happy payment testcase + stateful client

* HG-4: Update gitignore rules with respect to wercker beta

* HG-4: Stash a couple of items into TODO

* HG-4: Make trivial behaviour for test provider(s)

* HG-4: Update elvis rules + lint tests' code

* HG-4: Make UserInfo a part of the client + simplify test code with macros

* HG-4: Cleanup dirty proxy state after testcases

* HG-4: Rename test_provider to a wider test_proxy

* HG-4: Explicitly mention requirement on manually started mgun
2016-06-15 19:10:22 +03:00
Andrew Mayorov
89cfa08d51 Merge pull request #1 from keynslug/fix/rename
Rename project
2016-04-07 14:43:33 +03:00
Andrey Mayorov
fedd8d9d3c Rename project 2016-04-07 14:37:34 +03:00
Petr Kozorezov
c4b4b8fce5 add project sceleton 2016-03-02 18:50:50 +03:00