Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apollo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
apollo
Commits
86730ebe
Commit
86730ebe
authored
Mar 10, 2016
by
Yiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Application code for submodule
parent
6ad48acc
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
76 additions
and
7 deletions
+76
-7
pom.xml
apollo-configserver/pom.xml
+3
-3
ConfigServerApplication.java
...java/com/ctrip/apollo/server/ConfigServerApplication.java
+1
-1
application.yml
apollo-configserver/src/main/resources/application.yml
+0
-0
bootstrap.yml
apollo-configserver/src/main/resources/bootstrap.yml
+0
-0
pom.xml
apollo-metaserver/pom.xml
+18
-1
MetaServerApplication.java
...va/com/ctrip/apollo/metaserver/MetaServerApplication.java
+11
-0
pom.xml
apollo-portal/pom.xml
+17
-0
PortalApplication.java
.../main/java/com/ctrip/apollo/portal/PortalApplication.java
+11
-0
SampleController.java
.../com/ctrip/apollo/portal/controller/SampleController.java
+13
-0
pom.xml
pom.xml
+2
-2
No files found.
apollo-server/pom.xml
→
apollo-
config
server/pom.xml
View file @
86730ebe
...
...
@@ -8,8 +8,8 @@
<relativePath>
../pom.xml
</relativePath>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
apollo-server
</artifactId>
<name>
Apollo Server
</name>
<artifactId>
apollo-
config
server
</artifactId>
<name>
Apollo
Config
Server
</name>
<dependencies>
<dependency>
<groupId>
com.ctrip.apollo
</groupId>
...
...
@@ -17,7 +17,7 @@
</dependency>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-
starter-config
</artifactId>
<artifactId>
spring-cloud-
config-server
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
apollo-
server/src/main/java/com/ctrip/apollo
/ConfigServerApplication.java
→
apollo-
configserver/src/main/java/com/ctrip/apollo/server
/ConfigServerApplication.java
View file @
86730ebe
package
com
.
ctrip
.
apollo
;
package
com
.
ctrip
.
apollo
.
server
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
...
...
apollo-server/src/main/resources/application.yml
→
apollo-
config
server/src/main/resources/application.yml
View file @
86730ebe
File moved
apollo-server/src/main/resources/bootstrap.yml
→
apollo-
config
server/src/main/resources/bootstrap.yml
View file @
86730ebe
File moved
apollo-metaserver/pom.xml
View file @
86730ebe
...
...
@@ -9,11 +9,28 @@
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
apollo-metaserver
</artifactId>
<name>
Apollo Meta
s
erver
</name>
<name>
Apollo Meta
S
erver
</name>
<dependencies>
<dependency>
<groupId>
com.ctrip.apollo
</groupId>
<artifactId>
apollo-core
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</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-metaserver/src/main/java/com/ctrip/apollo/metaserver/MetaServerApplication.java
0 → 100644
View file @
86730ebe
package
com
.
ctrip
.
apollo
.
metaserver
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
@SpringBootApplication
public
class
MetaServerApplication
{
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
MetaServerApplication
.
class
,
args
);
}
}
apollo-portal/pom.xml
View file @
86730ebe
...
...
@@ -15,5 +15,22 @@
<groupId>
com.ctrip.apollo
</groupId>
<artifactId>
apollo-core
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</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-portal/src/main/java/com/ctrip/apollo/portal/PortalApplication.java
0 → 100644
View file @
86730ebe
package
com
.
ctrip
.
apollo
.
portal
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
@SpringBootApplication
public
class
PortalApplication
{
public
static
void
main
(
String
[]
args
)
throws
Exception
{
SpringApplication
.
run
(
PortalApplication
.
class
,
args
);
}
}
apollo-portal/src/main/java/com/ctrip/apollo/portal/controller/SampleController.java
0 → 100644
View file @
86730ebe
package
com
.
ctrip
.
apollo
.
portal
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
@RestController
public
class
SampleController
{
@RequestMapping
(
"/"
)
public
String
home
()
{
return
"Hello World!"
;
}
}
pom.xml
View file @
86730ebe
...
...
@@ -11,7 +11,7 @@
<module>
apollo-core
</module>
<module>
apollo-metaserver
</module>
<module>
apollo-client
</module>
<module>
apollo-server
</module>
<module>
apollo-
config
server
</module>
<module>
apollo-portal
</module>
<module>
apollo-assembly
</module>
</modules>
...
...
@@ -34,7 +34,7 @@
</dependency>
<dependency>
<groupId>
com.ctrip.apollo
</groupId>
<artifactId>
apollo-server
</artifactId>
<artifactId>
apollo-
config
server
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment