Skip to content

Commit

Permalink
refactor: remove dependency on the dapr api
Browse files Browse the repository at this point in the history
Signed-off-by: wushiling50 <2531010934@qq.com>
  • Loading branch information
wushiling50 committed Jul 24, 2024
1 parent 27952af commit 4f17246
Show file tree
Hide file tree
Showing 21 changed files with 658 additions and 9,481 deletions.
7 changes: 1 addition & 6 deletions cmd/layotto_multiple_api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ import (
"mosn.io/layotto/components/file/qiniu"
"mosn.io/layotto/components/file/tencentcloud"
"mosn.io/layotto/components/sequencer"
"mosn.io/layotto/pkg/grpc/dapr"

"mosn.io/layotto/pkg/runtime/bindings"
runtime_sequencer "mosn.io/layotto/pkg/runtime/sequencer"

Expand Down Expand Up @@ -281,11 +281,6 @@ func NewRuntimeGrpcServer(data json.RawMessage, opts ...grpc.ServerOption) (mgrp

// a demo to show how to register your own gRPC API
helloworld_api.NewHelloWorldAPI,

// support Dapr API
// Currently it only support Dapr's InvokeService,secret API,state API and InvokeBinding API.
// Note: this feature is still in Alpha state and we don't recommend that you use it in your production environment.
dapr.NewDaprAPI_Alpha,
),
runtime.WithExtensionGrpcAPI(),
// Hello
Expand Down
218 changes: 0 additions & 218 deletions pkg/grpc/dapr/dapr_api.go

This file was deleted.

Loading

0 comments on commit 4f17246

Please sign in to comment.