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

xignzi006 部署微服务应用

上级 cd874362
...@@ -7,6 +7,33 @@ ...@@ -7,6 +7,33 @@
"appdedataset":"", "appdedataset":"",
"items": [] "items": []
}, },
{
"srfkey": "ContentType",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "CONTENT",
"label": "内容",
"text": "内容",
"data":"",
"codename":"Content",
"value": "CONTENT",
"disabled": false
}
, {
"id": "LINK",
"label": "链接",
"text": "链接",
"data":"",
"codename":"Link",
"value": "LINK",
"disabled": false
}
]
},
{ {
"srfkey": "YesNo", "srfkey": "YesNo",
"emptytext": "未定义", "emptytext": "未定义",
......
...@@ -2,6 +2,11 @@ export default { ...@@ -2,6 +2,11 @@ export default {
SysOperator: { SysOperator: {
"empty": "", "empty": "",
}, },
ContentType: {
"CONTENT": "内容",
"LINK": "链接",
"empty": ""
},
YesNo: { YesNo: {
"1": "是", "1": "是",
"0": "否", "0": "否",
......
...@@ -2,6 +2,11 @@ export default { ...@@ -2,6 +2,11 @@ export default {
SysOperator: { SysOperator: {
"empty": "", "empty": "",
}, },
ContentType: {
"CONTENT": "内容",
"LINK": "链接",
"empty": "",
},
YesNo: { YesNo: {
"1": "是", "1": "是",
"0": "否", "0": "否",
......
...@@ -101,33 +101,41 @@ export default { ...@@ -101,33 +101,41 @@ export default {
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction4: { tbitem3: {
caption: "Edit", caption: "Save",
tip: "Edit {0}", tip: "Save",
},
tbitem4: {
caption: "Save And New",
tip: "Save And New",
}, },
seperator4: { tbitem5: {
caption: "", caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem6: {
caption: "-",
tip: "", tip: "",
}, },
deuiaction1: { tbitem7: {
caption: "Remove And Close", caption: "Remove And Close",
tip: "Remove And Close Window", tip: "Remove And Close Window",
}, },
seperator2: { tbitem8: {
caption: "", caption: "-",
tip: "", tip: "",
}, },
deuiaction2: { tbitem12: {
caption: "刷新", caption: "New",
tip: "刷新", tip: "New",
}, },
seperator1: { tbitem13: {
caption: "", caption: "-",
tip: "", tip: "",
}, },
tbitem12: { tbitem14: {
caption: "关闭", caption: "Copy",
tip: "关闭", tip: "Copy {0}",
}, },
}, },
}; };
\ No newline at end of file
...@@ -100,33 +100,41 @@ export default { ...@@ -100,33 +100,41 @@ export default {
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction4: { tbitem3: {
caption: "编辑", caption: "保存",
tip: "编辑", tip: "保存",
},
tbitem4: {
caption: "保存并新建",
tip: "保存并新建",
}, },
seperator4: { tbitem5: {
caption: "", caption: "保存并关闭",
tip: "保存并关闭",
},
tbitem6: {
caption: "-",
tip: "", tip: "",
}, },
deuiaction1: { tbitem7: {
caption: "删除并关闭", caption: "删除并关闭",
tip: "删除并关闭", tip: "删除并关闭",
}, },
seperator2: { tbitem8: {
caption: "", caption: "-",
tip: "", tip: "",
}, },
deuiaction2: { tbitem12: {
caption: "刷新", caption: "新建",
tip: "刷新", tip: "新建",
}, },
seperator1: { tbitem13: {
caption: "", caption: "-",
tip: "", tip: "",
}, },
tbitem12: { tbitem14: {
caption: "关闭", caption: "拷贝",
tip: "关闭", tip: "拷贝",
}, },
}, },
}; };
\ No newline at end of file
...@@ -75,33 +75,41 @@ export default { ...@@ -75,33 +75,41 @@ export default {
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction4: { tbitem3: {
caption: "Edit", caption: "Save",
tip: "Edit {0}", tip: "Save",
},
tbitem4: {
caption: "Save And New",
tip: "Save And New",
}, },
seperator4: { tbitem5: {
caption: "", caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem6: {
caption: "-",
tip: "", tip: "",
}, },
deuiaction1: { tbitem7: {
caption: "Remove And Close", caption: "Remove And Close",
tip: "Remove And Close Window", tip: "Remove And Close Window",
}, },
seperator2: { tbitem8: {
caption: "", caption: "-",
tip: "", tip: "",
}, },
deuiaction2: { tbitem12: {
caption: "刷新", caption: "New",
tip: "刷新", tip: "New",
}, },
seperator1: { tbitem13: {
caption: "", caption: "-",
tip: "", tip: "",
}, },
tbitem12: { tbitem14: {
caption: "关闭", caption: "Copy",
tip: "关闭", tip: "Copy {0}",
}, },
}, },
gridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
......
...@@ -74,33 +74,41 @@ export default { ...@@ -74,33 +74,41 @@ export default {
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction4: { tbitem3: {
caption: "编辑", caption: "保存",
tip: "编辑", tip: "保存",
},
tbitem4: {
caption: "保存并新建",
tip: "保存并新建",
}, },
seperator4: { tbitem5: {
caption: "", caption: "保存并关闭",
tip: "保存并关闭",
},
tbitem6: {
caption: "-",
tip: "", tip: "",
}, },
deuiaction1: { tbitem7: {
caption: "删除并关闭", caption: "删除并关闭",
tip: "删除并关闭", tip: "删除并关闭",
}, },
seperator2: { tbitem8: {
caption: "", caption: "-",
tip: "", tip: "",
}, },
deuiaction2: { tbitem12: {
caption: "刷新", caption: "新建",
tip: "刷新", tip: "新建",
}, },
seperator1: { tbitem13: {
caption: "", caption: "-",
tip: "", tip: "",
}, },
tbitem12: { tbitem14: {
caption: "关闭", caption: "拷贝",
tip: "关闭", tip: "拷贝",
}, },
}, },
gridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
......
...@@ -87,33 +87,41 @@ export default { ...@@ -87,33 +87,41 @@ export default {
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction4: { tbitem3: {
caption: "Edit", caption: "Save",
tip: "Edit {0}", tip: "Save",
},
tbitem4: {
caption: "Save And New",
tip: "Save And New",
}, },
seperator4: { tbitem5: {
caption: "", caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem6: {
caption: "-",
tip: "", tip: "",
}, },
deuiaction1: { tbitem7: {
caption: "Remove And Close", caption: "Remove And Close",
tip: "Remove And Close Window", tip: "Remove And Close Window",
}, },
seperator2: { tbitem8: {
caption: "", caption: "-",
tip: "", tip: "",
}, },
deuiaction2: { tbitem12: {
caption: "刷新", caption: "New",
tip: "刷新", tip: "New",
}, },
seperator1: { tbitem13: {
caption: "", caption: "-",
tip: "", tip: "",
}, },
tbitem12: { tbitem14: {
caption: "关闭", caption: "Copy",
tip: "关闭", tip: "Copy {0}",
}, },
}, },
}; };
\ No newline at end of file
...@@ -86,33 +86,41 @@ export default { ...@@ -86,33 +86,41 @@ export default {
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction4: { tbitem3: {
caption: "编辑", caption: "保存",
tip: "编辑", tip: "保存",
},
tbitem4: {
caption: "保存并新建",
tip: "保存并新建",
}, },
seperator4: { tbitem5: {
caption: "", caption: "保存并关闭",
tip: "保存并关闭",
},
tbitem6: {
caption: "-",
tip: "", tip: "",
}, },
deuiaction1: { tbitem7: {
caption: "删除并关闭", caption: "删除并关闭",
tip: "删除并关闭", tip: "删除并关闭",
}, },
seperator2: { tbitem8: {
caption: "", caption: "-",
tip: "", tip: "",
}, },
deuiaction2: { tbitem12: {
caption: "刷新", caption: "新建",
tip: "刷新", tip: "新建",
}, },
seperator1: { tbitem13: {
caption: "", caption: "-",
tip: "", tip: "",
}, },
tbitem12: { tbitem14: {
caption: "关闭", caption: "拷贝",
tip: "关闭", tip: "拷贝",
}, },
}, },
}; };
\ No newline at end of file
...@@ -67,33 +67,41 @@ export default { ...@@ -67,33 +67,41 @@ export default {
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction4: { tbitem3: {
caption: "Edit", caption: "Save",
tip: "Edit {0}", tip: "Save",
},
tbitem4: {
caption: "Save And New",
tip: "Save And New",
}, },
seperator4: { tbitem5: {
caption: "", caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem6: {
caption: "-",
tip: "", tip: "",
}, },
deuiaction1: { tbitem7: {
caption: "Remove And Close", caption: "Remove And Close",
tip: "Remove And Close Window", tip: "Remove And Close Window",
}, },
seperator2: { tbitem8: {
caption: "", caption: "-",
tip: "", tip: "",
}, },
deuiaction2: { tbitem12: {
caption: "刷新", caption: "New",
tip: "刷新", tip: "New",
}, },
seperator1: { tbitem13: {
caption: "", caption: "-",
tip: "", tip: "",
}, },
tbitem12: { tbitem14: {
caption: "关闭", caption: "Copy",
tip: "关闭", tip: "Copy {0}",
}, },
}, },
gridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
......
...@@ -66,33 +66,41 @@ export default { ...@@ -66,33 +66,41 @@ export default {
}, },
}, },
editviewtoolbar_toolbar: { editviewtoolbar_toolbar: {
deuiaction4: { tbitem3: {
caption: "编辑", caption: "保存",
tip: "编辑", tip: "保存",
},
tbitem4: {
caption: "保存并新建",
tip: "保存并新建",
}, },
seperator4: { tbitem5: {
caption: "", caption: "保存并关闭",
tip: "保存并关闭",
},
tbitem6: {
caption: "-",
tip: "", tip: "",
}, },
deuiaction1: { tbitem7: {
caption: "删除并关闭", caption: "删除并关闭",
tip: "删除并关闭", tip: "删除并关闭",
}, },
seperator2: { tbitem8: {
caption: "", caption: "-",
tip: "", tip: "",
}, },
deuiaction2: { tbitem12: {
caption: "刷新", caption: "新建",
tip: "刷新", tip: "新建",
}, },
seperator1: { tbitem13: {
caption: "", caption: "-",
tip: "", tip: "",
}, },
tbitem12: { tbitem14: {
caption: "关闭", caption: "拷贝",
tip: "关闭", tip: "拷贝",
}, },
}, },
gridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
......
...@@ -15,6 +15,33 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -15,6 +15,33 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
"appdedataset":"", "appdedataset":"",
"items": [] "items": []
}, },
{
srfkey: "ContentType",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "CONTENT",
label: "内容",
text: "内容",
"data":"",
"codename":"Content",
value: "CONTENT",
disabled: false,
},
{
id: "LINK",
label: "链接",
text: "链接",
"data":"",
"codename":"Link",
value: "LINK",
disabled: false,
},
]
},
{ {
srfkey: "YesNo", srfkey: "YesNo",
emptytext: "未定义", emptytext: "未定义",
......
...@@ -195,6 +195,14 @@ export class MainGridBase extends GridControllerBase { ...@@ -195,6 +195,14 @@ export class MainGridBase extends GridControllerBase {
*/ */
public async formatExcelData(filterVal: any, jsonData: any, codelistColumns?: any[]): Promise<any> { public async formatExcelData(filterVal: any, jsonData: any, codelistColumns?: any[]): Promise<any> {
return super.formatExcelData(filterVal, jsonData, [ return super.formatExcelData(filterVal, jsonData, [
{
name: 'contenttype',
srfkey: 'ContentType',
codelistType : 'STATIC',
renderMode: 'other',
textSeparator: '、',
valueSeparator: ',',
},
{ {
name: 'validflag', name: 'validflag',
srfkey: 'YesNo', srfkey: 'YesNo',
......
...@@ -79,7 +79,9 @@ ...@@ -79,7 +79,9 @@
</span> </span>
</template> </template>
<template v-slot="{row,column,$index}"> <template v-slot="{row,column,$index}">
<span>{{row.contenttype}}</span> <template >
<codelist :value="row.contenttype" tag='ContentType' codelistType='STATIC' ></codelist>
</template>
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
......
...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \ ...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \ sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-app-crm.jar java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-app-crm.jar
EXPOSE 8080 EXPOSE 10324
ADD businesscentral-app-crm.jar /businesscentral-app-crm.jar ADD businesscentral-app-crm.jar /businesscentral-app-crm.jar
...@@ -3,9 +3,23 @@ services: ...@@ -3,9 +3,23 @@ services:
businesscentral-app-crm: businesscentral-app-crm:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-app-crm:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-app-crm:latest
ports: ports:
- "8080:8080" - "10324:10324"
networks: networks:
- agent_network - agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
- SERVER_PORT=10324
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
- SPRING_REDIS_HOST=172.16.240.110
- SPRING_REDIS_PORT=6379
- SPRING_REDIS_DATABASE=0
- SPRING_DATASOURCE_USERNAME=a_LAB01_e85d8801c
- SPRING_DATASOURCE_PASSWORD=b1@@@772
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_e85d8801c?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_e85d8801c
- CAS=https://passport.ibizlab.cn
- NACOS=172.16.240.110:8848
deploy: deploy:
resources: resources:
limits: limits:
......
...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \ ...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \ sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-app-website.jar java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-app-website.jar
EXPOSE 8080 EXPOSE 10324
ADD businesscentral-app-website.jar /businesscentral-app-website.jar ADD businesscentral-app-website.jar /businesscentral-app-website.jar
...@@ -3,9 +3,23 @@ services: ...@@ -3,9 +3,23 @@ services:
businesscentral-app-website: businesscentral-app-website:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-app-website:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-app-website:latest
ports: ports:
- "8080:8080" - "10324:10324"
networks: networks:
- agent_network - agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
- SERVER_PORT=10324
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
- SPRING_REDIS_HOST=172.16.240.110
- SPRING_REDIS_PORT=6379
- SPRING_REDIS_DATABASE=0
- SPRING_DATASOURCE_USERNAME=a_LAB01_e85d8801c
- SPRING_DATASOURCE_PASSWORD=b1@@@772
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_e85d8801c?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_e85d8801c
- CAS=https://passport.ibizlab.cn
- NACOS=172.16.240.110:8848
deploy: deploy:
resources: resources:
limits: limits:
......
...@@ -10853,7 +10853,7 @@ ...@@ -10853,7 +10853,7 @@
<!--输出实体[WEBSITE]数据结构 --> <!--输出实体[WEBSITE]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-website-21-128"> <changeSet author="a_LAB01_e85d8801c" id="tab-website-22-128">
<createTable tableName="WEBSITE"> <createTable tableName="WEBSITE">
<column name="WEBSITENAME" remarks="" type="VARCHAR(200)"> <column name="WEBSITENAME" remarks="" type="VARCHAR(200)">
</column> </column>
...@@ -10879,7 +10879,7 @@ ...@@ -10879,7 +10879,7 @@
<!--输出实体[WEBSITECHANNEL]数据结构 --> <!--输出实体[WEBSITECHANNEL]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-websitechannel-30-129"> <changeSet author="a_LAB01_e85d8801c" id="tab-websitechannel-31-129">
<createTable tableName="WEBSITECHANNEL"> <createTable tableName="WEBSITECHANNEL">
<column name="WEBSITECHANNELID" remarks="" type="VARCHAR(100)"> <column name="WEBSITECHANNELID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_WEBSITECHANNEL_WEBSITECHANN"/> <constraints primaryKey="true" primaryKeyName="PK_WEBSITECHANNEL_WEBSITECHANN"/>
...@@ -10913,7 +10913,7 @@ ...@@ -10913,7 +10913,7 @@
<!--输出实体[WEBSITECONTENT]数据结构 --> <!--输出实体[WEBSITECONTENT]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-websitecontent-29-130"> <changeSet author="a_LAB01_e85d8801c" id="tab-websitecontent-31-130">
<createTable tableName="WEBSITECONTENT"> <createTable tableName="WEBSITECONTENT">
<column name="WEBSITECONTENTID" remarks="" type="VARCHAR(100)"> <column name="WEBSITECONTENTID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_WEBSITECONTENT_WEBSITECONTE"/> <constraints primaryKey="true" primaryKeyName="PK_WEBSITECONTENT_WEBSITECONTE"/>
...@@ -10957,7 +10957,7 @@ ...@@ -10957,7 +10957,7 @@
<!--输出实体[WEBSITERESOURCE]数据结构 --> <!--输出实体[WEBSITERESOURCE]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-websiteresource-11-131"> <changeSet author="a_LAB01_e85d8801c" id="tab-websiteresource-12-131">
<createTable tableName="WEBSITERESOURCE"> <createTable tableName="WEBSITERESOURCE">
<column name="WEBSITERESOURCEID" remarks="" type="VARCHAR(100)"> <column name="WEBSITERESOURCEID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_WEBSITERESOURCE_WEBSITERESO"/> <constraints primaryKey="true" primaryKeyName="PK_WEBSITERESOURCE_WEBSITERESO"/>
...@@ -11904,21 +11904,21 @@ ...@@ -11904,21 +11904,21 @@
<!--输出实体[UOMSCHEDULE]外键关系 --> <!--输出实体[UOMSCHEDULE]外键关系 -->
<!--输出实体[WEBSITE]外键关系 --> <!--输出实体[WEBSITE]外键关系 -->
<!--输出实体[WEBSITECHANNEL]外键关系 --> <!--输出实体[WEBSITECHANNEL]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-websitechannel-30-427"> <changeSet author="a_LAB01_e85d8801c" id="fk-websitechannel-31-427">
<addForeignKeyConstraint baseColumnNames="PWEBSITECHANNELID" baseTableName="WEBSITECHANNEL" constraintName="DER1N_WEBSITECHANNEL_WEBSITECH" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="WEBSITECHANNELID" referencedTableName="WEBSITECHANNEL" validate="true"/> <addForeignKeyConstraint baseColumnNames="PWEBSITECHANNELID" baseTableName="WEBSITECHANNEL" constraintName="DER1N_WEBSITECHANNEL_WEBSITECH" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="WEBSITECHANNELID" referencedTableName="WEBSITECHANNEL" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-websitechannel-30-428"> <changeSet author="a_LAB01_e85d8801c" id="fk-websitechannel-31-428">
<addForeignKeyConstraint baseColumnNames="WEBSITEID" baseTableName="WEBSITECHANNEL" constraintName="DER1N_WEBSITECHANNEL_WEBSITE_W" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="WEBSITEID" referencedTableName="WEBSITE" validate="true"/> <addForeignKeyConstraint baseColumnNames="WEBSITEID" baseTableName="WEBSITECHANNEL" constraintName="DER1N_WEBSITECHANNEL_WEBSITE_W" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="WEBSITEID" referencedTableName="WEBSITE" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[WEBSITECONTENT]外键关系 --> <!--输出实体[WEBSITECONTENT]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-websitecontent-29-429"> <changeSet author="a_LAB01_e85d8801c" id="fk-websitecontent-31-429">
<addForeignKeyConstraint baseColumnNames="WEBSITECHANNELID" baseTableName="WEBSITECONTENT" constraintName="DER1N_WEBSITECONTENT_WEBSITECH" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="WEBSITECHANNELID" referencedTableName="WEBSITECHANNEL" validate="true"/> <addForeignKeyConstraint baseColumnNames="WEBSITECHANNELID" baseTableName="WEBSITECONTENT" constraintName="DER1N_WEBSITECONTENT_WEBSITECH" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="WEBSITECHANNELID" referencedTableName="WEBSITECHANNEL" validate="true"/>
</changeSet> </changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-websitecontent-29-430"> <changeSet author="a_LAB01_e85d8801c" id="fk-websitecontent-31-430">
<addForeignKeyConstraint baseColumnNames="WEBSITEID" baseTableName="WEBSITECONTENT" constraintName="DER1N_WEBSITECONTENT_WEBSITE_W" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="WEBSITEID" referencedTableName="WEBSITE" validate="true"/> <addForeignKeyConstraint baseColumnNames="WEBSITEID" baseTableName="WEBSITECONTENT" constraintName="DER1N_WEBSITECONTENT_WEBSITE_W" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="WEBSITEID" referencedTableName="WEBSITE" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[WEBSITERESOURCE]外键关系 --> <!--输出实体[WEBSITERESOURCE]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-websiteresource-11-431"> <changeSet author="a_LAB01_e85d8801c" id="fk-websiteresource-12-431">
<addForeignKeyConstraint baseColumnNames="WEBSITEID" baseTableName="WEBSITERESOURCE" constraintName="DER1N_WEBSITERESOURCE_WEBSITE_" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="WEBSITEID" referencedTableName="WEBSITE" validate="true"/> <addForeignKeyConstraint baseColumnNames="WEBSITEID" baseTableName="WEBSITERESOURCE" constraintName="DER1N_WEBSITERESOURCE_WEBSITE_" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="WEBSITEID" referencedTableName="WEBSITE" validate="true"/>
</changeSet> </changeSet>
......
...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \ ...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \ sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-provider-centralapi.jar java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-provider-centralapi.jar
EXPOSE 10310 EXPOSE 8081
ADD businesscentral-provider-centralapi.jar /businesscentral-provider-centralapi.jar ADD businesscentral-provider-centralapi.jar /businesscentral-provider-centralapi.jar
...@@ -3,23 +3,9 @@ services: ...@@ -3,23 +3,9 @@ services:
businesscentral-provider-centralapi: businesscentral-provider-centralapi:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-provider-centralapi:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-provider-centralapi:latest
ports: ports:
- "10310:10310" - "8081:8081"
networks: networks:
- agent_network - agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
- SERVER_PORT=10310
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
- SPRING_REDIS_HOST=172.16.240.110
- SPRING_REDIS_PORT=6379
- SPRING_REDIS_DATABASE=0
- SPRING_DATASOURCE_USERNAME=a_LAB01_e85d8801c
- SPRING_DATASOURCE_PASSWORD=b1@@@772
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_e85d8801c?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_e85d8801c
- CAS=https://passport.ibizlab.cn
- NACOS=172.16.240.110:8848
deploy: deploy:
resources: resources:
limits: limits:
......
...@@ -37,11 +37,11 @@ ...@@ -37,11 +37,11 @@
git clone -b master $para2 ibizbusinesscentral/ git clone -b master $para2 ibizbusinesscentral/
export NODE_OPTIONS=--max-old-space-size=4096 export NODE_OPTIONS=--max-old-space-size=4096
cd ibizbusinesscentral/ cd ibizbusinesscentral/
mvn clean package -Pcentralapi mvn clean package -Pwebsite
cd businesscentral-provider/businesscentral-provider-centralapi cd businesscentral-app/businesscentral-app-website
mvn -Pcentralapi docker:build mvn -Pwebsite docker:build
mvn -Pcentralapi docker:push mvn -Pwebsite docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/businesscentral-provider-centralapi.yaml iBizEE --with-registry-auth docker -H $para1 stack deploy --compose-file=src/main/docker/businesscentral-app-website.yaml iBizEE --with-registry-auth
</command> </command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册