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

11th
Apr 2018
Spencer Gibb
@spencergibb
Apr 11 2018 01:56
spring-cloud-gateway is supported by pivotal and has commercial support available
dragontree101
@dragontree101
Apr 11 2018 02:29
@spencergibb real a bug? can fix in RC1?
i can not define myself keysolve
thanks
Spencer Gibb
@spencergibb
Apr 11 2018 02:31
@dragontree101 actually you should be able to without using the shortcut configuration or the javadsl
Andrew Fitzgerald
@fitzoh
Apr 11 2018 02:33
@spencergibb what’s the story on commercial support? any chance that’s rolled into PCF support?
(for scg)
Spencer Gibb
@spencergibb
Apr 11 2018 02:34
@Fitzoh I think that's one of the ways to get it. I can verify.
Andrew Fitzgerald
@fitzoh
Apr 11 2018 02:35
cool, thanks… So it should be fairly safe to migrate quickly from zuul -> SCG once 2.0 goes GA?
Also glad I glanced over at the activity sidebar, I had somehow missed spring-cloud-cloudfoundry until now
weiping
@sophiaso
Apr 11 2018 02:41

gateway cannot be combined with spring mvc, but spring webflux controllers still work

@spencergibb OK, thank you.

Spencer Gibb
@spencergibb
Apr 11 2018 02:42
@Fitzoh yeah. s-c-cf has been around, but under utilized.
dragontree101
@dragontree101
Apr 11 2018 02:45
i use properties.yml, not use java dsl code, how can i without using the shortcut config? can give me a demo? thanks
Andrew Fitzgerald
@fitzoh
Apr 11 2018 03:36
s-c-cf service discovery could be nice for us once c2c networking is figured out (no scs/eureeka at the moment)
Jose Armesto
@fiunchinho
Apr 11 2018 07:00
is there any UI to create zuul/spring-cloud-gateway rules ? something that reads from Swagger and you can choose, instead of writing the config files manually
lakshmipolu
@lakshmipolu
Apr 11 2018 17:50
@spencergibb Thanks for your response
John D Giotta
@jdgiotta
Apr 11 2018 19:48
Based on documentation, Spring cloud config supports SSH for git URI, but it will not successfully get a repository for me.
How can I debug what I'm experiencing?
A public https:// repo works fine, just not a private ssh
Ryan Baxter
@ryanjbaxter
Apr 11 2018 19:50
hard to say without more details
John D Giotta
@jdgiotta
Apr 11 2018 19:53
I'll provide any information to help solve this problem.
Can someone point me a the class that should be responsible for retrieving from the git repo?
John D Giotta
@jdgiotta
Apr 11 2018 19:59
I have trace level logs on for root and I can't seem to even locate a log output where "do the git thing" is even occurring
Ryan Baxter
@ryanjbaxter
Apr 11 2018 20:00
what is the error you are getting?
John D Giotta
@jdgiotta
Apr 11 2018 20:00
org.springframework.cloud.config.server.environment.NoSuchRepositoryException
404
Ryan Baxter
@ryanjbaxter
Apr 11 2018 20:00
what about the whole stack
John D Giotta
@jdgiotta
Apr 11 2018 20:01
There is none
I perform a POST X-Github-Event: push and no exceptions
Ryan Baxter
@ryanjbaxter
Apr 11 2018 20:01
what does your config look like?
is there anything revealing in the logs besides NoSuchRepositoryException
John D Giotta
@jdgiotta
Apr 11 2018 20:03
That exception only appears in the REST call for the {name}/{profile}/{branch}
This is my "local" YAML
server:
  port: 8888

spring:
  cloud:
    bus:
      enabled: true
      trace:
        enabled: true
      destination: config_bus_bob
    stream:
      kafka:
        binder:
          brokers: kafka02
          zkNodes: zk03
    config:
      server:
        git:
          uri: git@github.com:jdgiotta/api_configurations.git #${GIT_HTTPS_URL}

eureka:
  key-store:
    location: file:/server.jks
    password: letmein
    alias:  key
    secret: changeme
  client:
    enabled: false




logging:
  level:
    root: TRACE
    com.efw.api.utils: INFO
    org.springframework: INFO
    org.apache.catalina.session.ManagerBase: INFO
    org.springframework.boot.context.embedded.undertow.UndertowEmbeddedServletContainer: INFO
That repo is private
I even attempted to include the privateKey in the yaml
I'd like to track down the responsible party for pulling from git
John D Giotta
@jdgiotta
Apr 11 2018 20:25
@ryanjbaxter thank you
I can now see the AUTHFAIL in the breakpoint