GithubHelp home page GithubHelp logo

poller-vertx-rxjava's People

Contributors

christophperrins avatar melsner11 avatar

Watchers

 avatar  avatar

poller-vertx-rxjava's Issues

Add configuration file

App contains variables such as "int port = 8080"; which would work better by being read from a configuration file

Error handling

Set of exceptions need to be handled:

  • NotFoundException needs to be made and should return 404
  • InvalidBodyException needs to be made and should return 400
  • EndpointAlreadyExistsException needs to be made and should return 400
  • NotValidHostnameException needs to be made and should return 400
  • JsonProcessingException already exists but when throw needs to return 400

Add an api endpoint to receive combined information about and endpoint and endpointInformation

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:

  1. 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;

  2. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.