-
Notifications
You must be signed in to change notification settings - Fork 17
Setup: Tenant Configuration
Pratik Bhattacharya edited this page Dec 20, 2021
·
6 revisions
For each tenant a new configuration Section must be added containing specific configuration for the boarded tenant. This configuration needs to be added in Azure App Configuration. A new configuration Section called Tenant must be added and with this section configurations for all tenants need to be added. For a tenant with name 'DemoPartner' add a section called 'DemoPartner' under the Tenant section with the following JSON (sample JSON)
{
"Name": "DemoPartner",
"ShortName": "Demo",
"Authorization": {
"Administrators": "<<Comma-separated list of AAD Application IDs having admin access on this tenant>>",
"SenderAppName": "Experimentation:Flighting:API",
"Type": "<<Type of authorization allowed. Currently only 'Configuration' type is allowed>>"
},
"BusinessRuleEngine": {
"CacheDuration": "<<Duration (in mins) to cache the Rule Engine JSON files>>",
"Enabled": "<<Rules Engine filter is enabled when set to true. Values - true | false>>",
"Storage": {
"ContainerName": "<<Name of the blob container with the Rule Engine JSON files>>",
"StorageConnectionStringKey": "<<Secret key in Key Vault containing the connection string of the Storage Account having Rule Engine JSON files>>"
}
},
"Evaluation": {
"AddDisabledContext": "<<Enables or disabled the disabled context. Values - true | false>>",
"AddEnabledContext": "<<Enables or disabled the enabled context. Values - true | false>>",
"IgnoreException": "<<Will evaluate the feature toggle to false for any unhandled exception during execution. Values - true | false>>"
},
"Cache": {
"FeatureFlagNames": "<<Cache type to cache names of Feature flags>>",
"FeatureFlags": "<<Cache type to cache feature flag results>>",
"Graph": "<<Cache type to cache data from graph (User list from Group)>>",
"OperatorMapping": "<<Cache type to cache the filter-operator mapping>>",
"RulesEngine": "<<Cache type to cache the Rules engine JSON>>",
"Type": "URP",
"URP": {
"App": "FXP-Flighting",
"Cluster": "PS-PreProd-01",
"Location": "eastus",
"SecretKey": "URP-Secret"
}
}
}