-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
domain objects abstraction #279
base: main
Are you sure you want to change the base?
domain objects abstraction #279
Conversation
Signed-off-by: Brian Rochford <[email protected]>
Signed-off-by: Brian Rochford <[email protected]>
pkg/objects/bridge/grpc.go
Outdated
) | ||
|
||
// CreateLogicalBridge executes the creation of the LogicalBridge | ||
func (s *Server) CreateLogicalBridge(ctx context.Context, in *pb.CreateLogicalBridgeRequest) (*pb.LogicalBridge, error) { | ||
// Create executes the creation of the LogicalBridge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this function operates on models now, where in the code we no return grpc response ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point @glimchb. I've pulled back the abstraction to focus on consolidating how the operations are performed on the store. At the boundaries of each pb operation proto bufs are used, but the internal workings of those functions are consolidated to a set of object store operations defined in objects/object.go
Signed-off-by: Brian Rochford <[email protected]>
inspired by opiproject#279 Signed-off-by: Boris Glimcher <[email protected]>
inspired by #279 Signed-off-by: Boris Glimcher <[email protected]>
Let me know your thoughts on this approach @glimchb. Waiting on your feedback before proceeding. |
Just updates for the bridge object for now. Still more work to do, but some idea on the approach.