Skip to content

Commit

Permalink
remove dubbo registry configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
DMwangnima committed Aug 19, 2023
1 parent 4ac273a commit 5b36546
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
4 changes: 0 additions & 4 deletions tests/crosstest/dubbo2kitex/conf/dubbogo.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
dubbo:
registries:
demoZK:
protocol: zookeeper
address: 127.0.0.1:2181
consumer:
references:
UserProvider:
Expand Down
4 changes: 0 additions & 4 deletions tests/dubbo/go-client/conf/dubbogo.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
dubbo:
registries:
demoZK:
protocol: zookeeper
address: 127.0.0.1:2181
consumer:
references:
UserProvider:
Expand Down
4 changes: 0 additions & 4 deletions tests/dubbo/go-server/conf/dubbogo.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
dubbo:
registries:
demoZK:
protocol: zookeeper
address: 127.0.0.1:2181
protocols:
dubbo:
name: dubbo
Expand Down
16 changes: 16 additions & 0 deletions tests/kitex/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,22 @@ func (s *TestServiceImpl) EchoInt(ctx context.Context, req int32) (resp int32, e
return req, nil
}

func (s *TestServiceImpl) EchoByte(ctx context.Context, req byte) (resp byte, err error) {
return req, nil
}

func (s *TestServiceImpl) EchoBytes(ctx context.Context, req []byte) (resp []byte, err error) {
return req, nil
}

func (s *TestServiceImpl) EchoInt8(ctx context.Context, req int8) (resp int8, err error) {
return req, nil
}

func (s *TestServiceImpl) EchoInt8s(ctx context.Context, req []int8) (resp []int8, err error) {
return req, nil
}

// Echo implements the TestServiceImpl interface.
func (s *TestServiceImpl) Echo(ctx context.Context, req *echo.EchoRequest) (resp *echo.EchoResponse, err error) {
return &echo.EchoResponse{
Expand Down

0 comments on commit 5b36546

Please sign in to comment.