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

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

上级 b56fffc4
......@@ -13,13 +13,13 @@
"dependencies": {
"@floating-ui/dom": "^1.0.11",
"@ibiz-template/command": "^0.0.1-beta.50",
"@ibiz-template/controller": "^0.0.1-beta.113",
"@ibiz-template/core": "^0.0.1-beta.113",
"@ibiz-template/model": "^0.0.1-beta.113",
"@ibiz-template/runtime": "^0.0.1-beta.113",
"@ibiz-template/service": "^0.0.1-beta.113",
"@ibiz-template/theme": "^0.0.1-beta.113",
"@ibiz-template/vue-util": "^0.0.1-beta.113",
"@ibiz-template/controller": "^0.0.1-beta.114",
"@ibiz-template/core": "^0.0.1-beta.114",
"@ibiz-template/model": "^0.0.1-beta.114",
"@ibiz-template/runtime": "^0.0.1-beta.114",
"@ibiz-template/service": "^0.0.1-beta.114",
"@ibiz-template/theme": "^0.0.1-beta.114",
"@ibiz-template/vue-util": "^0.0.1-beta.114",
"@ibiz/dynamic-model-api": "^2.1.28",
"@riophae/vue-treeselect": "^0.4.0",
"dayjs": "^1.11.7",
......
......@@ -12,26 +12,26 @@ dependencies:
specifier: ^0.0.1-beta.50
version: 0.0.1-beta.50
'@ibiz-template/controller':
specifier: ^0.0.1-beta.113
version: 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/runtime@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8)
specifier: ^0.0.1-beta.114
version: 0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(@ibiz-template/runtime@0.0.1-beta.114)(@ibiz-template/service@0.0.1-beta.114)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8)
'@ibiz-template/core':
specifier: ^0.0.1-beta.113
version: 0.0.1-beta.113(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
specifier: ^0.0.1-beta.114
version: 0.0.1-beta.114(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model':
specifier: ^0.0.1-beta.113
version: 0.0.1-beta.113(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
specifier: ^0.0.1-beta.114
version: 0.0.1-beta.114(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/runtime':
specifier: ^0.0.1-beta.113
version: 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(qx-util@0.4.8)
specifier: ^0.0.1-beta.114
version: 0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(@ibiz-template/service@0.0.1-beta.114)(qx-util@0.4.8)
'@ibiz-template/service':
specifier: ^0.0.1-beta.113
version: 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(qx-util@0.4.8)(ramda@0.28.0)
specifier: ^0.0.1-beta.114
version: 0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/theme':
specifier: ^0.0.1-beta.113
version: 0.0.1-beta.113
specifier: ^0.0.1-beta.114
version: 0.0.1-beta.114
'@ibiz-template/vue-util':
specifier: ^0.0.1-beta.113
version: 0.0.1-beta.113(@ibiz-template/controller@0.0.1-beta.113)(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14)
specifier: ^0.0.1-beta.114
version: 0.0.1-beta.114(@ibiz-template/controller@0.0.1-beta.114)(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(@ibiz-template/service@0.0.1-beta.114)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14)
'@ibiz/dynamic-model-api':
specifier: ^2.1.28
version: 2.1.28(qx-util@0.4.8)
......@@ -939,8 +939,8 @@ packages:
qx-util: 0.4.8
dev: false
/@ibiz-template/controller@0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/runtime@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8):
resolution: {integrity: sha512-cVxCtMKkQIuLgQ8skUXkgHkoVzMYLY/jfXBwnnkf0tABqi216bRDZWIwWkCp7W+C/8poLJRQKrPPtbRYXX6CLA==}
/@ibiz-template/controller@0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(@ibiz-template/runtime@0.0.1-beta.114)(@ibiz-template/service@0.0.1-beta.114)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8):
resolution: {integrity: sha512-kGXrW6J0Y5TwToUk+stPK6E5OmaU/hRLEZYu9sRDlDWXbKXsYxsr2+WY5o68U+YzBgOH5okdlCsQTjbkD6OT7A==}
peerDependencies:
'@ibiz-template/core': ^0.0.1-beta.30
'@ibiz-template/model': ^0.0.1-beta.30
......@@ -950,10 +950,10 @@ packages:
qs: ^6.11.0
qx-util: ^0.4.8
dependencies:
'@ibiz-template/core': 0.0.1-beta.113(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.113(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/runtime': 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(qx-util@0.4.8)
'@ibiz-template/service': 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/core': 0.0.1-beta.114(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.114(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/runtime': 0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(@ibiz-template/service@0.0.1-beta.114)(qx-util@0.4.8)
'@ibiz-template/service': 0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(qx-util@0.4.8)(ramda@0.28.0)
async-validator: 4.2.5
dayjs: 1.11.7
lodash-es: 4.17.21
......@@ -961,8 +961,8 @@ packages:
qx-util: 0.4.8
dev: false
/@ibiz-template/core@0.0.1-beta.113(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0):
resolution: {integrity: sha512-xmSAxwrJyRLNZpyf1vyT32Ui1NSrh2GogcjI0nPbzqyChs8pzq8m7hwzvEZRlvyLl5hwnSTWkuvY3wuvfRQ42Q==}
/@ibiz-template/core@0.0.1-beta.114(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0):
resolution: {integrity: sha512-yFvL8sUYnannqV1xPfGZYq5+goV+rsv5IkHDWrFkC78MxhLDfeyGZ5xaVQTofeObMAPHPgTWEinvc5hEXDXQdw==}
peerDependencies:
lodash-es: ^4.17.21
qx-util: ^0.4.8
......@@ -979,8 +979,8 @@ packages:
- debug
dev: false
/@ibiz-template/model@0.0.1-beta.113(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8):
resolution: {integrity: sha512-TTeCRYaCwUQHZI3HSizaVykOC2NPS1ifxlo774giG+SmgaZ16zSVRveL9+JsbSwaj+sye0fqS7wPHNCT/0kUew==}
/@ibiz-template/model@0.0.1-beta.114(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8):
resolution: {integrity: sha512-PY8YcL71FwdcRm5ZOBsYpdBTvjZKemZAs2bOMpZuEUvxU5N5VI0Yh89uPVz4feWAx/5+q/ru9toPsxU96mPSkA==}
peerDependencies:
'@ibiz/dynamic-model-api': ^2.1.28
lodash-es: ^4.17.21
......@@ -992,8 +992,8 @@ packages:
qx-util: 0.4.8
dev: false
/@ibiz-template/runtime@0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(qx-util@0.4.8):
resolution: {integrity: sha512-WbhZjd3UETF1k/7IAId1ROaoHA40xReVWSivvZ4VqE3UjHbZguqTcdamCX/ftLy/+FRuF4WF7XUUPVD6vhLK/A==}
/@ibiz-template/runtime@0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(@ibiz-template/service@0.0.1-beta.114)(qx-util@0.4.8):
resolution: {integrity: sha512-eV/iY8iXDCHI9kKiNsQMbi4d4HZ9brWGPiOcfeM2rKlGhSmoUCzNb44/LYDqexy6y3+0snJ4jONg5zmodeX0KA==}
peerDependencies:
'@ibiz-template/core': ^0.0.1-beta.30
'@ibiz-template/model': ^0.0.1-beta.30
......@@ -1001,33 +1001,33 @@ packages:
qx-util: ^0.4.8
dependencies:
'@ibiz-template/command': 0.0.1-beta.50
'@ibiz-template/core': 0.0.1-beta.113(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.113(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/service': 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/core': 0.0.1-beta.114(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.114(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/service': 0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(qx-util@0.4.8)(ramda@0.28.0)
qs: 6.11.1
qx-util: 0.4.8
dev: false
/@ibiz-template/service@0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(qx-util@0.4.8)(ramda@0.28.0):
resolution: {integrity: sha512-/ECAWV7G15MUgXNu0wvyNeFW912XCAOyVxoC2IhigKksEGRdnUdYA6UpreSQvlODgh0Kb3OjJm8K2yJOvy5Nkg==}
/@ibiz-template/service@0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(qx-util@0.4.8)(ramda@0.28.0):
resolution: {integrity: sha512-zVai8Z31plwMxRoqkOKnQ2R5PiEuoiyL9Ycf2PxKFGk1Oa6NTsHkdRseRy9/ceEhTc5Oa64uttbTN2Haody32A==}
peerDependencies:
'@ibiz-template/core': ^0.0.1-beta.30
'@ibiz-template/model': ^0.0.1-beta.30
qx-util: ^0.4.8
ramda: ^0.28.0
dependencies:
'@ibiz-template/core': 0.0.1-beta.113(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.113(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/core': 0.0.1-beta.114(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.114(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
qx-util: 0.4.8
ramda: 0.28.0
dev: false
/@ibiz-template/theme@0.0.1-beta.113:
resolution: {integrity: sha512-q5exdQNNfqD1Bgz917459kdxGGAsbgtij/TNyebUpZTqNJFaxz8zJfYZL6fGnLgWcQcmz1crMcITyxmW5tEaZA==}
/@ibiz-template/theme@0.0.1-beta.114:
resolution: {integrity: sha512-dylf6gcZzBniokjSpn00jmr9yvtuyIK/KuA03OW9TivcL+0hg/3R7q3qiTYpBpj/zYj2mJ+S5KLb/JBxaWJH3g==}
dev: false
/@ibiz-template/vue-util@0.0.1-beta.113(@ibiz-template/controller@0.0.1-beta.113)(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14):
resolution: {integrity: sha512-g0xfcyVxZOIUju6Oc4mzifq9iTP1Py3Gtd3s6iUb9tjA8Jgr32LT3tL1S1bH9myACcoC+ygL+nIKBKwz/+V4ZQ==}
/@ibiz-template/vue-util@0.0.1-beta.114(@ibiz-template/controller@0.0.1-beta.114)(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(@ibiz-template/service@0.0.1-beta.114)(qs@6.11.1)(qx-util@0.4.8)(ramda@0.28.0)(vue-router@3.6.5)(vue@2.7.14):
resolution: {integrity: sha512-cYLgGzvkIQlEij7PalsLt4yqY4jrX37jKFaO909UjUhYz7SO75/lSiOvrxxVZLa1J4vGzSrpcQesEFgsgL354w==}
peerDependencies:
'@ibiz-template/controller': ^0.0.1-beta.30
'@ibiz-template/core': ^0.0.1-beta.30
......@@ -1039,10 +1039,10 @@ packages:
vue: ^2.7.14
vue-router: ^3.6.5
dependencies:
'@ibiz-template/controller': 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(@ibiz-template/runtime@0.0.1-beta.113)(@ibiz-template/service@0.0.1-beta.113)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8)
'@ibiz-template/core': 0.0.1-beta.113(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.113(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/service': 0.0.1-beta.113(@ibiz-template/core@0.0.1-beta.113)(@ibiz-template/model@0.0.1-beta.113)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/controller': 0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(@ibiz-template/runtime@0.0.1-beta.114)(@ibiz-template/service@0.0.1-beta.114)(lodash-es@4.17.21)(qs@6.11.1)(qx-util@0.4.8)
'@ibiz-template/core': 0.0.1-beta.114(lodash-es@4.17.21)(qx-util@0.4.8)(ramda@0.28.0)
'@ibiz-template/model': 0.0.1-beta.114(@ibiz/dynamic-model-api@2.1.28)(lodash-es@4.17.21)(qx-util@0.4.8)
'@ibiz-template/service': 0.0.1-beta.114(@ibiz-template/core@0.0.1-beta.114)(@ibiz-template/model@0.0.1-beta.114)(qx-util@0.4.8)(ramda@0.28.0)
qs: 6.11.1
qx-util: 0.4.8
ramda: 0.28.0
......
......@@ -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>
......
......@@ -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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册