Giter Club home page Giter Club logo

hmrc.customs-declare-exports's Introduction

customs-declare-exports

Build Status Download

This is a placeholder README.md for a new repository

License

This code is open source software licensed under the Apache 2.0 License

Required services

In order to set up all services required for customs-declare-exports to work, there are profiles in service-manager-config repository:

  • CDS_EXPORTS_DECLARATION_DEPS - all services EXCEPT both declarations services
  • CDS_EXPORTS_DECLARATION_ALL - all services together with both declarations services

Scalastyle

Project contains scalafmt plugin.

Commands for code formatting:

scalafmt        # format compile sources
test:scalafmt   # format test sources
sbt:scalafmt    # format .sbt source

To ensure everything is formatted you can check project using commands below

scalafmt::test      # check compile sources
test:scalafmt::test # check test sources
sbt:scalafmt::test  # check .sbt sources

Seed mongo

To provide high number of declarations (20 000) in system run

sbt test:run util.SeedMongo

Output of program looks

Inserted 523 - 523 for GB1814503088
Inserted 788 - 265 for GB966964885
Inserted 1023 - 235 for GB1795007712
Inserted 1043 - 20 for GB1822591600
Inserted 1059 - 16 for GB1713564034
Inserted 1471 - 412 for GB1026524884
Inserted 2094 - 623 for GB1585987871

Feature flags

To set a feature flag via system properties

sbt "run -Dmicroservice.features.exportsMigration=enabled"

hmrc.customs-declare-exports's People

Contributors

bambuchaadm avatar bethany-kish avatar ed0906 avatar glidester avatar hmrc-web-operations avatar janeturner avatar leszeklorek avatar maciejrewera avatar mattclark-zerogravit avatar patrykrudnicki avatar pauloportugal avatar raghu1978 avatar simms11 avatar stevesugden avatar tomasz-rosiek avatar udinobi 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.