chore(opents): bump version && update changes
This commit is contained in:
parent
dad8a32e0b
commit
83a8822798
|
@ -1,6 +1,6 @@
|
|||
{application, emqx_bridge_opents, [
|
||||
{description, "EMQX Enterprise OpenTSDB Bridge"},
|
||||
{vsn, "0.1.3"},
|
||||
{vsn, "0.1.4"},
|
||||
{registered, []},
|
||||
{applications, [
|
||||
kernel,
|
||||
|
|
|
@ -56,7 +56,10 @@ fields(config) ->
|
|||
|
||||
fields("config_connector") ->
|
||||
emqx_connector_schema:common_fields() ++
|
||||
proplists_without([auto_reconnect], fields(config));
|
||||
proplists_without([auto_reconnect], fields(config)) ++
|
||||
emqx_connector_schema:resource_opts_ref(?MODULE, connector_resource_opts);
|
||||
fields(connector_resource_opts) ->
|
||||
emqx_connector_schema:resource_opts_fields();
|
||||
fields("post") ->
|
||||
emqx_connector_schema:type_and_name_fields(enum([opents])) ++ fields("config_connector");
|
||||
fields("put") ->
|
||||
|
@ -66,6 +69,8 @@ fields("get") ->
|
|||
|
||||
desc(config) ->
|
||||
?DESC("desc_config");
|
||||
desc(connector_resource_opts) ->
|
||||
?DESC(emqx_resource_schema, "resource_opts");
|
||||
desc("config_connector") ->
|
||||
?DESC("desc_config");
|
||||
desc(Method) when Method =:= "get"; Method =:= "put"; Method =:= "post" ->
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
The bridges for OpentsDB have been split so it is available via the connectors and actions APIs. They are still backwards compatible with the old bridge API.
|
|
@ -24,6 +24,12 @@ emqx_bridge_opents {
|
|||
desc_name.label:
|
||||
"Bridge Name"
|
||||
|
||||
action_parameters.desc:
|
||||
"""OpenTSDB action parameters"""
|
||||
|
||||
action_parameters.label:
|
||||
"""Parameters"""
|
||||
|
||||
action_parameters_data.desc:
|
||||
"""OpenTSDB action parameter data"""
|
||||
|
||||
|
@ -36,10 +42,10 @@ config_parameters_timestamp.desc:
|
|||
config_parameters_timestamp.label:
|
||||
"""Timestamp"""
|
||||
|
||||
config_parameters_metric.metric:
|
||||
config_parameters_metric.desc:
|
||||
"""Metric. Placeholders in format of ${var} is supported"""
|
||||
|
||||
config_parameters_metric.metric:
|
||||
config_parameters_metric.label:
|
||||
"""Metric"""
|
||||
|
||||
config_parameters_tags.desc:
|
||||
|
|
Loading…
Reference in New Issue