BAEL-90: Service Release (#781)
* BAEL-90: - Updated dependencies & Maven cleanup - Fixed security configuration * BAEL-90: - Updated dependencies & Maven cleanup - Fixed security configuration * BAEL-90: Removed local workspace path to config repository.
This commit is contained in:
committed by
Grzegorz Piwowarek
parent
fd5188aed2
commit
20fd711f87
-2
@@ -3,11 +3,9 @@ package com.baeldung.spring.cloud.config.server;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cloud.config.server.EnableConfigServer;
|
||||
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
|
||||
|
||||
@SpringBootApplication
|
||||
@EnableConfigServer
|
||||
@EnableWebSecurity
|
||||
public class ConfigServer {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(ConfigServer.class, args);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
server.port=8888
|
||||
spring.cloud.config.server.git.uri=https://github.com/spring-cloud-samples/config-repo
|
||||
spring.cloud.config.server.git.uri=
|
||||
spring.cloud.config.server.git.clone-on-start=true
|
||||
security.user.name=root
|
||||
security.user.password=s3cr3t
|
||||
|
||||
Reference in New Issue
Block a user