Commit Graph

463 Commits

Author SHA1 Message Date
Anatoly Cherkasov
b1da1ba687
PROX-136: removed optional token (#282) 2018-01-17 17:59:42 +03:00
Natalia Pulina
9c28359a39
HG-319: Introduce user_interaction in SleepIntent (#276) 2018-01-10 13:16:19 +03:00
Andrew Mayorov
d0b94a3eb8
Signal cds keyring is locked w/ a woody unavailable error (#275) 2017-12-25 14:58:02 +03:00
Inal Arsanukaev
4e48813adb
WALK-42: Added exceptions in throws (#262)
* WALK-42: Added exceptions in throws

* Using typedef

* Remove unused exeptions from getClaim
2017-11-29 19:38:09 +03:00
Dmitry Manik
0abdda2e76
Epic: Subscriptions 2 (#250) 2017-11-22 13:21:20 +03:00
Evgeny Levenets
8271b2e389 DC-51: penetrate invoice cart into invoice template (#248) 2017-10-25 15:44:15 +03:00
Dmitry Manik
478235a1bd HG-231: Introduce subscriptions (#163) (#205) 2017-10-23 15:00:48 +03:00
Natalia Pulina
50a6930a2a HG-280: Introduce compute terms for invoice templating (#242) 2017-10-02 19:42:13 +04:00
Andrew Mayorov
23b50e4c46 HG-264: Allow proxies ask for a payment state with a callback tag (#221) (#238)
* HG-264: Bump to rbkmoney/image-build@317d286

* HG-264: Allow proxies ask for a payment state with callback tags

* HG-264: Supply suspend tag with session changes
2017-09-28 19:21:55 +03:00
Natalia Pulina
01ba0fd72f DC-52: add interface for getting computed payment terms (#225) (#233)
* add interface for getting computed payment terms
* use short names for ContractID & ShopID
2017-09-27 16:47:14 +04:00
Pavel Popov
52cb315963 Fix naming in payout proc proto (#228) 2017-09-22 18:46:40 +03:00
Evgeny Levenets
c49c94f171 CAPI-185: make card holder name optional to match swag (#227) 2017-09-22 13:11:44 +03:00
Andrew Mayorov
65cff9f2dc HG-58: List insufficient funds as why refund may fail (#226) 2017-09-21 10:18:01 +03:00
Pavel Popov
3954a8daa6 add legal agreement (#224) 2017-09-15 14:09:47 +03:00
Andrew Mayorov
2223cc606c Make status reasons optional in claims (#223) 2017-09-14 15:59:29 +03:00
Natalia Pulina
b95308d8c8 HG-267: sequences.thrift removed (#222) 2017-09-13 16:51:39 +04:00
Alexey Semenkov
49773b2cc3 HG-58: Allow to refund payment (#210)
* HG-227: Introduce basic payment refunds (#158)

* HG-229: Move moving state parts out (#193)

* MST-112: Add refund status in stat proto (#206)

* HOOK-34: Introduce refunds (#203)

* HG-229: Introduce refund terms (#200)

* HG-229: Make provision terms much more strict (#211)

* HG-262: Use yet unallocated tag for the redesigned holds terms (#219)
2017-09-12 12:36:42 +03:00
Pavel Popov
7ed79bd238 MST-115: Terminal payout tool (#218) 2017-09-06 19:00:36 +03:00
Alexey Semenkov
c4fcf1f96c add amount to payout (#217)
* add amount
2017-09-06 17:37:00 +03:00
Pavel Popov
427459a2aa MST-106: Payouts (#188)
* MST-106: Payouts

* Add proto to erlang release

* MST-106: Fix field sequence

* MST-106: Rename payout type fields

* MST-106: Payout proto improvements (#201)

* MST-106: Add bank card data

* PayoutType -> PayoutTool (#204)

* Align fields nameing between merch_stat and domain (#214)

* SHT-89: get payout info for PAPI (#215)

* SHT-89: get payout info for PAPI
* SHT-89: removed pay2card interface
2017-09-04 18:40:55 +03:00
Alexey Semenkov
44afec3edc HG-237: Introduce hold payments (#209)
* HG-233: Support of holds added (#159)

* HG-236: InvalidOperation ex added (#165)

* HG-236: InvalidPartyStatus, InvalidShopStatus -> CapturePayment, CancelPayment (#167)

* MST-111: holds in mst (#181)

* HG-255: Selector for holds (#207)
2017-08-29 18:51:12 +03:00
Evgeny Levenets
07c5f5c6f7 PIMP-6: fix damsel to prepare for PIMP removal (#208) 2017-08-25 16:50:32 +03:00
Pavel Popov
c23a0b1bac MST-113: Add invoice cart (#202)
* MST-113: Add invoice cart

* MST-113: switch to old field sequence
2017-08-21 15:47:44 +03:00
Evgeny Levenets
74a89b78d3 CAPI-176: fix payment terminal routing (#198) 2017-08-17 14:53:40 +03:00
Natalia Pulina
726d88c2dc HG-249: Introduce seq service (#196) 2017-08-16 18:36:25 +04:00
Alexey Semenkov
1519af6daa Terminal api (pimporter) BJ-177
add domain terminal service
add importer service
2017-08-11 12:01:10 +03:00
Evgeny Levenets
a282232e79 HG-232: add fatal risk score (#191) 2017-08-10 11:43:26 +03:00
Kirill Konanykhin
7aaee14722 SHT-73: Payout processing (pay to card) (#185)
* SHT-73: Payout processing (pay to card)
2017-08-09 16:48:55 +03:00
Andrew Mayorov
23363bdb87 Provide means for a proxy to keep session suspended (#190) 2017-08-09 16:08:39 +03:00
Pavel Popov
d0f6d1e435 BJ-204: Reporting imrovements (#189)
* BJ-204: signatures without maps

* BJ-204: Change arguments in getReport method

* BJ-204: now signature is required
2017-08-09 15:07:22 +03:00
Pavel Popov
15c19463eb Fix: revert payouts in mst (#187)
* Revert "MST-106: Fixes in payout proto (#183)"

This reverts commit b9f872f3b1.

* Revert "MST-106: Payouts (#180)"

This reverts commit 3dcaaa8a05.
2017-08-08 12:35:17 +03:00
Andrew Mayorov
7a3d0b3ff9 BJ-201: Require suspend timeout to be set explicitly (#186) 2017-08-04 11:47:17 +03:00
Evgeny Levenets
8c432f7f76 HG-246: add better support for 54FL (#184)
* add metadata to Party
* add interface for PartyMeta modification
* add cart with lines to invoice
2017-08-03 13:48:31 +03:00
Pavel Popov
b9f872f3b1 MST-106: Fixes in payout proto (#183) 2017-08-03 11:28:05 +03:00
Vladimir Pankrashkin
1a79ed66f6 BM-39: Add payout EventSink to BM (#182) 2017-08-01 16:57:59 +03:00
Pavel Popov
3dcaaa8a05 MST-106: Payouts (#180) 2017-08-01 16:06:29 +03:00
Kirill Konanykhin
8b7b62dccc SHT-72: payout processing event sink (#179) 2017-08-01 15:30:18 +03:00
Pavel Popov
a221d43890 BJ-204: Reporting protocol improvements (#178) 2017-08-01 15:11:09 +03:00
Anton Belyaev
2b2e351ed4 Introduce invoice templates (#166)
* Introduce invoice templates
* Fix Jenkinsfile
2017-07-26 13:32:38 +03:00
Evgeny Levenets
95b03f2a96 HG-244: added PartyID and InvoiceDetails for inspector proxy (#175) 2017-07-26 13:07:03 +03:00
Yevgeniy Poluektov
5f52d21317 add actor_id (#176)
https://rbkmoney.atlassian.net/browse/P2C-2
2017-07-26 12:29:19 +03:00
Yevgeniy Poluektov
c6fdb151ad add masked card number to TransferResult (#174) 2017-07-25 12:44:22 +03:00
Pavel Popov
eafc5b8ea5 BJ-193: Reports (#169)
* BJ-193: Reports

* BJ-193: Add GenerateReport method

* BJ-193: Add report_type

* BJ-193: Change generateReport method to regenerateMethod.

* BJ-193: Add docs and new methods

* BJ-193: expiration -> expired_at

* BJ-193: Remove regenerateReport method

* BJ-193: Review fixes

* BJ-193: Add getReportProcessingStatusById method

* BJ-193: Fixes

* BJ-193: Add created_at

* BJ-193: Remove todo items, remove ReportResponse struct

* BJ-193: add newline at end of file

* BJ-193: Another review fixes

* BJ-193: Add doc for errors

* BJ-193: Add report types

* BJ-193: Add report_type in report struct

* BJ-193: Review fixes

* BJ-193: Remove last semicolon

* BJ-193: Add filtering by report_type in getReports method

* BJ-193: Add InvalidRequest in GeneratePresignedUrl method

* BJ-193: expires_at -> expires_at
2017-07-24 18:26:27 +03:00
Pavel Popov
a82c7d7e4d MST-104: Add error classes (#172)
* MST-104: Add error classes
2017-07-20 16:16:28 +03:00
Alexey Semenkov
4a08335162 add claim to claim create response (#170) 2017-07-18 16:20:26 +03:00
Alexey Semenkov
b665c89c83 HG-192: Introduce multiclaims (#131)
* DC-23: changed PartyManagement interface to claims (#122)

* DC-23: changed PartyManagement interface to work with claims as primary editing method

DC-25: changed PartyChangeset to match with new interface (DC-23)
Moved ShopLocation to Shop level

* added ContractExpiered status and creation timestamp

* changed contracts & shops IDs types from Int to String

* extracted ShopUpdate fields to ShopModification level

* added InvalidChangeset exception

* Claim effects added (v0.1)

* Claim effects v1.0

* Claim effects v1.1

added created_at in all party objects

* Added ShopProxyChanged effect produced by ProxyModification changeset

* added ClaimUpdated event and ClaimRevision property

* added revision check to AcceptClaim

* added revision to deny/revoke methods for uniformity

* added ShopContractChanged to make one-to-one relations beetween change & effect

* Category is back to ShopParams as optional field

* AcceptClaim can throw InvalidChangeset exception

* Added AnonymousEntity to fulfill contract creation requirements

* Renamed AninymousEntity to RegisteredUser

* Added PayoutToolType to distinguish test and live payout tools

* Removed payout tool type due to redundancy

* Added PayoutToolPrototype to incapsulate test payout tool params

* Walker2 API (#125)

* Walker 2 api
new Methods for 
CRUD operations fro Claims, Comments and history(Actions)
WALK-20

* rename to wc_deploy

* add deploy_epic_nexus to list

* fix make cmd

* fixed suspension naming

* elastico interface

get end search party methods
Ft/walk 27/elastico (#133)

* Syncronize walker and payment processing thrifts

* WALK-27: Bump to rbkmoney/image-build@efd28e5 (#138)

* DC-27: added timestamp and revision to claim related events

* DC-27: added updated timestamp to claim

Added timestamp to blocking/suspension statuses (party & shop) for same reason.

* DC-27: removed unnecessary timestamp from accepted status (#143)

* Added missed InvalidContractStatus exception (#144)

* Removed timestamp from ContractTermination changeset

rebased to newest master

* jenkins pr crutch

* update walker 2 interface

* fix signature

* replace strings

* add update and create date

* Event batching v0.1 (obvious one) (#160)

* HG-227: Publish formerly internal events (#161)

* HG-227: Streamline event payload definitions

* HG-227: Publish formerly internal events

* HG-227: Introduce session-level result

* HG-227: Start classifying operation failures

* HG-227: Differentiate between domain and payproc invoicing models

* HG-227: Strip domain models further

* HG-227: Make risk score, route and cash flow required

* HG-227: Give shop location back to proxies (#164)
2017-07-17 13:21:41 +03:00
Yevgeniy Poluektov
b97a4ac43f signer zero api (#168)
https://rbkmoney.atlassian.net/browse/EDS-1
2017-07-14 16:38:07 +03:00
Yevgeniy Poluektov
74582f9eaf add pay2card interface (https://rbkmoney.atlassian.net/browse/SHT-64) 2017-07-06 19:37:03 +03:00
Natalia Pulina
cff31396e6 OperationConflict updated with Conflict (#156)
* DC-39: OperationConflict updated with Conflict

* DC-39: ObjectsNotExistConflict added to OperationConflict, HeadMismatchConflict represented as separate ex

* DC-39: ObsoleteCommitVersion instead of HeadMismatch
2017-06-28 18:22:03 +03:00
Natalia Pulina
c32914f952 CAPI-146: Remove proxy_merch_config.thrift (#150) 2017-06-21 11:44:13 +03:00
Evgeny Levenets
f0627b8750 HG-218: added specific exception to Checkout with bad timestamp (#154) 2017-06-16 18:38:35 +03:00
Evgeny Levenets
05017566dc HG-218: added Checkout(timestamp) interface in PartyManagement (#152) 2017-06-16 14:59:04 +03:00
Alexey Semenkov
206aa02809 add canceled status sht-65 2017-06-16 12:30:51 +03:00
Andrew Mayorov
874759043e HG-195: Introduce payment adjustments (#148)
* HG-195: Simplify create flow in payproc

* HG-195: Introduce payment adjustments

* HG-195: Disallow more than one pending adjustment

* HG-195: Add reason to the payment adjustment

* HG-195: Sprinkle over some comments

* HG-195: Include cash flow diff

* HG-196: Fix according to complaints
2017-06-15 19:24:35 +03:00
Yevgeniy Poluektov
cddae9f9fe remove abs (#149)
https://rbkmoney.atlassian.net/browse/SHT-53
2017-06-02 12:45:46 +03:00
Evgeny Levenets
cffd00b4ca DC-40: added name and description to ContractTemplate and TermSetHierarchy (#147) 2017-05-24 12:41:15 +03:00
Pavel Popov
e8c5cc5556 MST-87: own invoice and payment models (#146)
* MST-87: Switch domain invoice and payment models to own model

* MST-87: Copy and paste domain models

* MST-87: PaymentSession -> PaymentSessionID

* MST-87: More linear invoice, Context -> base.Content
2017-05-23 18:14:41 +04:00
Yevgeniy Poluektov
b77efa50d8 https://rbkmoney.atlassian.net/browse/SHT-25 (#145)
* https://rbkmoney.atlassian.net/browse/SHT-25
2017-05-05 16:53:55 +03:00
Inal Arsanukaev
4018c4162f fix webhooker.thrift (#142) 2017-04-19 18:36:45 +03:00
Inal Arsanukaev
e12385baf8 HOOK-12: Improve filter granulation (#141) 2017-04-17 16:21:21 +03:00
Inal Arsanukaev
a7ec53fa13 Changed webhookId type (#139)
* Changed webhookId type

* Fix type name
2017-04-12 17:28:12 +03:00
Yevgeniy Poluektov
c6acf675ba add enabled flag to webhook (#137)
* add enabled flag to webhook

* refactor
2017-04-11 15:07:49 +03:00
Yevgeniy Poluektov
f4dadb7e2e refactor (#136) 2017-04-10 18:46:28 +03:00
Petr Kozorezov
b0fde8d7cb MG-88: add a function for machine deleting (#134) 2017-04-10 14:29:00 +03:00
Petr Kozorezov
041b701c5f MG-85: add ability to set a history range and a timeout to a timer handler (#132) 2017-04-03 15:08:01 +03:00
Inal Arsanukaev
f4a87ead1e HOOK-1: webhooks interface (#129)
* HOOK-1: webhooks interface

* renamed file and some definitions

* Fixed after comments

* microfix

* microfix2

* microfix3

* added get method
2017-04-03 14:17:05 +03:00
Petr Kozorezov
792cfe469d MG-85: update state processing protocol for explicit timers unsetting (#130) 2017-03-31 16:06:06 +03:00
Petr Kozorezov
d0c4a0602c MG-66: replace binary type with msgpack.Value (opaque) in Automaton (#119) 2017-03-29 14:18:26 +03:00
Vladimir Pankrashkin
0cd0588bbd MST-55: fixed null pointer case for unknown geoid (#127)
* MST-55:  fixed null pointer case for unknown geoid

* MST-55:  review fixes
2017-03-17 18:38:34 +03:00
Evgeny Levenets
07b0898a7b DC-21: change 'category' param to optional at shop creation (#120) 2017-03-06 14:27:08 +03:00
Andrew Mayorov
9ec1a2ec70 HG-170: Expand exception interface in the invoicing service (#121) 2017-03-03 20:24:31 +03:00
Anatoly Cherkasov
fb2f17e1f7 PROX-51: payment renamed payment_info (#118) 2017-02-27 16:48:25 +03:00
Andrew Mayorov
27bc11c3d3 HG-154: Fix inspector selector to use list of decision (#116) 2017-02-03 16:16:37 +03:00
Alexey Semenkov
a603319d4b Обновил shitter api (#115)
* + update status
+ add some more fields for payments

* + rename new to created

* + rename ids

* + rename comment
2017-02-01 19:17:04 +03:00
Andrew Mayorov
4e4e214f52 HG-152: Allow to set up proxy while creating a shop (#114) 2017-02-01 16:22:27 +03:00
Andrew Mayorov
61701d2290 Stuff a couple of hacks in (#113)
* HG-153: Provider transport options for proxies

* HG-151: Provide selector as a means to choose an inspector

* HG-151: Provide the cost range condition

* HG-138: Introduce party related conditions

* Revert "HG-153: Provider transport options for proxies"

This reverts commit e0a541bc18efcef30cafd735a38584ee0df8e08e.

* HG-138: Provide const predicate to ease w/ construction catch-all decisions
2017-02-01 13:38:33 +03:00
Alexey Semenkov
bc7d54b356 Внешний интерфейс shitter-а (#108)
add shitter api for PAPI
2017-01-20 12:50:31 +03:00
Evgeny Levenets
7687bb8de3 DC-15: party management improvements and various fixes (#110) 2017-01-20 12:16:31 +03:00
Alexey Semenkov
f466defc0e Поля необходимые для выплат
+ payoutAccountID
+ abs_account
2017-01-19 16:32:22 +03:00
Andrew Mayorov
c05205983f HG-149: Stuff some party contact info in (#107) 2017-01-17 16:12:35 +03:00
Andrew Mayorov
91298f7e6d HG-131: Provide merchant proxy binding facility (#105)
* HG-131: Provide merchant proxy binding facility

* HG-131: Make a crutch for the capi to know what merchant proxy to use
2017-01-13 17:24:47 +03:00
Evgeny Levenets
7352d74536 HG-129: added user type for security checks in HG (#104) 2017-01-13 14:44:56 +03:00
Andrew Mayorov
737d7a0cf5 HG-130: Fix whoopsies (#102)
* HG-130: Fix whoopsies

* HG-130: Make exception name in line with the function names
2017-01-11 17:33:44 +03:00
Artem Ocheredko
2c4d1a4cce PROX-40 Add invalid request exception for better convenience (#103) 2016-12-27 13:05:43 +03:00
Artem Ocheredko
2b2e19e73b PROX-40 Add missed invoice info and context (#100)
* PROX-40 Add missed invoice info and context

* PROX-40 Add postreview fixes
2016-12-27 11:55:26 +03:00
Petr Kozorezov
d202ee8668 MG-30: add machine failed exception to automaton:start (#101) 2016-12-21 21:02:35 +04:00
Andrew Mayorov
db8eaf9479 HG-118: Design merchant proxy interface (#99)
* HG-118: Rename `InvoiceInfo` into `InvoiceDetails`

* HG-118: Sketch up a merchant proxy interface

* HG-118: Strip off invoice status dramatically

* HG-118: Fix a couple of issues
2016-12-21 15:53:12 +03:00
Andrew Mayorov
74233c7378 HG-115: Strictly identify cash flow accounts in a graph (#95)
* HG-115: Strictly identify cash flow accounts in a graph

* HG-115: Fix review issues

 * Further specify final cash flow to exclude the possibility of ambiguity
 * Use the `Cash` term everywhere instead of ambiguous `Amount`

* HG-115: Fix merge issues

* HG-115: Remove excessive constructs
2016-12-14 14:09:57 +03:00
Inal Arsanukaev
2903ab2540 PROX-25: Merchant proxy interface (#98)
* PROX-25: Merchant proxy interface (#98)

* PROX-25: fixed syntax bug

* PROX-25: fixed syntax bug. v.2

* PROX-25: fixed syntax bug. v.3

* change secrets to string

* PROX-25: Renamed thrift file, fixed camelcase, removed interface for HG

* PROX-25: created new file with interface for HG

* PROX-25: renamed method, added context param to sendCallback method

* PROX-25: removed unused struct

* PROX-25: added exception for createOptions

* Added exception to renderOptions

* Deleted proxy_merch.thrift, camelCase fixed to PascalCase
2016-12-14 13:49:07 +03:00
Andrew Mayorov
5e569fcaaa HG-116: Fix a couple of consistency and clarity issues (#97)
* HG-116: Fix a couple of consistency and clarity issues

* HG-116: Introduce JSON-like type

* HG-116: Fix JSON types and introduce msgpack types

* HG-116: Remove the notion of schema revision

* HG-116: Introduce invoice info, better term needed

* HG-116: Rename `SmthPredicate` -> `SmthDecision`

* HG-116: Add missing namespace declarations

* HG-116: Try to get rid of keyword conflicts

* HG-116: Mention missing support for extreme floats
2016-12-13 20:23:13 +03:00
Evgeny Levenets
bfed187f41 Added test and default contract templates to Globals (#96)
* added test and default contract templates to Globals
* made contract template optional at contract creation
2016-12-12 19:12:03 +03:00
Evgeny Levenets
0a1a4b00cc HG-114: added resident legal entity data required for contract creation (#94) 2016-12-09 18:01:35 +03:00
Artem Ocheredko
6ab8146009 HG-109 Add basic inspector proxy and minor refactoring (#92)
* HG-109 Add basic inspector proxy and minor refactoring. Add terminal selection based of risk scores
2016-12-09 16:03:31 +03:00
Evgeny Levenets
0992e40416 HG-91: contract belongs to party (#91)
* contract belongs to party and shop must be linked with contract upon creation
* one payout account, dumb selectors for currency and category

* Last fix
2016-12-09 15:05:35 +03:00
Yevgeniy Poluektov
bdd9d65731 wrapper for typedef (#93) 2016-12-08 12:46:35 +03:00
Yevgeniy Poluektov
35f80437ef MST-34 Интеграция магисты с колубусом (#89)
магиста теперь отдает айдишники гео объектов вместо их названия, название можно получить используя колумбус в зависимости от требуемого языка на фронте
2016-11-24 13:08:10 +04:00
Artem Ocheredko
1006c962af HG-73 Initial preauth proxy (#87)
* HG-73 Add preauth proxy protocol
2016-11-18 16:54:41 +03:00
Petr Kozorezov
65aa80fc4e MG-21: доработки протокола MG (#84)
* MG-21: add history range to call and repair

* MG-21: add mochine id and namespace to process function

* MG-21: fix review comments

* MG-21: update description for history

* MG-21: move history range from history to machine
2016-11-16 19:32:51 +04:00
Inal Arsanukaev
1a75cdbc91 DUD-5: API for dudoser (#86)
* DUD-5: API for dudoser

* hotfix

* hotfixes-2

* hotfixes-3

* hotfixes-4

* hotfixes-5

* hotfixes-6

* hotfixes-6

* hotfixes-7

* Fixed after discussion

* hotfix-8

* hotfix-9

* hotfix-9

* Fixed after comments

* Fixed after comments. v2

* Fixed spaces

* Fixed after comments-14

* Fixed after comments-15
2016-11-16 18:20:37 +03:00
Vladimir Pankrashkin
815f75e0e5 SHMW-10: accounter interface changes (#85)
* SHMW-10: accounter interface changes

* SHMW-10:  review fixes
2016-11-16 12:36:31 +03:00
Petr Kozorezov
d0a19187a2 MG-19: add a status field to the machine (#72)
MG-19: add an аux state field to the machine
2016-10-31 16:38:02 +04:00
Yevgeniy Poluektov
98f7db3101 remove unused exception type (#83) 2016-10-28 12:48:20 +04:00
Yevgeniy Poluektov
a8be468fad Columbus api enhancement (#82)
add geo id unlnown
add batch method for ip resolving
edit method description
add build status icon
add InvalidRequest to all methods
2016-10-27 16:56:34 +04:00
Alexey Semenkov
557f5493cf Columbus Api Update (#80)
+ add new geoId method
+ update fields
2016-10-24 15:12:25 +04:00
Andrew Mayorov
b059a28dc1 HG-64: Expand proxy context + discard terminal descriptors (#78)
* HG-64: Expand proxy context + favor options instead of terminal descriptors

* HG-64: Add a TODO bullet

* HG-64: Fix compilation issue
2016-10-20 13:47:12 +03:00
Igor Savchuk
7a56dfce89 add some payment systems (#79)
* add some payment systems

* bringen visa und mastercard zu anfang
2016-10-20 12:44:47 +02:00
Andrew Mayorov
29d6caf9d1 HG-64: Pass routing and cash flow data down w/ events (#76)
* HG-64: Pass routing and cash flow data down w/ events

* HG-64: Change system account designation

* HG-64: Praise the javac overlord

* HG-64: Imply single limit

* HG-64: Include shop details in the prototype

* HG-64: Write a couple of comments
2016-10-17 17:27:32 +03:00
Artem Ocheredko
1a085d37c8 CAPI-32 Remove excessive field (#77) 2016-10-14 22:03:43 +03:00
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
Andrey Mayorov
ddd75821db Design a draft of domain data model and config service
HG-5
HG-6
2016-04-27 15:23:15 +03:00
Andrey Mayorov
f872abec6a Rename project 2016-04-06 20:23:12 +03:00
Andrey Mayorov
87b6ef6cab HG-11: Fix upon review 2016-04-01 17:54:20 +03:00
Andrey Mayorov
be894775b0 HG-11: Design state processing protocol draft 2016-03-31 18:42:22 +03:00
Andrey Mayorov
7bb404b89d Dedicate separate dir for thrift files 2016-03-29 14:52:23 +03:00