Skip to content
This repository has been archived by the owner on Mar 9, 2020. It is now read-only.
/ hwsc-user-svc Public archive

Provides services to hwsc-app-gateway-svc for managing HWSC users

Notifications You must be signed in to change notification settings

hwsc-org/hwsc-user-svc

Repository files navigation

hwsc-user-svc

Purpose

Provides services to hwsc-app-gateway-svc for CRUD documents and user metadata in Azure CosmosDB

Proto Contract

The proto file and compiled proto buffers are located in hwsc-api-blocks

Get Status
  • Gets the current status of the service
CreateUser
  • Creates a document in User MongoDB
  • Returns the created document with password field set to empty string
DeleteUser
  • Deletes a document in User MongoDB
  • Returns the deleted document (TODO decide if we really need to return this to chrome)
UpdateUser
  • Updates a document in User MongoDB
  • Returns the updated document
AuthenticateUser
  • Looks through documents in User MongoDB and perform email and password match
  • Returns matched document
ListUsers
  • Retrieves all the documents in User MongoDB
  • Returns a collection of documents
GetUser
  • Retrieves a document in User MongoDB, given UUID
  • Returns found document
ShareDocument
  • TODO
DeleteDocuments
  • TODO
TODO

About

Provides services to hwsc-app-gateway-svc for managing HWSC users

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •