Skip to content

Commit

Permalink
feature: fix project referrence, issue TencentBlueKing#508
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperJim committed Jun 30, 2020
1 parent cec5183 commit 53c62a5
Show file tree
Hide file tree
Showing 1,367 changed files with 3,849 additions and 3,845 deletions.
6 changes: 3 additions & 3 deletions bcs-common/common/RegisterDiscover/zkregdiscv.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
package RegisterDiscover

import (
"bk-bcs/bcs-common/common/blog"
//"bk-bcs/bcs-common/common/blog"
"bk-bcs/bcs-common/common/zkclient"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"
//"github.com/Tencent/bk-bcs/bcs-common/common/blog"
"github.com/Tencent/bk-bcs/bcs-common/common/zkclient"
"fmt"
"sort"
"strconv"
Expand Down
4 changes: 2 additions & 2 deletions bcs-common/common/bcs-health/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"text/template"
"time"

"bk-bcs/bcs-common/common/bcs-health/types"
"bk-bcs/bcs-services/bcs-health/pkg/alarm/utils"
"github.com/Tencent/bk-bcs/bcs-common/common/bcs-health/types"
"github.com/Tencent/bk-bcs/bcs-services/bcs-health/pkg/alarm/utils"
)

// MessageKind type for message
Expand Down
8 changes: 4 additions & 4 deletions bcs-common/common/bcs-health/api/fake/fake.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ import (
"fmt"
"time"

"bk-bcs/bcs-common/common/bcs-health/api"
"bk-bcs/bcs-common/common/bcs-health/types"
"bk-bcs/bcs-common/common/blog"
"bk-bcs/bcs-common/common/conf"
"github.com/Tencent/bk-bcs/bcs-common/common/bcs-health/api"
"github.com/Tencent/bk-bcs/bcs-common/common/bcs-health/types"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"
"github.com/Tencent/bk-bcs/bcs-common/common/conf"
"os"
)

Expand Down
12 changes: 6 additions & 6 deletions bcs-common/common/bcs-health/api/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ import (
"sync"
"time"

regd "bk-bcs/bcs-common/common/RegisterDiscover"
"bk-bcs/bcs-common/common/blog"
bresp "bk-bcs/bcs-common/common/http"
cli "bk-bcs/bcs-common/common/http/httpclient"
"bk-bcs/bcs-common/common/static"
"bk-bcs/bcs-common/common/types"
regd "github.com/Tencent/bk-bcs/bcs-common/common/RegisterDiscover"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"
bresp "github.com/Tencent/bk-bcs/bcs-common/common/http"
cli "github.com/Tencent/bk-bcs/bcs-common/common/http/httpclient"
"github.com/Tencent/bk-bcs/bcs-common/common/static"
"github.com/Tencent/bk-bcs/bcs-common/common/types"
"errors"
)

Expand Down
2 changes: 1 addition & 1 deletion bcs-common/common/blog/blog-README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ I0504 11:10:43.943151 19171 main.go:13] Hi, you have received a message type:I
package main

import (
"bk-bcs/bcs-common/common/blog"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"
"flag"
)

Expand Down
4 changes: 2 additions & 2 deletions bcs-common/common/blog/blog.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"sync"
"time"

"bk-bcs/bcs-common/common/blog/glog"
"bk-bcs/bcs-common/common/conf"
"github.com/Tencent/bk-bcs/bcs-common/common/blog/glog"
"github.com/Tencent/bk-bcs/bcs-common/common/conf"
)

// GlogWriter serves as a bridge between the standard log package and the glog package.
Expand Down
2 changes: 1 addition & 1 deletion bcs-common/common/check/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"os"
"path/filepath"

"bk-bcs/bcs-common/common/blog"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions bcs-common/common/conf/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
"strings"
"unsafe"

"bk-bcs/bcs-common/common/codec"
"bk-bcs/bcs-common/common/util"
"github.com/Tencent/bk-bcs/bcs-common/common/codec"
"github.com/Tencent/bk-bcs/bcs-common/common/util"

simplejson "github.com/bitly/go-simplejson"
"github.com/spf13/pflag"
Expand Down
2 changes: 1 addition & 1 deletion bcs-common/common/encrypt/des.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"crypto/des"
"encoding/base64"

"bk-bcs/bcs-common/common/static"
"github.com/Tencent/bk-bcs/bcs-common/common/static"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion bcs-common/common/gsepipeline/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package client

import (
"bk-bcs/bcs-common/common/blog"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"
"bytes"
"encoding/binary"
"fmt"
Expand Down
4 changes: 2 additions & 2 deletions bcs-common/common/gsepipeline/gsepipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
package gsepipeline

import (
"bk-bcs/bcs-common/common/blog"
gseclient "bk-bcs/bcs-common/common/gsepipeline/client"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"
gseclient "github.com/Tencent/bk-bcs/bcs-common/common/gsepipeline/client"
"encoding/json"
)

Expand Down
2 changes: 1 addition & 1 deletion bcs-common/common/http/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"io/ioutil"
"net/http"

"bk-bcs/bcs-common/common"
"github.com/Tencent/bk-bcs/bcs-common/common"
)

// HeaderSet http header set
Expand Down
4 changes: 2 additions & 2 deletions bcs-common/common/http/httpclient/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
package httpclient

import (
http2 "bk-bcs/bcs-common/common/http"
"bk-bcs/bcs-common/common/ssl"
http2 "github.com/Tencent/bk-bcs/bcs-common/common/http"
"github.com/Tencent/bk-bcs/bcs-common/common/ssl"
"bytes"
"crypto/tls"
"io/ioutil"
Expand Down
4 changes: 2 additions & 2 deletions bcs-common/common/http/httpserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
package httpserver

import (
"bk-bcs/bcs-common/common/blog"
"bk-bcs/bcs-common/common/ssl"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"
"github.com/Tencent/bk-bcs/bcs-common/common/ssl"
"fmt"
"github.com/emicklei/go-restful"
"github.com/gorilla/mux"
Expand Down
2 changes: 1 addition & 1 deletion bcs-common/common/http/respone.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"path/filepath"
"strings"

"bk-bcs/bcs-common/common/codec"
"github.com/Tencent/bk-bcs/bcs-common/common/codec"
)

// APIResponse response for api request
Expand Down
14 changes: 7 additions & 7 deletions bcs-common/common/license/license.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ import (
"os"
"time"

"bk-bcs/bcs-common/common/blog"
"bk-bcs/bcs-common/common/codec"
"bk-bcs/bcs-common/common/conf"
"bk-bcs/bcs-common/common/http/httpclient"
"bk-bcs/bcs-common/common/ssl"
"bk-bcs/bcs-common/common/static"
"bk-bcs/bcs-common/common/version"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"
"github.com/Tencent/bk-bcs/bcs-common/common/codec"
"github.com/Tencent/bk-bcs/bcs-common/common/conf"
"github.com/Tencent/bk-bcs/bcs-common/common/http/httpclient"
"github.com/Tencent/bk-bcs/bcs-common/common/ssl"
"github.com/Tencent/bk-bcs/bcs-common/common/static"
"github.com/Tencent/bk-bcs/bcs-common/common/version"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion bcs-common/common/metric/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ import (
"fmt"
"time"
"bk-bcs/bcs-common/common/metric"
"github.com/Tencent/bk-bcs/bcs-common/common/metric"
)
func main() {
Expand Down
6 changes: 3 additions & 3 deletions bcs-common/common/metric/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ import (
"strconv"
"time"

"bk-bcs/bcs-common/common/blog"
"bk-bcs/bcs-common/common/ssl"
"bk-bcs/bcs-common/common/version"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"
"github.com/Tencent/bk-bcs/bcs-common/common/ssl"
"github.com/Tencent/bk-bcs/bcs-common/common/version"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
)
Expand Down
2 changes: 1 addition & 1 deletion bcs-common/common/metric/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"runtime"
"strconv"

"bk-bcs/bcs-common/common/version"
"github.com/Tencent/bk-bcs/bcs-common/common/version"
"github.com/prometheus/client_golang/prometheus"
)

Expand Down
6 changes: 3 additions & 3 deletions bcs-common/common/metric/fake/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import (
"os"
"time"

"bk-bcs/bcs-common/common/blog"
"bk-bcs/bcs-common/common/conf"
"bk-bcs/bcs-common/common/metric"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"
"github.com/Tencent/bk-bcs/bcs-common/common/conf"
"github.com/Tencent/bk-bcs/bcs-common/common/metric"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion bcs-common/common/metric/metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"strings"
"time"

"bk-bcs/bcs-common/common/blog"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"

"github.com/prometheus/client_golang/prometheus"
)
Expand Down
2 changes: 1 addition & 1 deletion bcs-common/common/pidfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"path/filepath"
"strconv"

"bk-bcs/bcs-common/common/conf"
"github.com/Tencent/bk-bcs/bcs-common/common/conf"
)

var pidfile string
Expand Down
8 changes: 4 additions & 4 deletions bcs-common/common/storage/watch/sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ import (
"io"
"net/http"

"bk-bcs/bcs-common/common/codec"
"bk-bcs/bcs-common/common/http/httpclient"
"bk-bcs/bcs-services/bcs-storage/storage/errors"
"bk-bcs/bcs-services/bcs-storage/storage/operator"
"github.com/Tencent/bk-bcs/bcs-common/common/codec"
"github.com/Tencent/bk-bcs/bcs-common/common/http/httpclient"
"github.com/Tencent/bk-bcs/bcs-services/bcs-storage/storage/errors"
"github.com/Tencent/bk-bcs/bcs-services/bcs-storage/storage/operator"
)

// Get a new Watcher with empty WatchOptions
Expand Down
2 changes: 1 addition & 1 deletion bcs-common/common/tcp/protocol/protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"encoding/binary"
"unsafe"

"bk-bcs/bcs-common/common/blog"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"
)

// ProtocolMagicNum 防篡改魔法数字
Expand Down
2 changes: 1 addition & 1 deletion bcs-common/common/tcp/protocol/protocol_buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package protocol

import (
"bk-bcs/bcs-common/common/blog"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"
"bytes"
"fmt"
"io"
Expand Down
4 changes: 2 additions & 2 deletions bcs-common/common/tcp/tcpclient/tcpclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
package tcpclient

import (
"bk-bcs/bcs-common/common/blog"
"bk-bcs/bcs-common/common/tcp/protocol"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"
"github.com/Tencent/bk-bcs/bcs-common/common/tcp/protocol"
"context"
"fmt"
"io"
Expand Down
4 changes: 2 additions & 2 deletions bcs-common/common/tcp/tcpserver/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
package tcpserver

import (
"bk-bcs/bcs-common/common/blog"
"bk-bcs/bcs-common/common/tcp/protocol"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"
"github.com/Tencent/bk-bcs/bcs-common/common/tcp/protocol"
"net"
"time"
)
Expand Down
4 changes: 2 additions & 2 deletions bcs-common/common/tcp/tcpserver/tcpserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
package tcpserver

import (
"bk-bcs/bcs-common/common/blog"
"bk-bcs/bcs-common/common/tcp/protocol"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"
"github.com/Tencent/bk-bcs/bcs-common/common/tcp/protocol"
"context"
"fmt"
"io"
Expand Down
2 changes: 1 addition & 1 deletion bcs-common/common/types/crd.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package types

import (
"bk-bcs/bcs-common/common/deepcopy"
"github.com/Tencent/bk-bcs/bcs-common/common/deepcopy"
"fmt"
)

Expand Down
2 changes: 1 addition & 1 deletion bcs-common/common/types/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package types

import (
"bk-bcs/bcs-common/common/codec"
"github.com/Tencent/bk-bcs/bcs-common/common/codec"
"encoding/base64"
"encoding/json"
)
Expand Down
2 changes: 1 addition & 1 deletion bcs-common/common/util/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package util

import (
"bk-bcs/bcs-common/common/types"
"github.com/Tencent/bk-bcs/bcs-common/common/types"
"encoding/json"
"fmt"
)
Expand Down
2 changes: 1 addition & 1 deletion bcs-common/common/util/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package util

import (
"bk-bcs/bcs-common/common/version"
"github.com/Tencent/bk-bcs/bcs-common/common/version"
goflag "flag"
"strings"

Expand Down
2 changes: 1 addition & 1 deletion bcs-common/common/websocketDialer/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"net/http"
"time"

"bk-bcs/bcs-common/common/blog"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"
"github.com/gorilla/websocket"
)

Expand Down
2 changes: 1 addition & 1 deletion bcs-common/common/websocketDialer/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"sync"
"time"

"bk-bcs/bcs-common/common/websocketDialer/metrics"
"github.com/Tencent/bk-bcs/bcs-common/common/websocketDialer/metrics"
)

type connection struct {
Expand Down
4 changes: 2 additions & 2 deletions bcs-common/common/websocketDialer/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
"strings"
"time"

"bk-bcs/bcs-common/common/blog"
"bk-bcs/bcs-common/common/websocketDialer/metrics"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"
"github.com/Tencent/bk-bcs/bcs-common/common/websocketDialer/metrics"
"github.com/gorilla/websocket"
)

Expand Down
2 changes: 1 addition & 1 deletion bcs-common/common/websocketDialer/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"sync"
"time"

"bk-bcs/bcs-common/common/blog"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"
"github.com/gorilla/websocket"
"github.com/pkg/errors"
)
Expand Down
2 changes: 1 addition & 1 deletion bcs-common/common/websocketDialer/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"sync/atomic"
"time"

"bk-bcs/bcs-common/common/blog"
"github.com/Tencent/bk-bcs/bcs-common/common/blog"
"github.com/gorilla/websocket"
)

Expand Down
Loading

0 comments on commit 53c62a5

Please sign in to comment.