浏览代码

refactor(*): rename go module name

Signed-off-by: ngjaying <ngjaying@gmail.com>
ngjaying 3 年之前
父节点
当前提交
b68b45211d
共有 100 个文件被更改,包括 275 次插入274 次删除
  1. 2 2
      cmd/kuiper/main.go
  2. 1 1
      cmd/kuiperd/main.go
  3. 7 7
      docs/en_US/plugins/plugins_tutorial.md
  4. 2 2
      docs/en_US/plugins/sinks/influx.md
  5. 3 3
      docs/en_US/plugins/sinks/tdengine.md
  6. 7 7
      docs/zh_CN/plugins/plugins_tutorial.md
  7. 2 2
      docs/zh_CN/plugins/sinks/influx.md
  8. 3 3
      docs/zh_CN/plugins/sinks/tdengine.md
  9. 3 3
      extensions.mod
  10. 1 0
      extensions.sum
  11. 2 2
      extensions/functions/accumulateWordCount/accumulateWordCount.go
  12. 1 1
      extensions/functions/countPlusOne/countPlusOne.go
  13. 1 1
      extensions/functions/echo/echo.go
  14. 1 1
      extensions/functions/geohash/geohash.go
  15. 1 1
      extensions/functions/image/resize.go
  16. 1 1
      extensions/functions/image/thumbnail.go
  17. 1 1
      extensions/functions/labelImage/labelImage.go
  18. 1 1
      extensions/sinks/file/file.go
  19. 1 1
      extensions/sinks/image/image.go
  20. 1 1
      extensions/sinks/influx/influx.go
  21. 1 1
      extensions/sinks/memory/memory.go
  22. 3 3
      extensions/sinks/tdengine/tdengine.go
  23. 1 1
      extensions/sinks/zmq/zmq.go
  24. 3 3
      extensions/sources/random/random.go
  25. 2 2
      extensions/sources/zmq/zmq.go
  26. 1 1
      go.mod
  27. 1 1
      internal/conf/conf.go
  28. 1 1
      internal/conf/time.go
  29. 2 2
      internal/pkg/httpx/http.go
  30. 2 2
      internal/plugin/funcMeta.go
  31. 6 6
      internal/plugin/manager.go
  32. 1 1
      internal/plugin/manager_test.go
  33. 1 1
      internal/plugin/msgUtil.go
  34. 3 3
      internal/plugin/sinkMeta.go
  35. 3 3
      internal/plugin/sourceMeta.go
  36. 9 9
      internal/processor/rule.go
  37. 1 1
      internal/processor/rule_test.go
  38. 5 5
      internal/processor/stream.go
  39. 1 1
      internal/processor/stream_test.go
  40. 6 6
      internal/server/rest.go
  41. 3 3
      internal/server/rpc.go
  42. 4 4
      internal/server/ruleManager.go
  43. 5 5
      internal/server/server.go
  44. 3 3
      internal/service/executors.go
  45. 1 1
      internal/service/externalFunc.go
  46. 4 4
      internal/service/external_service_rule_test.go
  47. 5 5
      internal/service/manager.go
  48. 1 1
      internal/service/manager_test.go
  49. 3 3
      internal/service/schema.go
  50. 1 1
      internal/service/schemaHttp.go
  51. 1 1
      internal/service/schemaHttp_test.go
  52. 1 1
      internal/service/schema_test.go
  53. 1 1
      internal/template/funcs_test.go
  54. 1 1
      internal/testx/testUtil.go
  55. 1 1
      internal/topo/checkpoint/barrier_handler.go
  56. 3 3
      internal/topo/checkpoint/coordinator.go
  57. 1 1
      internal/topo/checkpoint/defs.go
  58. 1 1
      internal/topo/collector/func.go
  59. 3 3
      internal/topo/context/default.go
  60. 3 3
      internal/topo/context/default_test.go
  61. 1 1
      internal/topo/context/func_context.go
  62. 1 1
      internal/topo/node/dynamic_channel_buffer.go
  63. 2 2
      internal/topo/node/join_align_node.go
  64. 4 4
      internal/topo/node/node.go
  65. 2 2
      internal/topo/node/operations.go
  66. 4 4
      internal/topo/node/sink_cache.go
  67. 6 6
      internal/topo/node/sink_node.go
  68. 3 3
      internal/topo/node/sink_node_test.go
  69. 7 7
      internal/topo/node/source_node.go
  70. 4 4
      internal/topo/node/source_node_test.go
  71. 3 3
      internal/topo/node/source_pool.go
  72. 5 5
      internal/topo/node/source_pool_test.go
  73. 4 4
      internal/topo/node/sources_for_test_with_edgex.go
  74. 2 2
      internal/topo/node/sources_for_test_without_edgex.go
  75. 3 3
      internal/topo/node/sources_with_edgex.go
  76. 1 1
      internal/topo/node/sources_without_edgex.go
  77. 2 2
      internal/topo/node/stats_manager.go
  78. 3 3
      internal/topo/node/watermark.go
  79. 5 5
      internal/topo/node/window_op.go
  80. 1 1
      internal/topo/node/window_op_test.go
  81. 3 3
      internal/topo/operator/aggregate_operator.go
  82. 4 4
      internal/topo/operator/aggregate_test.go
  83. 4 4
      internal/topo/operator/field_processor.go
  84. 3 3
      internal/topo/operator/filter_operator.go
  85. 4 4
      internal/topo/operator/filter_test.go
  86. 3 3
      internal/topo/operator/having_operator.go
  87. 3 3
      internal/topo/operator/having_test.go
  88. 4 4
      internal/topo/operator/join_multi_test.go
  89. 3 3
      internal/topo/operator/join_operator.go
  90. 5 5
      internal/topo/operator/join_test.go
  91. 3 3
      internal/topo/operator/math_func_test.go
  92. 3 3
      internal/topo/operator/misc_func_test.go
  93. 3 3
      internal/topo/operator/order_operator.go
  94. 4 4
      internal/topo/operator/order_test.go
  95. 3 3
      internal/topo/operator/preprocessor.go
  96. 6 6
      internal/topo/operator/preprocessor_test.go
  97. 4 4
      internal/topo/operator/project_operator.go
  98. 5 5
      internal/topo/operator/project_test.go
  99. 4 4
      internal/topo/operator/str_func_test.go
  100. 0 0
      internal/topo/operator/table_processor.go

+ 2 - 2
cmd/kuiper/main.go

@@ -3,8 +3,8 @@ package main
 import (
 	"bufio"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/server"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/server"
 	"github.com/urfave/cli"
 	"gopkg.in/yaml.v3"
 	"io/ioutil"

+ 1 - 1
cmd/kuiperd/main.go

@@ -1,6 +1,6 @@
 package main
 
-import "github.com/emqx/kuiper/internal/server"
+import "github.com/lf-edge/ekuiper/internal/server"
 
 var (
 	Version      = "unknown"

+ 7 - 7
docs/en_US/plugins/plugins_tutorial.md

@@ -48,7 +48,7 @@ module samplePlugin
 go 1.16
 
 require (
-	github.com/emqx/kuiper v0.0.0-20200323140757-60d00241372b
+	github.com/lf-edge/ekuiper v0.0.0-20200323140757-60d00241372b
 )
 ```
 
@@ -70,8 +70,8 @@ package main
 import (
 	"database/sql"
 	"fmt"
-	"github.com/emqx/kuiper/common"
-	"github.com/emqx/kuiper/xstream/api"
+	"github.com/lf-edge/ekuiper/common"
+	"github.com/lf-edge/ekuiper/xstream/api"
 	_ "github.com/go-sql-driver/mysql"
 )
 
@@ -149,7 +149,7 @@ module samplePlugin
 go 1.16
 
 require (
-	github.com/emqx/kuiper v0.0.0-20200323140757-60d00241372b
+	github.com/lf-edge/ekuiper v0.0.0-20200323140757-60d00241372b
 	github.com/go-sql-driver/mysql v1.5.0
 )
  ```
@@ -164,10 +164,10 @@ Developers can locally compile eKuiper and the plugin for debugging, which steps
 1. Download eKuiper source code: `git clone https://github.com/lf-edge/ekuiper.git`
 2.  Compile eKuiper: run `make` under the eKuiper directory
 3. Compile the plugin:
-    1. Run `go mod edit -replace github.com/emqx/kuiper=$eKuiperPath` under the plugin project, make the eKuiper dependence point to the local eKuiper, and then please replace the download directory of step 1 by $eKuiperPath, the same below.
+    1. Run `go mod edit -replace github.com/lf-edge/ekuiper=$eKuiperPath` under the plugin project, make the eKuiper dependence point to the local eKuiper, and then please replace the download directory of step 1 by $eKuiperPath, the same below.
    2. Because the Golang plugin system has a very strict limitation of the dependency paths, it is more safe to build the plugin from the eKuiper main project. In the eKuiper project, add a new *mod* file with a name like *sample.mod* to point to your plugin project.
       ```
-      module github.com/emqx/kuiper
+      module github.com/lf-edge/ekuiper
       go 1.16
       require samplePlugin v0.0.0
       replace samplePlugin => ../samplePlugin     
@@ -203,7 +203,7 @@ export ETC_TARGET=$EKUIPER_SOURCE/etc
 export ZIP_TARGET=plugins
 export VERSION=0.0.1
 
-go mod edit -replace github.com/emqx/kuiper=$EKUIPER_SOURCE
+go mod edit -replace github.com/lf-edge/ekuiper=$EKUIPER_SOURCE
 
 go build -trimpath --buildmode=plugin -o $PLUGIN_TARGET/sinks/Mysql@v$VERSION.so sinks/mysql.go
 

+ 2 - 2
docs/en_US/plugins/sinks/influx.md

@@ -71,11 +71,11 @@ module plugins
 go 1.14
 
 require (
-        github.com/emqx/kuiper v0.0.0-20200323140757-60d00241372b
+        github.com/lf-edge/ekuiper v0.0.0-20200323140757-60d00241372b
         github.com/influxdata/influxdb-client-go v1.2.0
         github.com/influxdata/influxdb1-client v0.0.0-20200515024757-02f0bf5dbca3 // indirect
 )
 
-replace github.com/emqx/kuiper => /root/goProject/kuiper
+replace github.com/lf-edge/ekuiper => /root/goProject/kuiper
 
 ```

+ 3 - 3
docs/en_US/plugins/sinks/tdengine.md

@@ -7,16 +7,16 @@ module plugins
 
 go 1.13
 
-replace github.com/emqx/kuiper => /$eKuiper
+replace github.com/lf-edge/ekuiper => /$eKuiper
 
 require (
-    github.com/emqx/kuiper v0.0.0-00010101000000-000000000000 // indirect
+    github.com/lf-edge/ekuiper v0.0.0-00010101000000-000000000000 // indirect
     github.com/taosdata/driver-go v0.0.0-20200723061832-5be6460b0c20
 )
 ```
 
 ```shell
-go mod edit -replace github.com/emqx/kuiper=/$eKuiper
+go mod edit -replace github.com/lf-edge/ekuiper=/$eKuiper
 go build -trimpath -modfile extensions.mod --buildmode=plugin -o /$ekuiper/plugins/sinks/Tdengine@v1.0.0.so /$ekuiper/extensions/sinks/tdengine/tdengine.go
 ```
 ### Install plugin

+ 7 - 7
docs/zh_CN/plugins/plugins_tutorial.md

@@ -48,7 +48,7 @@ module samplePlugin
 go 1.16
 
 require (
-	github.com/emqx/kuiper v0.0.0-20200323140757-60d00241372b
+	github.com/lf-edge/ekuiper v0.0.0-20200323140757-60d00241372b
 )
 ```
 
@@ -70,8 +70,8 @@ package main
 import (
 	"database/sql"
 	"fmt"
-	"github.com/emqx/kuiper/common"
-	"github.com/emqx/kuiper/xstream/api"
+	"github.com/lf-edge/ekuiper/common"
+	"github.com/lf-edge/ekuiper/xstream/api"
 	_ "github.com/go-sql-driver/mysql"
 )
 
@@ -149,7 +149,7 @@ module samplePlugin
 go 1.16
 
 require (
-	github.com/emqx/kuiper v0.0.0-20200323140757-60d00241372b
+	github.com/lf-edge/ekuiper v0.0.0-20200323140757-60d00241372b
 	github.com/go-sql-driver/mysql v1.5.0
 )
  ```
@@ -164,10 +164,10 @@ require (
 1. 下载 eKuiper 源代码 `git clone https://github.com/lf-edge/ekuiper.git`
 2. 编译 eKuiper:在 eKuiper 目录下,运行 `make`
 3. 编译插件:
-    1. 在插件项目下,运行 `go mod edit -replace github.com/emqx/kuiper=$eKuiperPath`,使得 eKuiper 依赖指向本地 eKuiper,请替换 $eKuiperPath 到步骤1下载目录,下同。
+    1. 在插件项目下,运行 `go mod edit -replace github.com/lf-edge/ekuiper=$eKuiperPath`,使得 eKuiper 依赖指向本地 eKuiper,请替换 $eKuiperPath 到步骤1下载目录,下同。
     2. 由于 Go 语言插件系统对依赖的路径有非常严格的要求,为了确保插件可以顺利运行,建议在 eKuiper 主项目里进行编译。在 eKuiper 项目里,添加如下名为 sample.mod 的 mod 文件,用于插件编译。
        ```
-       module github.com/emqx/kuiper
+       module github.com/lf-edge/ekuiper
        go 1.16
        require samplePlugin v0.0.0
        replace samplePlugin => ../samplePlugin   
@@ -204,7 +204,7 @@ export ETC_TARGET=$EKUIPER_SOURCE/etc
 export ZIP_TARGET=plugins
 export VERSION=0.0.1
 
-go mod edit -replace github.com/emqx/kuiper=$EKUIPER_SOURCE
+go mod edit -replace github.com/lf-edge/ekuiper=$EKUIPER_SOURCE
 
 go build -trimpath --buildmode=plugin -o $PLUGIN_TARGET/sinks/Mysql@v$VERSION.so sinks/mysql.go
 

+ 2 - 2
docs/zh_CN/plugins/sinks/influx.md

@@ -70,11 +70,11 @@ module plugins
 go 1.14
 
 require (
-        github.com/emqx/kuiper v0.0.0-20200323140757-60d00241372b
+        github.com/lf-edge/ekuiper v0.0.0-20200323140757-60d00241372b
         github.com/influxdata/influxdb-client-go v1.2.0
         github.com/influxdata/influxdb1-client v0.0.0-20200515024757-02f0bf5dbca3 // indirect
 )
 
-replace github.com/emqx/kuiper => /root/goProject/ekuiper
+replace github.com/lf-edge/ekuiper => /root/goProject/ekuiper
 
 ```

+ 3 - 3
docs/zh_CN/plugins/sinks/tdengine.md

@@ -7,16 +7,16 @@ module plugins
 
 go 1.13
 
-replace github.com/emqx/kuiper => /$eKuiper
+replace github.com/lf-edge/ekuiper => /$eKuiper
 
 require (
-    github.com/emqx/kuiper v0.0.0-00010101000000-000000000000 // indirect
+    github.com/lf-edge/ekuiper v0.0.0-00010101000000-000000000000 // indirect
     github.com/taosdata/driver-go v0.0.0-20200723061832-5be6460b0c20
 )
 ```
 
 ```shell
-go mod edit -replace github.com/emqx/kuiper=/$eKuiper
+go mod edit -replace github.com/lf-edge/ekuiper=/$eKuiper
 go build -trimpath -modfile extensions.mod --buildmode=plugin -o /$ekuiper/plugins/sinks/Tdengine@v1.0.0.so /$ekuiper/extensions/sinks/tdengine/tdengine.go
 ```
 ### 安装插件

+ 3 - 3
extensions.mod

@@ -1,4 +1,4 @@
-module github.com/emqx/kuiper
+module github.com/lf-edge/ekuiper
 
 require (
 	github.com/Masterminds/sprig/v3 v3.2.1
@@ -40,9 +40,9 @@ require (
 	google.golang.org/protobuf v1.26.0
 	gopkg.in/ini.v1 v1.62.0
 	gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
-	github.com/emqx/kuiper/extensions v0.0.0
+	github.com/lf-edge/ekuiper/extensions v0.0.0
 )
 
-replace github.com/emqx/kuiper/extensions => ./extensions
+replace github.com/lf-edge/ekuiper/extensions => ./extensions
 
 go 1.16

+ 1 - 0
extensions.sum

@@ -127,6 +127,7 @@ github.com/lestrrat-go/file-rotatelogs v2.4.0+incompatible h1:Y6sqxHMyB1D2YSzWkL
 github.com/lestrrat-go/file-rotatelogs v2.4.0+incompatible/go.mod h1:ZQnN8lSECaebrkQytbHj4xNgtg8CR7RYXnPok8e0EHA=
 github.com/lestrrat-go/strftime v1.0.3 h1:qqOPU7y+TM8Y803I8fG9c/DyKG3xH/xkng6keC1015Q=
 github.com/lestrrat-go/strftime v1.0.3/go.mod h1:E1nN3pCbtMSu1yjSVeyuRFVm/U0xoR76fd03sz+Qz4g=
+github.com/lf-edge/ekuiper v0.0.0-20210528134227-7e6a6a028a6f/go.mod h1:Cv3+JK88Uv8CVKNQyRLKaFoZz9pPdhuDTZ2nSz/UiOU=
 github.com/mattn/go-pointer v0.0.0-20190911064623-a0a44394634f/go.mod h1:2zXcozF6qYGgmsG+SeTZz3oAbFLdD3OWqnUbNvJZAlc=
 github.com/mattn/go-sqlite3 v1.14.5 h1:1IdxlwTNazvbKJQSxoJ5/9ECbEeaTTyeU7sEAZ5KKTQ=
 github.com/mattn/go-sqlite3 v1.14.5/go.mod h1:WVKg1VTActs4Qso6iwGbiFih2UIHo0ENGwNd0Lj+XmI=

+ 2 - 2
extensions/functions/accumulateWordCount/accumulateWordCount.go

@@ -2,8 +2,8 @@ package main
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/ast"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/ast"
 	"strings"
 )
 

+ 1 - 1
extensions/functions/countPlusOne/countPlusOne.go

@@ -2,7 +2,7 @@ package main
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/api"
 )
 
 type countPlusOneFunc struct {

+ 1 - 1
extensions/functions/echo/echo.go

@@ -2,7 +2,7 @@ package main
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/api"
 )
 
 type echo struct {

+ 1 - 1
extensions/functions/geohash/geohash.go

@@ -2,7 +2,7 @@ package main
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/api"
 	"github.com/mmcloughlin/geohash"
 )
 

+ 1 - 1
extensions/functions/image/resize.go

@@ -3,7 +3,7 @@ package main
 import (
 	"bytes"
 	"fmt"
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/api"
 	"github.com/nfnt/resize"
 	"image"
 	"image/jpeg"

+ 1 - 1
extensions/functions/image/thumbnail.go

@@ -3,7 +3,7 @@ package main
 import (
 	"bytes"
 	"fmt"
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/api"
 	"github.com/nfnt/resize"
 	"image"
 	"image/jpeg"

+ 1 - 1
extensions/functions/labelImage/labelImage.go

@@ -6,7 +6,7 @@ import (
 	"bufio"
 	"bytes"
 	"fmt"
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/api"
 	tflite "github.com/mattn/go-tflite"
 	"github.com/nfnt/resize"
 	"image"

+ 1 - 1
extensions/sinks/file/file.go

@@ -4,7 +4,7 @@ import (
 	"bufio"
 	"context"
 	"fmt"
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/api"
 	"os"
 	"sync"
 	"time"

+ 1 - 1
extensions/sinks/image/image.go

@@ -5,7 +5,7 @@ import (
 	"context"
 	"encoding/json"
 	"fmt"
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/api"
 	"image/jpeg"
 	"image/png"
 	"io/ioutil"

+ 1 - 1
extensions/sinks/influx/influx.go

@@ -4,9 +4,9 @@ package main
 
 import (
 	"encoding/json"
-	api "github.com/emqx/kuiper/pkg/api"
 	_ "github.com/influxdata/influxdb1-client/v2"
 	client "github.com/influxdata/influxdb1-client/v2"
+	api "github.com/lf-edge/ekuiper/pkg/api"
 	"strings"
 	"time"
 )

+ 1 - 1
extensions/sinks/memory/memory.go

@@ -1,6 +1,6 @@
 package main
 
-import "github.com/emqx/kuiper/pkg/api"
+import "github.com/lf-edge/ekuiper/pkg/api"
 
 type memory struct {
 	results [][]byte

+ 3 - 3
extensions/sinks/tdengine/tdengine.go

@@ -6,9 +6,9 @@ import (
 	"database/sql"
 	"encoding/json"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/cast"
 	_ "github.com/taosdata/driver-go/taosSql"
 	"reflect"
 	"strings"

+ 1 - 1
extensions/sinks/zmq/zmq.go

@@ -2,7 +2,7 @@ package main
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/api"
 	zmq "github.com/pebbe/zmq4"
 )
 

+ 3 - 3
extensions/sources/random/random.go

@@ -4,9 +4,9 @@ import (
 	"bytes"
 	"encoding/json"
 	"fmt"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/cast"
-	"github.com/emqx/kuiper/pkg/message"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/pkg/message"
 	"math/rand"
 	"strings"
 	"time"

+ 2 - 2
extensions/sources/zmq/zmq.go

@@ -3,8 +3,8 @@ package main
 import (
 	"context"
 	"fmt"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/message"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/message"
 	zmq "github.com/pebbe/zmq4"
 )
 

+ 1 - 1
go.mod

@@ -1,4 +1,4 @@
-module github.com/emqx/kuiper
+module github.com/lf-edge/ekuiper
 
 require (
 	github.com/Masterminds/sprig/v3 v3.2.1

+ 1 - 1
internal/conf/conf.go

@@ -2,8 +2,8 @@ package conf
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/pkg/api"
 	"github.com/lestrrat-go/file-rotatelogs"
+	"github.com/lf-edge/ekuiper/pkg/api"
 	"github.com/sirupsen/logrus"
 	"gopkg.in/yaml.v3"
 	"io"

+ 1 - 1
internal/conf/time.go

@@ -2,7 +2,7 @@ package conf
 
 import (
 	"github.com/benbjohnson/clock"
-	"github.com/emqx/kuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/pkg/cast"
 	"time"
 )
 

+ 2 - 2
internal/pkg/httpx/http.go

@@ -5,8 +5,8 @@ import (
 	"crypto/tls"
 	"encoding/json"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/pkg/api"
 	"io"
 	"io/ioutil"
 	"net/http"

+ 2 - 2
internal/plugin/funcMeta.go

@@ -2,8 +2,8 @@ package plugin
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/pkg/filex"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/pkg/filex"
 	"io/ioutil"
 	"path"
 	"strings"

+ 6 - 6
internal/plugin/manager.go

@@ -5,12 +5,12 @@ import (
 	"bytes"
 	"errors"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/pkg/filex"
-	"github.com/emqx/kuiper/internal/pkg/httpx"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/errorx"
-	"github.com/emqx/kuiper/pkg/kv"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/pkg/filex"
+	"github.com/lf-edge/ekuiper/internal/pkg/httpx"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/errorx"
+	"github.com/lf-edge/ekuiper/pkg/kv"
 	"io/ioutil"
 	"os"
 	"os/exec"

+ 1 - 1
internal/plugin/manager_test.go

@@ -3,7 +3,7 @@ package plugin
 import (
 	"errors"
 	"fmt"
-	"github.com/emqx/kuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/internal/xsql"
 	"net/http"
 	"net/http/httptest"
 	"os"

+ 1 - 1
internal/plugin/msgUtil.go

@@ -1,7 +1,7 @@
 package plugin
 
 import (
-	kconf "github.com/emqx/kuiper/internal/conf"
+	kconf "github.com/lf-edge/ekuiper/internal/conf"
 	"gopkg.in/ini.v1"
 	"io/ioutil"
 	"path"

+ 3 - 3
internal/plugin/sinkMeta.go

@@ -2,9 +2,9 @@ package plugin
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/pkg/filex"
-	"github.com/emqx/kuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/pkg/filex"
+	"github.com/lf-edge/ekuiper/pkg/cast"
 	"io/ioutil"
 	"path"
 	"strings"

+ 3 - 3
internal/plugin/sourceMeta.go

@@ -3,9 +3,9 @@ package plugin
 import (
 	"encoding/json"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/pkg/filex"
-	"github.com/emqx/kuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/pkg/filex"
+	"github.com/lf-edge/ekuiper/pkg/cast"
 	"io/ioutil"
 	"path"
 	"reflect"

+ 9 - 9
internal/processor/rule.go

@@ -4,15 +4,15 @@ import (
 	"bytes"
 	"encoding/json"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/topo"
-	"github.com/emqx/kuiper/internal/topo/node"
-	"github.com/emqx/kuiper/internal/topo/planner"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/cast"
-	"github.com/emqx/kuiper/pkg/errorx"
-	"github.com/emqx/kuiper/pkg/kv"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/topo"
+	"github.com/lf-edge/ekuiper/internal/topo/node"
+	"github.com/lf-edge/ekuiper/internal/topo/planner"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/pkg/errorx"
+	"github.com/lf-edge/ekuiper/pkg/kv"
 	"os"
 	"path"
 )

+ 1 - 1
internal/processor/rule_test.go

@@ -1,7 +1,7 @@
 package processor
 
 import (
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/api"
 	"reflect"
 	"testing"
 )

+ 5 - 5
internal/processor/stream.go

@@ -4,11 +4,11 @@ import (
 	"bytes"
 	"encoding/json"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/ast"
-	"github.com/emqx/kuiper/pkg/errorx"
-	"github.com/emqx/kuiper/pkg/kv"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/ast"
+	"github.com/lf-edge/ekuiper/pkg/errorx"
+	"github.com/lf-edge/ekuiper/pkg/kv"
 	"strings"
 )
 

+ 1 - 1
internal/processor/stream_test.go

@@ -2,7 +2,7 @@ package processor
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/internal/testx"
+	"github.com/lf-edge/ekuiper/internal/testx"
 	"path"
 	"reflect"
 	"testing"

+ 6 - 6
internal/server/rest.go

@@ -4,14 +4,14 @@ import (
 	"crypto/tls"
 	"encoding/json"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/plugin"
-	"github.com/emqx/kuiper/internal/service"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/ast"
-	"github.com/emqx/kuiper/pkg/errorx"
 	"github.com/gorilla/handlers"
 	"github.com/gorilla/mux"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/plugin"
+	"github.com/lf-edge/ekuiper/internal/service"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/ast"
+	"github.com/lf-edge/ekuiper/pkg/errorx"
 	"golang.org/x/net/html"
 	"io"
 	"io/ioutil"

+ 3 - 3
internal/server/rpc.go

@@ -4,9 +4,9 @@ import (
 	"bytes"
 	"encoding/json"
 	"fmt"
-	"github.com/emqx/kuiper/internal/plugin"
-	"github.com/emqx/kuiper/internal/service"
-	"github.com/emqx/kuiper/internal/topo/sink"
+	"github.com/lf-edge/ekuiper/internal/plugin"
+	"github.com/lf-edge/ekuiper/internal/service"
+	"github.com/lf-edge/ekuiper/internal/topo/sink"
 	"strings"
 	"time"
 )

+ 4 - 4
internal/server/ruleManager.go

@@ -5,10 +5,10 @@ import (
 	"context"
 	"encoding/json"
 	"fmt"
-	"github.com/emqx/kuiper/internal/topo"
-	"github.com/emqx/kuiper/internal/topo/planner"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/errorx"
+	"github.com/lf-edge/ekuiper/internal/topo"
+	"github.com/lf-edge/ekuiper/internal/topo/planner"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/errorx"
 	"sort"
 	"sync"
 )

+ 5 - 5
internal/server/server.go

@@ -1,11 +1,11 @@
 package server
 
 import (
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/plugin"
-	"github.com/emqx/kuiper/internal/processor"
-	"github.com/emqx/kuiper/internal/service"
-	"github.com/emqx/kuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/plugin"
+	"github.com/lf-edge/ekuiper/internal/processor"
+	"github.com/lf-edge/ekuiper/internal/service"
+	"github.com/lf-edge/ekuiper/internal/xsql"
 	"github.com/prometheus/client_golang/prometheus/promhttp"
 
 	"context"

+ 3 - 3
internal/service/executors.go

@@ -4,12 +4,12 @@ import (
 	"context"
 	"crypto/tls"
 	"fmt"
-	"github.com/emqx/kuiper/internal/pkg/httpx"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/cast"
 	"github.com/golang/protobuf/proto"
 	"github.com/jhump/protoreflect/dynamic"
 	"github.com/jhump/protoreflect/dynamic/grpcdynamic"
+	"github.com/lf-edge/ekuiper/internal/pkg/httpx"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/cast"
 	"github.com/ugorji/go/codec"
 	"google.golang.org/grpc"
 	"io/ioutil"

+ 1 - 1
internal/service/externalFunc.go

@@ -1,7 +1,7 @@
 package service
 
 import (
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/api"
 )
 
 type ExternalFunc struct {

+ 4 - 4
internal/service/external_service_rule_test.go

@@ -4,13 +4,13 @@ import (
 	"context"
 	"encoding/json"
 	"fmt"
-	kconf "github.com/emqx/kuiper/internal/conf"
-	pb "github.com/emqx/kuiper/internal/service/test/schemas/helloworld"
-	"github.com/emqx/kuiper/internal/topo/topotest"
-	"github.com/emqx/kuiper/pkg/api"
 	"github.com/golang/protobuf/ptypes/empty"
 	"github.com/golang/protobuf/ptypes/wrappers"
 	"github.com/gorilla/mux"
+	kconf "github.com/lf-edge/ekuiper/internal/conf"
+	pb "github.com/lf-edge/ekuiper/internal/service/test/schemas/helloworld"
+	"github.com/lf-edge/ekuiper/internal/topo/topotest"
+	"github.com/lf-edge/ekuiper/pkg/api"
 	"github.com/msgpack-rpc/msgpack-rpc-go/rpc"
 	"google.golang.org/grpc"
 	"io"

+ 5 - 5
internal/service/manager.go

@@ -3,11 +3,11 @@ package service
 import (
 	"archive/zip"
 	"fmt"
-	kconf "github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/pkg/filex"
-	"github.com/emqx/kuiper/internal/pkg/httpx"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/kv"
+	kconf "github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/pkg/filex"
+	"github.com/lf-edge/ekuiper/internal/pkg/httpx"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/kv"
 	"io/ioutil"
 	"os"
 	"path"

+ 1 - 1
internal/service/manager_test.go

@@ -1,7 +1,7 @@
 package service
 
 import (
-	"github.com/emqx/kuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/internal/xsql"
 	"reflect"
 	"testing"
 )

+ 3 - 3
internal/service/schema.go

@@ -3,14 +3,14 @@ package service
 import (
 	"encoding/json"
 	"fmt"
-	kconf "github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/cast"
 	"github.com/golang/protobuf/proto"
 	dpb "github.com/golang/protobuf/protoc-gen-go/descriptor"
 	"github.com/jhump/protoreflect/desc"
 	"github.com/jhump/protoreflect/desc/protoparse"
 	"github.com/jhump/protoreflect/dynamic"
+	kconf "github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/cast"
 	_ "google.golang.org/genproto/googleapis/api/annotations"
 	"sync"
 )

+ 1 - 1
internal/service/schemaHttp.go

@@ -2,10 +2,10 @@ package service
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/pkg/cast"
 	dpb "github.com/golang/protobuf/protoc-gen-go/descriptor"
 	"github.com/jhump/protoreflect/desc"
 	"github.com/jhump/protoreflect/dynamic"
+	"github.com/lf-edge/ekuiper/pkg/cast"
 	"google.golang.org/protobuf/reflect/protoreflect"
 	"net/http"
 	"regexp"

+ 1 - 1
internal/service/schemaHttp_test.go

@@ -1,7 +1,7 @@
 package service
 
 import (
-	"github.com/emqx/kuiper/internal/testx"
+	"github.com/lf-edge/ekuiper/internal/testx"
 	"net/http"
 	"reflect"
 	"testing"

+ 1 - 1
internal/service/schema_test.go

@@ -1,7 +1,7 @@
 package service
 
 import (
-	"github.com/emqx/kuiper/internal/testx"
+	"github.com/lf-edge/ekuiper/internal/testx"
 	"reflect"
 	"testing"
 )

+ 1 - 1
internal/template/funcs_test.go

@@ -3,7 +3,7 @@ package template
 import (
 	"encoding/base64"
 	"fmt"
-	"github.com/emqx/kuiper/internal/testx"
+	"github.com/lf-edge/ekuiper/internal/testx"
 	"reflect"
 	"testing"
 )

+ 1 - 1
internal/testx/testUtil.go

@@ -1,7 +1,7 @@
 package testx
 
 import (
-	"github.com/emqx/kuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/conf"
 )
 
 // errstring returns the string representation of an error.

+ 1 - 1
internal/topo/checkpoint/barrier_handler.go

@@ -1,7 +1,7 @@
 package checkpoint
 
 import (
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/api"
 )
 
 type BarrierHandler interface {

+ 3 - 3
internal/topo/checkpoint/coordinator.go

@@ -2,9 +2,9 @@ package checkpoint
 
 import (
 	"github.com/benbjohnson/clock"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/cast"
 	"sync"
 )
 

+ 1 - 1
internal/topo/checkpoint/defs.go

@@ -1,7 +1,7 @@
 package checkpoint
 
 import (
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/api"
 )
 
 type StreamTask interface {

+ 1 - 1
internal/topo/collector/func.go

@@ -2,7 +2,7 @@ package collector
 
 import (
 	"errors"
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/api"
 )
 
 // CollectorFunc is a function used to colllect

+ 3 - 3
internal/topo/context/default.go

@@ -3,9 +3,9 @@ package context
 import (
 	"context"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/cast"
 	"github.com/sirupsen/logrus"
 	"sync"
 	"time"

+ 3 - 3
internal/topo/context/default_test.go

@@ -1,9 +1,9 @@
 package context
 
 import (
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/topo/state"
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/topo/state"
+	"github.com/lf-edge/ekuiper/pkg/api"
 	"log"
 	"os"
 	"path"

+ 1 - 1
internal/topo/context/func_context.go

@@ -2,7 +2,7 @@ package context
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/api"
 )
 
 type DefaultFuncContext struct {

+ 1 - 1
internal/topo/node/dynamic_channel_buffer.go

@@ -1,7 +1,7 @@
 package node
 
 import (
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/api"
 	"sync/atomic"
 )
 

+ 2 - 2
internal/topo/node/join_align_node.go

@@ -2,8 +2,8 @@ package node
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/api"
 )
 
 // JoinAlignNode will block the stream and buffer all the table tuples. Once buffered, it will combine the later input with the buffer

+ 4 - 4
internal/topo/node/node.go

@@ -2,10 +2,10 @@ package node
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/topo/checkpoint"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/ast"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/topo/checkpoint"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/ast"
 	"gopkg.in/yaml.v3"
 	"strings"
 	"sync"

+ 2 - 2
internal/topo/node/operations.go

@@ -2,8 +2,8 @@ package node
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/api"
 	"sync"
 )
 

+ 4 - 4
internal/topo/node/sink_cache.go

@@ -3,10 +3,10 @@ package node
 import (
 	"encoding/gob"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/topo/checkpoint"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/kv"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/topo/checkpoint"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/kv"
 	"io"
 	"path"
 	"sort"

+ 6 - 6
internal/topo/node/sink_node.go

@@ -4,12 +4,12 @@ import (
 	"bytes"
 	"encoding/json"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/plugin"
-	ct "github.com/emqx/kuiper/internal/template"
-	"github.com/emqx/kuiper/internal/topo/sink"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/plugin"
+	ct "github.com/lf-edge/ekuiper/internal/template"
+	"github.com/lf-edge/ekuiper/internal/topo/sink"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/cast"
 	"sync"
 	"text/template"
 	"time"

+ 3 - 3
internal/topo/node/sink_node_test.go

@@ -2,9 +2,9 @@ package node
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/topo/context"
-	"github.com/emqx/kuiper/internal/topo/topotest/mocknode"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/topo/context"
+	"github.com/lf-edge/ekuiper/internal/topo/topotest/mocknode"
 	"reflect"
 	"testing"
 	"time"

+ 7 - 7
internal/topo/node/source_node.go

@@ -1,13 +1,13 @@
 package node
 
 import (
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/plugin"
-	"github.com/emqx/kuiper/internal/topo/source"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/ast"
-	"github.com/emqx/kuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/plugin"
+	"github.com/lf-edge/ekuiper/internal/topo/source"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/ast"
+	"github.com/lf-edge/ekuiper/pkg/cast"
 	"sync"
 )
 

+ 4 - 4
internal/topo/node/source_node_test.go

@@ -1,10 +1,10 @@
 package node
 
 import (
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/topo/context"
-	"github.com/emqx/kuiper/pkg/ast"
-	"github.com/emqx/kuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/topo/context"
+	"github.com/lf-edge/ekuiper/pkg/ast"
+	"github.com/lf-edge/ekuiper/pkg/cast"
 	"reflect"
 	"testing"
 )

+ 3 - 3
internal/topo/node/source_pool.go

@@ -3,9 +3,9 @@ package node
 import (
 	"context"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	kctx "github.com/emqx/kuiper/internal/topo/context"
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	kctx "github.com/lf-edge/ekuiper/internal/topo/context"
+	"github.com/lf-edge/ekuiper/pkg/api"
 	"sync"
 )
 

+ 5 - 5
internal/topo/node/source_pool_test.go

@@ -1,11 +1,11 @@
 package node
 
 import (
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/topo/context"
-	"github.com/emqx/kuiper/internal/topo/state"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/ast"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/topo/context"
+	"github.com/lf-edge/ekuiper/internal/topo/state"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/ast"
 	"testing"
 )
 

+ 4 - 4
internal/topo/node/sources_for_test_with_edgex.go

@@ -4,10 +4,10 @@
 package node
 
 import (
-	"github.com/emqx/kuiper/internal/topo/sink"
-	"github.com/emqx/kuiper/internal/topo/source"
-	"github.com/emqx/kuiper/internal/topo/topotest/mocknode"
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/internal/topo/sink"
+	"github.com/lf-edge/ekuiper/internal/topo/source"
+	"github.com/lf-edge/ekuiper/internal/topo/topotest/mocknode"
+	"github.com/lf-edge/ekuiper/pkg/api"
 )
 
 func getSource(t string) (api.Source, error) {

+ 2 - 2
internal/topo/node/sources_for_test_without_edgex.go

@@ -4,8 +4,8 @@
 package node
 
 import (
-	"github.com/emqx/kuiper/internal/topo/topotest/mocknode"
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/internal/topo/topotest/mocknode"
+	"github.com/lf-edge/ekuiper/pkg/api"
 )
 
 func getSource(t string) (api.Source, error) {

+ 3 - 3
internal/topo/node/sources_with_edgex.go

@@ -4,9 +4,9 @@
 package node
 
 import (
-	"github.com/emqx/kuiper/internal/topo/sink"
-	"github.com/emqx/kuiper/internal/topo/source"
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/internal/topo/sink"
+	"github.com/lf-edge/ekuiper/internal/topo/source"
+	"github.com/lf-edge/ekuiper/pkg/api"
 )
 
 func getSource(t string) (api.Source, error) {

+ 1 - 1
internal/topo/node/sources_without_edgex.go

@@ -4,7 +4,7 @@
 package node
 
 import (
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/api"
 )
 
 func getSource(t string) (api.Source, error) {

+ 2 - 2
internal/topo/node/stats_manager.go

@@ -2,8 +2,8 @@ package node
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/pkg/api"
 	"github.com/prometheus/client_golang/prometheus"
 	"strconv"
 	"time"

+ 3 - 3
internal/topo/node/watermark.go

@@ -3,9 +3,9 @@ package node
 import (
 	"context"
 	"fmt"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/ast"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/ast"
 	"math"
 	"sort"
 )

+ 5 - 5
internal/topo/node/window_op.go

@@ -4,11 +4,11 @@ import (
 	"encoding/gob"
 	"fmt"
 	"github.com/benbjohnson/clock"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/ast"
-	"github.com/emqx/kuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/ast"
+	"github.com/lf-edge/ekuiper/pkg/cast"
 	"math"
 	"time"
 )

+ 1 - 1
internal/topo/node/window_op_test.go

@@ -2,7 +2,7 @@ package node
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/internal/xsql"
 	"reflect"
 	"testing"
 )

+ 3 - 3
internal/topo/operator/aggregate_operator.go

@@ -2,9 +2,9 @@ package operator
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/ast"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/ast"
 )
 
 type AggregateOp struct {

+ 4 - 4
internal/topo/operator/aggregate_test.go

@@ -3,10 +3,10 @@ package operator
 import (
 	"errors"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/topo/context"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/topo/context"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/cast"
 	"reflect"
 	"strings"
 	"testing"

+ 4 - 4
internal/topo/operator/field_processor.go

@@ -4,10 +4,10 @@ import (
 	"encoding/base64"
 	"encoding/json"
 	"fmt"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/ast"
-	"github.com/emqx/kuiper/pkg/cast"
-	"github.com/emqx/kuiper/pkg/message"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/ast"
+	"github.com/lf-edge/ekuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/pkg/message"
 	"math"
 	"reflect"
 	"strconv"

+ 3 - 3
internal/topo/operator/filter_operator.go

@@ -2,9 +2,9 @@ package operator
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/ast"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/ast"
 )
 
 type FilterOp struct {

+ 4 - 4
internal/topo/operator/filter_test.go

@@ -3,10 +3,10 @@ package operator
 import (
 	"errors"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/topo/context"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/topo/context"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/cast"
 	"reflect"
 	"strings"
 	"testing"

+ 3 - 3
internal/topo/operator/having_operator.go

@@ -2,9 +2,9 @@ package operator
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/ast"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/ast"
 )
 
 type HavingOp struct {

+ 3 - 3
internal/topo/operator/having_test.go

@@ -3,9 +3,9 @@ package operator
 import (
 	"errors"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/topo/context"
-	"github.com/emqx/kuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/topo/context"
+	"github.com/lf-edge/ekuiper/internal/xsql"
 	"reflect"
 	"strings"
 	"testing"

+ 4 - 4
internal/topo/operator/join_multi_test.go

@@ -2,10 +2,10 @@ package operator
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/topo/context"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/ast"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/topo/context"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/ast"
 	"reflect"
 	"strings"
 	"testing"

+ 3 - 3
internal/topo/operator/join_operator.go

@@ -2,9 +2,9 @@ package operator
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/ast"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/ast"
 )
 
 //TODO join expr should only be the equal op between 2 streams like tb1.id = tb2.id

+ 5 - 5
internal/topo/operator/join_test.go

@@ -4,11 +4,11 @@ import (
 	"encoding/json"
 	"errors"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/topo/context"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/ast"
-	"github.com/emqx/kuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/topo/context"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/ast"
+	"github.com/lf-edge/ekuiper/pkg/cast"
 	"reflect"
 	"strings"
 	"testing"

+ 3 - 3
internal/topo/operator/math_func_test.go

@@ -3,9 +3,9 @@ package operator
 import (
 	"encoding/json"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/topo/context"
-	"github.com/emqx/kuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/topo/context"
+	"github.com/lf-edge/ekuiper/internal/xsql"
 	"reflect"
 	"strings"
 	"testing"

+ 3 - 3
internal/topo/operator/misc_func_test.go

@@ -3,9 +3,9 @@ package operator
 import (
 	"encoding/json"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/topo/context"
-	"github.com/emqx/kuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/topo/context"
+	"github.com/lf-edge/ekuiper/internal/xsql"
 	"reflect"
 	"strings"
 	"testing"

+ 3 - 3
internal/topo/operator/order_operator.go

@@ -2,9 +2,9 @@ package operator
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/ast"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/ast"
 )
 
 type OrderOp struct {

+ 4 - 4
internal/topo/operator/order_test.go

@@ -3,10 +3,10 @@ package operator
 import (
 	"errors"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/topo/context"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/topo/context"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/cast"
 	"reflect"
 	"strings"
 	"testing"

+ 3 - 3
internal/topo/operator/preprocessor.go

@@ -2,9 +2,9 @@ package operator
 
 import (
 	"fmt"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/cast"
 	"strings"
 )
 

+ 6 - 6
internal/topo/operator/preprocessor_test.go

@@ -5,12 +5,12 @@ import (
 	"encoding/json"
 	"errors"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/topo/context"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/ast"
-	"github.com/emqx/kuiper/pkg/cast"
-	"github.com/emqx/kuiper/pkg/message"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/topo/context"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/ast"
+	"github.com/lf-edge/ekuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/pkg/message"
 	"io/ioutil"
 	"log"
 	"path"

+ 4 - 4
internal/topo/operator/project_operator.go

@@ -3,10 +3,10 @@ package operator
 import (
 	"encoding/json"
 	"fmt"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/api"
-	"github.com/emqx/kuiper/pkg/ast"
-	"github.com/emqx/kuiper/pkg/message"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/api"
+	"github.com/lf-edge/ekuiper/pkg/ast"
+	"github.com/lf-edge/ekuiper/pkg/message"
 	"strings"
 )
 

+ 5 - 5
internal/topo/operator/project_test.go

@@ -4,11 +4,11 @@ import (
 	"encoding/json"
 	"errors"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/topo/context"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/ast"
-	"github.com/emqx/kuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/topo/context"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/ast"
+	"github.com/lf-edge/ekuiper/pkg/cast"
 	"reflect"
 	"strings"
 	"testing"

+ 4 - 4
internal/topo/operator/str_func_test.go

@@ -3,10 +3,10 @@ package operator
 import (
 	"encoding/json"
 	"fmt"
-	"github.com/emqx/kuiper/internal/conf"
-	"github.com/emqx/kuiper/internal/topo/context"
-	"github.com/emqx/kuiper/internal/xsql"
-	"github.com/emqx/kuiper/pkg/cast"
+	"github.com/lf-edge/ekuiper/internal/conf"
+	"github.com/lf-edge/ekuiper/internal/topo/context"
+	"github.com/lf-edge/ekuiper/internal/xsql"
+	"github.com/lf-edge/ekuiper/pkg/cast"
 	"reflect"
 	"strings"
 	"testing"

+ 0 - 0
internal/topo/operator/table_processor.go


部分文件因为文件数量过多而无法显示