christophperrins / poller-vertx-rxjava Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
see #4
Add correct error handling for the subscribe methods
App contains variables such as "int port = 8080"; which would work better by being read from a configuration file
An SQL schema file should be attached to project to help devs set up environment in their own machine for testing
The return object from the information controller is:
{ "id": 1, "owner": "owner", "street": "street", "postcode": "postcode", "city": "city", "endpointId": null, "endpoint_id": 30 }
endpointId is always null. This will need to be removed
Set of exceptions need to be handled:
Add an api endpoint to receive combined information about and endpoint and endpointInformation. The new API endpoint should combine data from both API endpoints endpoint and endPointInformation.
Steps:
Create model, repository, service, controller for endPointInformation
basic information :
class Information:
(private Long id;)
(private Long endPointId;)
private String owner;
private String street;
private String postcode;
private String city;
Create controller for API endpoint "endPointMeta"
2.1 Should have a method to receive endpoint and endpointInformation for a given endpointId
2.1 Should have a method to receive more than one endpoint and endpointInformation for more than one given endpointId's as an array of objects
Controllers:
EndpointController (no change)
EndpointHistoryController (no change)
InformationController +
-> InformationService +
-> InformationRepository +
EndpointMetaDataController (combines data and meta)
-> EndpointService (no change)
-> InformationService
Single getInformationByEndpointId(long id) Single> getInformationByEndpointIds(long[] ids)
The time the information was received about the endpoint is sent to user as an integer. 1600165713000 is not a useful datetime
See #4
Add model, repository, service and controller for "Information"
This branch exists to commit changes regarding general project documentation as readme.md, contribution.md and style guides. Other product features can have there own documentation which can be managed in its own branch.
To better understand the workflow to the project a readme and contributing guide should be made explicitly clear
The data transfer object can then be mapped to the db entity and vice versa. For example in /api/history it shows the ID of each db entity which isnt needed information
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.