Git Product home page Git Product logo

sbr-sampling-service's Introduction

sampling-service

Setup

####Prerequisites

  • Java 8 or higher
  • Gradle

Development Setup (macOS)

To install Scala quickly you can use Homebrew (Brew):

brew install scala

Running the Service

To compile, build and run the application use the following command:

gradle run --args 'arg1 arg2 arg3'

Test

To test all test suites use:

gradle test

Integration Tests

SBR uses a test task for integration tests (or acceptance test), more details of this and SBR's testing strategy can be found on ONS Confluence.

To run integration test run:

gradle itest

Packaging

To package the project in a runnable fat-jar:

gradle shadowJar

Versioning

See current application version;

gradle version

Bump the minor version number;

gradle bumpMinor

Bump the major version number;

gradle bumpMajor

Release

A final build can be tagged in Git with:

gradle gitrelease -PnewVersion=1.1

Troubleshooting

See FAQ for possible and common solutions.

Contributing

See CONTRIBUTING for details.

License

Copyright ยฉโ€Ž 2018, Office for National Statistics (https://www.ons.gov.uk)

Released under MIT license, see LICENSE for details.

sbr-sampling-service's People

Contributors

ameenhaq avatar ranjit-das avatar urquha avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

uk-gov-mirror

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.