Giter Site home page Giter Site logo

microservice's Introduction

====================================

Lookup Service

travis codecov Codacy Badge Codacy Badge

This module intentions is to:

  • read fixed length transaction files.
  • product a daily summary report.

How to run the program

java -jar fileingestor.jar datafile.txt out.csv

Continous Integration and Code Coverage

CREATE USER 'golden'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON * . * TO 'golden'@'localhost'; FLUSH PRIVILEGES;

-Dspring.profiles.active=local-mysql

Relevant Articles:

What is this repository for?

  • Service to process Future Clearing files
  • 1.0.0

How do I get set up?

  • Summary of set up
  • Configuration
  • Dependencies
  • Database configuration
  • How to run tests
  • Deployment instructions

Contribution guidelines

  • Writing tests
  • Code review
  • Other guidelines

Who do I talk to?

  • Repo owner or admin
  • Other community or team contact

Building The Project


###Eclipse:

  1. Before importing into eclipse execute the mvn eclipse:eclipse command to prepare the project to be able to be simply imported into the IDE.
  2. Within the IDE, select import existing eclipse project option and as the eclipse:eclipse command will have prepared .project and .classpath files, this will mean minimal setup required.
  3. Add the integration-test src and resources to your classpath to ensure your can easily execute integration tests from the IDE.

###Compiling The project has been designed to be built via maven the pom has been configured to be able to execute unit and integration tests, generate code coverage reports, and code checkstyle testing.

Four Test Profiles have been configured to aid in building the project depending on what you wish to achieve:

  1. unit-tests will only execute unit tests.
  2. integration-tests will only execute integration tests.
  3. all-tests both unit and integration tests are run.
  4. no-tests no tests run.

The default profile is all-tests.

Some example executions are as followed.

  • mvn clean test => Creates code coverage report for unit tests.
  • mvn clean verify -P unit-tests => Creates code coverage report for unit tests and fails if does not meet coverage ratios.
  • mvn clean verify -P integration-tests => Creates code coverage report for unit tests and fails if does not meet coverage ratios.
  • mvn clean verify -P all-tests => Creates code coverage reports for unit and integration tests and fails if does not meet coverage ratios).
  • mvn clean package -P no-tests => Does not execute tests and creates the distributable.
  • mvn clean verify -P all-tests checkstyle:check => runs all tests, checkstyle and packages.

Before submitting your code to GIT run clean verify -P all-tests checkstyle:check and build successfully to ensure that all tests and code style checks are completed to ensure Continuous Integration build errors do not arise.

Test Profiles

no-tests - all tests are ignored all-tests - all tests are executed unit-tests - only unit tests are executed integration-tests - only integration tests are executed

microservice's People

Contributors

mxcheung 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.