feat(oracle): accept wrapped secrets as passwords
This commit is contained in:
parent
34aeeab041
commit
8b4ac8eb4f
|
@ -16,7 +16,6 @@
|
|||
-define(APPS, [emqx_bridge, emqx_resource, emqx_rule_engine, emqx_oracle, emqx_bridge_oracle]).
|
||||
-define(SID, "XE").
|
||||
-define(RULE_TOPIC, "mqtt/rule").
|
||||
% -define(RULE_TOPIC_BIN, <<?RULE_TOPIC>>).
|
||||
|
||||
%%------------------------------------------------------------------------------
|
||||
%% CT boilerplate
|
||||
|
@ -33,9 +32,6 @@ groups() ->
|
|||
{plain, AllTCs}
|
||||
].
|
||||
|
||||
only_once_tests() ->
|
||||
[t_create_via_http].
|
||||
|
||||
init_per_suite(Config) ->
|
||||
Config.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{application, emqx_oracle, [
|
||||
{description, "EMQX Enterprise Oracle Database Connector"},
|
||||
{vsn, "0.1.7"},
|
||||
{vsn, "0.1.8"},
|
||||
{registered, []},
|
||||
{applications, [
|
||||
kernel,
|
||||
|
|
|
@ -95,7 +95,7 @@ on_start(
|
|||
{host, Host},
|
||||
{port, Port},
|
||||
{user, emqx_utils_conv:str(User)},
|
||||
{password, jamdb_secret:wrap(maps:get(password, Config, ""))},
|
||||
{password, maps:get(password, Config, "")},
|
||||
{sid, emqx_utils_conv:str(Sid)},
|
||||
{service_name, ServiceName},
|
||||
{pool_size, maps:get(pool_size, Config, ?DEFAULT_POOL_SIZE)},
|
||||
|
|
Loading…
Reference in New Issue