Skip to content

Repository files navigation

⛔Never push sensitive information such as client id's, secrets or keys into repositories including in the README file⛔

Provider Relationships API

UK Government logo

Build Status Quality Gate Status License

About

This API encapsulates provider relationships with employers and their permissions data.

🚀 Installation

Pre-Requisites

  • A clone of this repository
  • Azurite or similar local storage emulator
  • SQL Database
  • Visual studio or similar IDE

Configuration

  • 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.json file}
    • 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>"
}

Technologies

  • .Net 10
  • Azure Table Storage
  • NUnit
  • Moq
  • FluentAssertions

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

8 watching

Forks

Releases

Packages

Used by

Contributors

Languages