Thanks to visit codestin.com
Credit goes to github.com

Skip to content

SkillsFundingAgency/das-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,226 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

das-apprenticeships

UK Government logo

Update these badges with the correct information for this project. These give the status of the project at a glance and also sign-post developers to the appropriate resources they will need to get up and running

Build Status Quality Gate Status Jira Project Confluence Project License

How It Works

There are 2 applications within this repository, an Azure Function and an InnerApi. The Durable Function responds to events, and the InnerApi responds to queries (e.g GET requests) as well as some commands to carry out actions such as price change requests. All data is stored in a sql database

🚀 Installation

Pre-Requisites

  • A clone of this repository
  • A code editor that supports .Net8
  • Azure Storage Emulator (Azureite)
  • Sql Server DB
  • a ServiceBus namespace in azure (Visual Studio must be signed in to your citizen account)
  • Azure Developer CLI

Config

Most of the application configuration is taken from the das-employer-config repository and the default values can be used in most cases. The config json will need to be added to the local Azure Storage instance with a a PartitionKey of LOCAL and a RowKey of SFA.DAS.Funding.ApprenticeshipEarnings_1.0. The following values must be overwritten:

Name Value
NServiceBusConnectionString Endpoint=[Your-Namespace]

local.settings.json (For azure function)

{
  "IsEncrypted": false,
  "ConfigNames": "SFA.DAS.Encoding,SFA.DAS.Apprenticeships",
  "Values": {
    "AzureWebJobsStorage": "UseDevelopmentStorage=true",
    "AzureWebJobsServiceBus__fullyQualifiedNamespace": "<Your-Namespace>",
    "FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated",
    "EnvironmentName": "LOCAL",
    "ConfigNames": "SFA.DAS.Encoding,SFA.DAS.Apprenticeships"
  }
}

🔗 External Dependencies

  • Azure Storage Emulator (Azureite)
  • Sql Server DB

The innerApi can be queried directly via a tool such as postman. The azure function can be triggered via a test publisher contained within the project

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors