Merge pull request #11919 from thalesmg/action-api-swagger-nits-r53-20231109
fix(actions_api): change bridge v2 occurrences to action
This commit is contained in:
commit
9c1a1c7de8
|
@ -1157,7 +1157,7 @@ map_to_json(M0) ->
|
|||
end.
|
||||
|
||||
non_compat_bridge_msg() ->
|
||||
<<"bridge already exists as non Bridge V1 compatible Bridge V2 bridge">>.
|
||||
<<"bridge already exists as non Bridge V1 compatible action">>.
|
||||
|
||||
upgrade_type(Type) ->
|
||||
emqx_bridge_lib:upgrade_type(Type).
|
||||
|
|
|
@ -162,7 +162,7 @@ bridge_v2_examples(Method) ->
|
|||
[
|
||||
#{
|
||||
?AEH_CONNECTOR_TYPE_BIN => #{
|
||||
summary => <<"Azure Event Hub Bridge v2">>,
|
||||
summary => <<"Azure Event Hub Action">>,
|
||||
value => values({Method, bridge_v2})
|
||||
}
|
||||
}
|
||||
|
@ -207,7 +207,7 @@ values({post, bridge_v2}) ->
|
|||
#{
|
||||
enable => true,
|
||||
connector => <<"my_azure_event_hub_producer_connector">>,
|
||||
name => <<"my_azure_event_hub_producer_bridge">>,
|
||||
name => <<"my_azure_event_hub_producer_action">>,
|
||||
type => ?AEH_CONNECTOR_TYPE_BIN
|
||||
}
|
||||
);
|
||||
|
|
|
@ -100,7 +100,7 @@ values({post, connector}) ->
|
|||
values({post, KafkaType}) ->
|
||||
maps:merge(
|
||||
#{
|
||||
name => <<"my_kafka_producer_bridge">>,
|
||||
name => <<"my_kafka_producer_action">>,
|
||||
type => <<"kafka_producer">>
|
||||
},
|
||||
values({put, KafkaType})
|
||||
|
|
Loading…
Reference in New Issue