Skip to content

Commit ef2981b

Browse files
authored
fix(service): add appsettings for the yt01 environment (#1329)
<!--- 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 -->
1 parent 0265fe1 commit ef2981b

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"Infrastructure": {
3+
"MassTransit": {
4+
"Host": "TODO: Add to local secrets"
5+
},
6+
"Redis": {
7+
"ConnectionString": "TODO: Add to local secrets"
8+
},
9+
"DialogDbConnectionString": "TODO: Add to local secrets",
10+
// Settings from appsettings.json, environment variables or other configuration providers.
11+
// The first three are always mandatory for all client definitions types
12+
"Maskinporten": {
13+
// 1. Valid values are test and prod
14+
"Environment": "test",
15+
// 2. Client Id/integration as configured in Maskinporten
16+
"ClientId": "TODO: Add to local secrets",
17+
// 3. Scope(s) requested, space seperated. Must be provisioned on supplied client id.
18+
"Scope": "altinn:events.publish altinn:events.publish.admin altinn:register/partylookup.admin altinn:authorization/authorize.admin altinn:accessmanagement/authorizedparties.admin",
19+
// --------------------------
20+
// Any additional settings are specific for the selected client definition type.
21+
// See below for examples using other types.
22+
"EncodedJwk": "TODO: Add to local secrets"
23+
},
24+
"Altinn": {
25+
"BaseUri": "https://platform.yt01.altinn.cloud/",
26+
"EventsBaseUri": "https://platform.yt01.altinn.cloud/",
27+
"SubscriptionKey": "TODO: Add to local secrets"
28+
}
29+
},
30+
"Application": {
31+
"Dialogporten": {
32+
"BaseUri": "https://platform.yt01.altinn.cloud/dialogporten",
33+
"Ed25519KeyPairs": {
34+
"Primary": {
35+
"Kid": "TODO: Add to local secrets",
36+
"PrivateComponent": "TODO: Add to local secrets",
37+
"PublicComponent": "TODO: Add to local secrets"
38+
},
39+
"Secondary": {
40+
"Kid": "TODO: Add to local secrets",
41+
"PrivateComponent": "TODO: Add to local secrets",
42+
"PublicComponent": "TODO: Add to local secrets"
43+
}
44+
}
45+
}
46+
}
47+
}

0 commit comments

Comments
 (0)