This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies { | |
compile('org.springframework.cloud:spring-cloud-config-server:1.3.0.RELEASE') | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependencies { | |
compile('org.springframework.cloud:spring-cloud-config-server:1.3.0.RELEASE') | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@EnableConfigServer | |
class Application extends GrailsAutoConfiguration { | |
static void main(String[] args) { | |
GrailsApp.run(Application, args) | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spring: | |
application: | |
name: dev-portal | |
profiles: | |
active: native | |
cloud: | |
config: | |
server: | |
bootstrap: true | |
prefix: /config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spring: | |
application: | |
name: dev-portal (1) | |
profiles: | |
active: native | |
cloud: | |
config: | |
server: | |
bootstrap: true (2) | |
prefix: /config (3) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spring: | |
application: | |
name: server-service | |
profiles: | |
active: native | |
cloud: | |
config: | |
server: | |
bootstrap: true // flag to indicate that the server should configure itself from its own remote repository | |
prefix: /config // changing the location of the server endpoints |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spring: | |
application: | |
name: server-service | |
profiles: | |
active: native | |
cloud: | |
config: | |
server: | |
bootstrap: true // flag to indicate that the server should configure itself from its own remote repository | |
prefix: /config // changing the location of the server endpoints |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Configuration { | |
String name | |
static hasMany = [configLines: ConfigLine] | |
static mapping = { | |
configLines cascade: 'all-delete-orphan' | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Configuration { | |
String name // service name for what is configuration (microcervice-app) | |
static hasMany = [configLines: ConfigLine] | |
static mapping = { | |
configLines cascade: 'all-delete-orphan' | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Configuration { | |
String name // service name for what is configuration | |
static hasMany = [configLines: ConfigLine] | |
static mapping = { | |
configLines cascade: 'all-delete-orphan' | |
} | |
} |
OlderNewer