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
aa3531f5
Commit
aa3531f5
authored
Nov 30, 2023
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(能源管理系统): 修改架构
1.修改架构添加cse; 2.修改各微服务服务名,启动验证,完成cse注册; BREAKING CHANGE: 无 Closes 无 [skip ci]
parent
95612579
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
111 deletions
+6
-111
C09-base/pps-core-base/src/main/java/pps/core/base/module/PpsCoreBaseModule.java
...src/main/java/pps/core/base/module/PpsCoreBaseModule.java
+0
-3
D03-deploy/deploy-pps-all/src/main/java/app/DeployPpsAllApplication.java
...oy-pps-all/src/main/java/app/DeployPpsAllApplication.java
+0
-5
D03-deploy/deploy-pps-gateway/src/main/java/app/DeployPpsGatewayApplication.java
...ateway/src/main/java/app/DeployPpsGatewayApplication.java
+1
-1
D03-deploy/deploy-pps-gateway/src/main/resources/application.yaml
...oy/deploy-pps-gateway/src/main/resources/application.yaml
+5
-102
No files found.
C09-base/pps-core-base/src/main/java/pps/core/base/module/PpsCoreBaseModule.java
View file @
aa3531f5
...
...
@@ -13,9 +13,6 @@ public class PpsCoreBaseModule extends XModule {
@Override
protected
void
onStarted
(
XContext
context
)
{
//XProviderManager.setDefaultImplement(context, XApiAccessLogProvider.class, PpsApiAccessLogProviderImpl.class);
//配置信息 自定义实现类
//XProviderManager.setDefaultImplement(context, XConfigProvider.class, PpsConfigProviderImpl.class);
ManifestComponentInfoHelper
.
init
(
this
.
getClass
().
getClassLoader
());
}
}
D03-deploy/deploy-pps-all/src/main/java/app/DeployPpsAllApplication.java
View file @
aa3531f5
...
...
@@ -15,7 +15,6 @@ import xstartup.feature.rpc.XRpcFeature;
import
xstartup.feature.swagger.XSwaggerFeature
;
import
xstartup.service.job.conf.XJobServiceConf
;
//import xstartup.feature.cloud.XCloudHuaweiCseFeature;
public
class
DeployPpsAllApplication
{
public
static
void
main
(
String
...
args
)
{
...
...
@@ -29,16 +28,12 @@ public class DeployPpsAllApplication {
startup
.
enable
(
XMybatisFeature
.
class
);
startup
.
enable
(
XRpcFeature
.
class
);
startup
.
enable
(
XCorsFeature
.
class
);
startup
.
enable
(
XJobFeature
.
class
).
config
(
new
XJobServiceConf
(
TestJob
.
class
));
startup
.
enable
(
XJobFeature
.
class
).
config
(
new
XJobServiceConf
(
WeatherJob
.
class
));
startup
.
enable
(
XJobFeature
.
class
).
config
(
new
XJobServiceConf
(
SpaceOptimizeLongJob
.
class
));
startup
.
enable
(
XJobFeature
.
class
).
config
(
new
XJobServiceConf
(
SpaceOptimizeMidJob
.
class
));
startup
.
enable
(
XJobFeature
.
class
).
config
(
new
XJobServiceConf
(
SpaceCalibrationJob
.
class
));
startup
.
enable
(
XJobFeature
.
class
).
config
(
new
XJobServiceConf
(
SpaceOptimizeShortJob
.
class
));
startup
.
enable
(
XJobFeature
.
class
).
config
(
new
XJobServiceConf
(
WeatherReceiveJob
.
class
));
startup
.
enable
(
XJobFeature
.
class
).
config
(
new
XJobServiceConf
(
PlantPredictedPowerLongTermDataJob
.
class
));
//startup.enable(XCloudHuaweiCseFeature.class);
startup
.
run
(
args
);
}
}
D03-deploy/deploy-pps-gateway/src/main/java/app/DeployPpsGatewayApplication.java
View file @
aa3531f5
...
...
@@ -14,7 +14,7 @@ import xstartup.feature.cloud.XCloudHuaweiCseGatewayFeature;
public
class
DeployPpsGatewayApplication
{
public
static
void
main
(
String
...
args
)
{
XStartup
startup
=
new
XStartupApplication
(
"pps"
);
startup
.
config
(
new
XServerConf
(
22068
).
naming
(
"pps-gateway
-service
"
));
startup
.
config
(
new
XServerConf
(
22068
).
naming
(
"pps-gateway"
));
startup
.
enable
(
XCloudHuaweiCseGatewayFeature
.
class
);
startup
.
run
(
args
);
}
...
...
D03-deploy/deploy-pps-gateway/src/main/resources/application.yaml
View file @
aa3531f5
server
:
port
:
10079
...
...
@@ -7,113 +6,17 @@ spring:
gateway
:
routes
:
-
id
:
pps-system
uri
:
lb://pps-
base-info
uri
:
lb://pps-
system
filters
:
-
name
:
governance
predicates
:
-
Path=/api/pps/system/**
-
id
:
pps-base
uri
:
lb://pps-base
-info
uri
:
lb://pps-base
filters
:
-
name
:
governance
predicates
:
-
Path=/api/pps/base/**
-
id
:
pps-common
uri
:
lb://pps-base-info
filters
:
-
name
:
governance
predicates
:
-
Path=/api/pps/common/**
-
id
:
pps-calc
uri
:
lb://pps-transportation-calc
filters
:
-
name
:
governance
predicates
:
-
Path=/api/pps/calc/**
-
id
:
pps-plan
uri
:
lb://pps-plan
filters
:
-
name
:
governance
predicates
:
-
Path=/api/pps/plan/**
-
id
:
pps-dispatch
uri
:
lb://pps-dispatch
filters
:
-
name
:
governance
predicates
:
-
Path=/api/pps/dispatch/**
-
id
:
pps-online
uri
:
lb://pps-into-production
filters
:
-
name
:
governance
predicates
:
-
Path=/api/pps/online/**
-
id
:
pps-energy
uri
:
lb://pps-energy-consumption
filters
:
-
name
:
governance
predicates
:
-
Path=/api/pps/energy/**
-
id
:
pps-measure
uri
:
lb://pps-measure
filters
:
-
name
:
governance
predicates
:
-
Path=/api/pps/measure/**
-
id
:
pps-frame
uri
:
lb://pps-base-frame
filters
:
-
name
:
governance
predicates
:
-
Path=/api/pps/baseframe/**
-
id
:
pps-bpm
uri
:
lb://pps-workflow
filters
:
-
name
:
governance
predicates
:
-
Path=/api/pps/primbpm/**
-
id
:
pps-interface
uri
:
lb://pps-interface
filters
:
-
name
:
governance
predicates
:
-
Path=/api/pps/interface/**
-
id
:
pps-analysis
uri
:
lb://pps-analysis
filters
:
-
name
:
governance
predicates
:
-
Path=/api/pps/analysis/**
-
id
:
pps-signature
uri
:
lb://pps-signature
filters
:
-
name
:
governance
predicates
:
-
Path=/api/pps/signature/**
-
id
:
pps-report
uri
:
lb://pps-report
filters
:
-
name
:
governance
predicates
:
-
Path=/api/pps/report/**
-
id
:
pps-interface
uri
:
lb://pps-interface
filters
:
-
name
:
governance
predicates
:
-
Path=/api/pps/iam/**
-
id
:
pps-transfer
uri
:
lb://pps-interface
filters
:
-
name
:
governance
predicates
:
-
Path=/api/pps/transfer/**
-
id
:
pps-mdm
uri
:
lb://pps-interface
filters
:
-
name
:
governance
predicates
:
-
Path=/api/pps/mdm/**
-
id
:
pps-ukey
uri
:
lb://pps-interface
filters
:
...
...
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