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

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

上级 1a679dd0
...@@ -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>
......
...@@ -5987,6 +5987,12 @@ ...@@ -5987,6 +5987,12 @@
"name" : "搜索表单无按钮", "name" : "搜索表单无按钮",
"realModelSubType" : "DEGRIDVIEW", "realModelSubType" : "DEGRIDVIEW",
"realModelType" : "PSDEVIEWBASE" "realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "EditView4",
"logicName" : "布局闪烁确认-编辑4",
"name" : "布局闪烁确认-编辑4",
"realModelSubType" : "DEEDITVIEW4",
"realModelType" : "PSDEVIEWBASE"
}, { }, {
"codeName" : "PickupView", "codeName" : "PickupView",
"logicName" : "测试实体实体数据选择视图", "logicName" : "测试实体实体数据选择视图",
......
...@@ -1582,16 +1582,16 @@ ...@@ -1582,16 +1582,16 @@
"codeName" : "VMGroup2", "codeName" : "VMGroup2",
"name" : "视图消息组2", "name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息2", "name" : "视图消息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg3" "id" : "ViewMsg2"
} }
}, { }, {
"name" : "视图消息", "name" : "视图消息2",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg2" "id" : "ViewMsg3"
} }
} ] } ]
}, { }, {
......
...@@ -6335,6 +6335,10 @@ ...@@ -6335,6 +6335,10 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTUsr12EditView_1918.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTUsr12EditView_1918.json",
"viewType" : "DEEDITVIEW" "viewType" : "DEEDITVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTEditView4.json",
"viewType" : "DEEDITVIEW4"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTabExpView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTabExpView.json",
......
...@@ -4079,6 +4079,28 @@ ...@@ -4079,6 +4079,28 @@
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"tooltip" : "分页导航" "tooltip" : "分页导航"
}, {
"accUserMode" : 2,
"caption" : "编辑4",
"itemType" : "MENUITEM",
"name" : "menuitem189",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc112"
},
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "编辑4"
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"childColLG" : -1, "childColLG" : -1,
......
...@@ -1811,6 +1811,16 @@ ...@@ -1811,6 +1811,16 @@
"id" : "UsrAppFunc0129051501" "id" : "UsrAppFunc0129051501"
}, },
"tooltip" : "分页导航" "tooltip" : "分页导航"
}, {
"accUserMode" : 2,
"caption" : "编辑4",
"itemType" : "MENUITEM",
"name" : "menuitem189",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc112"
},
"tooltip" : "编辑4"
} ], } ],
"tooltip" : "测试闪烁" "tooltip" : "测试闪烁"
} ], } ],
......
...@@ -1479,6 +1479,90 @@ ...@@ -1479,6 +1479,90 @@
"uniqueTag" : "TESTUsr01294676TabExpView__tabexppanel", "uniqueTag" : "TESTUsr01294676TabExpView__tabexppanel",
"modelid" : "385f739a768b73a1e3a307bfeafb80b7", "modelid" : "385f739a768b73a1e3a307bfeafb80b7",
"modeltype" : "PSDEDRTAB" "modeltype" : "PSDEDRTAB"
}, {
"codeName" : "Default",
"controlType" : "DRTAB",
"editItemCaption" : "测试实体",
"name" : "drtab",
"getPSAppCounterRef" : {
"modelref" : true,
"id" : "c0738c9dec0bd355f3062df0532aeb37"
},
"getPSAppCounterRefs" : [ {
"getPSAppCounter" : {
"codeName" : "Custom",
"counterType" : "DEDR",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPCOUNTERS/Custom.json",
"getGetPSAppDEAction" : {
"modelref" : true,
"id" : "Counter"
},
"name" : "自定义计数器",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
},
"timer" : 1000
},
"refMode" : {
"srfdeid" : "TEST"
},
"tag" : "c0738c9dec0bd355f3062df0532aeb37",
"id" : "c0738c9dec0bd355f3062df0532aeb37"
} ],
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/TEST.json"
},
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
"id" : "drtab"
},
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "DRTAB"
},
"getPSDEDRTabPages" : [ {
"caption" : "测试实体实体表格视图",
"counterId" : "num1",
"name" : "dritem1",
"getPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTGridView.json",
"viewType" : "DEGRIDVIEW"
}
}, {
"caption" : "模拟表格视图",
"counterId" : "num2",
"name" : "dritem2",
"getPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTCustomGridView.json",
"viewType" : "DECUSTOMVIEW"
}
}, {
"caption" : "书实体数据视图测试",
"counterId" : "num3",
"name" : "dritem3",
"getPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/bookUsr2DataView.json",
"viewType" : "DEDATAVIEW"
}
}, {
"caption" : "测试实体实体编辑视图(简单表单)",
"counterId" : "num4",
"name" : "dritem4",
"getPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTUsr6EditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"uniqueTag" : "TESTEditView4__drtab",
"modelid" : "385f739a768b73a1e3a307bfeafb80b7",
"modeltype" : "PSDEDRTAB"
}, { }, {
"codeName" : "TabExpViewtabexppanel", "codeName" : "TabExpViewtabexppanel",
"controlType" : "TABEXPPANEL", "controlType" : "TABEXPPANEL",
......
...@@ -4401,6 +4401,16 @@ ...@@ -4401,6 +4401,16 @@
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTUsr2KanbanView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTUsr2KanbanView.json",
"viewType" : "DEKANBANVIEW" "viewType" : "DEKANBANVIEW"
} }
}, {
"appFuncType" : "APPVIEW",
"codeName" : "AppFunc112",
"name" : "布局闪烁确认-编辑4",
"openMode" : "INDEXVIEWTAB",
"getPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTEditView4.json",
"viewType" : "DEEDITVIEW4"
}
}, { }, {
"appFuncType" : "APPVIEW", "appFuncType" : "APPVIEW",
"codeName" : "UsrAppFunc0104501324", "codeName" : "UsrAppFunc0104501324",
...@@ -13038,16 +13048,16 @@ ...@@ -13038,16 +13048,16 @@
"codeName" : "VMGroup2", "codeName" : "VMGroup2",
"name" : "视图消息组2", "name" : "视图消息组2",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "视图消息2", "name" : "视图消息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg3" "id" : "ViewMsg2"
} }
}, { }, {
"name" : "视图消息", "name" : "视图消息2",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg2" "id" : "ViewMsg3"
} }
} ] } ]
}, { }, {
...@@ -13076,10 +13086,10 @@ ...@@ -13076,10 +13086,10 @@
"codeName" : "VMGroup3", "codeName" : "VMGroup3",
"name" : "视图消息类型测试", "name" : "视图消息类型测试",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "消息类型-常规信息", "name" : "消息类型-错误信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg4" "id" : "ViewMsg6"
} }
}, { }, {
"name" : "消息类型-警告信息", "name" : "消息类型-警告信息",
...@@ -13088,10 +13098,10 @@ ...@@ -13088,10 +13098,10 @@
"id" : "ViewMsg5" "id" : "ViewMsg5"
} }
}, { }, {
"name" : "消息类型-错误信息", "name" : "消息类型-常规信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg6" "id" : "ViewMsg4"
} }
} ] } ]
}, { }, {
...@@ -13120,44 +13130,38 @@ ...@@ -13120,44 +13130,38 @@
"id" : "ViewMsg10" "id" : "ViewMsg10"
} }
}, { }, {
"name" : "消息位置-视图上方", "name" : "消息位置-视图内容区",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg7" "id" : "ViewMsg9"
} }
}, { }, {
"name" : "消息位置-视图内容区", "name" : "消息位置-视图上方",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg9" "id" : "ViewMsg7"
} }
} ] } ]
}, { }, {
"codeName" : "VMGroup8", "codeName" : "VMGroup8",
"name" : "【静态测试】", "name" : "【静态测试】",
"getPSAppViewMsgGroupDetails" : [ { "getPSAppViewMsgGroupDetails" : [ {
"name" : "消息位置-视图内容区",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg9"
}
}, {
"name" : "关闭模式-默认删除-上方-错误", "name" : "关闭模式-默认删除-上方-错误",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg12" "id" : "ViewMsg12"
} }
}, { }, {
"name" : "关闭模式-本次删除-上方-警告", "name" : "消息位置-视图内容区",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg13" "id" : "ViewMsg9"
} }
}, { }, {
"name" : "消息位置-视图下方", "name" : "关闭模式-本次删除-上方-警告",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg8" "id" : "ViewMsg13"
} }
}, { }, {
"name" : "消息类型-错误信息", "name" : "消息类型-错误信息",
...@@ -13167,12 +13171,17 @@ ...@@ -13167,12 +13171,17 @@
}, },
"position" : "POPUP" "position" : "POPUP"
}, { }, {
"name" : "消息类型-警告信息", "name" : "消息位置-视图下方",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg5" "id" : "ViewMsg8"
}, }
"position" : "POPUP" }, {
"name" : "关闭模式-无删除-上方-常规",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg11"
}
}, { }, {
"name" : "消息类型-常规信息", "name" : "消息类型-常规信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
...@@ -13181,11 +13190,12 @@ ...@@ -13181,11 +13190,12 @@
}, },
"position" : "POPUP" "position" : "POPUP"
}, { }, {
"name" : "关闭模式-无删除-上方-常规", "name" : "消息类型-警告信息",
"getPSAppViewMsg" : { "getPSAppViewMsg" : {
"modelref" : true, "modelref" : true,
"id" : "ViewMsg11" "id" : "ViewMsg5"
} },
"position" : "POPUP"
} ] } ]
}, { }, {
"codeName" : "VMGroup5", "codeName" : "VMGroup5",
...@@ -13587,6 +13597,12 @@ ...@@ -13587,6 +13597,12 @@
"viewType" : "DETREEEXPVIEW", "viewType" : "DETREEEXPVIEW",
"resource" : "Pay", "resource" : "Pay",
"view" : "Usr10128787TreeExpView" "view" : "Usr10128787TreeExpView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTEditView4.json",
"viewType" : "DEEDITVIEW4",
"resource" : "TEST",
"view" : "EditView4"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/RealEstateEditView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/RealEstateEditView.json",
...@@ -20463,6 +20479,28 @@ ...@@ -20463,6 +20479,28 @@
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"tooltip" : "分页导航" "tooltip" : "分页导航"
}, {
"accUserMode" : 2,
"caption" : "编辑4",
"itemType" : "MENUITEM",
"name" : "menuitem189",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc112"
},
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "编辑4"
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"childColLG" : -1, "childColLG" : -1,
...@@ -66329,6 +66367,10 @@ ...@@ -66329,6 +66367,10 @@
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTUsr12EditView_1918.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTUsr12EditView_1918.json",
"viewType" : "DEEDITVIEW" "viewType" : "DEEDITVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTEditView4.json",
"viewType" : "DEEDITVIEW4"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTabExpView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTTabExpView.json",
...@@ -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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册