Skip to content
This repository was 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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

19e91f5 · Jul 8, 2019
Dec 2, 2018
Mar 31, 2019
Jul 8, 2019
Jul 8, 2019
Mar 5, 2019
Mar 2, 2019
Feb 27, 2019
Feb 21, 2019
Jul 8, 2019
Mar 10, 2019
May 26, 2019
May 26, 2019
May 26, 2019
Jul 8, 2019
Jul 8, 2019
Mar 10, 2019

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