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
dee86712
Commit
dee86712
authored
Apr 28, 2016
by
Yiming Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move resource filter plugin into parent pom
parent
07227940
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
23 deletions
+20
-23
bootstrap.yml
apollo-adminservice/src/main/resources/bootstrap.yml
+5
-5
pom.xml
apollo-biz/pom.xml
+0
-8
CtripEurekaSettings.java
...java/com/ctrip/apollo/biz/eureka/CtripEurekaSettings.java
+4
-4
bootstrap.yml
apollo-configservice/src/main/resources/bootstrap.yml
+5
-5
pom.xml
pom.xml
+6
-1
No files found.
apollo-adminservice/src/main/resources/bootstrap.yml
View file @
dee86712
...
...
@@ -9,7 +9,7 @@ eureka:
ctrip
:
eureka
:
dev
:
http://${ctrip_eureka_dev:localhost}:8080/eureka/
fat
:
http://${ctrip_eureka_fat:localhost}:8080/eureka/
uat
:
http://${ctrip_eureka_uat:localhost}:8080/eureka/
pro
:
http://${ctrip_eureka_pro:localhost}:8080/eureka/
\ No newline at end of file
dev
:
${ctrip_eureka_dev}
fat
:
${ctrip_eureka_fat}
uat
:
${ctrip_eureka_uat}
pro
:
${ctrip_eureka_pro}
\ No newline at end of file
apollo-biz/pom.xml
View file @
dee86712
...
...
@@ -38,12 +38,4 @@
<scope>
test
</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>
src/main/resources
</directory>
<filtering>
true
</filtering>
</resource>
</resources>
</build>
</project>
apollo-biz/src/main/java/com/ctrip/apollo/biz/eureka/CtripEurekaSettings.java
View file @
dee86712
...
...
@@ -10,16 +10,16 @@ import com.ctrip.framework.foundation.Foundation;
@Component
public
class
CtripEurekaSettings
{
@Value
(
"${ctrip.eureka.dev:
localhost
}"
)
@Value
(
"${ctrip.eureka.dev:
http://localhost:8080/eureka
}"
)
private
String
devEureka
;
@Value
(
"${ctrip.eureka.fat:
localhost
}"
)
@Value
(
"${ctrip.eureka.fat:
http://localhost:8080/eureka
}"
)
private
String
fatEureka
;
@Value
(
"${ctrip.eureka.uat:
localhost
}"
)
@Value
(
"${ctrip.eureka.uat:
http://localhost:8080/eureka
}"
)
private
String
uatEureka
;
@Value
(
"${ctrip.eureka.pro:
localhost
}"
)
@Value
(
"${ctrip.eureka.pro:
http://localhost:8080/eureka
}"
)
private
String
proEureka
;
public
String
getDefaultEurekaUrl
(
String
zone
)
{
...
...
apollo-configservice/src/main/resources/bootstrap.yml
View file @
dee86712
...
...
@@ -10,7 +10,7 @@ eureka:
ctrip
:
eureka
:
dev
:
http://${ctrip_eureka_dev:localhost}:8080/eureka/
fat
:
http://${ctrip_eureka_fat:localhost}:8080/eureka/
uat
:
http://${ctrip_eureka_uat:localhost}:8080/eureka/
pro
:
http://${ctrip_eureka_pro:localhost}:8080/eureka/
\ No newline at end of file
dev
:
${ctrip_eureka_dev}
fat
:
${ctrip_eureka_fat}
uat
:
${ctrip_eureka_uat}
pro
:
${ctrip_eureka_pro}
\ No newline at end of file
pom.xml
View file @
dee86712
...
...
@@ -325,8 +325,13 @@
</configuration>
</plugin>
</plugins>
<resources>
<resource>
<directory>
src/main/resources
</directory>
<filtering>
true
</filtering>
</resource>
</resources>
</build>
<profiles>
<profile>
<id>
travis
</id>
...
...
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