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

jackwang 部署微服务接口

上级 e9534484
......@@ -37,11 +37,11 @@
git clone -b master $para2 ibizhumanresources/
export NODE_OPTIONS=--max-old-space-size=4096
cd ibizhumanresources/
mvn clean package -Ppim
cd humanresource-app/humanresource-app-pim
mvn -Ppim docker:build
mvn -Ppim docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/humanresource-app-pim.yaml iBizEE --with-registry-auth
mvn clean package -Phrapi
cd humanresource-provider/humanresource-provider-hrapi
mvn -Phrapi docker:build
mvn -Phrapi docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/humanresource-provider-hrapi.yaml iBizEE --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
......
......@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /humanresource-app-pim.jar
EXPOSE 10327
EXPOSE 8080
ADD humanresource-app-pim.jar /humanresource-app-pim.jar
......@@ -3,25 +3,9 @@ services:
humanresource-app-pim:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/humanresource-app-pim:latest
ports:
- "10327:10327"
- "8080:8080"
networks:
- agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
- SERVER_PORT=10327
- 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&allowMultiQueries=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
- SEATA_REGISTRY_NACOS_SERVER-ADDR=172.16.240.110:8848
- SEATA_ENABLED=true
deploy:
resources:
limits:
......
......@@ -4,7 +4,7 @@
<!--输出实体[HRARCHIVES]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-hrarchives-24-1">
<changeSet author="a_LAB01_e85d8801c" id="tab-hrarchives-25-1">
<createTable tableName="T_HRARCHIVES">
<column name="HRARCHIVESID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_HRARCHIVES_HRARCHIVESID"/>
......@@ -39,7 +39,7 @@
</column>
<column name="ACTIVEFLAG" remarks="" type="INT">
</column>
<column name="ATTACHMENT" remarks="" type="VARCHAR(100)">
<column name="ATTACHMENT" remarks="" type="VARCHAR(1000)">
</column>
<column name="MEMO" remarks="" type="VARCHAR(2000)">
</column>
......@@ -68,7 +68,7 @@
<!--输出实体[HRCERTIFICATE]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-hrcertificate-78-3">
<changeSet author="a_LAB01_e85d8801c" id="tab-hrcertificate-90-3">
<createTable tableName="T_HRCERTIFICATE">
<column name="HRCERTIFICATEID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_HRCERTIFICATE_HRCERTIFICATE"/>
......@@ -85,7 +85,7 @@
</column>
<column name="HREMPLOYEEID" remarks="" type="VARCHAR(100)">
</column>
<column name="ATTACHMENT" remarks="" type="VARCHAR(100)">
<column name="ATTACHMENT" remarks="" type="VARCHAR(1000)">
</column>
<column name="CERTIFICATECODE" remarks="" type="VARCHAR(100)">
</column>
......@@ -110,7 +110,7 @@
<!--输出实体[HRCONTRACT]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-hrcontract-136-4">
<changeSet author="a_LAB01_e85d8801c" id="tab-hrcontract-137-4">
<createTable tableName="T_HRCONTRACT">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......@@ -151,7 +151,7 @@
</column>
<column name="CONTRACTSIGNNUM" remarks="" type="BIGINT">
</column>
<column name="ATTACHMENT" remarks="" type="VARCHAR(100)">
<column name="ATTACHMENT" remarks="" type="VARCHAR(1000)">
</column>
<column name="WORKCONTENT" remarks="" type="VARCHAR(2000)">
</column>
......@@ -290,7 +290,7 @@
<!--输出实体[HREDUCATION]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-hreducation-40-10">
<changeSet author="a_LAB01_e85d8801c" id="tab-hreducation-44-10">
<createTable tableName="T_HREDUCATION">
<column name="HREDUCATIONID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_HREDUCATION_HREDUCATIONID"/>
......@@ -327,13 +327,13 @@
</column>
<column name="FIRSTDEGREEFLAG" remarks="" type="INT">
</column>
<column name="ATTACHMENT" remarks="" type="VARCHAR(100)">
<column name="ATTACHMENT" remarks="" type="VARCHAR(1000)">
</column>
<column name="ATTACHMENT1" remarks="" type="VARCHAR(100)">
<column name="ATTACHMENT1" remarks="" type="VARCHAR(1000)">
</column>
<column name="ATTACHMENT2" remarks="" type="VARCHAR(100)">
<column name="ATTACHMENT2" remarks="" type="VARCHAR(1000)">
</column>
<column name="ATTACHMENT3" remarks="" type="VARCHAR(100)">
<column name="ATTACHMENT3" remarks="" type="VARCHAR(1000)">
</column>
</createTable>
</changeSet>
......@@ -490,7 +490,7 @@
<!--输出实体[HRLANGUAGEABILITY]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-hrlanguageability-16-14">
<changeSet author="a_LAB01_e85d8801c" id="tab-hrlanguageability-17-14">
<createTable tableName="T_HRLANGUAGEABILITY">
<column name="UPDATEMAN" remarks="" type="VARCHAR(60)">
</column>
......@@ -507,7 +507,7 @@
</column>
<column name="HREMPLOYEEID" remarks="" type="VARCHAR(100)">
</column>
<column name="ATTACHMENT" remarks="" type="VARCHAR(100)">
<column name="ATTACHMENT" remarks="" type="VARCHAR(1000)">
</column>
<column name="LANGUAGETYPE" remarks="" type="VARCHAR(60)">
</column>
......@@ -772,7 +772,7 @@
<!--输出实体[HRPAPER]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-hrpaper-15-25">
<changeSet author="a_LAB01_e85d8801c" id="tab-hrpaper-16-25">
<createTable tableName="T_HRPAPER">
<column name="HRPAPERID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_HRPAPER_HRPAPERID"/>
......@@ -791,7 +791,7 @@
</column>
<column name="ACTIVETIME" remarks="" type="DATETIME">
</column>
<column name="ATTACHMENT" remarks="" type="VARCHAR(100)">
<column name="ATTACHMENT" remarks="" type="VARCHAR(1000)">
</column>
<column name="PUBLISHER" remarks="" type="VARCHAR(100)">
</column>
......@@ -806,7 +806,7 @@
<!--输出实体[HRPATENT]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-hrpatent-16-26">
<changeSet author="a_LAB01_e85d8801c" id="tab-hrpatent-17-26">
<createTable tableName="T_HRPATENT">
<column name="HRPATENTID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_HRPATENT_HRPATENTID"/>
......@@ -825,7 +825,7 @@
</column>
<column name="ACTIVETIME" remarks="" type="DATETIME">
</column>
<column name="ATTACHMENT" remarks="" type="VARCHAR(100)">
<column name="ATTACHMENT" remarks="" type="VARCHAR(1000)">
</column>
<column name="PATENTCODE" remarks="" type="VARCHAR(100)">
</column>
......@@ -898,7 +898,7 @@
<!--输出实体[HRRESEARCH]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-hrresearch-13-29">
<changeSet author="a_LAB01_e85d8801c" id="tab-hrresearch-14-29">
<createTable tableName="T_HRRESEARCH">
<column name="HRRESEARCHID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_HRRESEARCH_HRRESEARCHID"/>
......@@ -917,14 +917,14 @@
</column>
<column name="ACTIVETIME" remarks="" type="DATETIME">
</column>
<column name="ATTACHMENT" remarks="" type="VARCHAR(100)">
<column name="ATTACHMENT" remarks="" type="VARCHAR(1000)">
</column>
</createTable>
</changeSet>
<!--输出实体[HRREWARD]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-hrreward-18-30">
<changeSet author="a_LAB01_e85d8801c" id="tab-hrreward-19-30">
<createTable tableName="T_HRREWARD">
<column name="HRREWARDNAME" remarks="" type="VARCHAR(200)">
</column>
......@@ -951,7 +951,7 @@
</column>
<column name="AUTHORGANIZATION" remarks="" type="VARCHAR(100)">
</column>
<column name="ATTACHMENT" remarks="" type="VARCHAR(100)">
<column name="ATTACHMENT" remarks="" type="VARCHAR(1000)">
</column>
<column name="REWARDEVENT" remarks="" type="VARCHAR(2000)">
</column>
......@@ -960,7 +960,7 @@
<!--输出实体[HRTECHNICALTITLE]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-hrtechnicaltitle-50-31">
<changeSet author="a_LAB01_e85d8801c" id="tab-hrtechnicaltitle-55-31">
<createTable tableName="T_HRTECHNICALTITLE">
<column name="HRTECHNICALTITLEID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_HRTECHNICALTITLE_HRTECHNICA"/>
......@@ -991,7 +991,7 @@
</column>
<column name="HIGHTITLE" remarks="" type="INT">
</column>
<column name="ATTACHMENT" remarks="" type="VARCHAR(100)">
<column name="ATTACHMENT" remarks="" type="VARCHAR(1000)">
</column>
<column name="CERTIFICATECODE" remarks="" type="VARCHAR(100)">
</column>
......@@ -1022,7 +1022,7 @@
<!--输出实体[HRTRANSFERAPPLY]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-hrtransferapply-164-33">
<changeSet author="a_LAB01_e85d8801c" id="tab-hrtransferapply-165-33">
<createTable tableName="T_HRTRANSFERAPPLY">
<column name="HRTRANSFERAPPLYID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_HRTRANSFERAPPLY_HRTRANSFERA"/>
......@@ -1051,7 +1051,7 @@
</column>
<column name="ACTIVETIME" remarks="" type="DATETIME">
</column>
<column name="ATTACHMENT" remarks="" type="VARCHAR(100)">
<column name="ATTACHMENT" remarks="" type="VARCHAR(1000)">
</column>
<column name="WFINSTANCEID" remarks="" type="VARCHAR(100)">
</column>
......@@ -1103,22 +1103,22 @@
</changeSet>
<!--输出实体[HRARCHIVES]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-hrarchives-24-35">
<changeSet author="a_LAB01_e85d8801c" id="fk-hrarchives-25-35">
<addForeignKeyConstraint baseColumnNames="HREMPLOYEEID" baseTableName="T_HRARCHIVES" constraintName="DER1N_HRARCHIVES_HREMPLOYEE_HR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EMPLOYEEID" referencedTableName="EMPLOYEE" validate="true"/>
</changeSet>
<!--输出实体[HRATTENDANCE]外键关系 -->
<!--输出实体[HRCERTIFICATE]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-hrcertificate-78-36">
<changeSet author="a_LAB01_e85d8801c" id="fk-hrcertificate-90-36">
<addForeignKeyConstraint baseColumnNames="HREMPLOYEEID" baseTableName="T_HRCERTIFICATE" constraintName="DER1N_HRCERTIFICATE_HREMPLOYEE" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EMPLOYEEID" referencedTableName="EMPLOYEE" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-hrcertificate-78-37">
<changeSet author="a_LAB01_e85d8801c" id="fk-hrcertificate-90-37">
<addForeignKeyConstraint baseColumnNames="REGISTERORGANIZATIONID" baseTableName="T_HRCERTIFICATE" constraintName="DER1N_HRCERTIFICATE_HRORGANIZA" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ORGANIZATIONID" referencedTableName="ORGANIZATION" validate="true"/>
</changeSet>
<!--输出实体[HRCONTRACT]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-hrcontract-136-38">
<changeSet author="a_LAB01_e85d8801c" id="fk-hrcontract-137-38">
<addForeignKeyConstraint baseColumnNames="HREMPLOYEEID" baseTableName="T_HRCONTRACT" constraintName="DER1N_HRCONTRACT_HREMPLOYEE_HR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EMPLOYEEID" referencedTableName="EMPLOYEE" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-hrcontract-136-39">
<changeSet author="a_LAB01_e85d8801c" id="fk-hrcontract-137-39">
<addForeignKeyConstraint baseColumnNames="MGRORGANIZATIONID" baseTableName="T_HRCONTRACT" constraintName="DER1N_HRCONTRACT_HRORGANIZATIO" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ORGANIZATIONID" referencedTableName="ORGANIZATION" validate="true"/>
</changeSet>
<!--输出实体[HRDISTRIBUTION]外键关系 -->
......@@ -1142,7 +1142,7 @@
<addForeignKeyConstraint baseColumnNames="HRDUTYID" baseTableName="T_HRDUTYSKILL" constraintName="DER1N_HRDUTYSKILL_HRDUTY_HRDUT" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="HRDUTYID" referencedTableName="T_HRDUTY" validate="true"/>
</changeSet>
<!--输出实体[HREDUCATION]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-hreducation-40-46">
<changeSet author="a_LAB01_e85d8801c" id="fk-hreducation-44-46">
<addForeignKeyConstraint baseColumnNames="HREMPLOYEEID" baseTableName="T_HREDUCATION" constraintName="DER1N_HREDUCATION_HREMPLOYEE_H" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EMPLOYEEID" referencedTableName="EMPLOYEE" validate="true"/>
</changeSet>
<!--输出实体[HREMPSTATE]外键关系 -->
......@@ -1161,7 +1161,7 @@
<addForeignKeyConstraint baseColumnNames="HREMPLOYEEID" baseTableName="T_HRFAMILY" constraintName="DER1N_HRFAMILY_HREMPLOYEE_HREM" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EMPLOYEEID" referencedTableName="EMPLOYEE" validate="true"/>
</changeSet>
<!--输出实体[HRLANGUAGEABILITY]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-hrlanguageability-16-51">
<changeSet author="a_LAB01_e85d8801c" id="fk-hrlanguageability-17-51">
<addForeignKeyConstraint baseColumnNames="HREMPLOYEEID" baseTableName="T_HRLANGUAGEABILITY" constraintName="DER1N_HRLANGUAGEABILITY_HREMPL" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EMPLOYEEID" referencedTableName="EMPLOYEE" validate="true"/>
</changeSet>
<!--输出实体[HRLEAVE]外键关系 -->
......@@ -1193,11 +1193,11 @@
</changeSet>
<!--输出实体[HRORGANIZATION]外键关系 -->
<!--输出实体[HRPAPER]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-hrpaper-15-59">
<changeSet author="a_LAB01_e85d8801c" id="fk-hrpaper-16-59">
<addForeignKeyConstraint baseColumnNames="HREMPLOYEEID" baseTableName="T_HRPAPER" constraintName="DER1N_HRPAPER_HREMPLOYEE_HREMP" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EMPLOYEEID" referencedTableName="EMPLOYEE" validate="true"/>
</changeSet>
<!--输出实体[HRPATENT]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-hrpatent-16-60">
<changeSet author="a_LAB01_e85d8801c" id="fk-hrpatent-17-60">
<addForeignKeyConstraint baseColumnNames="HREMPLOYEEID" baseTableName="T_HRPATENT" constraintName="DER1N_HRPATENT_HREMPLOYEE_HREM" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EMPLOYEEID" referencedTableName="EMPLOYEE" validate="true"/>
</changeSet>
<!--输出实体[HRPOST]外键关系 -->
......@@ -1215,15 +1215,15 @@
<addForeignKeyConstraint baseColumnNames="PHRPOSTID" baseTableName="T_HRPOSTREL" constraintName="DER1N_HRPOSTREL_HRPOST_PHRPOST" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="HRPOSTID" referencedTableName="T_HRPOST" validate="true"/>
</changeSet>
<!--输出实体[HRRESEARCH]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-hrresearch-13-65">
<changeSet author="a_LAB01_e85d8801c" id="fk-hrresearch-14-65">
<addForeignKeyConstraint baseColumnNames="HREMPLOYEEID" baseTableName="T_HRRESEARCH" constraintName="DER1N_HRRESEARCH_HREMPLOYEE_HR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EMPLOYEEID" referencedTableName="EMPLOYEE" validate="true"/>
</changeSet>
<!--输出实体[HRREWARD]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-hrreward-18-66">
<changeSet author="a_LAB01_e85d8801c" id="fk-hrreward-19-66">
<addForeignKeyConstraint baseColumnNames="HREMPLOYEEID" baseTableName="T_HRREWARD" constraintName="DER1N_HRREWARD_HREMPLOYEE_HREM" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EMPLOYEEID" referencedTableName="EMPLOYEE" validate="true"/>
</changeSet>
<!--输出实体[HRTECHNICALTITLE]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-hrtechnicaltitle-50-67">
<changeSet author="a_LAB01_e85d8801c" id="fk-hrtechnicaltitle-55-67">
<addForeignKeyConstraint baseColumnNames="HREMPLOYEEID" baseTableName="T_HRTECHNICALTITLE" constraintName="DER1N_HRTECHNICALTITLE_HREMPLO" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EMPLOYEEID" referencedTableName="EMPLOYEE" validate="true"/>
</changeSet>
<!--输出实体[HRTRAININGRECORD]外键关系 -->
......@@ -1231,13 +1231,13 @@
<addForeignKeyConstraint baseColumnNames="HREMPLOYEEID" baseTableName="T_HRTRAININGRECORD" constraintName="DER1N_HRTRAININGRECORD_HREMPLO" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EMPLOYEEID" referencedTableName="EMPLOYEE" validate="true"/>
</changeSet>
<!--输出实体[HRTRANSFERAPPLY]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-hrtransferapply-164-69">
<changeSet author="a_LAB01_e85d8801c" id="fk-hrtransferapply-165-69">
<addForeignKeyConstraint baseColumnNames="HREMPLOYEEID" baseTableName="T_HRTRANSFERAPPLY" constraintName="DER1N_HRTRANSFERAPPLY_HREMPLOY" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="EMPLOYEEID" referencedTableName="EMPLOYEE" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-hrtransferapply-164-70">
<changeSet author="a_LAB01_e85d8801c" id="fk-hrtransferapply-165-70">
<addForeignKeyConstraint baseColumnNames="HRORGANIZATIONID2" baseTableName="T_HRTRANSFERAPPLY" constraintName="DER1N_HRTRANSFERAPPLY_HRORGANI" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ORGANIZATIONID" referencedTableName="ORGANIZATION" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-hrtransferapply-164-71">
<changeSet author="a_LAB01_e85d8801c" id="fk-hrtransferapply-165-71">
<addForeignKeyConstraint baseColumnNames="HRPOSTID2" baseTableName="T_HRTRANSFERAPPLY" constraintName="DER1N_HRTRANSFERAPPLY_HRPOST_H" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="HRPOSTID" referencedTableName="T_HRPOST" validate="true"/>
</changeSet>
<!--输出实体[HRWORKRECORD]外键关系 -->
......
......@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /humanresource-provider-hrapi.jar
EXPOSE 8081
EXPOSE 10317
ADD humanresource-provider-hrapi.jar /humanresource-provider-hrapi.jar
......@@ -3,9 +3,25 @@ services:
humanresource-provider-hrapi:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/humanresource-provider-hrapi:latest
ports:
- "8081:8081"
- "10317:10317"
networks:
- agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
- SERVER_PORT=10317
- 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&allowMultiQueries=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
- SEATA_REGISTRY_NACOS_SERVER-ADDR=172.16.240.110:8848
- SEATA_ENABLED=true
deploy:
resources:
limits:
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册