Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
superrain51
apollo
提交
6ad48acc
apollo
项目概览
superrain51
/
apollo
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
apollo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6ad48acc
编写于
3月 10, 2016
作者:
Y
Yiming Liu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add sample apollo server and code style
上级
ccd81ee9
变更
7
展开全部
隐藏空白更改
内联
并排
Showing
7 changed file
with
827 addition
and
10 deletion
+827
-10
apollo-dev/style/eclipse-java-google-style.xml
apollo-dev/style/eclipse-java-google-style.xml
+291
-0
apollo-dev/style/intellij-java-google-style.xml
apollo-dev/style/intellij-java-google-style.xml
+475
-0
apollo-server/pom.xml
apollo-server/pom.xml
+17
-0
apollo-server/src/main/java/com/ctrip/apollo/ConfigServerApplication.java
...c/main/java/com/ctrip/apollo/ConfigServerApplication.java
+15
-0
apollo-server/src/main/resources/application.yml
apollo-server/src/main/resources/application.yml
+10
-0
apollo-server/src/main/resources/bootstrap.yml
apollo-server/src/main/resources/bootstrap.yml
+3
-0
pom.xml
pom.xml
+16
-10
未找到文件。
apollo-dev/style/eclipse-java-google-style.xml
0 → 100644
浏览文件 @
6ad48acc
此差异已折叠。
点击以展开。
apollo-dev/style/intellij-java-google-style.xml
0 → 100644
浏览文件 @
6ad48acc
此差异已折叠。
点击以展开。
apollo-server/pom.xml
浏览文件 @
6ad48acc
...
...
@@ -15,5 +15,22 @@
<groupId>
com.ctrip.apollo
</groupId>
<artifactId>
apollo-core
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-config
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
</plugins>
</build>
</project>
apollo-server/src/main/java/com/ctrip/apollo/ConfigServerApplication.java
0 → 100644
浏览文件 @
6ad48acc
package
com.ctrip.apollo
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.cloud.config.server.EnableConfigServer
;
@SpringBootApplication
@EnableConfigServer
public
class
ConfigServerApplication
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
ConfigServerApplication
.
class
,
args
);
}
}
apollo-server/src/main/resources/application.yml
0 → 100644
浏览文件 @
6ad48acc
server
:
port
:
8888
logging
:
level
:
org.springframework.cloud
:
'
DEBUG'
spring
:
profiles
:
active
:
native
apollo-server/src/main/resources/bootstrap.yml
0 → 100644
浏览文件 @
6ad48acc
spring
:
application
:
name
:
apollo-server
\ No newline at end of file
pom.xml
浏览文件 @
6ad48acc
...
...
@@ -7,7 +7,6 @@
<version>
0.0.1
</version>
<name>
Apollo
</name>
<packaging>
pom
</packaging>
<modules>
<module>
apollo-core
</module>
<module>
apollo-metaserver
</module>
...
...
@@ -55,9 +54,11 @@
</dependency>
<!--third party -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter
</artifactId>
<version>
1.3.3.RELEASE
</version>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-parent
</artifactId>
<version>
Angel.SR6
</version>
<type>
pom
</type>
<scope>
import
</scope>
</dependency>
<dependency>
<groupId>
mysql
</groupId>
...
...
@@ -65,12 +66,6 @@
<version>
5.1.38
</version>
</dependency>
<!--for test -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<version>
1.3.3.RELEASE
</version>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
com.h2database
</groupId>
<artifactId>
h2
</artifactId>
...
...
@@ -89,8 +84,19 @@
<url>
http://maven.dev.sh.ctripcorp.com:8081/nexus/content/repositories/fxsnapshot
</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<id>
spring-milestones
</id>
<name>
Spring Milestones
</name>
<url>
https://repo.spring.io/libs-milestone
</url>
<snapshots>
<enabled>
false
</enabled>
</snapshots>
</repository>
</repositories>
<properties>
<project.build.sourceEncoding>
utf-8
</project.build.sourceEncoding>
<java.version>
1.8
</java.version>
</properties>
</project>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录