/RepositoryAnaltyicsOrchestrator

A .NET Core console application to orchestrate the refreshing of repository analytics information via the RepositoryAnaltyicsApi

Primary LanguageC#GNU General Public License v3.0GPL-3.0

RepositoryAnaltyicsOrchestrator

A .NET Core console application to orchestrate the refreshing of repository analytics information via the RepositoryAnaltyicsApi

Purpose

Serve as an orchestrator for doing bulk operations via calls to the RepositoryAnaltyicsApi. This allows the API to not have to handle bite sized chunks of work and not have to worry about long running tasks. Currently the following workloads are supported.

  • Iterate over all repositories and analyze them via a request to the API.

Tech Used

  • .NET Core console application
  • Visual Studio

Running locally

The available command line arguments are documented here

Using Visual Studio
  1. Open the solution and go to the project properties of the RepositoryAnaltyicsDataRefresher project
  2. Click the Debug Tab
  3. In the Application Arguments section enter in your command line arguments
  4. Hit F5 or click the button with the green triangle.
Via command line
  1. Open a terminal window in the \src\ diretory
  2. Run the following command to build the application

dotnet build

  1. Run the following command to start the application. You will need to provide the command line arguments at the end of the command.

dotnet .\RepositoryAnaltyicsDataRefresher\bin\Debug\netcoreapp2.0\RepositoryAnaltyicsDataRefresher.dll