These are chat archives for spring-cloud/spring-cloud

Aug 2017
Aug 17 2017 08:56
Hi~I am a girl from China,and I just met some problems using Feign,the error message isrequired a bean of type '' that could not be found.Is there anyone who can tell me how to fix it? Thanks a lot~
Andrew Fitzgerald
Aug 17 2017 20:44
spring-cloud-vault question… Is there an easy way to use the token found in ~/.vault-token to authenticate with vault?
Spencer Gibb
Aug 17 2017 20:55
@Aloren Netflix/zuul#351. This is also one of the reasons we are doing spring-cloud-gateway
@JillWen I'm afraid we'll need more than just that error.
@Fitzoh I don't know, maybe @mp911de knows
Andrew Fitzgerald
Aug 17 2017 23:14
fun setTokenIfPresent() {
    val tokenFile = Paths.get(System.getProperty("user.home")).resolve(".vault-token").toFile()
    if (tokenFile.exists()) {
        System.setProperty("", tokenFile.readText())

fun main(args: Array<String>) {
    setTokenIfPresent(), *args)
I suppose that works