ELIXIR BPE MIX

As was planned some time ago BPE get KVX support in 4.6 along with Elixir bindings and upcoming BUD application that in addition to CHAT and SAMPLE will incorporate basic distributed BPE process. BANK is also BPE based application but (unlike BUD) its core process is not distributed and has the scope of the single user.

Packaging is also changed, admin pages as a sample moved to BUD and BANK applications. In that way we were able to lower the size of BPE from 900 to 400 LOC.

synrc/bpe 4.6

(1)> :kvx.all(:writer) [ {:writer, '/bpe/proc', 8, [], [], []}, {:writer, '/bpe/hist/1561056330367647000'}, 15, [], [], []}, {:writer, '/bpe/hist/1561061446450590000'}, 7, [], [], []}, {:writer, '/bpe/hist/1561063062377234000'}, 2, [], [], []}, {:writer, '/bpe/hist/1561063089087944000'}, 3, [], [], []}, {:writer, '/bpe/hist/1561063600278637000'}, 5, [], [], []}, {:writer, '/bpe/hist/1561066121676452000'}, 1, [], [], []}, {:writer, '/bpe/hist/1561066124717319000'}, 4, [], [], []}, {:writer, '/bpe/hist/1561073251255155000'}, 2, [], [], []} ] (2)> :bpe.complete('1561063062377234000') Process: "1561063062377234000" Task: 'Upload' Targets: ['Payment'] Target: 'Payment' Status: reply Reason: complete {:complete, :Payment} (3)> :kvx.feed('/bpe/hist/1561063062377234000') [ {:hist, 0, :feed, [], [], [], [], "IBAN Account", {:event, :Init}, [], {{2019, 6, 20}, {23, 37, 42}}}, {:hist, 1, :feed, [], [], [], [], "IBAN Account", {:task, :Init}, [], {{2019, 6, 20}, {23, 37, 52}}}, {:hist, 2, :feed, [], [], [], [], "IBAN Account", {:task, :Upload}, [], {{2019, 6, 24}, {3, 32, 20}}} ]