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 wants to add a new document. At this point Chrome has the current User object, and it knows the user's uuid already.
The user fills up the form in the website.
Grabs the fields in the form and make a Document object. image_urls_map, audio_urls_map, video_urls_map, & file_urls_map are not filled up because there is no means of generating duid and fuids in the browser, therefore we have to send lists of urls.
Chrome calls app-gateway-svc's AddDocument() 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 image_urls = N;
repeated string audio_urls = N;
repeated string video_urls = N;
repeated string file_urls = N;
}
app-gateway-svc calls document-svc's CreateDocument() which returns the newly Created Document with a now generated duid and fuids.
app-gateway-svc calls user-svc's GetUser, which returns a full User object A with password as empty string.
app-gateway-svc modifies the User object A, and adds the DUID in the:
Let us say Chrome wants to add a new document. At this point Chrome has the current User object, and it knows the user's uuid already.
image_urls_map, audio_urls_map, video_urls_map, & file_urls_map
are not filled up because there is no means of generating duid and fuids in the browser, therefore we have to send lists of urls.AddDocument()
with the followingThe text was updated successfully, but these errors were encountered: