Skip to content

SkillsFundingAgency/das-levy-transfer-matching-api

Repository files navigation

Levy Transfer Matching Api

UK Government logo

Holds information on Pledges and Applications for Levy Transfer Matching.

How It Works

This web api serves as the inner api for the Levy Transfer Matching stack of services:

🚀 Installation

Pre-Requisites

The Azure Functions component is not necessary for the website to function but can be found here

  • A clone of this repository
  • A code editor that supports .NetCore 3.1
  • A Redis instance
  • The latest das-employer-config for:
    • SFA.DAS.LevyTransferMatchingApi_1.0

Config

This utility uses the standard Apprenticeship Service configuration. All configuration can be found in the das-employer-config repository which may be more up-to-date than what is described here.

Azure Table Storage config

Row Key: SFA.DAS.LevyTransferMatching.Api_1.0

Partition Key: LOCAL

Data:

{
  "LevyTransferMatchingApi": {
    "DatabaseConnectionString": "Data Source=.;Initial Catalog=SFA.DAS.LevyTransferMatching.Database;Integrated Security=True",
    "NServiceBusConnectionString": "UseDevelopmentStorage=true",
    "NServiceBusLicense": "",
    "RedisConnectionString": "",
    "DataProtectionKeysDatabase": ""
   },
"AzureAd": {
    "tenant": "citizenazuresfabisgov.onmicrosoft.com",
    "identifier": "https://citizenazuresfabisgov.onmicrosoft.com/das-at-ltmapi-as-ar"
  }
}

Technologies

  • .NetCore 3.1
  • REDIS
  • NLog
  • Azure Table Storage
  • NUnit
  • Moq
  • FluentAssertions

🐛 Known Issues

  • This web api must be run under the Kestrel web server