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

fangzhihao 部署微服务接口 [TrainSys,默认服务接口]

上级 11fb05ea
......@@ -55,6 +55,12 @@
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>
......
......@@ -1196,7 +1196,7 @@
"ctrlParams" : {
"BORDERSTYLE" : "CustomDV7",
"ROLLMODE" : "STEP",
"SPEED" : "3"
"SPEED" : "2"
},
"id" : "LIST"
},
......
......@@ -156,6 +156,482 @@
"showTitleBar" : true,
"modelid" : "69B37237-16DC-46CF-A497-1940B23615BE",
"modeltype" : "PSSYSDBPART"
}, {
"codeName" : "fullScreen_carouselList",
"controlType" : "PORTLET",
"height" : 400.0,
"name" : "dashboard_sysportlet2",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
"id" : "dashboard_sysportlet2"
},
"getPSControlParam" : {
"height" : 400.0,
"width" : 500.0,
"autoLoad" : true,
"showBusyIndicator" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"height" : 400,
"heightMode" : "PX",
"layout" : "TABLE_24COL",
"width" : 500,
"widthMode" : "PX"
},
"getPortletPSAppView" : {
"accUserMode" : 2,
"caption" : "大屏轮播列表",
"codeName" : "studentUsr08082562ListView",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/studentUsr08082562ListView.json",
"mDCtrlActiveMode" : 0,
"name" : "studentUsr08082562ListView",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSAppModule" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPMODULES/Ungroup.json"
},
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "ListView",
"name" : "engine"
} ],
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPUILOGIC",
"name" : "opendata",
"getPSAppUILogic" : {
"logicType" : "PREDEFINED",
"name" : "打开数据",
"getOpenDataPSAppView" : {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/studentEditView.json",
"viewType" : "DEEDITVIEW"
}
},
"getPSAppUILogicRefViews" : [ {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/studentEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"viewLogicType" : "APP_OPENDATA",
"editMode" : true
}
} ],
"getPSAppViewRefs" : [ {
"name" : "EDITDATA",
"realTitle" : "学生编辑视图",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/studentEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"getPSControls" : [ {
"codeName" : "StudentList",
"controlStyle" : "CAROUSEL_LIST",
"controlType" : "LIST",
"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"
}
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student/PSLISTS/StudentList.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch",
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"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"
}
},
"groupMode" : "NONE",
"getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "field_text_dynamic",
"viewFieldName" : "NAME"
}, {
"id" : "field_text_dynamic1",
"viewFieldName" : "AGE"
} ],
"codeName" : "Usr0808174925",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student/PSPANELS/Usr0808174925.json",
"layoutMode" : "FLEX",
"logicName" : "StudentList列表",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"layout" : "FLEX"
},
"getRootPSPanelItems" : [ {
"contentHeight" : 60.0,
"height" : 60.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"align" : "space-between",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"height" : 60,
"heightMode" : "PX",
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "NAME"
}, {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic1",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic1",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "AGE"
} ]
} ],
"layoutPanel" : true,
"name" : "list_itempanel",
"modelid" : "145BD2FF-E0B5-4BE5-ABE1-7EF3BF4E6B82",
"modeltype" : "PSSYSVIEWPANEL"
},
"logicName" : "StudentList",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"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"
}
}, {
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
} ],
"userDRAction" : "READ",
"enableDEFieldPrivilege" : false,
"id" : "列表控件处理器"
},
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"ctrlParams" : {
"BORDERSTYLE" : "CustomDV7",
"ROLLMODE" : "STEP",
"SPEED" : "2"
},
"id" : "LIST"
},
"getPSDEListDataItems" : [ {
"dataType" : 25,
"name" : "address"
}, {
"dataType" : 25,
"name" : "studentname"
}, {
"dataType" : 25,
"name" : "name"
}, {
"dataType" : 9,
"name" : "age"
}, {
"dataType" : 25,
"name" : "studentid"
}, {
"dataType" : 25,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "STUDENTID",
"codeName" : "StudentId"
}
}, {
"dataType" : 25,
"name" : "srfmajortext",
"getPSAppDEField" : {
"name" : "STUDENTNAME",
"codeName" : "StudentName"
}
}, {
"dataType" : 25,
"name" : "pstudentid",
"getPSAppDEField" : {
"name" : "PSTUDENTID",
"codeName" : "Pstudentid"
}
} ],
"getPSDEListItems" : [ {
"align" : "LEFT",
"caption" : "地址",
"dataItemName" : "address",
"itemType" : "TEXTITEM",
"name" : "ADDRESS",
"width" : 150,
"widthString" : "150px",
"enableSort" : true
} ],
"getPSSysPFPlugin" : {
"pluginType" : "LIST_RENDER",
"pluginCode" : "CAROUSEL_LIST"
},
"pagingSize" : 1000,
"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"
}
},
"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"
}
},
"hasWFDataItems" : false,
"enableGroup" : false,
"enableRowEdit" : false,
"enableRowEditGroup" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"noSort" : false,
"showHeader" : true,
"singleSelect" : false,
"name" : "list",
"modelid" : "7155BF55-897F-4A8F-8C6F-AE7104900209",
"modeltype" : "PSDELIST"
}, {
"controlType" : "SEARCHBAR",
"name" : "searchbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlParam" : {
"id" : "searchbar"
},
"quickGroupCount" : -1,
"quickSearchMode" : 0,
"quickSearchWidth" : 0,
"enableFilter" : false,
"enableGroup" : false,
"enableQuickSearch" : false,
"mobileSearchBar" : false
}, {
"caption" : "大屏轮播列表",
"codeName" : "Usr08082562ListViewcaptionbar",
"controlType" : "CAPTIONBAR",
"name" : "captionbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlParam" : { }
} ],
"getPSDEViewCodeName" : "Usr08082562ListView",
"getPSDEViewId" : "D49E76D1-17ED-41DB-A98F-9846E31254FE",
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDELISTVIEW",
"controlType" : "VIEWLAYOUTPANEL",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlParam" : { },
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
},
"title" : "大屏轮播列表",
"viewStyle" : "DEFAULT",
"viewType" : "DELISTVIEW",
"xDataControlName" : "list",
"enableDP" : true,
"enableFilter" : true,
"enableSearch" : true,
"readOnly" : true,
"modelid" : "5cc4d9906f07c8a66d4c0f5bff92188c",
"modeltype" : "PSAPPDEVIEW"
},
"portletType" : "VIEW",
"title" : "步骤滚动-2秒-项设置边框",
"width" : 500.0,
"showTitleBar" : true,
"modelid" : "905D9833-D7C6-473D-9CCC-98D6415CE2BD",
"modeltype" : "PSSYSDBPART"
}, {
"codeName" : "Usr08129386DashboardViewdashboard_sysportlet3",
"controlType" : "PORTLET",
"name" : "dashboard_sysportlet3",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
"id" : "dashboard_sysportlet3"
},
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"portletType" : "SYSPORTLET",
"showTitleBar" : true,
"modelid" : "89738baff6d9ca462dd4320bf30ee2d1_dashboard_sysportlet3",
"modeltype" : "PSSYSDBPART"
} ],
"enableCustomized" : false,
"modelid" : "89738baff6d9ca462dd4320bf30ee2d1",
......
......@@ -1354,7 +1354,7 @@
"ctrlParams" : {
"BORDERSTYLE" : "CustomDV7",
"ROLLMODE" : "STEP",
"SPEED" : "3"
"SPEED" : "2"
},
"id" : "LIST"
},
......
......@@ -262,7 +262,7 @@
"ctrlParams" : {
"BORDERSTYLE" : "CustomDV7",
"ROLLMODE" : "STEP",
"SPEED" : "3"
"SPEED" : "2"
},
"id" : "LIST"
},
......
......@@ -184,6 +184,482 @@
"showTitleBar" : true,
"modelid" : "69B37237-16DC-46CF-A497-1940B23615BE",
"modeltype" : "PSSYSDBPART"
}, {
"codeName" : "fullScreen_carouselList",
"controlType" : "PORTLET",
"height" : 400.0,
"name" : "dashboard_sysportlet2",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
"id" : "dashboard_sysportlet2"
},
"getPSControlParam" : {
"height" : 400.0,
"width" : 500.0,
"autoLoad" : true,
"showBusyIndicator" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"height" : 400,
"heightMode" : "PX",
"layout" : "TABLE_24COL",
"width" : 500,
"widthMode" : "PX"
},
"getPortletPSAppView" : {
"accUserMode" : 2,
"caption" : "大屏轮播列表",
"codeName" : "studentUsr08082562ListView",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/studentUsr08082562ListView.json",
"mDCtrlActiveMode" : 0,
"name" : "studentUsr08082562ListView",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSAppModule" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPMODULES/Ungroup.json"
},
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "ListView",
"name" : "engine"
} ],
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPUILOGIC",
"name" : "opendata",
"getPSAppUILogic" : {
"logicType" : "PREDEFINED",
"name" : "打开数据",
"getOpenDataPSAppView" : {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/studentEditView.json",
"viewType" : "DEEDITVIEW"
}
},
"getPSAppUILogicRefViews" : [ {
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/studentEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"viewLogicType" : "APP_OPENDATA",
"editMode" : true
}
} ],
"getPSAppViewRefs" : [ {
"name" : "EDITDATA",
"realTitle" : "学生编辑视图",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/studentEditView.json",
"viewType" : "DEEDITVIEW"
}
} ],
"getPSControls" : [ {
"codeName" : "StudentList",
"controlStyle" : "CAROUSEL_LIST",
"controlType" : "LIST",
"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"
}
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student/PSLISTS/StudentList.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch",
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"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"
}
},
"groupMode" : "NONE",
"getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "field_text_dynamic",
"viewFieldName" : "NAME"
}, {
"id" : "field_text_dynamic1",
"viewFieldName" : "AGE"
} ],
"codeName" : "Usr0808174925",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student/PSPANELS/Usr0808174925.json",
"layoutMode" : "FLEX",
"logicName" : "StudentList列表",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"layout" : "FLEX"
},
"getRootPSPanelItems" : [ {
"contentHeight" : 60.0,
"height" : 60.0,
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"align" : "space-between",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"height" : 60,
"heightMode" : "PX",
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "NAME"
}, {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic1",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic1",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "AGE"
} ]
} ],
"layoutPanel" : true,
"name" : "list_itempanel",
"modelid" : "145BD2FF-E0B5-4BE5-ABE1-7EF3BF4E6B82",
"modeltype" : "PSSYSVIEWPANEL"
},
"logicName" : "StudentList",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"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"
}
}, {
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
}
} ],
"userDRAction" : "READ",
"enableDEFieldPrivilege" : false,
"id" : "列表控件处理器"
},
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"ctrlParams" : {
"BORDERSTYLE" : "CustomDV7",
"ROLLMODE" : "STEP",
"SPEED" : "2"
},
"id" : "LIST"
},
"getPSDEListDataItems" : [ {
"dataType" : 25,
"name" : "address"
}, {
"dataType" : 25,
"name" : "studentname"
}, {
"dataType" : 25,
"name" : "name"
}, {
"dataType" : 9,
"name" : "age"
}, {
"dataType" : 25,
"name" : "studentid"
}, {
"dataType" : 25,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "STUDENTID",
"codeName" : "StudentId"
}
}, {
"dataType" : 25,
"name" : "srfmajortext",
"getPSAppDEField" : {
"name" : "STUDENTNAME",
"codeName" : "StudentName"
}
}, {
"dataType" : 25,
"name" : "pstudentid",
"getPSAppDEField" : {
"name" : "PSTUDENTID",
"codeName" : "Pstudentid"
}
} ],
"getPSDEListItems" : [ {
"align" : "LEFT",
"caption" : "地址",
"dataItemName" : "address",
"itemType" : "TEXTITEM",
"name" : "ADDRESS",
"width" : 150,
"widthString" : "150px",
"enableSort" : true
} ],
"getPSSysPFPlugin" : {
"pluginType" : "LIST_RENDER",
"pluginCode" : "CAROUSEL_LIST"
},
"pagingSize" : 1000,
"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"
}
},
"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"
}
},
"hasWFDataItems" : false,
"enableGroup" : false,
"enableRowEdit" : false,
"enableRowEditGroup" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"noSort" : false,
"showHeader" : true,
"singleSelect" : false,
"name" : "list",
"modelid" : "7155BF55-897F-4A8F-8C6F-AE7104900209",
"modeltype" : "PSDELIST"
}, {
"controlType" : "SEARCHBAR",
"name" : "searchbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlParam" : {
"id" : "searchbar"
},
"quickGroupCount" : -1,
"quickSearchMode" : 0,
"quickSearchWidth" : 0,
"enableFilter" : false,
"enableGroup" : false,
"enableQuickSearch" : false,
"mobileSearchBar" : false
}, {
"caption" : "大屏轮播列表",
"codeName" : "Usr08082562ListViewcaptionbar",
"controlType" : "CAPTIONBAR",
"name" : "captionbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlParam" : { }
} ],
"getPSDEViewCodeName" : "Usr08082562ListView",
"getPSDEViewId" : "D49E76D1-17ED-41DB-A98F-9846E31254FE",
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDELISTVIEW",
"controlType" : "VIEWLAYOUTPANEL",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlParam" : { },
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
},
"title" : "大屏轮播列表",
"viewStyle" : "DEFAULT",
"viewType" : "DELISTVIEW",
"xDataControlName" : "list",
"enableDP" : true,
"enableFilter" : true,
"enableSearch" : true,
"readOnly" : true,
"modelid" : "5cc4d9906f07c8a66d4c0f5bff92188c",
"modeltype" : "PSAPPDEVIEW"
},
"portletType" : "VIEW",
"title" : "步骤滚动-2秒-项设置边框",
"width" : 500.0,
"showTitleBar" : true,
"modelid" : "905D9833-D7C6-473D-9CCC-98D6415CE2BD",
"modeltype" : "PSSYSDBPART"
}, {
"codeName" : "Usr08129386DashboardViewdashboard_sysportlet3",
"controlType" : "PORTLET",
"name" : "dashboard_sysportlet3",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Student.json"
},
"getPSControlHandler" : {
"enableDEFieldPrivilege" : false,
"id" : "dashboard_sysportlet3"
},
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"portletType" : "SYSPORTLET",
"showTitleBar" : true,
"modelid" : "89738baff6d9ca462dd4320bf30ee2d1_dashboard_sysportlet3",
"modeltype" : "PSSYSDBPART"
} ],
"enableCustomized" : false,
"name" : "dashboard",
......
......@@ -33,7 +33,7 @@
<profiles>
<profile>
<id>runtime</id>
<id>trainsys</id>
<build>
<resources>
<resource>
......
......@@ -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 8081
EXPOSE 50000
ADD trainsys-provider.jar /trainsys-provider.jar
......@@ -22,7 +22,32 @@ spec:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest
imagePullPolicy: Always
ports:
- containerPort: 8081
- 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"
---
apiVersion: v1
......@@ -35,9 +60,9 @@ spec:
type: NodePort
ports:
- name: http
port: 8081
targetPort: 8081
nodePort: 8081
port: 50000
targetPort: 50000
nodePort: 50000
protocol: TCP
selector:
app: trainsys-provider
......
......@@ -3,9 +3,23 @@ services:
trainsys-provider:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/trainsys-provider:latest
ports:
- "8081:8081"
- "50000:50000"
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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册