Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
ca6706bf
提交
ca6706bf
编写于
4月 23, 2024
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [TrainSys,网页端]
上级
03635d6f
变更
8
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
1334 行增加
和
61 行删除
+1334
-61
config.xml
config.xml
+0
-6
Student.json
.../PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student.json
+443
-3
Student.json
...lab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json
+442
-3
PSSYSAPP.json
...ces/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
+442
-3
pom.xml
trainsys-provider/pom.xml
+1
-1
Dockerfile
trainsys-provider/src/main/docker/Dockerfile
+1
-1
trainsys-provider-trainsys-k8s.yaml
...vider/src/main/docker/trainsys-provider-trainsys-k8s.yaml
+4
-29
trainsys-provider-trainsys.yaml
...-provider/src/main/docker/trainsys-provider-trainsys.yaml
+1
-15
未找到文件。
config.xml
浏览文件 @
ca6706bf
...
...
@@ -55,12 +55,6 @@
git clone -b master $para2 trainsys/
export NODE_OPTIONS=--max-old-space-size=4096
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>
</hudson.tasks.Shell>
</builders>
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student.json
浏览文件 @
ca6706bf
...
...
@@ -1491,6 +1491,346 @@
"requestPath"
:
"/select"
,
"builtinMethod"
:
false
}
],
"getAllPSAppDEUIActions"
:
[
{
"actionTarget"
:
"NONE"
,
"caption"
:
"编辑"
,
"codeName"
:
"portlet_edit"
,
"frontProcessType"
:
"EDITFORM"
,
"fullCodeName"
:
"Student_portlet_edit"
,
"name"
:
"门户行为组编辑"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student.json"
},
"getPSDEEditForm"
:
{
"codeName"
:
"Test_portlet_form"
,
"controlType"
:
"FORM"
,
"getCreatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"create"
,
"actionName"
:
"Create"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"create"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Create"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student.json"
}
},
"defaultLabelWidth"
:
130
,
"dynaModelFilePath"
:
"PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student/PSFORMS/Test_portlet_form.json"
,
"getGetDraftFromPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"loaddraftfrom"
,
"actionName"
:
"GETDRAFTFROM"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"loaddraftfrom"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student.json"
}
},
"getGetDraftPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"loaddraft"
,
"actionName"
:
"GetDraft"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"loaddraft"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"GetDraft"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student.json"
}
},
"getGetPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"load"
,
"actionName"
:
"Get"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"READ"
,
"name"
:
"load"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Get"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student.json"
}
},
"logicName"
:
"测试门户数据表单"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student.json"
},
"getPSControlHandler"
:
{
"getPSHandlerActions"
:
[
{
"actionName"
:
"GetDraft"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"loaddraft"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"GetDraft"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student.json"
}
},
{
"actionName"
:
"GETDRAFTFROM"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"loaddraftfrom"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student.json"
}
},
{
"actionName"
:
"Get"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"READ"
,
"name"
:
"load"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Get"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student.json"
}
},
{
"actionName"
:
"Create"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"create"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Create"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student.json"
}
},
{
"actionName"
:
"Update"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"UPDATE"
,
"name"
:
"update"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Update"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student.json"
}
},
{
"actionName"
:
"Remove"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"DELETE"
,
"name"
:
"remove"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Remove"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student.json"
}
}
],
"enableDEFieldPrivilege"
:
false
,
"id"
:
"编辑表单处理器"
},
"getPSControlParam"
:
{
"autoLoad"
:
true
,
"showBusyIndicator"
:
true
,
"id"
:
"form"
},
"getPSDEFormItems"
:
[
{
"id"
:
"srfupdatedate"
,
"hidden"
:
true
,
"dataType"
:
5
,
"getPSAppDEField"
:
{
"name"
:
"UPDATEDATE"
,
"codeName"
:
"UpdateDate"
}
},
{
"id"
:
"srforikey"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"srfkey"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"STUDENTID"
,
"codeName"
:
"StudentId"
}
},
{
"id"
:
"srfmajortext"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"STUDENTNAME"
,
"codeName"
:
"StudentName"
}
},
{
"id"
:
"srftempmode"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"srfuf"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"srfdeid"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"srfsourcekey"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"name"
,
"dataType"
:
25
},
{
"id"
:
"studentid"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"STUDENTID"
,
"codeName"
:
"StudentId"
}
}
],
"getPSDEFormPages"
:
[
{
"caption"
:
"基本信息"
,
"codeName"
:
"formpage1"
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMPAGE"
,
"name"
:
"formpage1"
,
"getPSDEFormDetails"
:
[
{
"caption"
:
"名称"
,
"codeName"
:
"name"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"name"
:
"name"
,
"noPrivDisplayMode"
:
1
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"name"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
"caption"
:
"学生标识"
,
"codeName"
:
"studentid"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"name"
:
"studentid"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"STUDENTID"
,
"codeName"
:
"StudentId"
},
"getPSEditor"
:
{
"editorType"
:
"HIDDEN"
,
"name"
:
"studentid"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"allowEmpty"
:
true
,
"hidden"
:
true
,
"showCaption"
:
true
}
],
"getPSLayout"
:
{
"childColLG"
:
-1
,
"childColMD"
:
24
,
"childColSM"
:
-1
,
"childColXS"
:
-1
,
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"infoGroupMode"
:
false
}
],
"getPSLayout"
:
{
"childColLG"
:
-1
,
"childColMD"
:
24
,
"childColSM"
:
-1
,
"childColXS"
:
-1
,
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getRemovePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"remove"
,
"actionName"
:
"Remove"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"DELETE"
,
"name"
:
"remove"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Remove"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student.json"
}
},
"tabHeaderPos"
:
"TOP"
,
"getUpdatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"update"
,
"actionName"
:
"Update"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"UPDATE"
,
"name"
:
"update"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Update"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student.json"
}
},
"noTabHeader"
:
true
,
"name"
:
"form"
,
"modelid"
:
"398C8A43-2882-4943-AC1E-7D254D0A5183"
,
"modeltype"
:
"PSDEFORM_EDITFORM"
},
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"portlet_edit"
,
"uIActionType"
:
"DEUIACTION"
,
"globalUIAction"
:
true
,
"id"
:
"portlet_edit@Student"
}
],
"getAllPSAppDEUILogics"
:
[
{
"codeName"
:
"calc_portlet_data"
,
"defaultParamName"
:
"Default"
,
...
...
@@ -1516,12 +1856,83 @@
"topPos"
:
200
,
"parallelOutput"
:
true
},
{
"code"
:
"console.log(222)"
,
"codeName"
:
"END1"
,
"leftPos"
:
1206
,
"logicNodeType"
:
"END"
,
"name"
:
"结束"
,
"topPos"
:
200
},
{
"code"
:
"uiLogic.data.name=uiLogic.studentGridView.model.caption;"
,
"codeName"
:
"RAWJSCODE1"
,
"leftPos"
:
42
0
,
"leftPos"
:
36
0
,
"logicNodeType"
:
"RAWJSCODE"
,
"name"
:
"注入脚本代码"
,
"topPos"
:
210
"getPSDEUILogicLinks"
:
[
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"DEUIACTION1"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"RAWJSCODE1"
}
}
],
"topPos"
:
208
},
{
"code"
:
"console.log(222)"
,
"codeName"
:
"RAWJSCODE2"
,
"leftPos"
:
922
,
"logicNodeType"
:
"RAWJSCODE"
,
"name"
:
"注入脚本代码"
,
"getPSDEUILogicLinks"
:
[
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"END1"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"RAWJSCODE2"
}
}
],
"topPos"
:
208
},
{
"codeName"
:
"DEUIACTION1"
,
"getDstPSAppDEUIAction"
:
{
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student.json"
},
"modelref"
:
true
,
"id"
:
"portlet_edit@Student"
},
"getDstPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/TemplatePublish/PSAPPDATAENTITIES/Student.json"
},
"getDstPSDEUILogicParam"
:
{
"modelref"
:
true
,
"id"
:
"data"
},
"leftPos"
:
662
,
"logicNodeType"
:
"DEUIACTION"
,
"name"
:
"界面行为"
,
"getPSDEUILogicLinks"
:
[
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"RAWJSCODE2"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"DEUIACTION1"
}
}
],
"topPos"
:
208
}
],
"getPSDEUILogicParams"
:
[
{
"codeName"
:
"data"
,
...
...
@@ -1529,6 +1940,35 @@
"name"
:
"输入数据"
,
"entityParam"
:
true
},
{
"codeName"
:
"studentGridView"
,
"logicName"
:
"门户嵌入视图"
,
"name"
:
"门户嵌入视图"
,
"ctrlParam"
:
true
},
{
"codeName"
:
"Default"
,
"logicName"
:
"传入变量"
,
"name"
:
"传入变量"
,
"default"
:
true
,
"entityParam"
:
true
}
],
"getStartPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Begin"
}
},
{
"codeName"
:
"calc_portlet_form_data"
,
"defaultParamName"
:
"Default"
,
"logicName"
:
"计算门户表单返回数据"
,
"name"
:
"计算门户表单返回数据"
,
"getPSDEUILogicNodes"
:
[
{
"codeName"
:
"Begin"
,
"leftPos"
:
200
,
"logicNodeType"
:
"BEGIN"
,
"name"
:
"开始"
,
"topPos"
:
200
,
"parallelOutput"
:
true
}
],
"getPSDEUILogicParams"
:
[
{
"codeName"
:
"Default"
,
"logicName"
:
"传入变量"
,
"name"
:
"传入变量"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json
浏览文件 @
ca6706bf
...
...
@@ -1512,6 +1512,345 @@
"uIActionType"
:
"DEUIACTION"
,
"uILogicAttachMode"
:
"REPLACE"
,
"id"
:
"calc_portlet_data@Student"
},
{
"actionTarget"
:
"NONE"
,
"caption"
:
"编辑"
,
"codeName"
:
"portlet_edit"
,
"frontProcessType"
:
"EDITFORM"
,
"fullCodeName"
:
"Student_portlet_edit"
,
"name"
:
"门户行为组编辑"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSDEEditForm"
:
{
"codeName"
:
"Test_portlet_form"
,
"controlType"
:
"FORM"
,
"getCreatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"create"
,
"actionName"
:
"Create"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"create"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Create"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
"defaultLabelWidth"
:
130
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Student/PSFORMS/Test_portlet_form.json"
,
"getGetDraftFromPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"loaddraftfrom"
,
"actionName"
:
"GETDRAFTFROM"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"loaddraftfrom"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
"getGetDraftPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"loaddraft"
,
"actionName"
:
"GetDraft"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"loaddraft"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"GetDraft"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
"getGetPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"load"
,
"actionName"
:
"Get"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"READ"
,
"name"
:
"load"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Get"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
"logicName"
:
"测试门户数据表单"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlHandler"
:
{
"getPSHandlerActions"
:
[
{
"actionName"
:
"GetDraft"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"loaddraft"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"GetDraft"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
{
"actionName"
:
"GETDRAFTFROM"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"loaddraftfrom"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
{
"actionName"
:
"Get"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"READ"
,
"name"
:
"load"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Get"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
{
"actionName"
:
"Create"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"create"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Create"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
{
"actionName"
:
"Update"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"UPDATE"
,
"name"
:
"update"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Update"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
{
"actionName"
:
"Remove"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"DELETE"
,
"name"
:
"remove"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Remove"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
}
],
"enableDEFieldPrivilege"
:
false
,
"id"
:
"编辑表单处理器"
},
"getPSControlParam"
:
{
"autoLoad"
:
true
,
"showBusyIndicator"
:
true
,
"id"
:
"form"
},
"getPSDEFormItems"
:
[
{
"id"
:
"srfupdatedate"
,
"hidden"
:
true
,
"dataType"
:
5
,
"getPSAppDEField"
:
{
"name"
:
"UPDATEDATE"
,
"codeName"
:
"UpdateDate"
}
},
{
"id"
:
"srforikey"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"srfkey"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"STUDENTID"
,
"codeName"
:
"StudentId"
}
},
{
"id"
:
"srfmajortext"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"STUDENTNAME"
,
"codeName"
:
"StudentName"
}
},
{
"id"
:
"srftempmode"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"srfuf"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"srfdeid"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"srfsourcekey"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"name"
,
"dataType"
:
25
},
{
"id"
:
"studentid"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"STUDENTID"
,
"codeName"
:
"StudentId"
}
}
],
"getPSDEFormPages"
:
[
{
"caption"
:
"基本信息"
,
"codeName"
:
"formpage1"
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMPAGE"
,
"name"
:
"formpage1"
,
"getPSDEFormDetails"
:
[
{
"caption"
:
"名称"
,
"codeName"
:
"name"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"name"
:
"name"
,
"noPrivDisplayMode"
:
1
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"name"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
"caption"
:
"学生标识"
,
"codeName"
:
"studentid"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"name"
:
"studentid"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"STUDENTID"
,
"codeName"
:
"StudentId"
},
"getPSEditor"
:
{
"editorType"
:
"HIDDEN"
,
"name"
:
"studentid"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"allowEmpty"
:
true
,
"hidden"
:
true
,
"showCaption"
:
true
}
],
"getPSLayout"
:
{
"childColLG"
:
-1
,
"childColMD"
:
24
,
"childColSM"
:
-1
,
"childColXS"
:
-1
,
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"infoGroupMode"
:
false
}
],
"getPSLayout"
:
{
"childColLG"
:
-1
,
"childColMD"
:
24
,
"childColSM"
:
-1
,
"childColXS"
:
-1
,
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getRemovePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"remove"
,
"actionName"
:
"Remove"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"DELETE"
,
"name"
:
"remove"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Remove"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
"tabHeaderPos"
:
"TOP"
,
"getUpdatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"update"
,
"actionName"
:
"Update"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"UPDATE"
,
"name"
:
"update"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Update"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
"noTabHeader"
:
true
,
"name"
:
"form"
,
"modelid"
:
"398C8A43-2882-4943-AC1E-7D254D0A5183"
,
"modeltype"
:
"PSDEFORM_EDITFORM"
},
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"portlet_edit"
,
"uIActionType"
:
"DEUIACTION"
,
"globalUIAction"
:
true
,
"id"
:
"portlet_edit@Student"
},
{
"actionTarget"
:
"NONE"
,
"caption"
:
"删除"
,
...
...
@@ -1555,12 +1894,83 @@
"topPos"
:
200
,
"parallelOutput"
:
true
},
{
"code"
:
"console.log(222)"
,
"codeName"
:
"END1"
,
"leftPos"
:
1206
,
"logicNodeType"
:
"END"
,
"name"
:
"结束"
,
"topPos"
:
200
},
{
"code"
:
"uiLogic.data.name=uiLogic.studentGridView.model.caption;"
,
"codeName"
:
"RAWJSCODE1"
,
"leftPos"
:
42
0
,
"leftPos"
:
36
0
,
"logicNodeType"
:
"RAWJSCODE"
,
"name"
:
"注入脚本代码"
,
"topPos"
:
210
"getPSDEUILogicLinks"
:
[
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"DEUIACTION1"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"RAWJSCODE1"
}
}
],
"topPos"
:
208
},
{
"code"
:
"console.log(222)"
,
"codeName"
:
"RAWJSCODE2"
,
"leftPos"
:
922
,
"logicNodeType"
:
"RAWJSCODE"
,
"name"
:
"注入脚本代码"
,
"getPSDEUILogicLinks"
:
[
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"END1"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"RAWJSCODE2"
}
}
],
"topPos"
:
208
},
{
"codeName"
:
"DEUIACTION1"
,
"getDstPSAppDEUIAction"
:
{
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"modelref"
:
true
,
"id"
:
"portlet_edit@Student"
},
"getDstPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getDstPSDEUILogicParam"
:
{
"modelref"
:
true
,
"id"
:
"data"
},
"leftPos"
:
662
,
"logicNodeType"
:
"DEUIACTION"
,
"name"
:
"界面行为"
,
"getPSDEUILogicLinks"
:
[
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"RAWJSCODE2"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"DEUIACTION1"
}
}
],
"topPos"
:
208
}
],
"getPSDEUILogicParams"
:
[
{
"codeName"
:
"data"
,
...
...
@@ -1568,6 +1978,35 @@
"name"
:
"输入数据"
,
"entityParam"
:
true
},
{
"codeName"
:
"studentGridView"
,
"logicName"
:
"门户嵌入视图"
,
"name"
:
"门户嵌入视图"
,
"ctrlParam"
:
true
},
{
"codeName"
:
"Default"
,
"logicName"
:
"传入变量"
,
"name"
:
"传入变量"
,
"default"
:
true
,
"entityParam"
:
true
}
],
"getStartPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Begin"
}
},
{
"codeName"
:
"calc_portlet_form_data"
,
"defaultParamName"
:
"Default"
,
"logicName"
:
"计算门户表单返回数据"
,
"name"
:
"计算门户表单返回数据"
,
"getPSDEUILogicNodes"
:
[
{
"codeName"
:
"Begin"
,
"leftPos"
:
200
,
"logicNodeType"
:
"BEGIN"
,
"name"
:
"开始"
,
"topPos"
:
200
,
"parallelOutput"
:
true
}
],
"getPSDEUILogicParams"
:
[
{
"codeName"
:
"Default"
,
"logicName"
:
"传入变量"
,
"name"
:
"传入变量"
,
...
...
trainsys-core/src/main/resources/model/cn/ibizlab/trainsys/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
ca6706bf
...
...
@@ -102603,6 +102603,345 @@
"uIActionType" : "DEUIACTION",
"uILogicAttachMode" : "REPLACE",
"id" : "calc_portlet_data@Student"
}, {
"actionTarget" : "NONE",
"caption" : "编辑",
"codeName" : "portlet_edit",
"frontProcessType" : "EDITFORM",
"fullCodeName" : "Student_portlet_edit",
"name" : "门户行为组编辑",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSDEEditForm" : {
"codeName" : "Test_portlet_form",
"controlType" : "FORM",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create",
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
"defaultLabelWidth" : 130,
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student/PSFORMS/Test_portlet_form.json",
"getGetDraftFromPSControlAction" : {
"modelref" : true,
"id" : "loaddraftfrom",
"actionName" : "GETDRAFTFROM",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraftfrom",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
"getGetDraftPSControlAction" : {
"modelref" : true,
"id" : "loaddraft",
"actionName" : "GetDraft",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "GetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load",
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
"logicName" : "测试门户数据表单",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "GetDraft",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "GetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
}, {
"actionName" : "GETDRAFTFROM",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraftfrom",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
}, {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
} ],
"enableDEFieldPrivilege" : false,
"id" : "编辑表单处理器"
},
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "form"
},
"getPSDEFormItems" : [ {
"id" : "srfupdatedate",
"hidden" : true,
"dataType" : 5,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"id" : "srforikey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfkey",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "STUDENTID",
"codeName" : "StudentId"
}
}, {
"id" : "srfmajortext",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "STUDENTNAME",
"codeName" : "StudentName"
}
}, {
"id" : "srftempmode",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfuf",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfdeid",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfsourcekey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "name",
"dataType" : 25
}, {
"id" : "studentid",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "STUDENTID",
"codeName" : "StudentId"
}
} ],
"getPSDEFormPages" : [ {
"caption" : "基本信息",
"codeName" : "formpage1",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage1",
"getPSDEFormDetails" : [ {
"caption" : "名称",
"codeName" : "name",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "name",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "name"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "学生标识",
"codeName" : "studentid",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "studentid",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "STUDENTID",
"codeName" : "StudentId"
},
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "studentid"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove",
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
"tabHeaderPos" : "TOP",
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update",
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
},
"noTabHeader" : true,
"name" : "form",
"modelid" : "398C8A43-2882-4943-AC1E-7D254D0A5183",
"modeltype" : "PSDEFORM_EDITFORM"
},
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "portlet_edit",
"uIActionType" : "DEUIACTION",
"globalUIAction" : true,
"id" : "portlet_edit@Student"
}, {
"actionTarget" : "NONE",
"caption" : "删除",
...
...
@@ -102646,12 +102985,83 @@
"topPos" : 200,
"parallelOutput" : true
}, {
"code" : "console.log(222)",
"codeName" : "END1",
"leftPos" : 1206,
"logicNodeType" : "END",
"name" : "结束",
"topPos" : 200
}, {
"code" : "uiLogic.data.name=uiLogic.studentGridView.model.caption;",
"codeName" : "RAWJSCODE1",
"leftPos" :
42
0,
"leftPos" :
36
0,
"logicNodeType" : "RAWJSCODE",
"name" : "注入脚本代码",
"topPos" : 210
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEUIACTION1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "RAWJSCODE1"
}
} ],
"topPos" : 208
}, {
"code" : "console.log(222)",
"codeName" : "RAWJSCODE2",
"leftPos" : 922,
"logicNodeType" : "RAWJSCODE",
"name" : "注入脚本代码",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "END1"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "RAWJSCODE2"
}
} ],
"topPos" : 208
}, {
"codeName" : "DEUIACTION1",
"getDstPSAppDEUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"modelref" : true,
"id" : "portlet_edit@Student"
},
"getDstPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "data"
},
"leftPos" : 662,
"logicNodeType" : "DEUIACTION",
"name" : "界面行为",
"getPSDEUILogicLinks" : [ {
"getDstPSDEUILogicNode" : {
"modelref" : true,
"id" : "RAWJSCODE2"
},
"linkMode" : 0,
"name" : "连接名称",
"getSrcPSDEUILogicNode" : {
"modelref" : true,
"id" : "DEUIACTION1"
}
} ],
"topPos" : 208
} ],
"getPSDEUILogicParams" : [ {
"codeName" : "data",
...
...
@@ -102659,6 +103069,35 @@
"name" : "输入数据",
"entityParam" : true
}, {
"codeName" : "studentGridView",
"logicName" : "门户嵌入视图",
"name" : "门户嵌入视图",
"ctrlParam" : true
}, {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
"default" : true,
"entityParam" : true
} ],
"getStartPSDEUILogicNode" : {
"modelref" : true,
"id" : "Begin"
}
}, {
"codeName" : "calc_portlet_form_data",
"defaultParamName" : "Default",
"logicName" : "计算门户表单返回数据",
"name" : "计算门户表单返回数据",
"getPSDEUILogicNodes" : [ {
"codeName" : "Begin",
"leftPos" : 200,
"logicNodeType" : "BEGIN",
"name" : "开始",
"topPos" : 200,
"parallelOutput" : true
} ],
"getPSDEUILogicParams" : [ {
"codeName" : "Default",
"logicName" : "传入变量",
"name" : "传入变量",
trainsys-provider/pom.xml
浏览文件 @
ca6706bf
...
...
@@ -33,7 +33,7 @@
<profiles>
<profile>
<id>
trainsys
</id>
<id>
runtime
</id>
<build>
<resources>
<resource>
...
...
trainsys-provider/src/main/docker/Dockerfile
浏览文件 @
ca6706bf
...
...
@@ -10,6 +10,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
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
trainsys-provider/src/main/docker/trainsys-provider-trainsys-k8s.yaml
浏览文件 @
ca6706bf
...
...
@@ -22,32 +22,7 @@ spec:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest
imagePullPolicy
:
Always
ports
:
-
containerPort
:
50000
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"
-
containerPort
:
8081
---
apiVersion
:
v1
...
...
@@ -60,9 +35,9 @@ spec:
type
:
NodePort
ports
:
-
name
:
http
port
:
50000
targetPort
:
50000
nodePort
:
50000
port
:
8081
targetPort
:
8081
nodePort
:
8081
protocol
:
TCP
selector
:
app
:
trainsys-provider
...
...
trainsys-provider/src/main/docker/trainsys-provider-trainsys.yaml
浏览文件 @
ca6706bf
...
...
@@ -3,23 +3,9 @@ services:
trainsys-provider
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest
ports
:
-
"
50000:50000
"
-
"
8081:8081
"
networks
:
-
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
:
resources
:
limits
:
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录