Skip to content

Commit

Permalink
remove bpe_account
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Jul 6, 2019
1 parent 96e5d07 commit 894f508
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 55 deletions.
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{active, ".*", {git, "git://github.com/synrc/active", []}},
{cowboy, ".*", {git, "git://github.com/voxoz/cowboy2", []}},
{n2o, ".*", {git, "git://github.com/synrc/n2o", []}},
{rocksdb, ".*", {git, "git://github.com/enterprizing/rocksdb", []}},
{rocksdb, ".*", {git, "git://github.com/voxoz/rocks", []}},
{form, ".*", {git, "git://github.com/synrc/form", []}},
{kvs, ".*", {git, "git://github.com/synrc/kvs", []}}]}.
{erl_opts, [nowarn_unused_function,nowarn_duplicated_export]}.
49 changes: 0 additions & 49 deletions src/actors/bpe_account.erl

This file was deleted.

2 changes: 1 addition & 1 deletion src/bank.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{description, "FIN Account Management"},
{vsn, "0.6.0"},
{registered, []},
{applications, [kernel,stdlib,bpe]},
{applications, [public_key,asn1,kernel,stdlib,mnesia,syntax_tools,compiler,xmerl,kvs,syn,n2o,bpe,form]},
{mod, { bank, []}},
{env, []}
]}.
2 changes: 1 addition & 1 deletion src/papers/bpe_act.erl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ event(init) ->
nitro:clear(tableRow),
Bin = nitro:qc(p),
Id = try binary_to_list(Bin) catch _:_ -> 0 end,
case kvs:get(process,Id) of
case kvs:get("/bpe/proc",Id) of
{error,not_found} ->
nitro:update(n, "ERR"),
nitro:update(desc, "No process found."),
Expand Down
2 changes: 1 addition & 1 deletion src/papers/bpe_index.erl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ event(init) ->
nitro:insert_bottom(ctrl, #link{id=creator, body="New",postback=create, class=[button,sgreen]}),
nitro:hide(frms),
[ nitro:insert_top(tableRow, bpe_row:new(form:atom([row,I#process.id]),I))
|| I <- kvs:all(process) ],
|| I <- kvs:all("/bpe/proc") ],
ok;

event({complete,Id}) ->
Expand Down
5 changes: 3 additions & 2 deletions sys.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[{forms,[{registry,[bpe_row,bpe_trace,bpe_otp,bpe_act]}]},
{bert,[{js,"priv/static"}]},
{bpe,[{procmodules,[bpe_account,tour,quant_1,quant_2]}]},
{n2o, [{port,8041},
{app,bank},
{upload,"./priv/static/"},
Expand All @@ -11,7 +12,7 @@
{origin,<<"*">>},
{pickler,n2o_secret},
{event,pickle}]},
{kvs,[{dba,kvs_mnesia},
{dba_st,kvs_stream},
{kvs,[{dba,kvs_rocks},
{dba_st,kvs_st},
{schema,[kvs,kvs_stream,bank_kvs,bpe_metainfo]}]}
].

0 comments on commit 894f508

Please sign in to comment.