记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
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
董敬伟
liquidnet-bus-v1
Commits
733d7898
Commit
733d7898
authored
Mar 18, 2024
by
姜秀龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kylin prod
parent
27440a57
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
74 additions
and
15 deletions
+74
-15
application-prod.yml
liquidnet-bus-config/liquidnet-config/application-prod.yml
+8
-8
liquidnet-service-kylin-prod.yml
...-config/liquidnet-config/liquidnet-service-kylin-prod.yml
+24
-0
bootstrap-dev.yml
...t-service-kylin-impl/src/main/resources/bootstrap-dev.yml
+2
-2
SweetMathUtil.java
...et/src/main/java/com/liquidnet/service/SweetMathUtil.java
+39
-4
application-dev.yml
...net-support-config/src/main/resources/application-dev.yml
+1
-1
No files found.
liquidnet-bus-config/liquidnet-config/application-prod.yml
View file @
733d7898
...
...
@@ -13,7 +13,7 @@ liquidnet:
refresh-ttl
:
525600
blacklist_grace_period
:
5
mysql
:
urlHostAndPort
:
pc-2ze6z2hxkug559q79.rwl
b.rds.aliyuncs.com:3306
urlHostAndPort
:
zhengzai.mysql.polard
b.rds.aliyuncs.com:3306
username
:
java
password
:
pOOs9Y3wj#2^
# rabbitmq:
...
...
@@ -29,7 +29,7 @@ liquidnet:
# password: Zhengzai@2021
# virtual-host: liquidnet
knife4j
:
disable
:
tru
e
disable
:
fals
e
redis
:
queue
:
database
:
254
...
...
@@ -39,19 +39,19 @@ liquidnet:
kylin
:
database
:
255
dbs
:
0,256
host
:
r-2zeptvg4cseyo6xp5d
.redis.rds.aliyuncs.com
host
:
adam-kylin
.redis.rds.aliyuncs.com
port
:
6380
password
:
java:4H%u6p^FcKZ0
goblin
:
database
:
255
dbs
:
0,256
host
:
r-2zeptvg4cseyo6xp5d
.redis.rds.aliyuncs.com
host
:
adam-kylin
.redis.rds.aliyuncs.com
port
:
6380
password
:
java:4H%u6p^FcKZ0
slime
:
database
:
255
dbs
:
0,256
host
:
r-2zeptvg4cseyo6xp5d
.redis.rds.aliyuncs.com
host
:
adam-kylin
.redis.rds.aliyuncs.com
port
:
6380
password
:
java:4H%u6p^FcKZ0
dragon
:
...
...
@@ -69,17 +69,17 @@ liquidnet:
adam
:
database
:
255
dbs
:
0,256
host
:
r-2zeptvg4cseyo6xp5d
.redis.rds.aliyuncs.com
host
:
adam-kylin
.redis.rds.aliyuncs.com
port
:
6380
password
:
java:4H%u6p^FcKZ0
candy
:
database
:
255
dbs
:
0,256
host
:
r-2zeptvg4cseyo6xp5d
.redis.rds.aliyuncs.com
host
:
adam-kylin
.redis.rds.aliyuncs.com
port
:
6380
password
:
java:4H%u6p^FcKZ0
mongodb
:
host
:
s-2ze1b710761e2914
.mongodb.rds.aliyuncs.com:3717,s-2zeb4ff1e4d5adc4
.mongodb.rds.aliyuncs.com:3717
host
:
s-2ze1b710761e2914
-pub
.mongodb.rds.aliyuncs.com:3717
port
:
3717
user
:
java
pwd
:
QKRh9oJ0X15R
...
...
liquidnet-bus-config/liquidnet-config/liquidnet-service-kylin-prod.yml
0 → 100644
View file @
733d7898
liquidnet
:
system
:
updating
:
switch
:
false
info
:
port
:
9002
context
:
/kylin
name
:
liquidnet-service-kylin
logfile
:
path
:
/data/logs
name
:
service-kylin
max-history
:
180
level
:
info
mysql
:
database-name
:
prod_ln_scene
mongodb
:
sslEnabled
:
false
database
:
prod_ln_scene
url-pay
:
pay
:
${liquidnet.service.kylin.url-pay.pay}
check
:
${liquidnet.service.kylin.url-pay.check}
localUrl
:
${liquidnet.service.kylin.url-pay.localUrl}
adam
:
url
:
${liquidnet.service.adam.url}
\ No newline at end of file
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/resources/bootstrap-dev.yml
View file @
733d7898
# begin-dev-这里是配置信息基本值
liquidnet
:
cloudConfig
:
profile
:
dev
profile
:
prod
security
:
username
:
user
password
:
user123
eureka
:
host
:
39.107.71.112
:7001
host
:
127.0.0.1
:7001
# end-dev-这里是配置信息基本值
spring
:
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/SweetMathUtil.java
View file @
733d7898
...
...
@@ -15,7 +15,7 @@ import lombok.extern.slf4j.Slf4j;
@Slf4j
public
class
SweetMathUtil
{
public
static
int
getIndex
(
String
key
){
log
.
debug
(
"MathUtil.getIndex key:{} hashcode:{}"
,
key
,
key
.
hashCode
());
//
log.debug("MathUtil.getIndex key:{} hashcode:{}",key,key.hashCode());
int
defaultDb
=
0
;
int
totalDbs
=
256
;
// totalDbs = 256;
...
...
@@ -40,10 +40,45 @@ public class SweetMathUtil {
public
static
void
main
(
String
[]
args
)
{
// 演出
// getIndex("kylin:performances:id:296290722991104003684701
");
getIndex
(
"kylin:performances:id:3593259032328560647540949
"
);
// getIndex("kylin:performances:roadShowId:5936345");
// getIndex("kylin:performances:roadShowId:570");
// getIndex("kylin:performances_inventory:ticket:id:245075780722810880782444:surplusGeneral");
/*getIndex("kylin:performances_inventory:ticket:id:3551230174352138247077490:surplusGeneral");288
getIndex("kylin:performances_inventory:ticket:id:3560082202906091524013435:surplusGeneral");305
getIndex("kylin:performances_inventory:ticket:id:3560083227952046083873656:surplusGeneral");285
getIndex("kylin:performances_inventory:ticket:id:3560086207501721601870456:surplusGeneral");436
getIndex("kylin:performances_inventory:ticket:id:3560170592074752006099398:surplusGeneral");54
getIndex("kylin:performances_inventory:ticket:id:3560179412654120965327900:surplusGeneral");55
getIndex("kylin:performances_inventory:ticket:id:3560184403037020165726408:surplusGeneral");87
getIndex("kylin:performances_inventory:ticket:id:3560191647858319365487317:surplusGeneral");83
getIndex("kylin:performances_inventory:ticket:id:3560224063117352965718068:surplusGeneral");93
getIndex("kylin:performances_inventory:ticket:id:3560176911968133124045953:surplusGeneral");53
getIndex("kylin:performances_inventory:ticket:id:3560181476922777601901633:surplusGeneral");82
getIndex("kylin:performances_inventory:ticket:id:3560191387014553606589458:surplusGeneral");89
getIndex("kylin:performances_inventory:ticket:id:3560085418972569601682003:surplusGeneral");300
getIndex("kylin:performances_inventory:ticket:id:3560170163542712329786572:surplusGeneral");394
getIndex("kylin:performances_inventory:ticket:id:3560177462051102729660448:surplusGeneral");54*/
// getIndex("kylin:order:id:3488285488526295048358426");
// getIndex("kylin:performances:notice");
// 快递
// getIndex("kylin:express:modules");
...
...
@@ -58,7 +93,7 @@ public class SweetMathUtil {
// getIndex("sweet:user:applet:unionid:oSpYSs1NH3glVRvVLNmUKqyjxKng");
// getIndex("sweet:user:applet:mobile:17638582147");
// basicServices
getIndex
(
"kylin:order:refund:address"
);
//
getIndex("kylin:order:refund:address");
// getIndex("basicServices:upushList:Android");
// getIndex("basicServices:zhengzaiAppVersionsAndroid");
...
...
liquidnet-bus-support/liquidnet-support-config/src/main/resources/application-dev.yml
View file @
733d7898
...
...
@@ -21,7 +21,7 @@ liquidnet:
# password: admin
config
:
# location: /Users/hujiachen/IdeaProjects/liquidnet-bus-v1/liquidnet-bus-config/liquidnet-config
location
:
/
app/suppor
t-config
location
:
/
Users/jiangxiulong/IdeaProjects/liquidnet-bus-v1/liquidnet-bus-config/liquidne
t-config
# end-dev-这里是配置信息基本值
spring
:
...
...
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