Skip to content
Snippets Groups Projects
Select Git revision
  • edca70bc92b091149e2db6f0c447a96ab45f14ed
  • main default protected
  • dev protected
  • Issue/3142-kpiGenerator
  • Hotfix/3115-userReportingEmpty2
  • Hotfix/3115-userReportingEmpty
  • Issue/3073-kpi
  • Issue/2492-respOrg
  • Issue/3005-kpiReportingBroken
  • Issue/2982-kpiDataPub
  • gitkeep
  • Issue/2847-reporting
  • Issue/2850-removeGrantId
  • Issue/2432-publicationKpi
  • Hotfix/xxxx-rors
  • Issue/2666-adminCronjobs-theSequal
  • Issue/2666-adminCronjobs
  • Issue/2568-betterLogging
  • Issue/2518-docs
  • Hotfix/2388-sensitive
  • Issue/2330-fixNaNQuotainAdmin
  • v1.2.10
  • v1.2.9
  • v1.2.8
  • v1.2.7
  • v1.2.6
  • v1.2.5
  • v1.2.4
  • v1.2.3
  • v1.2.2
  • v1.2.1
  • v1.2.0
  • v1.1.1
  • v1.1.0
  • v1.0.9
  • v1.0.8
  • v1.0.7
  • v1.0.6
  • v1.0.5
  • v1.0.4
  • v1.0.3
41 results

kpi-generator

  • Open with
  • Download source code
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • CoscineBot's avatar
    CoscineBot authored
    # [0.1.13](v0.1.12...v0.1.13) (2022-12-15)
    
    ## Fix
    * Organizations
    edca70bc
    History

    KPI Generator

    KPI Generator

    Getting started

    The new KPI Generator collects information from Virtuoso and the SQL Database by connecting to our databases. The program then writes, saves and uploads JSON reporting files to a specific GitLab project in a specific structure.

    GitLab structure:

    • 🦊 {Reporting Project}
      • 📂 General
        • 🗒️ users.json (File containing User related KPIs extracted from Coscine #2182)
        • 🗒️ projects.json (File containing Project related KPIs extracted from Coscine #2184)
        • 🗒️ resources.json (File containing Resource related KPIs extracted from Coscine #2183)
        • 🗒️ application_profiles.json (File containing Application Profile related KPIs extracted from Coscine #2185)
        • 🗒️ system_status.json (File containing System Status related KPIs extracted from Coscine #2186)
      • 📂 Organizations
        • 📂 {Organization ROR ID} (Folder per organization)
          • 🗒️ users.json (File containing User related KPIs extracted from Coscine #2182)
          • 🗒️ projects.json (File containing Project related KPIs extracted from Coscine #2184)
          • 🗒️ resources.json (File containing Resource related KPIs extracted from Coscine #2183)
        • 📁 ...
          • 🗒️ ...
      • 🗒️ README.md

    Generating reporting files

    • Executing in dummy mode

      .\Coscine.KpiGenerator.exe <VERB> --dummy
    • Complete Reporting (all)

      .\Coscine.KpiGenerator.exe all
    • Only Project Reporting

      .\Coscine.KpiGenerator.exe projects
    • Only Resource Reporting

      .\Coscine.KpiGenerator.exe resources
    • Only User Reporting

      .\Coscine.KpiGenerator.exe users
    • Only Application Profile Reporting

      .\Coscine.KpiGenerator.exe applprofiles
    • Only System Status Reporting

      .\Coscine.KpiGenerator.exe system

    Integrate to Coscine's infrastructure as a CRON Job

    Running the Integrator Script will add the script as a CRON Job, that will automatically trigger at 03:00 am every day.