Skip to content
Snippets Groups Projects
Select Git revision
  • gitkeep
  • dev protected
  • master default protected
  • Hotfix/2562-organizations
  • Issue/2518-docs
  • Sprint/2022-01
  • Sprint/2021-19
  • Issues/0028-maxQuotaFix
  • Sprint/2021-08
  • Product/1414-fhPrivileges
  • Topic/1425-fhPrivileges
  • Sprint/2020-20
  • Product/704-basicReporting
  • Topic/1051-basicReporting protected
  • Hotfix/986-fixOrganizationParserPipeline
  • Hotfix/953-fileNameWithSpace
  • Sprint/2020-13
  • Product/754-automatedImport
  • Topic/888-automatedImport protected
  • v1.5.0
  • v1.4.0
  • v1.3.2
  • v1.3.1
  • v1.3.0
  • v1.2.0
  • v1.1.2
  • v1.1.1
  • v1.1.0
28 results

organization-parser

  • Clone with SSH
  • Clone with HTTPS
  • Marcel Nellesen's avatar
    Marcel Nellesen authored
    Topic/1051 basic reporting
    
    See merge request coscine/cs/organization-parser!6
    8b869649
    History

    OrganizationLoader

    Commandline application which downloads the IDM exports and parses it to a .ttl file.

    It has the following parameters

    • force=: Skip checks for to many or no changes in the exports.
    • username=: Username for the export. If none is provided, the consul value is used.
    • password=: Password for the export. If none is provided, the consul value is used.
    • organizationsLink=: Link for the organizations export. If none is provided, the consul value is used.
    • employeesLink=: Link for the employee export. If none is provided, the consul value is used.
    • rorId=: The RWTH ror Id. If none is provided, the consul value is used.
    • output=: Output for the generated file (Mandatory).
    • h|help: show help and exit

    To show the above output, run: .\OrganizationLoader.exe --h

    Create a .ttl file with: .\OrganizationLoader.exe --output="index.ttl"

    Should a parameter be empty or not provided, the program will look it up in Consul. Only the output parameter has to be supplied via the commandline. The other configuration parametes must be provided by the commandline or by Consul.

    Commandline parameters have a higher priority and are choosen instead of Consul values.

    Gitlab CI

    Most commandline parameters can be set over the variables section of the Gitlab project. The help and output parameter are unused or fixed.

    The scheduled CI task runs every morning at 1am. The task builds the executable and runs it automatically.