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
This commit is contained in:
Inal Arsanukaev 2016-12-14 13:49:07 +03:00 committed by GitHub
parent 5e569fcaaa
commit 2903ab2540

View File

@ -0,0 +1,19 @@
include "base.thrift"
include "domain.thrift"
namespace java com.rbkmoney.damsel.proxy_merch_config
namespace erlang proxy_merch_config
struct MerchantProxyParams {
1: required string callback_url
}
struct MerchantProxyConfiguration {
1: required string callback_url
2: required string pub_key
}
service ConfigureMerchantProxy {
domain.ProxyOptions CreateOptions(1: MerchantProxyParams merchant_proxy_params) throws (1: base.InvalidRequest ex1)
MerchantProxyConfiguration RenderOptions(1: domain.ProxyOptions proxy_options) throws (1: base.InvalidRequest ex1)
}