⛔Never push sensitive information such as client id's, secrets or keys into repositories including in the README file⛔
This API encapsulates provider relationships with employers and their permissions data.
- A clone of this repository
- Azurite or similar local storage emulator
- SQL Database
- Visual studio or similar IDE
- Create a Configuration table in your (Development) local storage account.
- Obtain the SFA.DAS.Roatp.Api.json from the das-employer-config and adjust the SqlConnectionString property to match your local setup.
- Add a row to the Configuration table with fields:
- PartitionKey: LOCAL
- RowKey: SFA.DAS.PR.Api_1.0
- Data: {The contents of the
SFA.DAS.PR.Api.jsonfile} - Obtain the SFA.DAS.PR.Api.json from the das-employer-config for roatp-api repo
- In the SFA.DAS.PR.Api project, add appSettings.Development.json file with following content:
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"ConfigurationStorageConnectionString": "UseDevelopmentStorage=true;",
"ConfigNames": "SFA.DAS.PR.Api,SFA.DAS.Encoding",
"EnvironmentName": "LOCAL",
"Version": "1.0",
"APPINSIGHTS_INSTRUMENTATIONKEY": "",
"AzureWebJobsServiceBus": "<ServiceBus connection string>"
}- .Net 10
- Azure Table Storage
- NUnit
- Moq
- FluentAssertions