Skip to content

Commit

Permalink
fix(service): add appsettings for the yt01 environment (#1329)
Browse files Browse the repository at this point in the history
<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

## Related Issue(s)

- #1258

## Verification

- [ ] **Your** code builds clean without any errors or warnings
- [ ] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)

## Documentation

- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced a new configuration file for the Dialogporten service,
centralizing important settings for infrastructure and application
components.
- **Documentation**
- Added placeholders for sensitive information to enhance security
practices.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
arealmaas authored Oct 22, 2024
1 parent 0265fe1 commit ef2981b
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions src/Digdir.Domain.Dialogporten.Service/appsettings.yt01.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"Infrastructure": {
"MassTransit": {
"Host": "TODO: Add to local secrets"
},
"Redis": {
"ConnectionString": "TODO: Add to local secrets"
},
"DialogDbConnectionString": "TODO: Add to local secrets",
// Settings from appsettings.json, environment variables or other configuration providers.
// The first three are always mandatory for all client definitions types
"Maskinporten": {
// 1. Valid values are test and prod
"Environment": "test",
// 2. Client Id/integration as configured in Maskinporten
"ClientId": "TODO: Add to local secrets",
// 3. Scope(s) requested, space seperated. Must be provisioned on supplied client id.
"Scope": "altinn:events.publish altinn:events.publish.admin altinn:register/partylookup.admin altinn:authorization/authorize.admin altinn:accessmanagement/authorizedparties.admin",
// --------------------------
// Any additional settings are specific for the selected client definition type.
// See below for examples using other types.
"EncodedJwk": "TODO: Add to local secrets"
},
"Altinn": {
"BaseUri": "https://platform.yt01.altinn.cloud/",
"EventsBaseUri": "https://platform.yt01.altinn.cloud/",
"SubscriptionKey": "TODO: Add to local secrets"
}
},
"Application": {
"Dialogporten": {
"BaseUri": "https://platform.yt01.altinn.cloud/dialogporten",
"Ed25519KeyPairs": {
"Primary": {
"Kid": "TODO: Add to local secrets",
"PrivateComponent": "TODO: Add to local secrets",
"PublicComponent": "TODO: Add to local secrets"
},
"Secondary": {
"Kid": "TODO: Add to local secrets",
"PrivateComponent": "TODO: Add to local secrets",
"PublicComponent": "TODO: Add to local secrets"
}
}
}
}
}

0 comments on commit ef2981b

Please sign in to comment.