Compare commits
No commits in common. "trunk" and "main" have entirely different histories.
|
@ -3,9 +3,11 @@ plugins {
|
|||
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
||||
id 'java'
|
||||
}
|
||||
// Spring Cloud : 2020.0.x aka Ilford
|
||||
// Spring Boot : 2.4.x, 2.5.x (Starting with 2020.0.3)
|
||||
|
||||
group = 'com.kakaoent.cpdd'
|
||||
version = '0.0.1-SNAPSHOT'
|
||||
group = 'com.kakaoent.adp.trevi.configserver'
|
||||
version = '1.0.0'
|
||||
sourceCompatibility = '11'
|
||||
|
||||
repositories {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package com.kakaoent.cpdd.config.server;
|
||||
package com.kakaoent.adp.trevi.configserver;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
@ -6,10 +6,10 @@ import org.springframework.cloud.config.server.EnableConfigServer;
|
|||
|
||||
@EnableConfigServer
|
||||
@SpringBootApplication
|
||||
public class ConfigServerApplication {
|
||||
public class TreviCloudConfigServerApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(ConfigServerApplication.class, args);
|
||||
SpringApplication.run(TreviCloudConfigServerApplication.class, args);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
spring:
|
||||
config:
|
||||
activate:
|
||||
on-profile: dev
|
||||
|
||||
logging.level:
|
||||
org.springframework.cloud.config: DEBUG
|
|
@ -0,0 +1,7 @@
|
|||
spring:
|
||||
config:
|
||||
activate:
|
||||
on-profile: local
|
||||
|
||||
logging.level:
|
||||
org.springframework.cloud.config: TRACE
|
|
@ -0,0 +1,7 @@
|
|||
spring:
|
||||
config:
|
||||
activate:
|
||||
on-profile: prod
|
||||
|
||||
logging.level:
|
||||
org.springframework.cloud.config: INFO
|
|
@ -0,0 +1,7 @@
|
|||
spring:
|
||||
config:
|
||||
activate:
|
||||
on-profile: qa
|
||||
|
||||
logging.level:
|
||||
org.springframework.cloud.config: INFO
|
|
@ -0,0 +1,7 @@
|
|||
spring:
|
||||
config:
|
||||
activate:
|
||||
on-profile: stage
|
||||
|
||||
logging.level:
|
||||
org.springframework.cloud.config: INFO
|
|
@ -1,13 +1,19 @@
|
|||
server:
|
||||
port: 11080
|
||||
spring:
|
||||
profiles:
|
||||
active: local
|
||||
cloud:
|
||||
config:
|
||||
server:
|
||||
git:
|
||||
uri: https://git.myoa-universe.com/OutworldDestroyer/config-server-pilot-config.git
|
||||
default-label: trunk
|
||||
uri: git@github.com:kakaoent/adp-config-server-config.git
|
||||
default-label: main
|
||||
search-paths: '{application}/{profile},{application}'
|
||||
|
||||
logging.level:
|
||||
org.springframework.cloud.config: TRACE
|
||||
# private-key: ${parsedPrivateKey}
|
||||
# private-key-raw: ${CONFIG_SERVER_PRIVATE_KEY}
|
||||
ignore-local-ssh-settings: true
|
||||
# host-key-algorithm: ssh-rsa
|
||||
private-key: |
|
||||
-----BEGIN EC PRIVATE KEY-----
|
||||
-----END EC PRIVATE KEY-----
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
package com.kakaoent.cpdd.config.server;
|
||||
package com.kakaoent.adp.trevi.configserver;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest
|
||||
class ConfigServerApplicationTests {
|
||||
class TreviCloudConfigServerApplicationTests {
|
||||
|
||||
@Test
|
||||
void contextLoads() {
|
Loading…
Reference in New Issue