Forecasting and estimation tool used within Manage your Apprenticeships
The following needs to be installed on your local machine:
- Visual Studio 2017
- Azure Cosmos DB Emulator
- Azure Function emulator version 1.0.10
- Build solution
- Publish database -> this will create a database called SFA.DAS.Forecasting.Database on your local instance
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.
from localhost the following screens are available
/accounts/MDPP87/forecasting/estimations/start-transfer
/accounts/MDPP87/forecasting/projections
For some acceptance tests the MYA database is required.