File tree 26 files changed +55
-55
lines changed
26 files changed +55
-55
lines changed Original file line number Diff line number Diff line change 24
24
uses : actions/checkout@v1
25
25
with :
26
26
fetch-depth : 1
27
- path : go/src/github.com/pulsar-beam
27
+ path : go/src/github.com/kafkaesque-io/ pulsar-beam
28
28
29
29
- name : Lint Go Code
30
30
run : |
55
55
uses : actions/checkout@v1
56
56
with :
57
57
fetch-depth : 1
58
- path : go/src/github.com/pulsar-beam
58
+ path : go/src/github.com/kafkaesque-io/ pulsar-beam
59
59
- name : Install MongoDB
60
60
run : |
61
61
echo $GITHUB_EVENT_NAME
@@ -106,7 +106,7 @@ jobs:
106
106
file : ./coverage.txt
107
107
yml : ./.codecov.yml
108
108
fail_ci_fi_error : true
109
- path : go/src/github.com/pulsar-beam
109
+ path : go/src/github.com/kafkaesque-io/ pulsar-beam
110
110
111
111
e2e_test :
112
112
name : e2e_test
@@ -117,7 +117,7 @@ jobs:
117
117
uses : actions/checkout@v1
118
118
with :
119
119
fetch-depth : 1
120
- path : go/src/github.com/pulsar-beam
120
+ path : go/src/github.com/kafkaesque-io/ pulsar-beam
121
121
122
122
- name : Install dependencies
123
123
run : |
@@ -181,7 +181,7 @@ jobs:
181
181
uses : actions/checkout@v1
182
182
with :
183
183
fetch-depth : 1
184
- path : go/src/github.com/pulsar-beam
184
+ path : go/src/github.com/kafkaesque-io/ pulsar-beam
185
185
186
186
- name : Build Docker Image
187
187
run : |
Original file line number Diff line number Diff line change 2
2
"PORT" : " 3000" ,
3
3
"CLUSTER" : " localhost" ,
4
4
"PbDbType" : " mongo" ,
5
- "PulsarPublicKey" : " /home/runner/work/pulsar-beam/go/src/github.com/pulsar-beam/src/unit-test/example_public_key.pub" ,
6
- "PulsarPrivateKey" : " /home/runner/work/pulsar-beam/go/src/github.com/pulsar-beam/src/unit-test/example_private_key" ,
5
+ "PulsarPublicKey" : " /home/runner/work/pulsar-beam/go/src/github.com/kafkaesque-io/ pulsar-beam/src/unit-test/example_public_key.pub" ,
6
+ "PulsarPrivateKey" : " /home/runner/work/pulsar-beam/go/src/github.com/kafkaesque-io/ pulsar-beam/src/unit-test/example_private_key" ,
7
7
"PbDbInterval" : " 60s" ,
8
8
"DbConnectionStr" : " mongodb://172.17.0.1:27017"
9
9
Original file line number Diff line number Diff line change 1
- module github.com/pulsar-beam
1
+ module github.com/kafkaesque-io/ pulsar-beam
2
2
3
3
go 1.13
4
4
Original file line number Diff line number Diff line change 9
9
# absolute directory
10
10
DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
11
11
12
- BASE_PKG_DIR=" github.com/pulsar-beam/src/"
12
+ BASE_PKG_DIR=" github.com/kafkaesque-io/ pulsar-beam/src/"
13
13
ALL_PKGS=" "
14
14
15
15
cd $DIR /../src
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ import (
14
14
15
15
"github.com/apache/pulsar-client-go/pulsar"
16
16
"github.com/hashicorp/go-retryablehttp"
17
- "github.com/pulsar-beam/src/db"
18
- "github.com/pulsar-beam/src/model"
19
- "github.com/pulsar-beam/src/pulsardriver"
20
- "github.com/pulsar-beam/src/util"
17
+ "github.com/kafkaesque-io/ pulsar-beam/src/db"
18
+ "github.com/kafkaesque-io/ pulsar-beam/src/model"
19
+ "github.com/kafkaesque-io/ pulsar-beam/src/pulsardriver"
20
+ "github.com/kafkaesque-io/ pulsar-beam/src/util"
21
21
)
22
22
23
23
// SubCloseSignal is a signal object to pass for channel
Original file line number Diff line number Diff line change 5
5
"log"
6
6
"time"
7
7
8
- "github.com/pulsar-beam/src/model"
8
+ "github.com/kafkaesque-io/ pulsar-beam/src/model"
9
9
)
10
10
11
11
/**
Original file line number Diff line number Diff line change 4
4
"errors"
5
5
"log"
6
6
7
- "github.com/pulsar-beam/src/model"
7
+ "github.com/kafkaesque-io/ pulsar-beam/src/model"
8
8
)
9
9
10
10
// dbConn is a singlton of Db instance
Original file line number Diff line number Diff line change 6
6
"log"
7
7
"time"
8
8
9
- "github.com/pulsar-beam/src/model"
10
- "github.com/pulsar-beam/src/util"
9
+ "github.com/kafkaesque-io/ pulsar-beam/src/model"
10
+ "github.com/kafkaesque-io/ pulsar-beam/src/util"
11
11
"go.mongodb.org/mongo-driver/bson"
12
12
"go.mongodb.org/mongo-driver/mongo"
13
13
"go.mongodb.org/mongo-driver/mongo/options"
Original file line number Diff line number Diff line change 8
8
"time"
9
9
10
10
"github.com/apache/pulsar-client-go/pulsar"
11
- "github.com/pulsar-beam/src/model"
12
- "github.com/pulsar-beam/src/util"
11
+ "github.com/kafkaesque-io/ pulsar-beam/src/model"
12
+ "github.com/kafkaesque-io/ pulsar-beam/src/util"
13
13
)
14
14
15
15
/**
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ import (
12
12
"time"
13
13
14
14
"github.com/apache/pulsar-client-go/pulsar"
15
- "github.com/pulsar-beam/src/model"
16
- "github.com/pulsar-beam/src/util"
15
+ "github.com/kafkaesque-io/ pulsar-beam/src/model"
16
+ "github.com/kafkaesque-io/ pulsar-beam/src/util"
17
17
)
18
18
19
19
// This is an end to end test program. It does these steps in order
Original file line number Diff line number Diff line change 6
6
"net/http"
7
7
"os"
8
8
9
- "github.com/pulsar-beam/src/broker"
10
- "github.com/pulsar-beam/src/route"
11
- "github.com/pulsar-beam/src/util"
9
+ "github.com/kafkaesque-io/ pulsar-beam/src/broker"
10
+ "github.com/kafkaesque-io/ pulsar-beam/src/route"
11
+ "github.com/kafkaesque-io/ pulsar-beam/src/util"
12
12
"github.com/rs/cors"
13
13
)
14
14
Original file line number Diff line number Diff line change 6
6
"net/http"
7
7
"strings"
8
8
9
- "github.com/pulsar-beam/src/util"
9
+ "github.com/kafkaesque-io/ pulsar-beam/src/util"
10
10
)
11
11
12
12
// AuthFunc is a function type to allow pluggable authentication middleware
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
11
11
"time"
12
12
13
13
"github.com/apache/pulsar-client-go/pulsar"
14
- "github.com/pulsar-beam/src/icrypto"
14
+ "github.com/kafkaesque-io/ pulsar-beam/src/icrypto"
15
15
)
16
16
17
17
// Status can be used for webhook status
Original file line number Diff line number Diff line change 7
7
"time"
8
8
9
9
"github.com/apache/pulsar-client-go/pulsar"
10
- "github.com/pulsar-beam/src/util"
10
+ "github.com/kafkaesque-io/ pulsar-beam/src/util"
11
11
)
12
12
13
13
// ClientCache caches a list Pulsar clients
Original file line number Diff line number Diff line change 7
7
"time"
8
8
9
9
"github.com/apache/pulsar-client-go/pulsar"
10
- "github.com/pulsar-beam/src/model"
11
- "github.com/pulsar-beam/src/util"
10
+ "github.com/kafkaesque-io/ pulsar-beam/src/model"
11
+ "github.com/kafkaesque-io/ pulsar-beam/src/util"
12
12
)
13
13
14
14
// ConsumerCache caches a list Pulsar prudcers
Original file line number Diff line number Diff line change 8
8
"time"
9
9
10
10
"github.com/apache/pulsar-client-go/pulsar"
11
- "github.com/pulsar-beam/src/util"
11
+ "github.com/kafkaesque-io/ pulsar-beam/src/util"
12
12
)
13
13
14
14
// ProducerCache caches a list Pulsar prudcers
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ import (
10
10
"strings"
11
11
12
12
"github.com/gorilla/mux"
13
- "github.com/pulsar-beam/src/db"
14
- "github.com/pulsar-beam/src/model"
15
- "github.com/pulsar-beam/src/pulsardriver"
16
- "github.com/pulsar-beam/src/util"
13
+ "github.com/kafkaesque-io/ pulsar-beam/src/db"
14
+ "github.com/kafkaesque-io/ pulsar-beam/src/model"
15
+ "github.com/kafkaesque-io/ pulsar-beam/src/pulsardriver"
16
+ "github.com/kafkaesque-io/ pulsar-beam/src/util"
17
17
)
18
18
19
19
var singleDb db.Db
Original file line number Diff line number Diff line change 6
6
7
7
"github.com/gorilla/mux"
8
8
9
- "github.com/pulsar-beam/src/middleware"
10
- "github.com/pulsar-beam/src/util"
9
+ "github.com/kafkaesque-io/ pulsar-beam/src/middleware"
10
+ "github.com/kafkaesque-io/ pulsar-beam/src/util"
11
11
)
12
12
13
13
// NewRouter - create new router for HTTP routing
Original file line number Diff line number Diff line change 5
5
6
6
"github.com/gorilla/mux"
7
7
"github.com/prometheus/client_golang/prometheus/promhttp"
8
- "github.com/pulsar-beam/src/middleware"
8
+ "github.com/kafkaesque-io/ pulsar-beam/src/middleware"
9
9
)
10
10
11
11
// Route - HTTP Route
Original file line number Diff line number Diff line change 5
5
"testing"
6
6
"time"
7
7
8
- . "github.com/pulsar-beam/src/icrypto"
8
+ . "github.com/kafkaesque-io/ pulsar-beam/src/icrypto"
9
9
)
10
10
11
11
func TestAES (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ import (
6
6
"strings"
7
7
"testing"
8
8
9
- "github.com/pulsar-beam/src/broker"
10
- . "github.com/pulsar-beam/src/db"
11
- "github.com/pulsar-beam/src/model"
12
- "github.com/pulsar-beam/src/util"
9
+ "github.com/kafkaesque-io/ pulsar-beam/src/broker"
10
+ . "github.com/kafkaesque-io/ pulsar-beam/src/db"
11
+ "github.com/kafkaesque-io/ pulsar-beam/src/model"
12
+ "github.com/kafkaesque-io/ pulsar-beam/src/util"
13
13
)
14
14
15
15
func TestUnsupportedDbDriver (t * testing.T ) {
Original file line number Diff line number Diff line change 8
8
"os"
9
9
"testing"
10
10
11
- "github.com/pulsar-beam/src/model"
12
- . "github.com/pulsar-beam/src/route"
13
- "github.com/pulsar-beam/src/util"
11
+ "github.com/kafkaesque-io/ pulsar-beam/src/model"
12
+ . "github.com/kafkaesque-io/ pulsar-beam/src/route"
13
+ "github.com/kafkaesque-io/ pulsar-beam/src/util"
14
14
)
15
15
16
16
func TestStatusAPI (t * testing.T ) {
Original file line number Diff line number Diff line change 6
6
"testing"
7
7
"time"
8
8
9
- "github.com/pulsar-beam/src/icrypto"
10
- . "github.com/pulsar-beam/src/middleware"
11
- "github.com/pulsar-beam/src/route"
9
+ "github.com/kafkaesque-io/ pulsar-beam/src/icrypto"
10
+ . "github.com/kafkaesque-io/ pulsar-beam/src/middleware"
11
+ "github.com/kafkaesque-io/ pulsar-beam/src/route"
12
12
)
13
13
14
14
func mockHandler (w http.ResponseWriter , r * http.Request ) {
Original file line number Diff line number Diff line change 5
5
"strings"
6
6
"testing"
7
7
8
- "github.com/pulsar-beam/src/pulsardriver"
9
- "github.com/pulsar-beam/src/util"
8
+ "github.com/kafkaesque-io/ pulsar-beam/src/pulsardriver"
9
+ "github.com/kafkaesque-io/ pulsar-beam/src/util"
10
10
)
11
11
12
12
func TestClientCreation (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ import (
8
8
"strconv"
9
9
"testing"
10
10
11
- "github.com/pulsar-beam/src/broker"
12
- "github.com/pulsar-beam/src/model"
13
- "github.com/pulsar-beam/src/route"
14
- . "github.com/pulsar-beam/src/util"
11
+ "github.com/kafkaesque-io/ pulsar-beam/src/broker"
12
+ "github.com/kafkaesque-io/ pulsar-beam/src/model"
13
+ "github.com/kafkaesque-io/ pulsar-beam/src/route"
14
+ . "github.com/kafkaesque-io/ pulsar-beam/src/util"
15
15
)
16
16
17
17
func TestUUID (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
11
11
"unicode"
12
12
13
13
"github.com/ghodss/yaml"
14
- "github.com/pulsar-beam/src/icrypto"
14
+ "github.com/kafkaesque-io/ pulsar-beam/src/icrypto"
15
15
)
16
16
17
17
// DefaultConfigFile - default config file
You can’t perform that action at this time.
0 commit comments