Giter Site home page Giter Site logo

oms's People

Contributors

ajayjha5899 avatar

Watchers

 avatar

oms's Issues

CRUD implementation for Item entity

Implement CRUD operations on the Item entity with suitable APIs with correct error/exception handling and unit/integration tests.

Below are the list of tasks that can be check marked as and when they are completed.

  • 1. GET /item - by name (text search), id, price
  • 2. POST /item
  • 3. PUT /item
  • 4. DEL /item

Only unexpected exceptions to be handled in ExceptionController

Currently even the expected validation are throwing custom exceptions begin consumed by the ExceptionHandler, which I think is not the correct implementation.

There should be a helper class returning specific HTTP code responses and all the services should have this class autowired and validation failures should use the methods in this class to return an appropriate response.

Add test cases with >95% coverage

Test cases need to be added for all the functionalities. Keep in mind that both unit test cases and integration test cases need to be written and the coverage should be >95%.

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.