Giter Club home page Giter Club logo

eve-order-micro's Introduction

EVE order micro

A Vertx-based microservice for querying the order database.

How to Configure

Specify the HTTP port and MongoDB connection details in src/config/config.json.

How To Run

Build fat JAR via

mvn clean package

Then, issue the following Docker commands to run it in a container

docker build . -t myimage

docker run -p 8080:8080 myimage

If not using Docker, you can run it standalone via

java -jar <JAR-NAME>.jar

How To Push

docker build . -t myimage

docker push myimage

eve-order-micro's People

Contributors

mwalasek avatar

Watchers

James Cloos avatar  avatar

Forkers

ipfr33ly

eve-order-micro's Issues

Feature: Monthly Value For All

Example document:

{
    "client" : "Dex Mafay",
    ...
    "status" : "contracted",
    "items" : [ ... ],
    "expectedPrice" : 43143386,
    ...
    "created" : ISODate("2016-08-15T12:39:01.019Z"),
    "completed" : ISODate("2016-08-17T20:28:26.087Z"),
    ...
    "assignee" : "service"
}

Orders which are evaluated for the monthly stats must have

  • status == contracted
  • expectedPrice > 0 and
  • completed != null.

The completed date is relevant for the month.

Aggregate the expectedPrice values per assignee.

Example call

curl URL/month/2016/10/Rihan%20Shazih/

Feel free to use query or form params instead.

Result:

2837702934

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.