Skip to content

CognizantOpenSource/ciqdashboard-metric-services

Repository files navigation

CIQDashboard metric services

Contributor Covenant

JDK version= 11 MongoDB server version= 4.0 or above

AboutRequirementsDetailed FeaturesPropertiesRun LocallyContributingRelated

About

This project provides the analytical data of charts for various tools like Jira, ALM, Zephyr, Bots, Jenkins, Service Now, Rally, Git & Xray. Data is fetched from the mongoDB for each tool & metric calculation will be done using metric formula.

Requirements

  • JDK 11
  • MongoDB Server 4.0 or above

Detailed features

  • Controller API: /api/metrics/calculate-metrics

    1. This api will calculate the metric value for a chart based on the configuration having formula & formula params that are used inside functions.
    2. This API will receive configuration information like tool name, dashboard name, project name etc
    3. Based on the configuration, it will fetch required metric config having formula’s, formula param’s, functions etc.
    4. Response contains metric calculation output.
  • Calculation types: Calculation will be done in four ways:

    1. Basic calculation : This calculation is done without considering any trending or grouping.
    2. Trend By : This calculation is done if we want metric data for last 'n' no of weeks/months/years/days.
    3. Group By : This calculation is done based on grouping of a specific field considering distinct data of that field.
    4. Custom functions : This calculation will be done based on function name. Entire logic will be inside the code.
  • Authentication will be provided using the project "ciqdashboard-auth"

  • UI will get backend logic from the project "ciqdashboard-api"

  • ciqdashboard-api will take metric calculation value from this project "ciqdashboard-metric-service"

  • Each project will use the data present in mongoDB. Data will fetch in certain period of time from the collector projects like JIRA, ALM etc

Properties

In order to run this project, you must provide the following values in application.properties which can be found under resources directory

MongoDB Server URI MongoDB credents Server port

Run Locally

Clone the project

  git clone https://github.com/CognizantCodeHub/ciqdashboard-metric-services.git

Go to the project directory

  cd ciqdashboard-metric-services

Build the project

  gradle build

Start the application

  gradle bootrun

Contributing

Contributions are always welcome!

See CONTRIBUTING.md for ways to get started.

Please adhere to this project's code of conduct.

Related

Here are some related projects

CIQDashboard UI

CIQDashboard API

CIQDashboard Auth

CIQDashboard Jira Collector

CIQDashboard ALM Collector

CIQDashboard Jira(cloud) Collector

CIQDashboard Jira+Zephyr(cloud) Collector

CIQDashboard Jira+Zephyr(On Premise) Collector

CIQDashboard Rally Collector

CIQDashboard Jenkins Collector

CIQDashboard GitHub Collector

CIQDashboard ServiceNow Collector

License

To edit

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages