You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 9, 2020. It is now read-only.
Let us say Chrome(User) wants to share a Document. At this point Chrome has the User object already.
Chrome calls app-gateway-svc's ListUsers.
app-gateway-svc calls user-svc's ListUsers.
user-svc returns a list of users to app-gateway-svc
app-gateway-svc returns a list of users
Chrome picks the users he/she wants to share a document(document name goes with the callTypeName)
Chrome calls app-gateway-svc's ShareDocument with the following:
message AppGatewayRequest{
hwsc.User user = N; //this is not a complete User object, it may only have uuid
hwsc.Document doc = N; //this is not a complete Document object, it may only have duid
repeated string uuids_to_share_doc
}
app-gateway-svc calls user-svc's ShareDocument with the following:
message UserRequest {
User user = 1;
string duid = 2;
repeated string uuids_to_share_duid = 3;
}
Let us say Chrome(User) wants to share a Document. At this point Chrome has the User object already.
message AppGatewayRequest{
hwsc.User user = N; //this is not a complete User object, it may only have uuid
hwsc.Document doc = N; //this is not a complete Document object, it may only have duid
repeated string uuids_to_share_doc
}
map<string, UserDocumentMetadata > user_documents = 7
uuids_to_share_doc
in UserRequest.map<string, UserFriendMetadata> shared_to_me = 8
The text was updated successfully, but these errors were encountered: