Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Altinn/altinn-correspondence

Repository files navigation

Altinn Correspondence - Meldingstjenesten

CI/CD

Local Development

The start.ps1 script runs all neccassary commands to run the project. If you want to run the commands seperate, you can follow the steps below:

The services required to support local development are run using docker compose: docker compose up -d

To support features like hot reload etc, the app itself is run directly. Either in IDE like Visual Studio or by running: dotnet watch --project ./src/Altinn.Correspondence.API/Altinn.Correspondence.API.csproj

Adding migrations:

To add a new migration you can run the following command:

dotnet ef migrations add "MigrationName" --project ./src/Altinn.Correspondence.Persistence --startup-project ./src/Altinn.Correspondence.API

Database migrations is applied automaticly on startup when doing local development, but to update the database manually, run:

dotnet ef database update --project ./src/Altinn.Correspondence.Persistence --startup-project ./src/Altinn.Correspondence.API

Connecting to DB in Azure:

Generate an access token using

az account get-access-token --resource-type oss-rdbms --query accessToken -o tsv

Use your Azure user - or the name of the Azure AD group that gives you access - as the username.

Formatting

Formatting of the code base is handled by Dotnet format. See how to configure it to format-on-save in Visual Studio here.

Deploy

The build and push workflow produces a docker image that is pushed to Github packages. This image is then used by the release action. Read more here: Readme-infrastructure

Test

Performance tests

For information about the performance tests, see the following README files:

About

Meldingstjenesten

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

Contributors 20

AltStyle によって変換されたページ (->オリジナル) /