* Simplify token issuing and contexts in tests
* No need for an ACL abstraction anymore
* `ExtraProperties` in contexts was never used anyway
* Make test client more flexible wrt deadlines
* Drop unused module
* Drop auth tests which became effectively useless
* ED-172: Switch to bouncer
* Return error in case of token keeper auth failed
* Remove unused
* auth_data must present here in any case
* Do not rewrite ports for existing services
* Add missing bouncer policies in invoice access token tests
* Remove legacy auth for operation authorization
* Add permission for GetPaymentByExternalID into tests
* Add new permissions where missing
* Fixe GetReport
* Remove unused variables
* Review fixes
* Rewview fixes 2
* More fixes
* feat: Add API for countries and economic zones
* deps: update swag
* fix: Handle optional trade_blocs set
* fix: Fix returning field names
* Apply suggestions from code review
Co-authored-by: Sergey Yelin <s.elin@rbkmoney.com>
* test: Fix domain integrity and add not found cases
* deps: remove unnecessary meck
Co-authored-by: Sergey Yelin <s.elin@rbkmoney.com>
* ED-81/refactor: pass OperationID for id gen
* deps: update damsel
* ED-92/feat: Add idempotency for invoice templates
* ED-92/fix: Fox feature indexing
* ED-92/refactor: merge single_line in common schema
* refactor: put capi_bender:make_idempotent_key to private
* refactor: rename invoice_template_create_params
* refactor: remove unused features
* fix customer_binding schema naming
* refactor: remove unlim id
* tests: add unused features check to create_invoice_template_ok_test
* refactor: remove unused id
* fix(capi_idemp_features): Fix list_all_fields algorithm
There was a bug in capi_idemp_features:list_all_fields: during zipfold, it return an incorrect accumulator with RevPath
that accumulated paths of ALL map nodes traversed so far.
It showed up in customer_binding schema I'm currently writing Unit tests for:
```
expected: [<<"paymentResource.paymentTool.exp_date">>,
<<"paymentResource.paymentSession">>]
got: [<<"paymentResource.paymentTool.exp_date">>,
<<"paymentResource.paymentTool.paymentSession">>]
```
It didn't show up in existing tests at all: bad luck I guess 🤷
* refactor: fix typo
* tests: add unit tests for customer_binding
* refactor+test: Refactor feature tests and add invoice_template tests
* fix: Add invoiceTemplateID to invoice schema
* fix: capi_bender types
* test: fix idemp unit test for templates
* test: Add missing ignored keys
* test: Add invoice_with_template_creation idemp test
* test: fix idemp unit test for templates
* refactor: remove unnecessary get_external_id clause
* Add prototypes to GetAccountByID
* Add prototypes to capi_handler_shops and capi_handler_categories
* Remove get_prototypes/3
* Rework shops handler
* Optimize some calls
* Rework accounts and categories handlers
* Torned on bouncer in tests for accounts and categories
* Enable bouncer in tests for shops