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

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

上级 45cfb04f
......@@ -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>
......
......@@ -8150,6 +8150,12 @@
"name" : "书实体数据选择视图(树选择测试)",
"realModelSubType" : "DEPICKUPVIEW",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "testgrid",
"logicName" : "测试表格",
"name" : "测试表格",
"realModelSubType" : "DEGRIDVIEW",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "Usr10EditView",
"logicName" : "书实体编辑视图(测试编辑器参数增强)",
......
......@@ -6086,6 +6086,10 @@
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/bookUsr09062298CustomView.json",
"viewType" : "DECUSTOMVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/booktestgrid.json",
"viewType" : "DEGRIDVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/bookUsr01028976MPickupView2_PickupGridView.json",
......
{
"aggMode" : "NONE",
"codeName" : "Testgrid_Grid",
"columnEnableFilter" : 2,
"columnEnableLink" : 2,
"controlType" : "GRID",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book/PSGRIDS/Testgrid_Grid.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch",
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FetchDefault"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
},
"groupMode" : "NONE",
"logicName" : "测试表格_表格",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"getPSDEGridColumns" : [ {
"align" : "LEFT",
"cLConvertMode" : "NONE",
"caption" : "书名称",
"codeName" : "bookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "bookname",
"excelCaption" : "书名称",
"name" : "bookname",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "BOOKNAME",
"codeName" : "BookName"
},
"width" : 150,
"widthUnit" : "PX",
"enableSort" : true
}, {
"align" : "LEFT",
"cLConvertMode" : "FRONT",
"caption" : "更新人",
"codeName" : "updateman",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "updateman",
"excelCaption" : "更新人",
"name" : "updateman",
"noPrivDisplayMode" : 1,
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
},
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
},
"width" : 150,
"widthUnit" : "PX",
"enableSort" : true
}, {
"align" : "LEFT",
"cLConvertMode" : "NONE",
"caption" : "更新时间",
"codeName" : "updatedate",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "updatedate",
"excelCaption" : "更新时间",
"name" : "updatedate",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
},
"valueFormat" : "YYYY-MM-DD HH:mm:ss",
"width" : 150,
"widthUnit" : "PX",
"enableSort" : true
} ],
"getPSDEGridDataItems" : [ {
"dataType" : 25,
"name" : "bookname",
"getPSAppDEField" : {
"name" : "BOOKNAME",
"codeName" : "BookName"
}
}, {
"dataType" : 25,
"name" : "updateman",
"getPSAppDEField" : {
"name" : "UPDATEMAN",
"codeName" : "UpdateMan"
}
}, {
"format" : "YYYY-MM-DD HH:mm:ss",
"dataType" : 5,
"name" : "updatedate",
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"dataType" : 25,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "BOOKID",
"codeName" : "BookId"
}
}, {
"dataType" : 25,
"name" : "srfdataaccaction",
"getPSAppDEField" : {
"name" : "BOOKID",
"codeName" : "BookId"
},
"dataAccessAction" : true
}, {
"dataType" : 25,
"name" : "phoneid",
"getPSAppDEField" : {
"name" : "PHONEID",
"codeName" : "PhoneId"
}
}, {
"dataType" : 25,
"name" : "pbookid",
"getPSAppDEField" : {
"name" : "PBOOKID",
"codeName" : "Pbookid"
}
}, {
"dataType" : 25,
"name" : "srfmajortext",
"getPSAppDEField" : {
"name" : "BOOKNAME",
"codeName" : "BookName"
}
} ],
"getPSDEGridEditItems" : [ {
"caption" : "书标识",
"codeName" : "srfkey",
"enableCond" : 3,
"ignoreInput" : 0,
"name" : "srfkey",
"getPSAppDEField" : {
"name" : "BOOKID",
"codeName" : "BookId"
},
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "srfkey"
},
"allowEmpty" : true
} ],
"pagingMode" : 1,
"pagingSize" : 20,
"getRemovePSControlAction" : {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
}
},
"sortMode" : "REMOTE",
"hasWFDataItems" : false,
"enableColFilter" : false,
"enableCustomized" : true,
"enableGroup" : false,
"enablePagingBar" : true,
"enableRowEdit" : false,
"enableRowEditOrder" : false,
"enableRowNew" : false,
"forceFit" : false,
"hideHeader" : false,
"noSort" : false,
"singleSelect" : false,
"modelid" : "066CC742-AF8A-46F3-8930-C34BE429E618",
"modeltype" : "PSDEGRID"
}
\ No newline at end of file
{
"codeName" : "Testgrid_SearchForm",
"controlType" : "SEARCHFORM",
"defaultLabelWidth" : 130,
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book/PSSEARCHFORMS/Testgrid_SearchForm.json",
"logicName" : "测试表格_搜索表单",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/Book.json"
},
"getPSDEFormPages" : [ {
"caption" : "常规条件",
"codeName" : "formpage1",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage1",
"getPSLayout" : {
"childColMD" : 24,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
} ],
"getPSLayout" : {
"childColMD" : 24,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"searchButtonStyle" : "DEFAULT",
"tabHeaderPos" : "TOP",
"enableAdvanceSearch" : false,
"enableAutoSearch" : false,
"enableFilterSave" : false,
"noTabHeader" : true,
"modelid" : "29C68E5C-75F7-4864-BE3D-765448556DDC",
"modeltype" : "PSDEFORM_SEARCHFORM"
}
\ No newline at end of file
......@@ -1079,6 +1079,14 @@
"allowEmpty" : true,
"needCodeListConfig" : true
} ],
"getPSDETreeNodeRVs" : [ {
"name" : "OPENDATA",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/FILEGridView.json",
"viewType" : "DEGRIDVIEW"
}
} ],
"getTextPSAppDEField" : {
"name" : "FILENAME",
"codeName" : "FILEName"
......@@ -1372,6 +1380,14 @@
},
"allowEmpty" : true
} ],
"getPSDETreeNodeRVs" : [ {
"name" : "EDITDATA",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/bookEditView_Test.json",
"viewType" : "DEEDITVIEW"
}
} ],
"getTextPSAppDEField" : {
"name" : "FILENAME",
"codeName" : "FILEName"
......
......@@ -6,6 +6,7 @@
"funcViewMode" : "MDATAVIEW",
"gridRowActiveMode" : 2,
"name" : "FILEGridView",
"openMode" : "POPUPMODAL",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/FILE.json"
......@@ -72,7 +73,7 @@
}
} ],
"getPSAppViewRefs" : [ {
"name" : "NEWDATA",
"name" : "EDITDATA",
"realTitle" : "文件编辑视图",
"getRefPSAppView" : {
"modelref" : true,
......@@ -80,7 +81,7 @@
"viewType" : "DEEDITVIEW"
}
}, {
"name" : "EDITDATA",
"name" : "NEWDATA",
"realTitle" : "文件编辑视图",
"getRefPSAppView" : {
"modelref" : true,
......
......@@ -1219,6 +1219,14 @@
"allowEmpty" : true,
"needCodeListConfig" : true
} ],
"getPSDETreeNodeRVs" : [ {
"name" : "OPENDATA",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/FILEGridView.json",
"viewType" : "DEGRIDVIEW"
}
} ],
"getTextPSAppDEField" : {
"name" : "FILENAME",
"codeName" : "FILEName"
......@@ -1512,6 +1520,14 @@
},
"allowEmpty" : true
} ],
"getPSDETreeNodeRVs" : [ {
"name" : "EDITDATA",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/bookEditView_Test.json",
"viewType" : "DEEDITVIEW"
}
} ],
"getTextPSAppDEField" : {
"name" : "FILENAME",
"codeName" : "FILEName"
......
......@@ -44,6 +44,24 @@
"editMode" : true
}
} ],
"getPSAppViewRefs" : [ {
"name" : "OPENDATA@node",
"realOpenMode" : "POPUPMODAL",
"realTitle" : "文件表格视图",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/FILEGridView.json",
"viewType" : "DEGRIDVIEW"
}
}, {
"name" : "EDITDATA@top_node",
"realTitle" : "书实体测试(编辑)",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/bookEditView_Test.json",
"viewType" : "DEEDITVIEW"
}
} ],
"getPSControls" : [ {
"codeName" : "TreeGridExExpViewtreeexpbar",
"controlType" : "TREEEXPBAR",
......@@ -1168,6 +1186,14 @@
"allowEmpty" : true,
"needCodeListConfig" : true
} ],
"getPSDETreeNodeRVs" : [ {
"name" : "OPENDATA",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/FILEGridView.json",
"viewType" : "DEGRIDVIEW"
}
} ],
"getTextPSAppDEField" : {
"name" : "FILENAME",
"codeName" : "FILEName"
......@@ -1461,6 +1487,14 @@
},
"allowEmpty" : true
} ],
"getPSDETreeNodeRVs" : [ {
"name" : "EDITDATA",
"getRefPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/bookEditView_Test.json",
"viewType" : "DEEDITVIEW"
}
} ],
"getTextPSAppDEField" : {
"name" : "FILENAME",
"codeName" : "FILEName"
......
......@@ -35643,6 +35643,12 @@
"viewType" : "DEPICKUPTREEVIEW",
"resource" : "Student",
"view" : "Usr02078990PickupTreeView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/booktestgrid.json",
"viewType" : "DEGRIDVIEW",
"resource" : "Book",
"view" : "testgrid"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/TESTQuickGroupGridView.json",
......@@ -107701,6 +107707,10 @@
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/bookUsr09062298CustomView.json",
"viewType" : "DECUSTOMVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/booktestgrid.json",
"viewType" : "DEGRIDVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/bookUsr01028976MPickupView2_PickupGridView.json",
......@@ -33,7 +33,7 @@
<profiles>
<profile>
<id>trainsys</id>
<id>runtime</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 50000
EXPOSE 8081
ADD trainsys-provider.jar /trainsys-provider.jar
......@@ -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
......
......@@ -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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册