hwsc-org / hwsc-document-svc Goto Github PK
View Code? Open in Web Editor NEWProvides services to hwsc-app-gateway-svc for CRUD of documents and file metadata in MongoDB
Provides services to hwsc-app-gateway-svc for CRUD of documents and file metadata in MongoDB
As a developer, I want to test with a local MongoDB
As a user, i want to delete my documents.
As a developer, I want my images and containers to go to hwsc docket hub
As a user, I only want my metadata file to point to the proper Azure Blob Storage.
This is blocked until Azure Blob Storage for HWSC is setup.
As a user, I want to upload my document metadata for searching and processing later on.
field_type
to indicate the scientific fieldcurl
or an http client, test the document existsAs a user, I want to use the latest and most secured mongo-go-driver
There is currently a bug that makes the DB inconsistent.
I posted the entire story in https://stackoverflow.com/questions/53979086/data-inconsistency-with-mongodb-using-mongo-go-driver
As a dev, I want to see proper logging.
MongoDB Client does not know it is connected at startup
As a developer, I want to remove unnecessary struct declaration with a single field that is a Mutex
if user wants to delete account, will their file contributions still be available?
TODO
As a user, I want to add a description metadata about my document.
Wrong Regex for checking files in utility.go
TODO
refreshMongoDBConnection
in db.go gives server selection timeout error when trying to ping after reconnecting
TestRefreshMongoDBConnection
As a developer, I want to return rpc code specific to the error to provide consistency in error decoding in front end and back end.
Requires refactoring everything that returns errors including unit tests and integration tests.
As a user, I want to only list the distinct values of a specific field
All searches and queries using the search engine related to metadata will be thru ElasticSearch.
document-svc
will only handle user's document page.
As a developer, I want to integrate unit testing in the pipeline.
A coverage of less than 80% will be rejected. We don't need this functionality.
As a developer, I need to clean up invalid cache or map to prevent resource overload
As a dev, I need to update to the latest stable mongo-go-driver release
As a developer, I want to maintain an opened client connection to MongoDB, and use ping to test wether this instance is reachable and responding to commands before performing MongoDB operations.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.