Skip to content
This repository has been archived by the owner on May 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #21 from tianxiaoliang/master
Browse files Browse the repository at this point in the history
adapt to new latest go chassis
  • Loading branch information
tianxiaoliang authored Feb 15, 2019
2 parents bfbe637 + d41e23e commit 46b97a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
8 changes: 4 additions & 4 deletions adaptor/gochassis/cse.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ import (
"path/filepath"
"strings"

"github.com/huaweicse/auth"

"github.com/go-chassis/foundation/httpclient"
security2 "github.com/go-chassis/foundation/security"
"github.com/go-chassis/go-archaius"
"github.com/go-chassis/go-chassis/bootstrap"
"github.com/go-chassis/go-chassis/core/common"
"github.com/go-chassis/go-chassis/core/config"
"github.com/go-chassis/go-chassis/core/config/model"
"github.com/go-chassis/go-chassis/pkg/httpclient"
"github.com/go-chassis/go-chassis/security"
"github.com/go-mesh/openlogging"
"github.com/huaweicse/auth"
"gopkg.in/yaml.v2"
)

Expand Down Expand Up @@ -69,7 +69,7 @@ func loadPaasAuth() error {
return nil
}

func getAkskCustomCipher(name string) (security.Cipher, error) {
func getAkskCustomCipher(name string) (security2.Cipher, error) {
f, err := security.GetCipherNewFunc(name)
if err != nil {
return nil, err
Expand Down
5 changes: 2 additions & 3 deletions adaptor/gochassis/cse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ import (
"path/filepath"
"testing"

"github.com/huaweicse/auth"

"github.com/go-chassis/foundation/httpclient"
"github.com/go-chassis/go-chassis/core/common"
"github.com/go-chassis/go-chassis/core/config"
"github.com/go-chassis/go-chassis/core/config/model"
"github.com/go-chassis/go-chassis/core/lager"
"github.com/go-chassis/go-chassis/pkg/httpclient"
_ "github.com/go-chassis/go-chassis/security/plugins/aes"
_ "github.com/go-chassis/go-chassis/security/plugins/plain"
"github.com/huaweicse/auth"
"github.com/stretchr/testify/assert"
)

Expand Down

0 comments on commit 46b97a7

Please sign in to comment.