Skip to content

SkillsFundingAgency/das-forecasting-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

das-forecasting-tool - Forecasting tool

Forecasting and estimation tool used within Manage your Apprenticeships

Build

Build Status

Running Locally

Prerequisites

The following needs to be installed on your local machine:

Setup

  • Build solution
  • Publish database -> this will create a database called SFA.DAS.Forecasting.Database on your local instance

Data Population

Running the acceptance tests will populate the database with a set of data - the connection string in the app.config file for the acceptance tests may need updating.

To load apprenticeship courses into CosmosDB run the following azure function SFA.DAS.Forecasting.ApprenticeshipCourses.Functions. This has a dependencey on das-apim-endpoints forecasting outer api. If you are part of the ESFA organisation you can request a subscription key, if not then follow the readme for setting up the Forecasting outer api.

Routes for test data

from localhost the following screens are available

/accounts/MDPP87/forecasting/estimations/start-transfer
/accounts/MDPP87/forecasting/projections

Tests

For some acceptance tests the MYA database is required.