abhaychandel / safenest-java-server Goto Github PK
View Code? Open in Web Editor NEWJava server for SafeNest Application
Java server for SafeNest Application
In case the worker is not found for method "getOneWorker", exception WorkerNotFoundException should be thrown and an error message should be returned to client.
User need to select the booking range for the worker. And for that period worker cannot be re-booked.
Currently following endpoints are being used:
"/v1/worker/getall": to get all workers.
And
"/v1/worker/{id}": to get a unique worker
Following change needs to be done:
Currently GET method is being used to book a worker. Ideally POST Http method should be used to book a worker.
We should have 3 different configuration for
Development environment
This will be used by developers during development. It will use in-memory h2 database.
Testing environment
This will be used by CI tools to run the integration tests. And by QA team for functional testing. It will use postgreSQL database.
Production environment.
This will be used in production. It will use postgreSQL database.
This will configure project to run unit tests and integration tests implemented
Following conditions will be implemented:
The idea is to create environment specific files for following environments
Development
Test
Production
These will be used to set environment specific configurations
Currently the data is modified by other integration tests which can lead to incorrect assertions. A better approach is to ensure that database cleaned up before each integration test is run.
An interesting post
https://medium.com/@dSebastien/cleaning-up-database-tables-after-each-integration-test-method-with-spring-boot-2-and-kotlin-7279abcdd5cc
As an alternate to Coveralls, we are considering implementing SonarCloud.
It will be integrated with Travis CI. The reports will be sent from Jacoco.
This will be the first integration test for the application. This integration test will be part of the Walking Skeleton to test the Integration testing setup.
This feature will implement display of all the nannies.
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.