Giter Club home page Giter Club logo

mozaik-ext-sonar's Introduction

Mozaïk Sonar widgets

Travis CI

This branch contains code for the version compatible with Mozaïk v2, no compability is provided for Moazik v1.

Link to the main repository Mozaïk, mozaik-ext-sonar is only an extension of it.

Widgets

Github Client Configuration

In order to use the Mozaïk github widgets, you should configure its client. It's not required that you provide a token for authentication, but then you'll only be able to see public repos and the rate limit will apply.

parameters

key env key required default description
token SONAR_API_TOKEN no* '' sonar authentication token
baseUrl SONAR_BASE_URL no https://api.sonar.com sonar api url (useful for enterprise)
auth_user SONAR_AUTH_USER no* '' The sonar user authorization.
auth_pass SONAR_AUTH_PASS no* '' The sonar password authorization.

*: Fill weither a token or (auth_user and auth_pass) for security reason.

usage

# config.yml
api:
  github:
    baseUrl: 'SONAR_BASE_URL'
    token: 'SONAR_API_TOKEN'
    auth_user: 'SONAR_AUTH_USER'
    auth_pass: 'SONAR_AUTH_PASS'

Widgets doc

Metric

parameters
key required description
project yes sonar project used
metric yes metric to display

Additional feature

It is possible to display more than 1 metric (see the usage exemple). It is possible to display then on several column and row

usage
# config.yml
dashboards:
- #
  widgets:
  - extension:    sonar
    widget:       Metric
    project:      develop
    metric:       bugs,vulnerabilities,complexity
    columns:      2
    rows:         3
    x:            1
    y:            0

mozaik-ext-sonar's People

Contributors

jadok avatar cap-qjadeau avatar

Stargazers

Clément Tessier avatar

Watchers

James Cloos avatar  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.