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 Feedback Web

UK Government logo

Build Status Quality Gate Status Jira Project Confluence Project License

This repository represents the Provider Feedback Web code base. Provider Feedback is a service that allows providers to view feedback from employers and apprentices.Either way, the UI code base is the das-providerfeedback-web repository, the innner api's are the das-apprentice-feedback-api repository and das-provide-feedback-employer repository , and the outer API code base is in the das-apim-endpoints repository within the ProviderFeedback project.

Developer Setup

Requirements

In order to run this solution locally you will need the following:

Environment Setup

  • appsettings.json - add the following to your local appsettings.json file.
{
  "Logging": {
    "LogLevel": {
      "Default": "Warning"
    }
  },
  "ConfigurationStorageConnectionString": "UseDevelopmentStorage=true;",
  "ConfigNames": "SFA.DAS.ProviderFeedback.Web",
  "EnvironmentName": "LOCAL",
  "ResourceEnvironmentName": "LOCAL",
  "Version": "1.0",
  "APPINSIGHTS_INSTRUMENTATIONKEY": "",
  "AllowedHosts": "*",
  "cdn": {
    "url": "https://das-at-frnt-end.azureedge.net"
  },
  "ProviderFeedbackWeb": {
    "ShowReviewNotice": true,
    "ReviewNoticeDate": "March/April 2025"
  }
  • Config - You can find the latest config file in das-employer-config repository.

  • Azure Table Storage Explorer - There is a choice on whether to add the row key and data to the Azure Table Storage Explorer or have that config in the appsettings.json file. Either will work.

    Azure Table Storage config

    Row Key: SFA.DAS.ProviderFeedback.Web_1.0

    Partition Key: LOCAL

Running

  • Start Azurite e.g. using a command C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator>AzureStorageEmulator.exe start
  • Solutions to run in conjunction - To get this solution running successfully you will also need the following solutions running:
    • The Outer API das-apim-endpoints should be available either running locally or accessible in an Azure tenancy.
    • The Inner API das-apprentice-feedback-api should be available either running locally or accessible in an Azure tenancy.
    • The Inner API das-provide-feedback-employer [ESFA.DAS.EmployerProvideFeedback.Api] should be available either running locally or accessible in an Azure tenancy.
    • The Roatp API das-roatp-api should be available either running locally or accessible in an Azure tenancy.This api is used to determine the provider's status.
    • The Roatp Service API das-roatp-service should be available either running locally or accessible in an Azure tenancy.This api is used to determine whether the provider is an employer provider.
  • Run the solution

Tests

This codebase includes unit tests ,which are organized into separate projects with appropriate names.

Unit Tests

There are several unit test projects in the solution built using C#, .net 8.0, FluentAssertions, Moq, NUnit, and AutoFixture.

  • SFA.DAS.ProviderFeedback.Application.UnitTests
  • SFA.DAS.ProviderFeedbackWeb.UnitTests

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages