提交 f1a20408 编写于 作者: ibizdev's avatar ibizdev

tony001 发布系统代码 [TrainSys,网页端]

上级 57089689
...@@ -55,12 +55,6 @@ ...@@ -55,12 +55,6 @@
git clone -b master $para2 trainsys/ git clone -b master $para2 trainsys/
export NODE_OPTIONS=--max-old-space-size=4096 export NODE_OPTIONS=--max-old-space-size=4096
cd trainsys/ cd trainsys/
mvn clean package -Ptrainsys
mvn install -Ptrainsys
cd trainsys-provider
mvn -Ptrainsys docker:build
mvn -Ptrainsys docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/trainsys-provider-trainsys.yaml ebsx --with-registry-auth
</command> </command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
......
...@@ -5296,6 +5296,23 @@ ...@@ -5296,6 +5296,23 @@
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
"enableConfirm" : true, "enableConfirm" : true,
"id" : "testMutiKey@Book" "id" : "testMutiKey@Book"
}, {
"actionTarget" : "NONE",
"caption" : "测试界面行为脚本",
"codeName" : "testscriptt",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_testscriptt",
"name" : "测试界面行为脚本",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('测试是否传了view', view);",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "testscriptt",
"uIActionType" : "DEUIACTION",
"id" : "testscriptt@Book"
}, { }, {
"actionTarget" : "SINGLEDATA", "actionTarget" : "SINGLEDATA",
"caption" : "界面逻辑", "caption" : "界面逻辑",
......
...@@ -150,54 +150,6 @@ ...@@ -150,54 +150,6 @@
}, },
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"caption" : "收缩",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "collapse",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_collapse"
},
"getPSUIAction" : {
"caption" : "收缩",
"codeName" : "Collapse",
"fullCodeName" : "Collapse",
"name" : "收缩",
"predefinedType" : "UTIL_COLLAPSE",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Collapse",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "收缩",
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "展开",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "expand",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_expand"
},
"getPSUIAction" : {
"caption" : "展开",
"codeName" : "Expand",
"fullCodeName" : "Expand",
"name" : "展开",
"predefinedType" : "UTIL_EXPAND",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Expand",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "展开",
"showCaption" : true,
"showIcon" : true
}, { }, {
"caption" : "全部收缩", "caption" : "全部收缩",
"groupExtractMode" : "ITEM", "groupExtractMode" : "ITEM",
...@@ -222,6 +174,153 @@ ...@@ -222,6 +174,153 @@
"tooltip" : "全部收缩", "tooltip" : "全部收缩",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"caption" : "这是分组1",
"itemType" : "ITEMS",
"name" : "items1",
"getPSDEToolbarItems" : [ {
"caption" : "测试2",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction2",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction2"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "测试界面行为脚本",
"codeName" : "testscriptt",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_testscriptt",
"name" : "测试界面行为脚本",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('测试是否传了view', view);",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "testscriptt",
"uIActionType" : "DEUIACTION",
"id" : "testscriptt@Book"
},
"tooltip" : "测试2",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "百度",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction3",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction3"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "百度",
"codeName" : "openBaidu",
"counterId" : "openBaidu",
"frontProcessType" : "OPENHTMLPAGE",
"fullCodeName" : "openBaidu",
"htmlPageUrl" : "https://www.baidu.com/",
"name" : "百度",
"getPSAppCounter" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCOUNTERS/UIActionCounter.json"
},
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "openBaidu",
"uIActionType" : "DEUIACTION"
},
"tooltip" : "百度",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "这是分组2",
"itemType" : "ITEMS",
"name" : "items2",
"getPSDEToolbarItems" : [ {
"caption" : "测试界面行为脚本",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction4",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction4"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "测试界面行为脚本",
"codeName" : "testscriptt",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_testscriptt",
"name" : "测试界面行为脚本",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('测试是否传了view', view);",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "testscriptt",
"uIActionType" : "DEUIACTION",
"id" : "testscriptt@Book"
},
"tooltip" : "测试界面行为脚本",
"uIActionTarget" : "NONE",
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "打开HTML界面",
"groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION",
"name" : "deuiaction7",
"noPrivDisplayMode" : 2,
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "toolbar_deuiaction7"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEDATA",
"caption" : "打开HTML界面",
"codeName" : "OpenHtml",
"frontProcessType" : "OPENHTMLPAGE",
"fullCodeName" : "Book_OpenHtml",
"htmlPageUrl" : "https://www.baidu.com",
"name" : "OpenHtml",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "OpenHtml",
"uIActionType" : "DEUIACTION",
"id" : "OpenHtml@Book"
},
"tooltip" : "打开HTML界面",
"uIActionTarget" : "SINGLEDATA",
"showCaption" : true,
"showIcon" : true
} ],
"tooltip" : "这是分组2",
"showCaption" : true,
"showIcon" : true
} ],
"getPSSysImage" : {
"cssClass" : "fa-solid fa-file-zipper"
},
"tooltip" : "这是分组1",
"showCaption" : true,
"showIcon" : true
}, { }, {
"caption" : "全部展开", "caption" : "全部展开",
"groupExtractMode" : "ITEM", "groupExtractMode" : "ITEM",
...@@ -246,6 +345,91 @@ ...@@ -246,6 +345,91 @@
"tooltip" : "全部展开", "tooltip" : "全部展开",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, {
"caption" : "界面行为组",
"groupExtractMode" : "ITEMX",
"itemType" : "ITEMS",
"name" : "items3",
"getPSUIActionGroup" : {
"codeName" : "Usr0822434654",
"name" : "测试折叠行为组",
"getPSUIActionGroupDetails" : [ {
"caption" : "收缩",
"detailType" : "DEUIACTION",
"name" : "u3fa3a61",
"getPSUIAction" : {
"caption" : "收缩",
"codeName" : "Collapse",
"fullCodeName" : "Collapse",
"name" : "收缩",
"predefinedType" : "UTIL_COLLAPSE",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Collapse",
"uIActionType" : "DEUIACTION"
},
"addSeparator" : false,
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "全部收缩",
"detailType" : "DEUIACTION",
"name" : "ucd03b62",
"getPSUIAction" : {
"caption" : "全部收缩",
"codeName" : "CollapseAll",
"fullCodeName" : "CollapseAll",
"name" : "全部收缩",
"predefinedType" : "UTIL_COLLAPSEALL",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "CollapseAll",
"uIActionType" : "DEUIACTION"
},
"addSeparator" : false,
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "展开",
"detailType" : "DEUIACTION",
"name" : "u64f00a7",
"getPSUIAction" : {
"caption" : "展开",
"codeName" : "Expand",
"fullCodeName" : "Expand",
"name" : "展开",
"predefinedType" : "UTIL_EXPAND",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "Expand",
"uIActionType" : "DEUIACTION"
},
"addSeparator" : false,
"showCaption" : true,
"showIcon" : true
}, {
"caption" : "全部展开",
"detailType" : "DEUIACTION",
"name" : "u2e9f042",
"getPSUIAction" : {
"caption" : "全部展开",
"codeName" : "ExpandAll",
"fullCodeName" : "ExpandAll",
"name" : "全部展开",
"predefinedType" : "UTIL_EXPANDALL",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "ExpandAll",
"uIActionType" : "DEUIACTION"
},
"addSeparator" : false,
"showCaption" : true,
"showIcon" : true
} ]
},
"tooltip" : "界面行为组",
"showCaption" : true,
"showIcon" : true
} ], } ],
"xDataControlName" : "grid", "xDataControlName" : "grid",
"modelid" : "164A847C-556E-46A7-B91E-38A63A3EFFC4", "modelid" : "164A847C-556E-46A7-B91E-38A63A3EFFC4",
......
...@@ -51030,6 +51030,8 @@ ...@@ -51030,6 +51030,8 @@
"id" : "TOOLBAR" "id" : "TOOLBAR"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"actionLevel" : 200,
"borderStyle" : "NONE",
"caption" : "最小化", "caption" : "最小化",
"groupExtractMode" : "ITEM", "groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION", "itemType" : "DEUIACTION",
...@@ -51040,8 +51042,7 @@ ...@@ -51040,8 +51042,7 @@
"id" : "toolbar_tbitem3" "id" : "toolbar_tbitem3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf1d9@FontAwesome", "cssClass" : "ribbon"
"cssClass" : "fa fa-send-o"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -51060,9 +51061,10 @@ ...@@ -51060,9 +51061,10 @@
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
"globalUIAction" : true "globalUIAction" : true
}, },
"tooltip" : "最小化", "tooltip" : "0123465",
"uIActionTarget" : "NONE", "uIActionTarget" : "NONE",
"showCaption" : false, "width" : 500.0,
"showCaption" : true,
"showIcon" : true "showIcon" : true
}, { }, {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -51105,7 +51107,7 @@ ...@@ -51105,7 +51107,7 @@
"lanResTag" : "TBB.TOOLTIP.EDITVIEW.SAVEANDNEW" "lanResTag" : "TBB.TOOLTIP.EDITVIEW.SAVEANDNEW"
}, },
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : false
}, { }, {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.EDITVIEW.SAVEANDCLOSE" "lanResTag" : "TBB.TEXT.EDITVIEW.SAVEANDCLOSE"
...@@ -51146,6 +51148,7 @@ ...@@ -51146,6 +51148,7 @@
"getTooltipPSLanguageRes" : { "getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.EDITVIEW.SAVEANDCLOSE" "lanResTag" : "TBB.TOOLTIP.EDITVIEW.SAVEANDCLOSE"
}, },
"width" : 300.0,
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, { }, {
...@@ -51779,6 +51782,8 @@ ...@@ -51779,6 +51782,8 @@
"id" : "TOOLBAR" "id" : "TOOLBAR"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"actionLevel" : 200,
"borderStyle" : "NONE",
"caption" : "最小化", "caption" : "最小化",
"groupExtractMode" : "ITEM", "groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION", "itemType" : "DEUIACTION",
...@@ -51789,8 +51794,7 @@ ...@@ -51789,8 +51794,7 @@
"id" : "toolbar_tbitem3" "id" : "toolbar_tbitem3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf1d9@FontAwesome", "cssClass" : "ribbon"
"cssClass" : "fa fa-send-o"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -51809,9 +51813,10 @@ ...@@ -51809,9 +51813,10 @@
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
"globalUIAction" : true "globalUIAction" : true
}, },
"tooltip" : "最小化", "tooltip" : "0123465",
"uIActionTarget" : "NONE", "uIActionTarget" : "NONE",
"showCaption" : false, "width" : 500.0,
"showCaption" : true,
"showIcon" : true "showIcon" : true
}, { }, {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -51854,7 +51859,7 @@ ...@@ -51854,7 +51859,7 @@
"lanResTag" : "TBB.TOOLTIP.EDITVIEW.SAVEANDNEW" "lanResTag" : "TBB.TOOLTIP.EDITVIEW.SAVEANDNEW"
}, },
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : false
}, { }, {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.EDITVIEW.SAVEANDCLOSE" "lanResTag" : "TBB.TEXT.EDITVIEW.SAVEANDCLOSE"
...@@ -51895,6 +51900,7 @@ ...@@ -51895,6 +51900,7 @@
"getTooltipPSLanguageRes" : { "getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.EDITVIEW.SAVEANDCLOSE" "lanResTag" : "TBB.TOOLTIP.EDITVIEW.SAVEANDCLOSE"
}, },
"width" : 300.0,
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, { }, {
...@@ -55220,6 +55226,8 @@ ...@@ -55220,6 +55226,8 @@
"id" : "TOOLBAR" "id" : "TOOLBAR"
}, },
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
"actionLevel" : 200,
"borderStyle" : "NONE",
"caption" : "最小化", "caption" : "最小化",
"groupExtractMode" : "ITEM", "groupExtractMode" : "ITEM",
"itemType" : "DEUIACTION", "itemType" : "DEUIACTION",
...@@ -55230,8 +55238,7 @@ ...@@ -55230,8 +55238,7 @@
"id" : "toolbar_tbitem3" "id" : "toolbar_tbitem3"
}, },
"getPSSysImage" : { "getPSSysImage" : {
"glyph" : "xf1d9@FontAwesome", "cssClass" : "ribbon"
"cssClass" : "fa fa-send-o"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "NONE",
...@@ -55250,9 +55257,10 @@ ...@@ -55250,9 +55257,10 @@
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
"globalUIAction" : true "globalUIAction" : true
}, },
"tooltip" : "最小化", "tooltip" : "0123465",
"uIActionTarget" : "NONE", "uIActionTarget" : "NONE",
"showCaption" : false, "width" : 500.0,
"showCaption" : true,
"showIcon" : true "showIcon" : true
}, { }, {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
...@@ -55295,7 +55303,7 @@ ...@@ -55295,7 +55303,7 @@
"lanResTag" : "TBB.TOOLTIP.EDITVIEW.SAVEANDNEW" "lanResTag" : "TBB.TOOLTIP.EDITVIEW.SAVEANDNEW"
}, },
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : false
}, { }, {
"getCapPSLanguageRes" : { "getCapPSLanguageRes" : {
"lanResTag" : "TBB.TEXT.EDITVIEW.SAVEANDCLOSE" "lanResTag" : "TBB.TEXT.EDITVIEW.SAVEANDCLOSE"
...@@ -55336,6 +55344,7 @@ ...@@ -55336,6 +55344,7 @@
"getTooltipPSLanguageRes" : { "getTooltipPSLanguageRes" : {
"lanResTag" : "TBB.TOOLTIP.EDITVIEW.SAVEANDCLOSE" "lanResTag" : "TBB.TOOLTIP.EDITVIEW.SAVEANDCLOSE"
}, },
"width" : 300.0,
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, { }, {
...@@ -99830,6 +99839,7 @@ ...@@ -99830,6 +99839,7 @@
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
}, { }, {
"caption" : "分组",
"itemType" : "ITEMS", "itemType" : "ITEMS",
"name" : "items1", "name" : "items1",
"getPSDEToolbarItems" : [ { "getPSDEToolbarItems" : [ {
...@@ -99869,6 +99879,7 @@ ...@@ -99869,6 +99879,7 @@
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
} ], } ],
"tooltip" : "分组",
"showCaption" : true, "showCaption" : true,
"showIcon" : true "showIcon" : true
} ], } ],
...@@ -109997,6 +110008,23 @@ ...@@ -109997,6 +110008,23 @@
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
"enableConfirm" : true, "enableConfirm" : true,
"id" : "testMutiKey@Book" "id" : "testMutiKey@Book"
}, {
"actionTarget" : "NONE",
"caption" : "测试界面行为脚本",
"codeName" : "testscriptt",
"frontProcessType" : "OTHER",
"fullCodeName" : "Book_testscriptt",
"name" : "测试界面行为脚本",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"scriptCode" : "console.log('测试是否传了view', view);",
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "testscriptt",
"uIActionType" : "DEUIACTION",
"id" : "testscriptt@Book"
}, { }, {
"actionTarget" : "SINGLEDATA", "actionTarget" : "SINGLEDATA",
"caption" : "界面逻辑", "caption" : "界面逻辑",
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<profiles> <profiles>
<profile> <profile>
<id>trainsys</id> <id>runtime</id>
<build> <build>
<resources> <resources>
<resource> <resource>
......
...@@ -10,6 +10,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \ ...@@ -10,6 +10,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \ sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Duser.timezone=$TZ -Djava.security.egd=file:/dev/./urandom -jar /trainsys-provider.jar java ${JAVA_OPTS} -Duser.timezone=$TZ -Djava.security.egd=file:/dev/./urandom -jar /trainsys-provider.jar
EXPOSE 50000 EXPOSE 8081
ADD trainsys-provider.jar /trainsys-provider.jar ADD trainsys-provider.jar /trainsys-provider.jar
...@@ -22,32 +22,7 @@ spec: ...@@ -22,32 +22,7 @@ spec:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 50000 - containerPort: 8081
env:
- name: SPRING_CLOUD_NACOS_DISCOVERY_IP
value: "172.16.240.140"
- name: SERVER_PORT
value: "50000"
- name: SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR
value: "172.16.240.140:8848"
- name: SPRING_REDIS_HOST
value: "127.0.0.1"
- name: SPRING_REDIS_PORT
value: "6379"
- name: SPRING_REDIS_DATABASE
value: "0"
- name: SPRING_DATASOURCE_USERNAME
value: "a_LAB01_d23cc850e"
- name: SPRING_DATASOURCE_PASSWORD
value: "f9Df4556"
- name: SPRING_DATASOURCE_URL
value: "jdbc:mysql://172.16.186.185:3306/a_LAB01_d23cc850e?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&serverTimezone=Asia/Shanghai&allowMultiQueries=true&serverTimezone=GMT%2B8"
- name: SPRING_DATASOURCE_DRIVER-CLASS-NAME
value: "com.mysql.jdbc.Driver"
- name: SPRING_DATASOURCE_DEFAULTSCHEMA
value: "a_LAB01_d23cc850e"
- name: NACOS
value: "172.16.240.140:8848"
--- ---
apiVersion: v1 apiVersion: v1
...@@ -60,9 +35,9 @@ spec: ...@@ -60,9 +35,9 @@ spec:
type: NodePort type: NodePort
ports: ports:
- name: http - name: http
port: 50000 port: 8081
targetPort: 50000 targetPort: 8081
nodePort: 50000 nodePort: 8081
protocol: TCP protocol: TCP
selector: selector:
app: trainsys-provider app: trainsys-provider
......
...@@ -3,23 +3,9 @@ services: ...@@ -3,23 +3,9 @@ services:
trainsys-provider: trainsys-provider:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest
ports: ports:
- "50000:50000" - "8081:8081"
networks: networks:
- agent_network - agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.140
- SERVER_PORT=50000
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.140:8848
- SPRING_CLOUD_NACOS_CONFIG_SERVER-ADDR=172.16.240.140:8848
- SPRING_REDIS_HOST=127.0.0.1
- SPRING_REDIS_PORT=6379
- SPRING_REDIS_DATABASE=0
- SPRING_DATASOURCE_USERNAME=a_LAB01_d23cc850e
- SPRING_DATASOURCE_PASSWORD=f9Df4556
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_d23cc850e?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&serverTimezone=Asia/Shanghai&allowMultiQueries=true&serverTimezone=GMT%2B8
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_d23cc850e
- NACOS=172.16.240.140:8848
deploy: deploy:
resources: resources:
limits: limits:
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册