Skip to content

SkillsFundingAgency/das-roatp-functions

Repository files navigation

crest Digital Apprenticeships Service

Register of Apprenticeship Training Providers - Functions

Developer Setup

Requirements

Configuration

  1. Create a local.settings.json file (Copy to Output Directory = Copy if newer) with the following contents:
{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "UseDevelopmentStorage=true",
    "FUNCTIONS_WORKER_RUNTIME": "dotnet",

    "AppName": "das-roatp-functions",
    "EnvironmentName": "LOCAL",
    "ConfigurationStorageConnectionString": "UseDevelopmentStorage=true",
    "LoggingRedisConnectionString": "localhost",
    "ApplicationExtractSchedule": "0 0 0 * * *",
    "GatewayExtractSchedule": "0 0 1 * * *",
    "AssessorExtractSchedule": "0 0 1 * * *",
    "FinanceExtractSchedule": "0 0 1 * * *",
    "AppealExtractSchedule": "0 0 1 * * *",
	"BankHolidayFulfillmentSchedule": "0 0 1 * * *",
	"ApplyFileExtractQueue": "SFA.DAS.Roatp.Functions.ApplyFileExtract",
	"AdminFileExtractQueue": "SFA.DAS.Roatp.Functions.AdminFileExtract",
	"AppealFileExtractQueue": "SFA.DAS.Roatp.Functions.AppealFileExtract",
	"DASServiceBusConnectionString": "Connection string pointing to an Azure Service Bus"
  },
  "ConnectionStrings": {
    "ApplySqlConnectionString": "Data Source=.\\MSSQLLocalDB;Initial Catalog=SFA.DAS.ApplyService;Integrated Security=True",
    "DatamartBlobStorageConnectionString": "UseDevelopmentStorage=true"
  },
  "QnaApiAuthentication": {
    "Identifier": "https://tenant.onmicrosoft.com/das-at-api-as-ar",
    "ApiBaseAddress": "http://localhost:5554"
  },
  "ApplyApiAuthentication": {
    "Identifier": "https://tenant.onmicrosoft.com/das-at-api-as-ar",
    "ApiBaseAddress": "https://localhost:6000"
  },
  "GovUkApiAuthentication": {
    "ApiBaseAddress": "https://www.gov.uk"
  }
}

Application Extract

No specific configuration - run as Timer Trigger function. See "ApplicationExtractSchedule" for schedule.

Note also fires off a Service Bus message to Apply File Extract for any file uploads.

Apply File Extract

No specific configuration - runs as Service Bus trigger function. See "DASServiceBusConnectionString" and "ApplyFileExtractQueue" for Service Bus information.

Gateway Extract

No specific configuration - run as Timer Trigger function. See "GatewayExtractSchedule" for schedule.

Note also fires off a Service Bus message to Admin File Extract for any file uploads.

Assessor Extract

No specific configuration - run as Timer Trigger function. See "AssessorExtractSchedule" for schedule.

Note also fires off a Service Bus message to Admin File Extract for any file uploads.

Finance Extract

No specific configuration - run as Timer Trigger function. See "FinanceExtractSchedule" for schedule.

Note also fires off a Service Bus message to Admin File Extract for any file uploads.

Admin File Extract

No specific configuration - runs as Service Bus trigger function. See "DASServiceBusConnectionString" and "AdminFileExtractQueue" for Service Bus information.

Appeal Extract

No specific configuration - run as Timer Trigger function. See "AppealExtractSchedule" for schedule.

Note also fires off a Service Bus message to Appeal File Extract for any file uploads.

Appeal File Extract

No specific configuration - runs as Service Bus trigger function. See "DASServiceBusConnectionString" and "AppealFileExtractQueue" for Service Bus information.

Bank Holiday Fulfillment

No specific configuration - run as Timer Trigger function. See "BankHolidayFulfillmentSchedule" for schedule.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages