Commit Graph

55 Commits

Author SHA1 Message Date
Artem Ocheredko
5e264e070d HG-67 Fix category mismatch in party management (#75) 2016-10-13 19:33:13 +03:00
Andrew Mayorov
07af34c8ee HG-64: Streamline invoicing service (#74)
* HG-64: Streamline invoicing service

* HG-64: Bump image tag up

* HG-64: Forward-declare a couple of exceptions
2016-10-13 16:16:41 +03:00
Artem Ocheredko
25a49e4426 HG-67 Add and elegant crutch to avoid dealing with contract shop services (#69) 2016-10-11 20:50:53 +03:00
Artem Ocheredko
12d4663343 HG-66 Modify payment processing to satisfy new domain requirements (#68) 2016-10-11 17:39:48 +03:00
Artem Ocheredko
1698e333ba HG-66 Add account management (#65)
* HG-66 Add account management
2016-10-10 18:36:37 +03:00
Andrew Mayorov
4b6544893b HG-30: Domain redesign (#64)
* HG-30: Dump a preliminary domain redesign

* HG-30: Fix implicit requiredness

* HG-30: Bring contractor object back to domain

* HG-30: Use the term 'Cash' as a notion of financial resources

* HG-30: Describe what 'Terminal' is more thoroughly

* HG-30: Bring together a couple of known unsolved problems

* HG-30: Throw down some notes on planned domain structure
2016-10-10 16:14:58 +03:00
Igor Savchuk
f3f72ad6fb add dummy domain object (#52) 2016-10-08 15:07:07 +03:00
Evgeny Levenets
406fd17f79 HG-69: Added contact info to Payer struct (#66)
* HG-69: Added ContactInfo to Payer struct
2016-10-07 13:40:54 +03:00
Igor Savchuk
1f55723832 fix proxy typo (#63) 2016-09-29 19:14:19 +03:00
Petr Kozorezov
5b8572cfb7 MG-17: add a new version of EventSink:GetHistory with an explicit event_sink_id 2016-09-28 16:33:25 +04:00
Andrew Mayorov
1907454d45 HG-61: Allow proxy to request user interaction while going to suspend (#61) 2016-09-27 16:25:18 +03:00
Andrew Mayorov
222647466c HG-61: Introduce suspend intent and callbacks (#59)
* HG-61: Introduce suspend intent + callbacks, redesign proxy interfaces

* HG-61: Declare required namespaces

* HG-61: Bring back the notion of payment cancellation

* HG-41: Reference coredocs doc which explains a set of payment statuses
2016-09-27 16:01:50 +03:00
Andrew Mayorov
fc2b572995 HG-60: Introduce a notion of user interaction and related events (#58)
* HG-60: Introduce a notion of user interaction and related events

* HG-60: Declare required namespaces

* HG-60: Imply more general templates

* HG-60: Simplify HTTP request significantly
2016-09-23 23:54:14 +03:00
Alexey Semenkov
b1af2c83bf Ft/mst 28/geo api (#57)
+ add Columbus api (geo service)
2016-09-22 13:44:28 +03:00
Vladimir Pankrashkin
7117acb805 SHMW-2: first protocol version (#54)
* SHMW-1: first protocol version

* SHMW-2: review fixes: changed `from/to` -> `from/to_id`

* SHMW-2: modified Makefile

* SHMW-2: review fixes

* SHMW-2: restore corrupted makefile

* SHMW-2: review fixes

* SHMW-2: review fixes:capitalize ID

* SHMW-2: review fixes:added plan update

* SHMW-2: review fixes: discussion results[Season 2]
2016-09-13 17:11:13 +03:00
Andrew Mayorov
71887ddee8 HG-47: Fix a couple of issues which tainted party management interfaces (#53)
* HG-47: Fix function return type

* HG-47: Fix union field name

* HG-47: Feature claim revocation

* HG-47: Add invalid party status as a possible failure in claim revocation

* HG-47: Fix naming of claim status tags
2016-09-09 13:11:33 +03:00
Petr Kozorezov
78b7bac323 MG-16: доработки API mg (#50)
* MG-16: add event id to SinkEvent

* MG-16: correct functions names according styleguide

* MG-16: add direction to HistoryRange and delete EventSink:GetLastEventID

* MG-16: replace Call with Args

* MG-15: remove unused exception
2016-08-25 13:23:14 +04:00
Andrew Mayorov
c2a01157b3 HG-49: Make it possible to properly mark events from parties (#49) 2016-08-11 11:07:40 +00:00
Andrew Mayorov
fb43ca0f55 HG-48: Ask for shop id upon invoice creation (#48) 2016-08-10 12:51:01 +00:00
Andrew Mayorov
e305b7c33b HG-47: Design party management interfaces (#44)
* HG-47: Change regulatory domain for timestamps to RFC 3339

* HG-47: Draft party management interfaces + update related domain types

* HG-47: Isolate any possible party modification in changeset

* HG-47: Make blockage / suspension signaling more straightfowrard

* HG-47: Fix a bit Makefile sanity

* HG-47: Introduce ownership to invoices

* HG-47: Distinguish between shop name and id + autogenerate latter

* HG-47: Simplify ShopUpdate definition

* HG-47: Use refs to a category instead

* HG-47: Separate party definition from data revision + provide GetShop function

* HG-47: Include party events into processing event set

* HG-47: Barely acknowledge party creation rather than reply with initial state

* HG-47: Fuse domain objects into party state as is + fix wording
2016-08-10 12:06:59 +00:00
Andrew Mayorov
c3c1218409 HG-48: Fix InvoicePaymentParams definition (#47) 2016-08-08 10:33:36 +00:00
Vladimir Pankrashkin
59f01ac9ec MST-1: magista protocol fixes (#43)
* MST-1: fixes: changed return types, added total records count (without limit/offset), added new exception

* MST-1: text fixes
2016-08-08 11:11:42 +03:00
Petr Kozorezov
7dcb752743 MG-15: откат части переезда на новое api (#45)
* Revert "MG-15: fixes after review"

This reverts commit e34411f5f2.

* Revert "MG-15: add ability to specify machine data to load (contex or history)"

This reverts commit ff42ac3d87.

* Revert "MG-15: add machine context"

This reverts commit c2f1588883.

* MG-16: remove the destroy machine function

* MG-15: add a namespace parament to all automaton functions

* MG-15: rename the automoton functions in accordance with the damsel convention

* MG-15: replace the overcomplicated structure Args with a simple typedef
2016-08-05 12:28:00 +04:00
Andrew Mayorov
edd24240a5 Streamline event interfaces (#42)
* HG-40: Fix events structure + expose event w/ opaque state changes

* HG-45: Unexpose event w/ opaque state changes
2016-07-29 11:07:02 +00:00
Vladimir Pankrashkin
a66e33a56d MST-1: Thrift protocol for magista service (#40)
* MST-1: Thrift protocol for magista service

* MST-1: Review fixes: changed names in domain

* MST-1: Review fixes: changed service name

* MST-1: Review fixes: changed erlang namespace
2016-07-28 15:01:03 +03:00
Petr Kozorezov
e34411f5f2 MG-15: fixes after review 2016-07-22 14:23:09 +03:00
Petr Kozorezov
ff42ac3d87 MG-15: add ability to specify machine data to load (contex or history) 2016-07-20 19:06:57 +03:00
Petr Kozorezov
e572229e31 MG-15: remove the machine id generation on start 2016-07-20 15:09:26 +03:00
Petr Kozorezov
c2f1588883 MG-15: add machine context 2016-07-20 14:58:46 +03:00
Vladimir Pankrashkin
fcd05bd748 MB-21: Up range bounds changed to optional (#33)
This commit will change BM client protocol: upper range bound was changed to optional to allow infinite request stream.
2016-07-05 10:51:11 +03:00
Igor Savchuk
5e3795cfe4 [HG-32] domain_config.thrift refactored (#25) 2016-07-01 14:18:41 +03:00
Evgeniy Shishkin
a3a29d711f MG-12: EventSource field + EventSink comment (#32)
* MG-12: add EventSource type/field; add important comment to EventSink interface

* MG-12: use base.ID type instead of binary
2016-06-30 13:42:08 +04:00
Vladimir Pankrashkin
0127915bb4 MB-21: Fixed wrong type range types 2016-06-29 12:38:43 +03:00
Vladimir Pankrashkin
46419de8e5 Ft/hw-3/hwprotocol (#29)
* MB-21: BM Thrift protocol

* MB-21: BM Thrift protocol

* MB-21: Review fixes, added erl namespace

* MB-21: Comment fixes

* MB-21: Removed commas in enum

* MB-21: Removed event filter

* MB-21: One more iteration

* MB-21: One more iteration
2016-06-24 20:10:21 +03:00
Evgeniy Shishkin
918cf7ff18 MG-11: Спроектировать интерфейс EventSink в state processing (#26)
* MG-11: introduce EventSink draft

* MG-11: change comment for GetHistory

* MG-11: add NoLastEvent exception

* MG-11: rearrage comments similar to payment_processing arragment to narrow style differences

* MG-11: change GetLastEventID to make it slightly less complex

* MG-11: correct syntax mistake

* MG-11: add timestamp for event as requested by Java team; change some comment layout for better look

* MG-11: change names of Event structure to make it similar to payment_processing Event

* MG-11: fix comment
2016-06-24 13:19:35 +03:00
tolkonepiu
566634679c HG-37: Change "Void" to "Rescind" and more (#24)
* Change "Void" to "Rescind"

* Add java namespaces

* Add created_at field in Event struct
2016-06-21 19:45:09 +04:00
Andrew Mayorov
643996f8da HG-36: Preliminary EventSink service + slight event model redesign (#22)
* HG-36: Preliminary EventSink service + slight event model redesign

* HG-36: Add Java namespace

* HG-36: Convert EventSource into a union

* HG-36: Dedicated exception for GetLastEventID

* HG-36: Add doc + event payload type hierarchy

* HG-36: Fix tag ordering

* HG-36: Make exceptional conditions clearer

* HG-36: Rename ev -> payload

* HG-36: Change status types to unions + proper namespacing
2016-06-16 18:07:06 +03:00
Andrew Mayorov
4ce946e3ef HG-4: Share EventID type between closely related services (#21)
* HG-4: Remove now useless docs

* HG-4: Make EventID numeric as defined in state_processing
2016-06-15 13:21:44 +03:00
Evgeniy Shishkin
4f7d9c9170 MG-9: Расширить сущности SignalResult, CallResult списоком событий (#17)
* MG-6: getHistory/3 added; EventId added; MachineNotFound, EventNotFound exceptions added

* MG-6: name clashes fixed using namespaces

* MG-6: CallResult - event changed to EventBody; SignalResult - event changed to EventBody

* MG-6: EventId type changed to i64

* ft/MG-6 : add specification comment to getHistory method

* MG-6: removed namespaces

* MG-8: add HistoryRange structure; fix params in getHistory; fix comments

* MG-6: change EventId to EventID

* MG-6: remove redundant comment

* MG-9: extend CallResult/SignalResult with events list

* MG-9: change comment to better reflect recent changes

* MG-9: use EventBody instead of raw binary
2016-06-14 11:16:56 +03:00
Evgeniy Shishkin
b66dd688ed MG-6: add MachineFailed exception (#18)
* MG-6: add MachineFailed exception

* MG-6: add comment for MachineFailed exception

* MG-6: make names for Automaton methods exceptions look similar to other exception names
2016-06-14 11:16:09 +03:00
Igor Savchuk
4b8afa9736 Comment cds (#20) 2016-06-10 18:53:11 +03:00
Andrew Mayorov
8770c2fde5 HG-19: Outline a provider proxy protocol (#14)
* HG-19: Outline a provider proxy protocol

* HG-4: Fix naming w/ respect to Golang rules

* HG-4: Add exception to signal that there's active payment

* HG-19: Denormalize currency in domain structures

* HG-4: Make invoice details non-mandatory

* HG-4: Associate invoice with domain data revision

* HG-4: Fix incorrect PaymentSession type

* HG-19: Propose a documentation

* HG-4: Add generic exception for invalid requests

* HG-19: Fix ambiguity
2016-06-02 14:38:27 +03:00
Evgeniy Shishkin
559ad78b95 MG-6: getHistory implementation (#13)
* MG-6: getHistory/3 added; EventId added; MachineNotFound, EventNotFound exceptions added

* MG-6: name clashes fixed using namespaces

* MG-6: CallResult - event changed to EventBody; SignalResult - event changed to EventBody

* MG-6: EventId type changed to i64

* ft/MG-6 : add specification comment to getHistory method

* MG-6: removed namespaces

* MG-8: add HistoryRange structure; fix params in getHistory; fix comments

* MG-6: change EventId to EventID
2016-05-26 19:20:58 +03:00
Andrew Mayorov
49714da3bf HG-3: Update types and services with respect to public interface (#15)
* HG-3: Update types and services with respect to public interface

* HG-3: Put `due` field into invoice

* Rename `Object` -> `DomainObject`
2016-05-26 15:06:07 +03:00
Artem Ocheredko
ace7856894 ft/CAPI-12 Add various kludges to make Go codegenerator work 2016-05-24 16:41:25 +03:00
Igor Savchuk
06308f6fb3 [CDS-7] add cds.thrift (#9)
* add cds.thrift

* add NoKeyring exception

* split in two services

Cds and CdsAdmin

* Design a draft of domain data model and config service

HG-5
HG-6

* HG-7: Add a couple of fixes

* HG-7: Fixate namespaces a bit

* Fix review comments

HG-7
HG-5

* introduce bankcard and carddata types

* tiny little fixes

* getSessionCardData

* tabs to spaces

* fix result of put

* HG-20: Draft a demoable processing service (#10)



* HG-20: Fix issues found during review

* cds fixes
2016-05-24 16:15:11 +03:00
Andrew Mayorov
7c72256673 HG-20: Draft a demoable processing service (#10)
* HG-20: Fix issues found during review
2016-05-20 19:31:53 +03:00
Andrey Mayorov
e5e06f5a39 Fix review comments
HG-7
HG-5
2016-05-18 19:30:18 +03:00
Andrey Mayorov
dea29b56c5 HG-7: Fixate namespaces a bit 2016-04-27 18:00:43 +03:00
Andrey Mayorov
57195bfcef HG-7: Add a couple of fixes 2016-04-27 15:23:15 +03:00