Burgyn/MMLib.Ocelot.Provider.AppConfiguration

AppConfigurationSectionName not found in ServiceDiscoveryProvider

Opened this issue · 0 comments

Pobx commented

Describe the bug
I configured as below then i don't see AppConfigurationSectionName in GlobalConfiguration. now the library is support AppConfigurationSectionName or not ?

{
    "GlobalConfiguration": {
        "BaseUrl": "https://localhost:9000",
        "RequestIdKey": "OcRequestId",
        "ServiceDiscoveryProvider": {
            "Type": "AppConfiguration",
            "PollingInterval": 10000,
            "AppConfigurationSectionName": "ApiServices"
        }
    }
}

Expected behavior

  "GlobalConfiguration": {
    "RequestIdKey": "OcRequestId",
    "ServiceDiscoveryProvider": {
      "Scheme": null,
      "Host": null,
      "Port": 0,
      "Type": "AppConfiguration",
      "Token": null,
      "ConfigurationKey": null,
      "PollingInterval": 10000,
      "Namespace": null
    }