GithubHelp home page GithubHelp logo

service-dependencies's Introduction

service-dependencies

Build Status Download

This service provides information about scala library dependencies across the platform.

Used by the catalogue-frontend service deployments page.

How it works

The service gathers dependency information from two sources:

  • SBT build files read from github

    • Covers all HMRC repos, including services, libraries, prototypes
    • Limited to a whitelist of dependencies, doesnt cover transitive
    • Only shows the latest dependencies from master branch
    • Shows if dependencies are out of date
  • Library data from a slug

    • Covers all services that generate a slug
    • Includes all dependencies used by service, including transitive
    • Shows dependencies across different releases of slug, not just latest

Configuration

The slug metadata updater is configured:

repositoryDependencies.slugJob.enabled           # enable polling of service deployments and updating of slug metadata
repositoryDependencies.slugJob.interval          # delay between polling service deployments

The github/sbt dependency parser is configured:

scheduler.enabled                  # disable all github/sbt parsers
dependency.reload.intervalminutes  # how often the github repo/sbt parser will run
library.reload.intervalminutes     # how often the library version parser will run
sbtPlugin.reload.intervalminutes   # how often the sbt plugin version parser will run

The metrics reporter is configured:

repositoryDependencies.metricsGauges.enabled   # enable the metrics reporter
repositoryDependencies.metricsGauges.interval  # how often stats are uploaded

License

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

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.