refactor(gw): rename all gateway application name

This commit is contained in:
JianBo He 2023-04-13 14:53:47 +08:00
parent f01e2f358b
commit 0a62d6c556
113 changed files with 33 additions and 33 deletions

View File

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

View File

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 148 KiB

View File

@ -1,4 +1,4 @@
{application, emqx_coap, [ {application, emqx_gateway_coap, [
{description, "CoAP Gateway"}, {description, "CoAP Gateway"},
{vsn, "0.1.0"}, {vsn, "0.1.0"},
{registered, []}, {registered, []},

View File

@ -15,7 +15,7 @@
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------
%% @doc The CoAP Gateway implement %% @doc The CoAP Gateway implement
-module(emqx_coap). -module(emqx_gateway_coap).
-include_lib("emqx/include/logger.hrl"). -include_lib("emqx/include/logger.hrl").
-include_lib("emqx_gateway/include/emqx_gateway.hrl"). -include_lib("emqx_gateway/include/emqx_gateway.hrl").

View File

@ -1,4 +1,4 @@
{application, emqx_exproto, [ {application, emqx_gateway_exproto, [
{description, "ExProto Gateway"}, {description, "ExProto Gateway"},
{vsn, "0.1.0"}, {vsn, "0.1.0"},
{registered, []}, {registered, []},

View File

@ -15,7 +15,7 @@
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------
%% @doc The ExProto Gateway implement %% @doc The ExProto Gateway implement
-module(emqx_exproto). -module(emqx_gateway_exproto).
-include_lib("emqx/include/logger.hrl"). -include_lib("emqx/include/logger.hrl").
-include_lib("emqx_gateway/include/emqx_gateway.hrl"). -include_lib("emqx_gateway/include/emqx_gateway.hrl").

View File

@ -1,8 +1,8 @@
{application, emqx_lwm2m, [ {application, emqx_gateway_lwm2m, [
{description, "LwM2M Gateway"}, {description, "LwM2M Gateway"},
{vsn, "0.1.0"}, {vsn, "0.1.0"},
{registered, []}, {registered, []},
{applications, [kernel, stdlib, emqx, emqx_gateway, emqx_coap]}, {applications, [kernel, stdlib, emqx, emqx_gateway, emqx_gateway_coap]},
{env, []}, {env, []},
{modules, []}, {modules, []},
{licenses, ["Apache 2.0"]}, {licenses, ["Apache 2.0"]},

View File

@ -15,7 +15,7 @@
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------
%% @doc The LwM2M Gateway implement %% @doc The LwM2M Gateway implement
-module(emqx_lwm2m). -module(emqx_gateway_lwm2m).
-include_lib("emqx/include/logger.hrl"). -include_lib("emqx/include/logger.hrl").
-include_lib("emqx_gateway/include/emqx_gateway.hrl"). -include_lib("emqx_gateway/include/emqx_gateway.hrl").

View File

@ -18,7 +18,7 @@
-include("emqx_lwm2m.hrl"). -include("emqx_lwm2m.hrl").
-include_lib("emqx/include/logger.hrl"). -include_lib("emqx/include/logger.hrl").
-include_lib("emqx_coap/include/emqx_coap.hrl"). -include_lib("emqx_gateway_coap/include/emqx_coap.hrl").
%% API %% API
-export([ -export([

View File

@ -18,7 +18,7 @@
-include("emqx_lwm2m.hrl"). -include("emqx_lwm2m.hrl").
-include_lib("emqx/include/logger.hrl"). -include_lib("emqx/include/logger.hrl").
-include_lib("emqx_coap/include/emqx_coap.hrl"). -include_lib("emqx_gateway_coap/include/emqx_coap.hrl").
-export([ -export([
mqtt_to_coap/2, mqtt_to_coap/2,

View File

@ -20,7 +20,7 @@
-include_lib("emqx/include/emqx.hrl"). -include_lib("emqx/include/emqx.hrl").
-include_lib("emqx/include/emqx_mqtt.hrl"). -include_lib("emqx/include/emqx_mqtt.hrl").
-include_lib("snabbkaffe/include/snabbkaffe.hrl"). -include_lib("snabbkaffe/include/snabbkaffe.hrl").
-include_lib("emqx_coap/include/emqx_coap.hrl"). -include_lib("emqx_gateway_coap/include/emqx_coap.hrl").
%% API %% API
-export([ -export([

View File

@ -32,7 +32,7 @@
-define(LOGT(Format, Args), ct:pal("TEST_SUITE: " ++ Format, Args)). -define(LOGT(Format, Args), ct:pal("TEST_SUITE: " ++ Format, Args)).
-include("emqx_lwm2m.hrl"). -include("emqx_lwm2m.hrl").
-include_lib("emqx_coap/include/emqx_coap.hrl"). -include_lib("emqx_gateway_coap/include/emqx_coap.hrl").
-include_lib("eunit/include/eunit.hrl"). -include_lib("eunit/include/eunit.hrl").
-include_lib("common_test/include/ct.hrl"). -include_lib("common_test/include/ct.hrl").
-include_lib("snabbkaffe/include/snabbkaffe.hrl"). -include_lib("snabbkaffe/include/snabbkaffe.hrl").

View File

@ -24,7 +24,7 @@
-define(LOGT(Format, Args), ct:pal("TEST_SUITE: " ++ Format, Args)). -define(LOGT(Format, Args), ct:pal("TEST_SUITE: " ++ Format, Args)).
-include("emqx_lwm2m.hrl"). -include("emqx_lwm2m.hrl").
-include("emqx_coap/include/emqx_coap.hrl"). -include("emqx_gateway_coap/include/emqx_coap.hrl").
-include_lib("eunit/include/eunit.hrl"). -include_lib("eunit/include/eunit.hrl").
-include_lib("common_test/include/ct.hrl"). -include_lib("common_test/include/ct.hrl").

View File

@ -22,7 +22,7 @@
-define(LOGT(Format, Args), logger:debug("TEST_SUITE: " ++ Format, Args)). -define(LOGT(Format, Args), logger:debug("TEST_SUITE: " ++ Format, Args)).
-include("emqx_lwm2m.hrl"). -include("emqx_lwm2m.hrl").
-include("emqx_coap/include/emqx_coap.hrl"). -include("emqx_gateway_coap/include/emqx_coap.hrl").
-include_lib("eunit/include/eunit.hrl"). -include_lib("eunit/include/eunit.hrl").
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------

View File

@ -1,4 +1,4 @@
{application, emqx_mqttsn, [ {application, emqx_gateway_mqttsn, [
{description, "MQTT-SN Gateway"}, {description, "MQTT-SN Gateway"},
{vsn, "0.1.0"}, {vsn, "0.1.0"},
{registered, []}, {registered, []},

View File

@ -15,7 +15,7 @@
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------
%% @doc The MQTT-SN Gateway implement interface %% @doc The MQTT-SN Gateway implement interface
-module(emqx_mqttsn). -module(emqx_gateway_mqttsn).
-include_lib("emqx/include/logger.hrl"). -include_lib("emqx/include/logger.hrl").

Some files were not shown because too many files have changed in this diff Show More