Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
5e22b1d7
Commit
5e22b1d7
authored
Dec 14, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
seata
parent
d0068207
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
83 deletions
+19
-83
bootstrap.yml
ace-auth/ace-auth-server/src/main/resources/bootstrap.yml
+1
-1
registry.conf
...ivity/xx-activity-server/src/main/resources/registry.conf
+8
-38
OrderFeign.java
...c/main/java/com/xxfc/platform/order/feign/OrderFeign.java
+0
-4
bootstrap.yml
...ehicle/xx-vehicle-server/src/main/resources/bootstrap.yml
+1
-1
file.conf
xx-vehicle/xx-vehicle-server/src/main/resources/file.conf
+1
-1
registry.conf
...ehicle/xx-vehicle-server/src/main/resources/registry.conf
+8
-38
No files found.
ace-auth/ace-auth-server/src/main/resources/bootstrap.yml
View file @
5e22b1d7
...
...
@@ -13,7 +13,7 @@ spring:
cloud
:
nacos
:
config
:
server-addr
:
1
0.5.52.4
:8848
server-addr
:
1
27.0.0.1
:8848
#共用配置,暂定一个
shared-dataids
:
common-dev.yaml
---
...
...
xx-activity/xx-activity-server/src/main/resources/registry.conf
View file @
5e22b1d7
registry
{
# file 、nacos 、eureka、redis、zk
type
=
"
file
"
# file 、nacos 、eureka、redis、zk
、consul、etcd3、sofa
type
=
"
nacos
"
nacos
{
serverAddr
=
"
localhost
"
serverAddr
=
"
127.0.0.1
"
namespace
=
""
cluster
=
"default"
}
eureka
{
serviceUrl
=
"http://localhost:1001/eureka"
application
=
"default"
weight
=
"1"
}
redis
{
serverAddr
=
"localhost:6381"
db
=
"0"
}
zk
{
cluster
=
"default"
serverAddr
=
"127.0.0.1:2181"
session
.
timeout
=
6000
connect
.
timeout
=
2000
}
file
{
name
=
"file.conf"
}
}
config
{
# file、nacos 、apollo、zk
type
=
"
file
"
# file、nacos 、apollo、zk
、consul、etcd3
type
=
"
nacos
"
nacos
{
serverAddr
=
"
localhost
"
serverAddr
=
"
127.0.0.1
"
namespace
=
""
cluster
=
"default"
}
apollo
{
app
.
id
=
"fescar-server"
apollo
.
meta
=
"http://192.168.1.204:8801"
}
zk
{
serverAddr
=
"127.0.0.1:2181"
session
.
timeout
=
6000
connect
.
timeout
=
2000
}
file
{
name
=
"file.conf"
}
}
\ No newline at end of file
}
xx-order/xx-order-api/src/main/java/com/xxfc/platform/order/feign/OrderFeign.java
View file @
5e22b1d7
package
com
.
xxfc
.
platform
.
order
.
feign
;
import
com.github.wxiaoqi.security.auth.client.annotation.IgnoreClientToken
;
import
com.github.wxiaoqi.security.auth.client.annotation.IgnoreUserToken
;
import
com.github.wxiaoqi.security.common.msg.ObjectRestResponse
;
import
com.xxfc.platform.order.pojo.dto.OrderDTO
;
import
com.xxfc.platform.order.pojo.order.OrderPageVO
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
java.util.List
;
...
...
xx-vehicle/xx-vehicle-server/src/main/resources/bootstrap.yml
View file @
5e22b1d7
...
...
@@ -23,7 +23,7 @@ spring:
cloud
:
nacos
:
config
:
server-addr
:
1
0.5.52.4
:8848
server-addr
:
1
27.0.0.1
:8848
#共用配置,暂定一个
shared-dataids
:
common-dev.yaml,mongodb-log-dev.yaml
...
...
xx-vehicle/xx-vehicle-server/src/main/resources/file.conf
View file @
5e22b1d7
...
...
@@ -31,7 +31,7 @@ service {
#vgroup->rgroup
vgroup_mapping
.
vehicle_tx_group
=
"default"
#only support single node
default
.
grouplist
=
"1
0.5.52.4
:8091"
default
.
grouplist
=
"1
27.0.0.1
:8091"
#degrade current not support
enableDegrade
=
false
#disable
...
...
xx-vehicle/xx-vehicle-server/src/main/resources/registry.conf
View file @
5e22b1d7
registry
{
# file 、nacos 、eureka、redis、zk
type
=
"
file
"
# file 、nacos 、eureka、redis、zk
、consul、etcd3、sofa
type
=
"
nacos
"
nacos
{
serverAddr
=
"
localhost
"
serverAddr
=
"
127.0.0.1
"
namespace
=
""
cluster
=
"default"
}
eureka
{
serviceUrl
=
"http://localhost:1001/eureka"
application
=
"default"
weight
=
"1"
}
redis
{
serverAddr
=
"localhost:6381"
db
=
"0"
}
zk
{
cluster
=
"default"
serverAddr
=
"127.0.0.1:2181"
session
.
timeout
=
6000
connect
.
timeout
=
2000
}
file
{
name
=
"file.conf"
}
}
config
{
# file、nacos 、apollo、zk
type
=
"
file
"
# file、nacos 、apollo、zk
、consul、etcd3
type
=
"
nacos
"
nacos
{
serverAddr
=
"
localhost
"
serverAddr
=
"
127.0.0.1
"
namespace
=
""
cluster
=
"default"
}
apollo
{
app
.
id
=
"fescar-server"
apollo
.
meta
=
"http://192.168.1.204:8801"
}
zk
{
serverAddr
=
"127.0.0.1:2181"
session
.
timeout
=
6000
connect
.
timeout
=
2000
}
file
{
name
=
"file.conf"
}
}
\ No newline at end of file
}
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