spring-cloud-samples / configserver

377 stars 394 forks source link

Config server does not reload configuration #10

Closed marcellodesales closed 9 years ago

marcellodesales commented 9 years ago

Hi there,

I tried configuring the server without Redis and Monitoring...

                <dependency>
                        <groupId>org.springframework.cloud</groupId>
                        <artifactId>spring-cloud-config-server</artifactId>
                </dependency>
                <!--dependency>
                        <groupId>org.springframework.cloud</groupId>
                        <artifactId>spring-cloud-config-monitor</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.springframework.cloud</groupId>
                        <artifactId>spring-cloud-starter-stream-redis</artifactId>
                </dependency-->
                <dependency>
                        <groupId>org.springframework.cloud</groupId>
                        <artifactId>spring-cloud-starter-eureka</artifactId>
                </dependency>

However, any changes to the GitHub configuration repository was not picked up by the server...

Questions

spencergibb commented 9 years ago

You need to setup a webhook with github manually. It is not done automatically. https://developer.github.com/webhooks/creating/

marcellodesales commented 9 years ago

@spencergibb Thank you, but what's the endpoint that GitHub needs to call on the config server??? I haven't found in the documentation...

spencergibb commented 9 years ago

According to the docs it's /monitor.

marcellodesales commented 9 years ago

@spencergibb Perfect... Thanks a lot for the info!