Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gf_back
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tianchao
gf_back
Commits
96ee12ef
Commit
96ee12ef
authored
Jun 28, 2024
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
都删了
parent
1606ba4f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
17 deletions
+6
-17
D03-deploy/deploy-pps-system/src/main/java/app/DeployPpsSystemApplication.java
...-system/src/main/java/app/DeployPpsSystemApplication.java
+5
-2
D03-deploy/filters/filter-dev.properties
D03-deploy/filters/filter-dev.properties
+1
-15
No files found.
D03-deploy/deploy-pps-system/src/main/java/app/DeployPpsSystemApplication.java
View file @
96ee12ef
package
app
;
package
app
;
import
pps.core.common.utils.CounterBuilder
;
import
xstartup.base.XStartup
;
import
xstartup.base.XStartup
;
import
xstartup.base.conf.XServerConf
;
import
xstartup.base.conf.XServerConf
;
import
xstartup.base.conf.XServiceConf
;
import
xstartup.base.conf.XServiceConf
;
...
@@ -9,7 +8,9 @@ import xstartup.boot.XStartupApplication;
...
@@ -9,7 +8,9 @@ import xstartup.boot.XStartupApplication;
import
xstartup.feature.XSwaggerDocFeature
;
import
xstartup.feature.XSwaggerDocFeature
;
import
xstartup.feature.api.XApiFeature
;
import
xstartup.feature.api.XApiFeature
;
import
xstartup.feature.api.conf.XApiCookieConf
;
import
xstartup.feature.api.conf.XApiCookieConf
;
import
xstartup.feature.api.conf.XApiDefaultProductConf
;
import
xstartup.feature.cloud.XCloudAlibabaFeature
;
import
xstartup.feature.cloud.XCloudAlibabaFeature
;
import
xstartup.feature.cors.XCorsFeature
;
import
xstartup.feature.mybatis.XMybatisFeature
;
import
xstartup.feature.mybatis.XMybatisFeature
;
import
xstartup.feature.rpc.XRpcFeature
;
import
xstartup.feature.rpc.XRpcFeature
;
...
@@ -21,16 +22,18 @@ import xstartup.feature.rpc.XRpcFeature;
...
@@ -21,16 +22,18 @@ import xstartup.feature.rpc.XRpcFeature;
*/
*/
public
class
DeployPpsSystemApplication
{
public
class
DeployPpsSystemApplication
{
public
static
void
main
(
String
...
args
)
{
public
static
void
main
(
String
...
args
)
{
CounterBuilder
.
globalCounterBuilder
.
setFieldValue
(
CounterBuilder
.
DEPLOY_KEY
,
DeployPpsSystemApplication
.
class
.
getSimpleName
());
XStartup
startup
=
new
XStartupApplication
(
"pps"
);
XStartup
startup
=
new
XStartupApplication
(
"pps"
);
startup
.
config
(
new
XServerConf
(
22061
).
naming
(
"pps-system"
))
startup
.
config
(
new
XServerConf
(
22061
).
naming
(
"pps-system"
))
.
config
(
new
XServiceConf
(
"pps"
));
.
config
(
new
XServiceConf
(
"pps"
));
startup
.
enable
(
XApiFeature
.
class
)
startup
.
enable
(
XApiFeature
.
class
)
.
config
(
new
XApiCookieConf
(
"%4bH8s9&"
,
43200
));
.
config
(
new
XApiCookieConf
(
"%4bH8s9&"
,
43200
));
startup
.
enable
(
XApiFeature
.
class
)
.
config
(
new
XApiDefaultProductConf
(
"pps"
));
startup
.
enable
(
XCloudAlibabaFeature
.
class
);
startup
.
enable
(
XCloudAlibabaFeature
.
class
);
startup
.
enable
(
XSwaggerDocFeature
.
class
);
startup
.
enable
(
XSwaggerDocFeature
.
class
);
startup
.
enable
(
XMybatisFeature
.
class
);
startup
.
enable
(
XMybatisFeature
.
class
);
startup
.
enable
(
XRpcFeature
.
class
);
startup
.
enable
(
XRpcFeature
.
class
);
startup
.
enable
(
XCorsFeature
.
class
);
startup
.
run
(
args
);
startup
.
run
(
args
);
}
}
}
}
D03-deploy/filters/filter-dev.properties
View file @
96ee12ef
x.server.port.all
=
10078
x.server.port.all
=
10078
x.server.port.gateway
=
10079
x.server.port.gateway
=
10079
x.server.port.calc
=
10081
x.server.port.dispatch
=
10082
x.server.port.energy
=
10083
x.server.port.measure
=
10084
x.server.port.online
=
10085
x.server.port.base
=
10086
x.server.port.base
=
10086
x.server.port.system
=
10087
x.server.port.system
=
10087
x.server.port.task
=
10088
x.server.port.task
=
10088
x.server.port.bpm
=
10089
x.server.port.frame
=
10090
x.server.port.plan
=
10091
x.server.port.analysis
=
10092
x.server.port.signature
=
10093
x.server.port.third-interface
=
10094
x.server.port.report
=
10095
x.server.port.space
=
10096
x.server.port.space
=
10096
x.server.port.prediction
=
10097
x.server.port.prediction
=
10097
x.server.host
=
127.0.0.1
x.server.host
=
127.0.0.1
...
@@ -52,10 +40,8 @@ x.log.directory=/home/pps/log
...
@@ -52,10 +40,8 @@ x.log.directory=/home/pps/log
# redis
# redis
x.cache.type
=
redis
x.cache.type
=
redis
#x.cache.host=81.70.29.235
x.cache.host
=
192.168.0.128
x.cache.host
=
127.0.0.1
x.cache.port
=
6379
x.cache.port
=
6379
#x.cache.auth=hswGaTeNb5MRc4zqyKM4zA==
x.cache.auth
=
BJ8HiKUS_Rg=
x.cache.auth
=
BJ8HiKUS_Rg=
x.cache.db
=
0
x.cache.db
=
0
...
...
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