Coder Social home page Coder Social logo

vitorgcarrilho / delivery-manager Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 40 KB

Delivery-manager

Home Page: https://www.linkedin.com/in/vitorgcarrilho/

Java 100.00%
java jms queue asynchronous-executions dbcp spring-boot spring-mvc spring-security spring-data-jpa api-rest

delivery-manager's Introduction

delivery-manager

delivery manager API.

This api should be accessible for all clients that want to automate the creation, updates and views such information, thus a rest API was exposed for this purpose. This API that is a way to integrate systems with http protocol was developed in a springboot project.

We need to ensure that these end points are always avalible and even if a dependence on our application, fall and return, the api should return to air normally and without human intervention, thus, An asynchronous communication with JMS was adopted so we ensure that all request will be avalible even with a database dependence down for example. We also ensure that no message will be discarded configuring the connection factory redelivery policity, thus each time a message throws any exception, it will return to the queue. For this functional test is been using embedded queue, but for a production scenario rabitMQ will be adopeted.

We need to have the control of our connections once we can’t wast time waiting for an connection response, thus the data source was configured with dbcp2. We chose to wait only for 1000 millis, but this time should be decided after some QA tests.

The API security (basic auth) was guaranteed with spring-securtity, which is a mature security framework. The user email and password are configured in the application properties, once we cannot depend on a database.

For the documentation, swagger was adopted once it build process by keeping its design, documentation, and implementation synchronized and updated automatically.

delivery-manager's People

Contributors

vitorgcarrilho avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

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.