SteeltoeOSS / Configuration

.NET Configuration providers for Spring Cloud Config Server & CloudFoundry
https://steeltoe.io
Apache License 2.0
101 stars 36 forks source link

Not able to get property sources #9

Closed acesyde closed 7 years ago

acesyde commented 7 years ago

Hi,

Thanks a lot for this framework, but actually I can't use it With fresh dotnet core server 1.1 I receive this :

warn: Steeltoe.Extensions.Configuration.ConfigServer.ConfigServerConfigurationProvider[0]
      Could not locate PropertySource:

My settings

{
  "spring": {
    "application": {
      "name": "foo"
    },
    "cloud": {
      "config": {
        "uri": "http://localhost:8600/ConfigServer",
        "validate_certificates": false
      }
    }
  },
  "Logging": {
    "IncludeScopes": false,
    "LogLevel": {
      "Default": "Debug",
      "System": "Information",
      "Microsoft": "Information"
    }
  }
}

And return of my Config Server on this url : http://localhost:8600/ConfigServer/foo/development

{
"name": "foo",
"profiles": [
"development"
],
"label": "master",
"version": "44ab5dc54c4e2fdef2f0cbfadc19594e3b33c27e",
"state": null,
"propertySources": [
{
"name": "https://github.com/acesyde/springboot-example-config.git/foo.yml",
"source": {
"eureka.instance.leaseRenewalIntervalInSeconds": 10,
"eureka.client.registryFetchIntervalSeconds": 5,
"eureka.client.serviceUrl.defaultZone": "http://localhost:8600/EurekaServer/eureka",
"test.foo": "youpi"
}
},
{
"name": "https://github.com/acesyde/springboot-example-config.git/application.yml",
"source": {
"mail.domain": "gmail.com"
}
}
]
}

Can you help me ?

cf-gitbot commented 7 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/138553981

The labels on this github issue will be updated when the story is started.

dtillman commented 7 years ago

Thanks!