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
82f2e6d9
Commit
82f2e6d9
authored
Mar 24, 2016
by
Yiming Liu
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #31 from nobodyiam/integration
integrate mysql and update meta address
parents
df7bb3ed
cb7de966
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
13 deletions
+14
-13
Version.java
...iz/src/main/java/com/ctrip/apollo/biz/entity/Version.java
+10
-9
ApolloConfigManager.java
...ain/java/com/ctrip/apollo/client/ApolloConfigManager.java
+1
-0
apollo.properties
apollo-client/src/main/resources/apollo.properties
+0
-2
MetaDomainConsts.java
...src/main/java/com/ctrip/apollo/core/MetaDomainConsts.java
+1
-1
apollo.properties
apollo-demo/src/main/resources/apollo.properties
+2
-1
No files found.
apollo-biz/src/main/java/com/ctrip/apollo/biz/entity/Version.java
View file @
82f2e6d9
...
...
@@ -22,7 +22,8 @@ public class Version {
private
long
appId
;
private
long
releaseId
;
private
long
parentVersion
;
//parent version could be null
private
Long
parentVersion
;
private
boolean
isDeleted
;
public
Version
()
{
...
...
@@ -60,14 +61,6 @@ public class Version {
this
.
releaseId
=
releaseId
;
}
public
long
getParentVersion
()
{
return
parentVersion
;
}
public
void
setParentVersion
(
long
parentVersion
)
{
this
.
parentVersion
=
parentVersion
;
}
public
boolean
isDeleted
()
{
return
isDeleted
;
}
...
...
@@ -75,4 +68,12 @@ public class Version {
public
void
setDeleted
(
boolean
deleted
)
{
isDeleted
=
deleted
;
}
public
Long
getParentVersion
()
{
return
parentVersion
;
}
public
void
setParentVersion
(
Long
parentVersion
)
{
this
.
parentVersion
=
parentVersion
;
}
}
apollo-client/src/main/java/com/ctrip/apollo/client/ApolloConfigManager.java
View file @
82f2e6d9
...
...
@@ -135,6 +135,7 @@ public class ApolloConfigManager implements BeanDefinitionRegistryPostProcessor,
if
(
this
.
scope
==
null
)
{
logger
.
error
(
"Could not get refresh scope object, skip refresh beans"
);
return
;
}
this
.
scope
.
refreshAll
();
...
...
apollo-client/src/main/resources/apollo.properties
View file @
82f2e6d9
app.id
=
101
version
=
1.0
env
=
local
\ No newline at end of file
apollo-core/src/main/java/com/ctrip/apollo/core/MetaDomainConsts.java
View file @
82f2e6d9
...
...
@@ -12,7 +12,7 @@ public class MetaDomainConsts {
public
static
final
String
LOCAL
=
"http://localhost"
+
"/"
+
DEFAULT_PORT
;
public
static
final
String
DEV
=
"http://
ws.meta.apollo.fx.dev.nt.ctripcorp.com
"
+
"/"
+
DEFAULT_PORT
;
"http://
10.3.2.56
"
+
"/"
+
DEFAULT_PORT
;
public
static
final
String
FAT
=
"http://ws.meta.apollo.fx.fat.nt.ctripcorp.com"
+
"/"
+
DEFAULT_PORT
;
...
...
apollo-demo/src/main/resources/apollo.properties
View file @
82f2e6d9
app
I
d
=
102
app
.i
d
=
102
version
=
1.0
env
=
dev
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