agamvrinos / wdm-spring-microservices Goto Github PK
View Code? Open in Web Editor NEWGroup project - Web Data Management @ TU Delft 2018-2019
Group project - Web Data Management @ TU Delft 2018-2019
we haven't specified yet what the responses to the requests look like
for example for the endpoint /users/credit/{id}
should I just return the integer as raw text or a json struct {"credit": x}?
should we just all agree to always return json with the information requested as keys?
Create a schema.sql file under the /resources directory of the corresponding project/microservice and define the following tables:
Users Module
Payments Module
Stocks Module
Orders Module
Also create a data.sql file under /resources with insert statements for the related mock data of each table (for each microservice).
The names of the tables should be in lowercase since spring data seems to automatically do this regardless of what we pass. Thus, if a table contains capital letters it cannot match the table with the corresponding entity.
The id field of each table should automatically be incremented (check serial in postgresql)
This should be in new branches
The configuration server should also be added to the CouchDB subproject.
NOTE! The Spring Cloud dependencies are NOT the same as the Postgres project, due to downgraded Spring Boot version.
Create a transaction like behaviour in CouchDB.
idea:
after population user/stock data record total user credit and total stock value
run stresstest
compute again total user credit and total stock value and check the deltas
This will be done once all microservices have been merged @master.
Need to find more info on how to setup a local couchDB and look for possible related spring-boot libraries.
Resources should be posted here.
Investigate and replace with @OneToMany + automatic deletion
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.