capi-v2/apps
Yaroslav Rogov 5f2b240e25
ED 92/feat/pass invoice template id (#532)
* 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
2021-04-16 09:30:27 +03:00
..
capi ED 92/feat/pass invoice template id (#532) 2021-04-16 09:30:27 +03:00
capi_client/src Revert "Revert "ED-71: party *ByID calls (#523)"" (#528) 2021-03-16 11:11:00 +03:00
capi_woody_client/src MSPF-622: Update woody, remove random port generation in tests (#503) 2020-11-26 11:48:14 +03:00