程序说明

以IBPS-V3-Deployment-v201911040906.zip部署文件为例

解压:

unzip IBPS-V3-Deployment-v201911040906.zip

解压后目录结构:

|-- ibps3-java # 后端服务目录
|   |-- Dockerfile.bpmn # 流程服务容器化配置
|   |-- Dockerfile.business # 业务服务容器化配置
|   |-- Dockerfile.eureka # eureka服务容器化配置
|   |-- Dockerfile.form # 表单服务容器化配置
|   |-- Dockerfile.oauth2server # 认证服务容器化配置
|   |-- Dockerfile.platform # 基础服务容器化配置
|   |-- Dockerfile.zuul # 网关服务容器化配置
|   |-- docker-bpmn.sh # 流程服务容器化脚本
|   |-- docker-business.sh # 业务服务容器化脚本
|   |-- docker-eureka.sh # eureka服务容器化脚本
|   |-- docker-form.sh # 表单服务容器化脚本
|   |-- docker-oauth.sh # 认证服务容器化脚本
|   |-- docker-platform.sh # 基础服务容器化脚本
|   |-- docker-push.sh # 镜像推送脚本
|   |-- docker-zuul.sh # 网关服务容器化脚本
|   |-- restart.sh # 服务重启脚本
|   |-- show.sh # 服务进程查询脚本
|   |-- start.business.sh # 业务服务启动脚本
|   |-- start.oauth.sh # 认证服务启动脚本
|   |-- start.platform.sh # 基础服务启动脚本
|   |-- start.sh # 服务启动脚本-包含认证、网关、基础、业务服务同时启动
|   |-- start.zuul.sh # 网关服务启动脚本
|   |-- stop.business.sh # 业务服务停止脚本
|   |-- stop.oauth.sh # 认证服务停止脚本
|   |-- stop.platform.sh # 基础服务停止脚本
|   |-- stop.sh # 服务停止脚本-包含认证、网关、基础、业务服务同时停止
|   |-- stop.zuul.sh # 网关服务停止脚本
|   |-- bpmn # 流程服务
|   |   |-- IBPS-V3流程引擎服务.md
|   |   |-- app.bat # Windows启动脚本
|   |   |-- app.docker.sh # docker容器操作脚本
|   |   |-- app.sh # linux操作脚本
|   |   |-- appd # linux服务自启脚本
|   |   |-- banner.txt # console banner
|   |   |-- bpmn.jar # 程序入口
|   |   |-- readMe # 说明文档
|   |   |-- conf # 配置文件,主要是组件配置、数据源、授权文件
|   |   |   |-- banner.txt
|   |   |   |-- dataSource-cloud.xml
|   |   |   |-- dataSource-dev.xml
|   |   |   |-- dataSource-prod.xml
|   |   |   |-- dataSource-test.xml
|   |   |   |-- dataSource.xsd
|   |   |   |-- dataSourceDef.xml
|   |   |   |-- dataSourceDef.xsd
|   |   |   |-- executionActionPlugin.xsd
|   |   |   |-- executionActionPlugins.xml
|   |   |   |-- expired.txt
|   |   |   |-- ibps-base-common.xml
|   |   |   |-- ibps-base-datasource-druid.xml
|   |   |   |-- ibps-base-datasource-proxool.xml
|   |   |   |-- ibps-base-datasource.xml
|   |   |   |-- ibps-base-db-config.xml
|   |   |   |-- ibps-base-db-refresh.xml
|   |   |   |-- ibps-base-db.xml
|   |   |   |-- ibps-base-service.xml
|   |   |   |-- ibps-base-validator.xml
|   |   |   |-- ibps-bpmn-activiti.xml
|   |   |   |-- ibps-bpmn-bean.xml
|   |   |   |-- ibps-bpmn-biz.xml
|   |   |   |-- ibps-bpmn-def.xml
|   |   |   |-- ibps-bpmn-extend.xml
|   |   |   |-- ibps-bpmn-plugin-core.xml
|   |   |   |-- ibps-bpmn-plugin.xml
|   |   |   |-- ibps-bpmn-task-handler.xml
|   |   |   |-- ibps-component-cache.xml
|   |   |   |-- ibps-component-mail.xml
|   |   |   |-- ibps-context.xml
|   |   |   |-- ibps-excessive-platform.xml
|   |   |   |-- ibps-mapping-all.xml
|   |   |   |-- ibps-persist-core.xml
|   |   |   |-- ibps-resources.xml
|   |   |   |-- ibps-web-beans.xml
|   |   |   |-- ibps-web-context.xml
|   |   |   |-- ibpsPublic.store
|   |   |   |-- ibpsVfy.lic
|   |   |   |-- taskActionPlugin.xsd
|   |   |   |-- taskActionPlugins.xml
|   |   |-- config # 配置文件,主要是spring-boot相关配置
|   |   |   |-- application-app.yml
|   |   |   |-- application-cloud-base.yml
|   |   |   |-- application-cloud-consul.yml
|   |   |   |-- application-cloud-eureka.yml
|   |   |   |-- application-cloud-gw-base.yml
|   |   |   |-- application-cloud-nacos.yml
|   |   |   |-- application-cloud-pv-base.yml
|   |   |   |-- application-cloud-zookeeper.yml
|   |   |   |-- application-cloud.yml
|   |   |   |-- application-common.yml
|   |   |   |-- application-dev-base.yml
|   |   |   |-- application-dev-consul.yml
|   |   |   |-- application-dev-eureka.yml
|   |   |   |-- application-dev-gw-base.yml
|   |   |   |-- application-dev-nacos.yml
|   |   |   |-- application-dev-pv-base.yml
|   |   |   |-- application-dev-zookeeper.yml
|   |   |   |-- application-dev.yml
|   |   |   |-- application-jetty.yml
|   |   |   |-- application-prod-base.yml
|   |   |   |-- application-prod-consul.yml
|   |   |   |-- application-prod-eureka.yml
|   |   |   |-- application-prod-gw-base.yml
|   |   |   |-- application-prod-nacos.yml
|   |   |   |-- application-prod-pv-base.yml
|   |   |   |-- application-prod-zookeeper.yml
|   |   |   |-- application-prod.yml
|   |   |   |-- application-test-base.yml
|   |   |   |-- application-test-consul.yml
|   |   |   |-- application-test-eureka.yml
|   |   |   |-- application-test-gw-base.yml
|   |   |   |-- application-test-nacos.yml
|   |   |   |-- application-test-pv-base.yml
|   |   |   |-- application-test-zookeeper.yml
|   |   |   |-- application-test.yml
|   |   |   |-- application-tomcat.yml
|   |   |   |-- application-undertow.yml
|   |   |   |-- application-vpn.yml
|   |   |   |-- application.yml
|   |   |   |-- bootstrap.yml
|   |   |   |-- cmdline-dev.txt # skywalking探针参数设置
|   |   |   |-- cmdline-prod.txt # skywalking探针参数设置
|   |   |   |-- cmdline-test.txt # skywalking探针参数设置
|   |   |   |-- log4j2.yml # 日志设置
|   |   |-- i18n # 国际化配置文件目录
|   |   |   |-- feign-resources.properties
|   |   |-- lib # java类库目录
|   |   |-- sql # 初始化sql目录
|   |   |-- template # 模版文件目录
|   |   |-- xsd # xsd定义文件目录
|   |-- business # 业务服务
|   |   |-- IBPS-V3基础平台服务.md
|   |   |-- app.bat
|   |   |-- app.docker.sh
|   |   |-- app.sh
|   |   |-- appd
|   |   |-- banner.txt
|   |   |-- business.jar
|   |   |-- readMe
|   |   |-- com
|   |   |-- conf
|   |   |   |-- banner.txt
|   |   |   |-- dataSource-cloud.xml
|   |   |   |-- dataSource-dev.xml
|   |   |   |-- dataSource-prod.xml
|   |   |   |-- dataSource-test.xml
|   |   |   |-- dataSource.xsd
|   |   |   |-- dataSourceDef.xml
|   |   |   |-- dataSourceDef.xsd
|   |   |   |-- executionActionPlugin.xsd
|   |   |   |-- executionActionPlugins.xml
|   |   |   |-- expired.txt
|   |   |   |-- ibps-base-bo.xml
|   |   |   |-- ibps-base-common.xml
|   |   |   |-- ibps-base-datasource-druid.xml
|   |   |   |-- ibps-base-datasource-proxool.xml
|   |   |   |-- ibps-base-datasource.xml
|   |   |   |-- ibps-base-db-config.xml
|   |   |   |-- ibps-base-db-refresh.xml
|   |   |   |-- ibps-base-db.xml
|   |   |   |-- ibps-base-service.xml
|   |   |   |-- ibps-base-validator.xml
|   |   |   |-- ibps-bpmn-activiti.xml
|   |   |   |-- ibps-bpmn-bean.xml
|   |   |   |-- ibps-bpmn-biz.xml
|   |   |   |-- ibps-bpmn-def.xml
|   |   |   |-- ibps-bpmn-extend.xml
|   |   |   |-- ibps-bpmn-plugin-core.xml
|   |   |   |-- ibps-bpmn-plugin.xml
|   |   |   |-- ibps-bpmn-task-handler.xml
|   |   |   |-- ibps-codegen-biz.xml
|   |   |   |-- ibps-component-cache.xml
|   |   |   |-- ibps-component-mail.xml
|   |   |   |-- ibps-component-poi.xml
|   |   |   |-- ibps-context.xml
|   |   |   |-- ibps-excessive-platform.xml
|   |   |   |-- ibps-form-biz.xml
|   |   |   |-- ibps-mapping-all.xml
|   |   |   |-- ibps-persist-core.xml
|   |   |   |-- ibps-resources.xml
|   |   |   |-- ibps-web-beans.xml
|   |   |   |-- ibps-web-context.xml
|   |   |   |-- ibpsPublic.store
|   |   |   |-- ibpsVfy.lic
|   |   |   |-- taskActionPlugin.xsd
|   |   |   |-- taskActionPlugins.xml
|   |   |-- config
|   |   |   |-- application-app.yml
|   |   |   |-- application-cloud-base.yml
|   |   |   |-- application-cloud-consul.yml
|   |   |   |-- application-cloud-eureka.yml
|   |   |   |-- application-cloud-gw-base.yml
|   |   |   |-- application-cloud-nacos.yml
|   |   |   |-- application-cloud-pv-base.yml
|   |   |   |-- application-cloud-zookeeper.yml
|   |   |   |-- application-cloud.yml
|   |   |   |-- application-common.yml
|   |   |   |-- application-dev-base.yml
|   |   |   |-- application-dev-consul.yml
|   |   |   |-- application-dev-eureka.yml
|   |   |   |-- application-dev-gw-base.yml
|   |   |   |-- application-dev-nacos.yml
|   |   |   |-- application-dev-pv-base.yml
|   |   |   |-- application-dev-zookeeper.yml
|   |   |   |-- application-dev.yml
|   |   |   |-- application-jetty.yml
|   |   |   |-- application-prod-base.yml
|   |   |   |-- application-prod-consul.yml
|   |   |   |-- application-prod-eureka.yml
|   |   |   |-- application-prod-gw-base.yml
|   |   |   |-- application-prod-nacos.yml
|   |   |   |-- application-prod-pv-base.yml
|   |   |   |-- application-prod-zookeeper.yml
|   |   |   |-- application-prod.yml
|   |   |   |-- application-test-base.yml
|   |   |   |-- application-test-consul.yml
|   |   |   |-- application-test-eureka.yml
|   |   |   |-- application-test-gw-base.yml
|   |   |   |-- application-test-nacos.yml
|   |   |   |-- application-test-pv-base.yml
|   |   |   |-- application-test-zookeeper.yml
|   |   |   |-- application-test.yml
|   |   |   |-- application-tomcat.yml
|   |   |   |-- application-undertow.yml
|   |   |   |-- application.yml
|   |   |   |-- bootstrap.yml
|   |   |   |-- cmdline-cloud.txt
|   |   |   |-- cmdline-dev.txt
|   |   |   |-- cmdline-prod.txt
|   |   |   |-- cmdline-test.txt
|   |   |   |-- log4j2.yml
|   |   |-- i18n
|   |   |   |-- feign-resources.properties
|   |   |   |-- messages.properties
|   |   |   |-- messages_bpmn.properties
|   |   |   |-- messages_bpmn_en_US.properties
|   |   |   |-- messages_bpmn_zh_CN.properties
|   |   |   |-- messages_en_US.properties
|   |   |   |-- messages_form.properties
|   |   |   |-- messages_form_en_US.properties
|   |   |   |-- messages_form_zh_CN.properties
|   |   |   |-- messages_zh_CN.properties
|   |   |-- lib
|   |   |-- org
|   |   |-- sql
|   |   |-- template
|   |   |   |-- codegen
|   |   |-- xsd
|   |-- eureka # eureka服务
|   |   |-- IBPS-V3服务发现Eureka.md
|   |   |-- app.bat
|   |   |-- app.docker.sh
|   |   |-- app.sh
|   |   |-- appd
|   |   |-- banner.txt
|   |   |-- eureka.jar
|   |   |-- readMe
|   |   |-- conf
|   |   |   |-- ibps-base-common.xml
|   |   |-- config
|   |   |   |-- application-cloud-base.yml
|   |   |   |-- application-cloud-consul.yml
|   |   |   |-- application-cloud-eureka.yml
|   |   |   |-- application-cloud-gw-base.yml
|   |   |   |-- application-cloud-nacos.yml
|   |   |   |-- application-cloud-pv-base.yml
|   |   |   |-- application-cloud-zookeeper.yml
|   |   |   |-- application-cloud.yml
|   |   |   |-- application-common.yml
|   |   |   |-- application-dev-base.yml
|   |   |   |-- application-dev-consul.yml
|   |   |   |-- application-dev-eureka.yml
|   |   |   |-- application-dev-gw-base.yml
|   |   |   |-- application-dev-nacos.yml
|   |   |   |-- application-dev-pv-base.yml
|   |   |   |-- application-dev-zookeeper.yml
|   |   |   |-- application-dev.yml
|   |   |   |-- application-prod-base.yml
|   |   |   |-- application-prod-consul.yml
|   |   |   |-- application-prod-eureka.yml
|   |   |   |-- application-prod-gw-base.yml
|   |   |   |-- application-prod-nacos.yml
|   |   |   |-- application-prod-pv-base.yml
|   |   |   |-- application-prod-zookeeper.yml
|   |   |   |-- application-prod.yml
|   |   |   |-- application-test-base.yml
|   |   |   |-- application-test-consul.yml
|   |   |   |-- application-test-eureka.yml
|   |   |   |-- application-test-gw-base.yml
|   |   |   |-- application-test-nacos.yml
|   |   |   |-- application-test-pv-base.yml
|   |   |   |-- application-test-zookeeper.yml
|   |   |   |-- application-test.yml
|   |   |   |-- application.yml
|   |   |   |-- bootstrap.yml
|   |   |   |-- cmdline-cloud.txt
|   |   |   |-- cmdline-dev.txt
|   |   |   |-- cmdline-prod.txt
|   |   |   |-- cmdline-test.txt
|   |   |   |-- log4j2.yml
|   |   |-- i18n
|   |   |   |-- messages.properties
|   |   |   |-- messages_en_US.properties
|   |   |   |-- messages_zh_CN.properties
|   |   |-- lib
|   |   |-- templates
|   |-- form # 表单服务
|   |   |-- IBPS-V3表单服务.md
|   |   |-- app.bat
|   |   |-- app.docker.sh
|   |   |-- app.sh
|   |   |-- appd
|   |   |-- banner.txt
|   |   |-- form.jar
|   |   |-- readMe
|   |   |-- com
|   |   |-- conf
|   |   |   |-- banner.txt
|   |   |   |-- dataSource-cloud.xml
|   |   |   |-- dataSource-dev.xml
|   |   |   |-- dataSource-prod.xml
|   |   |   |-- dataSource-test.xml
|   |   |   |-- dataSource.xsd
|   |   |   |-- dataSourceDef.xml
|   |   |   |-- dataSourceDef.xsd
|   |   |   |-- expired.txt
|   |   |   |-- ibps-base-bo.xml
|   |   |   |-- ibps-base-common.xml
|   |   |   |-- ibps-base-datasource-druid.xml
|   |   |   |-- ibps-base-datasource-proxool.xml
|   |   |   |-- ibps-base-datasource.xml
|   |   |   |-- ibps-base-db-config.xml
|   |   |   |-- ibps-base-db-refresh.xml
|   |   |   |-- ibps-base-db.xml
|   |   |   |-- ibps-base-service.xml
|   |   |   |-- ibps-base-validator.xml
|   |   |   |-- ibps-codegen-biz.xml
|   |   |   |-- ibps-component-cache.xml
|   |   |   |-- ibps-component-poi.xml
|   |   |   |-- ibps-context.xml
|   |   |   |-- ibps-excessive-platform.xml
|   |   |   |-- ibps-form-biz.xml
|   |   |   |-- ibps-mapping-all.xml
|   |   |   |-- ibps-persist-core.xml
|   |   |   |-- ibps-resources.xml
|   |   |   |-- ibps-web-beans.xml
|   |   |   |-- ibps-web-context.xml
|   |   |   |-- ibpsPublic.store
|   |   |   |-- ibpsVfy.lic
|   |   |-- config
|   |   |   |-- application-app.yml
|   |   |   |-- application-cloud-base.yml
|   |   |   |-- application-cloud-consul.yml
|   |   |   |-- application-cloud-eureka.yml
|   |   |   |-- application-cloud-gw-base.yml
|   |   |   |-- application-cloud-nacos.yml
|   |   |   |-- application-cloud-pv-base.yml
|   |   |   |-- application-cloud-zookeeper.yml
|   |   |   |-- application-cloud.yml
|   |   |   |-- application-common.yml
|   |   |   |-- application-dev-base.yml
|   |   |   |-- application-dev-consul.yml
|   |   |   |-- application-dev-eureka.yml
|   |   |   |-- application-dev-gw-base.yml
|   |   |   |-- application-dev-nacos.yml
|   |   |   |-- application-dev-pv-base.yml
|   |   |   |-- application-dev-zookeeper.yml
|   |   |   |-- application-dev.yml
|   |   |   |-- application-jetty.yml
|   |   |   |-- application-prod-base.yml
|   |   |   |-- application-prod-consul.yml
|   |   |   |-- application-prod-eureka.yml
|   |   |   |-- application-prod-gw-base.yml
|   |   |   |-- application-prod-nacos.yml
|   |   |   |-- application-prod-pv-base.yml
|   |   |   |-- application-prod-zookeeper.yml
|   |   |   |-- application-prod.yml
|   |   |   |-- application-test-base.yml
|   |   |   |-- application-test-consul.yml
|   |   |   |-- application-test-eureka.yml
|   |   |   |-- application-test-gw-base.yml
|   |   |   |-- application-test-nacos.yml
|   |   |   |-- application-test-pv-base.yml
|   |   |   |-- application-test-zookeeper.yml
|   |   |   |-- application-test.yml
|   |   |   |-- application-tomcat.yml
|   |   |   |-- application-undertow.yml
|   |   |   |-- application-vpn.yml
|   |   |   |-- application.yml
|   |   |   |-- bootstrap.yml
|   |   |   |-- cmdline-cloud.txt
|   |   |   |-- cmdline-dev.txt
|   |   |   |-- cmdline-prod.txt
|   |   |   |-- cmdline-test.txt
|   |   |   |-- log4j2.yml
|   |   |-- i18n
|   |   |   |-- feign-resources.properties
|   |   |-- lib
|   |   |-- sql
|   |   |-- xsd
|   |-- oauth2server # 认证服务
|   |   |-- IBPS-V3认证中心-设计文档.md
|   |   |-- IBPS-V3认证中心.md
|   |   |-- app.bat
|   |   |-- app.docker.sh
|   |   |-- app.sh
|   |   |-- appd
|   |   |-- banner.txt
|   |   |-- oauth2server.jar
|   |   |-- readMe
|   |   |-- com
|   |   |-- conf
|   |   |   |-- banner.txt
|   |   |   |-- dataSource-cloud.xml
|   |   |   |-- dataSource-dev.xml
|   |   |   |-- dataSource-prod.xml
|   |   |   |-- dataSource-test.xml
|   |   |   |-- dataSource.xsd
|   |   |   |-- dataSourceDef.xml
|   |   |   |-- dataSourceDef.xsd
|   |   |   |-- expired.txt
|   |   |   |-- ibps-app.properties
|   |   |   |-- ibps-base-common.xml
|   |   |   |-- ibps-base-datasource-druid.xml
|   |   |   |-- ibps-base-datasource-proxool.xml
|   |   |   |-- ibps-base-datasource.xml
|   |   |   |-- ibps-base-db-config.xml
|   |   |   |-- ibps-base-db-refresh.xml
|   |   |   |-- ibps-base-db.xml
|   |   |   |-- ibps-base-service.xml
|   |   |   |-- ibps-component-cache.xml
|   |   |   |-- ibps-component-mail.xml
|   |   |   |-- ibps-component-quartz.xml
|   |   |   |-- ibps-component-upload-api.xml
|   |   |   |-- ibps-component-upload.xml
|   |   |   |-- ibps-context.xml
|   |   |   |-- ibps-mapping-all.xml
|   |   |   |-- ibps-msg-biz.xml
|   |   |   |-- ibps-msg-jms.xml
|   |   |   |-- ibps-org-biz.xml
|   |   |   |-- ibps-persist-core.xml
|   |   |   |-- ibps-resources.xml
|   |   |   |-- ibps-web-beans.xml
|   |   |   |-- ibps-web-context.xml
|   |   |   |-- ibpsPublic.store
|   |   |   |-- ibpsVfy.lic
|   |   |-- config
|   |   |   |-- application-app.yml
|   |   |   |-- application-cloud-base.yml
|   |   |   |-- application-cloud-consul.yml
|   |   |   |-- application-cloud-eureka.yml
|   |   |   |-- application-cloud-gw-base.yml
|   |   |   |-- application-cloud-nacos.yml
|   |   |   |-- application-cloud-pv-base.yml
|   |   |   |-- application-cloud-zookeeper.yml
|   |   |   |-- application-cloud.yml
|   |   |   |-- application-common.yml
|   |   |   |-- application-dev-base.yml
|   |   |   |-- application-dev-consul.yml
|   |   |   |-- application-dev-eureka.yml
|   |   |   |-- application-dev-gw-base.yml
|   |   |   |-- application-dev-nacos.yml
|   |   |   |-- application-dev-pv-base.yml
|   |   |   |-- application-dev-zookeeper.yml
|   |   |   |-- application-dev.yml
|   |   |   |-- application-jetty.yml
|   |   |   |-- application-prod-base.yml
|   |   |   |-- application-prod-consul.yml
|   |   |   |-- application-prod-eureka.yml
|   |   |   |-- application-prod-gw-base.yml
|   |   |   |-- application-prod-nacos.yml
|   |   |   |-- application-prod-pv-base.yml
|   |   |   |-- application-prod-zookeeper.yml
|   |   |   |-- application-prod.yml
|   |   |   |-- application-test-base.yml
|   |   |   |-- application-test-consul.yml
|   |   |   |-- application-test-eureka.yml
|   |   |   |-- application-test-gw-base.yml
|   |   |   |-- application-test-nacos.yml
|   |   |   |-- application-test-pv-base.yml
|   |   |   |-- application-test-zookeeper.yml
|   |   |   |-- application-test.yml
|   |   |   |-- application-tomcat.yml
|   |   |   |-- application-undertow.yml
|   |   |   |-- application.yml
|   |   |   |-- bootstrap.yml
|   |   |   |-- cmdline-cloud.txt
|   |   |   |-- cmdline-dev.txt
|   |   |   |-- cmdline-prod.txt
|   |   |   |-- cmdline-test.txt
|   |   |   |-- log4j2.yml
|   |   |-- i18n
|   |   |   |-- feign-resources.properties
|   |   |   |-- messages.properties
|   |   |   |-- messages_en_US.properties
|   |   |   |-- messages_zh_CN.properties
|   |   |-- lib
|   |   |-- sql
|   |   |-- templates
|   |   |   |-- readMe.md
|   |   |-- xsd
|   |   |   |-- ibps-cat-base.xsd
|   |   |   |-- ibps-cat-def.xsd
|   |   |   |-- ibps-dic-def.xsd
|   |   |   |-- ibps-type-def.xsd
|   |-- platform # 基础服务
|   |   |-- IBPS-V3基础平台服务.md
|   |   |-- app.bat
|   |   |-- app.docker.sh
|   |   |-- app.sh
|   |   |-- appd
|   |   |-- banner.txt
|   |   |-- platform.jar
|   |   |-- readMe
|   |   |-- com
|   |   |-- conf
|   |   |   |-- banner.txt
|   |   |   |-- dataSource-cloud.xml
|   |   |   |-- dataSource-dev.xml
|   |   |   |-- dataSource-prod.xml
|   |   |   |-- dataSource-test.xml
|   |   |   |-- dataSource.xsd
|   |   |   |-- dataSourceDef.xml
|   |   |   |-- dataSourceDef.xsd
|   |   |   |-- expired.txt
|   |   |   |-- ibps-app.properties
|   |   |   |-- ibps-base-common.xml
|   |   |   |-- ibps-base-datasource-druid.xml
|   |   |   |-- ibps-base-datasource-proxool.xml
|   |   |   |-- ibps-base-datasource.xml
|   |   |   |-- ibps-base-db-config.xml
|   |   |   |-- ibps-base-db-refresh.xml
|   |   |   |-- ibps-base-db.xml
|   |   |   |-- ibps-base-service.xml
|   |   |   |-- ibps-component-cache.xml
|   |   |   |-- ibps-component-mail.xml
|   |   |   |-- ibps-component-quartz.xml
|   |   |   |-- ibps-component-upload-api.xml
|   |   |   |-- ibps-component-upload.xml
|   |   |   |-- ibps-context.xml
|   |   |   |-- ibps-mapping-all.xml
|   |   |   |-- ibps-message-consumer.xml
|   |   |   |-- ibps-msg-biz.xml
|   |   |   |-- ibps-msg-jms.xml
|   |   |   |-- ibps-org-biz.xml
|   |   |   |-- ibps-persist-core.xml
|   |   |   |-- ibps-resources.xml
|   |   |   |-- ibps-socket-biz.xml
|   |   |   |-- ibps-web-beans.xml
|   |   |   |-- ibps-web-context.xml
|   |   |   |-- ibpsPublic.store
|   |   |   |-- ibpsVfy.lic
|   |   |-- config
|   |   |   |-- application-app.yml
|   |   |   |-- application-cloud-base.yml
|   |   |   |-- application-cloud-consul.yml
|   |   |   |-- application-cloud-eureka.yml
|   |   |   |-- application-cloud-fileserver.yml
|   |   |   |-- application-cloud-gw-base.yml
|   |   |   |-- application-cloud-nacos.yml
|   |   |   |-- application-cloud-pv-base.yml
|   |   |   |-- application-cloud-socket.yml
|   |   |   |-- application-cloud-zookeeper.yml
|   |   |   |-- application-cloud.yml
|   |   |   |-- application-common.yml
|   |   |   |-- application-dev-base.yml
|   |   |   |-- application-dev-consul.yml
|   |   |   |-- application-dev-eureka.yml
|   |   |   |-- application-dev-fileserver.yml
|   |   |   |-- application-dev-gw-base.yml
|   |   |   |-- application-dev-nacos.yml
|   |   |   |-- application-dev-pv-base.yml
|   |   |   |-- application-dev-socket.yml
|   |   |   |-- application-dev-zookeeper.yml
|   |   |   |-- application-dev.yml
|   |   |   |-- application-fileserver.yml
|   |   |   |-- application-jetty.yml
|   |   |   |-- application-prod-base.yml
|   |   |   |-- application-prod-consul.yml
|   |   |   |-- application-prod-eureka.yml
|   |   |   |-- application-prod-fileserver.yml
|   |   |   |-- application-prod-gw-base.yml
|   |   |   |-- application-prod-nacos.yml
|   |   |   |-- application-prod-pv-base.yml
|   |   |   |-- application-prod-socket.yml
|   |   |   |-- application-prod-zookeeper.yml
|   |   |   |-- application-prod.yml
|   |   |   |-- application-test-base.yml
|   |   |   |-- application-test-consul.yml
|   |   |   |-- application-test-eureka.yml
|   |   |   |-- application-test-fileserver.yml
|   |   |   |-- application-test-gw-base.yml
|   |   |   |-- application-test-nacos.yml
|   |   |   |-- application-test-pv-base.yml
|   |   |   |-- application-test-socket.yml
|   |   |   |-- application-test-zookeeper.yml
|   |   |   |-- application-test.yml
|   |   |   |-- application-tomcat.yml
|   |   |   |-- application-undertow.yml
|   |   |   |-- application.yml
|   |   |   |-- bootstrap.yml
|   |   |   |-- cmdline-cloud.txt
|   |   |   |-- cmdline-dev.txt
|   |   |   |-- cmdline-prod.txt
|   |   |   |-- cmdline-test.txt
|   |   |   |-- fdfs_client.conf
|   |   |   |-- log4j2.yml
|   |   |-- i18n
|   |   |   |-- feign-resources.properties
|   |   |   |-- messages.properties
|   |   |   |-- messages_common.properties
|   |   |   |-- messages_common_en_US.properties
|   |   |   |-- messages_common_zh_CN.properties
|   |   |   |-- messages_en_US.properties
|   |   |   |-- messages_file.properties
|   |   |   |-- messages_file_en_US.properties
|   |   |   |-- messages_file_zh_CN.properties
|   |   |   |-- messages_identitier.properties
|   |   |   |-- messages_identitier_en_US.properties
|   |   |   |-- messages_identitier_zh_CN.properties
|   |   |   |-- messages_msg.properties
|   |   |   |-- messages_msg_en_US.properties
|   |   |   |-- messages_msg_zh_CN.properties
|   |   |   |-- messages_org.properties
|   |   |   |-- messages_org_en_US.properties
|   |   |   |-- messages_org_zh_CN.properties
|   |   |   |-- messages_socket.properties
|   |   |   |-- messages_socket_en_US.properties
|   |   |   |-- messages_socket_zh_CN.properties
|   |   |   |-- messages_timer.properties
|   |   |   |-- messages_timer_en_US.properties
|   |   |   |-- messages_timer_zh_CN.properties
|   |   |   |-- messages_zh_CN.properties
|   |   |-- lib
|   |   |-- sql
|   |   |-- template
|   |   |   |-- desktop
|   |   |-- xsd
|   |-- zuul # 网关服务
|   |   |-- IBPS-V3服务网关Zuul.md
|   |   |-- app.bat
|   |   |-- app.docker.sh
|   |   |-- app.sh
|   |   |-- appd
|   |   |-- banner.txt
|   |   |-- readMe
|   |   |-- zuul.jar
|   |   |-- conf
|   |   |   |-- ibps-base-common.xml
|   |   |-- config
|   |   |   |-- application-cloud-base.yml
|   |   |   |-- application-cloud-consul.yml
|   |   |   |-- application-cloud-eureka.yml
|   |   |   |-- application-cloud-gw-base.yml
|   |   |   |-- application-cloud-nacos.yml
|   |   |   |-- application-cloud-pv-base.yml
|   |   |   |-- application-cloud-zookeeper.yml
|   |   |   |-- application-cloud.yml
|   |   |   |-- application-common.yml
|   |   |   |-- application-dev-base.yml
|   |   |   |-- application-dev-consul.yml
|   |   |   |-- application-dev-eureka.yml
|   |   |   |-- application-dev-gw-base.yml
|   |   |   |-- application-dev-nacos.yml
|   |   |   |-- application-dev-pv-base.yml
|   |   |   |-- application-dev-zookeeper.yml
|   |   |   |-- application-dev.yml
|   |   |   |-- application-jetty.yml
|   |   |   |-- application-prod-base.yml
|   |   |   |-- application-prod-consul.yml
|   |   |   |-- application-prod-eureka.yml
|   |   |   |-- application-prod-gw-base.yml
|   |   |   |-- application-prod-nacos.yml
|   |   |   |-- application-prod-pv-base.yml
|   |   |   |-- application-prod-zookeeper.yml
|   |   |   |-- application-prod.yml
|   |   |   |-- application-test-base.yml
|   |   |   |-- application-test-consul.yml
|   |   |   |-- application-test-eureka.yml
|   |   |   |-- application-test-gw-base.yml
|   |   |   |-- application-test-nacos.yml
|   |   |   |-- application-test-pv-base.yml
|   |   |   |-- application-test-zookeeper.yml
|   |   |   |-- application-test.yml
|   |   |   |-- application-tomcat.yml
|   |   |   |-- application-undertow.yml
|   |   |   |-- application.yml
|   |   |   |-- bootstrap.yml
|   |   |   |-- cmdline-cloud.txt
|   |   |   |-- cmdline-dev.txt
|   |   |   |-- cmdline-prod.txt
|   |   |   |-- cmdline-test.txt
|   |   |   |-- log4j2.yml
|   |   |-- i18n
|   |   |   |-- messages.properties
|   |   |   |-- messages_en_US.properties
|   |   |   |-- messages_zh_CN.properties
|   |   |-- lib
|   |   |-- templates
|-- ibps-ui # 前端UI
|   |-- ui
|   |   |-- favicon.ico
|   |   |-- index.html
|   |   |-- css
|   |   |-- static
|   |   |   |-- js
|   |   |   |   |-- app.xxxxxxx.js # 前端UI主文件,需要在此修改后端服务地址配置
注册中心部署

详见:consul安装

注册中心IP、端口请以安装时的数据为准!
以下服务部署以IP=192.168.3.207、端口=5100为例。

网关部署

  • 服务目录ibps3-java/zuul
  • 启动脚本ibps3-java/start.zuul.sh
  1. 内存配置:

    修改ibps3-java/start.zuul.sh

     ibps_home=$(cd `dirname $0`; pwd)
     shome=${ibps_home}/zuul
     sh ${shome}/app.sh -h ${shome} -m 1024M -c start # 将1024M改为需要的内存值,不得低于1024M
  2. 删除skywalking参数文件:

    • 删除ibps3-java/zuul/config/cmdline-dev.txt文件。
    • 删除ibps3-java/zuul/config/cmdline-test.txt文件。
    • 删除ibps3-java/zuul/config/cmdline-prod.txt文件。

skywalking参数后续完善

  1. 设置环境变量指定参数:

    修改ibps3-java/start.zuul.sh

     ibps_home=$(cd `dirname $0`; pwd)
     shome=${ibps_home}/zuul
    
     # 新增的环境变量设置注册中心地址、端口
     export CONSUL_SERVICEURL_DEFAULTZONE=http://192.168.3.207:8500
     export SPRING_CLOUD_CONSUL_HOST=192.168.3.207 
     export SPRING_CLOUD_CONSUL_PORT=8500
    
     # 新增的环境变量设置redis信息
     export SPRING_RABBITMQ_HOST=192.168.3.210 # rabbitmq的IP地址
     export SPRING_RABBITMQ_PORT=5672 # rabbitmq的端口
     export SPRING_RABBITMQ_USERNAME=ibps # rabbitmq的用户名
     export SPRING_RABBITMQ_PASSWORD=ibps # rabbitmq的密码
     export SPRING_REDIS_HOST=192.168.3.210 # redis的IP地址
     export SPRING_REDIS_PORT=6379 # redis的端口
     export SPRING_REDIS_PASSWORD=123456 # 如果redis设置了密码请修改此处,否则可不用设置
    
     sh ${shome}/app.sh -h ${shome} -m 1024M -c start # 将1024M改为需要的内存值,不得低于1024M
  1. 启动:

     sh start.zuul.sh
  2. 启动成功会看到日志输出:

    zuul

    zuul-1

认证服务部署

  • 服务目录ibps3-java/oauth2server
  • 启动脚本ibps3-java/start.oauth.sh
  1. 内存配置:

    修改ibps3-java/start.oauth.sh

     ibps_home=$(cd `dirname $0`; pwd)
     shome=${ibps_home}/oauth2server
     sh ${shome}/app.sh -h ${shome} -m 1024M -c start # 将1024M改为需要的内存值,不得低于1024M
  2. 删除skywalking参数文件:

    • 删除ibps3-java/oauth2server/config/cmdline-dev.txt文件。
    • 删除ibps3-java/oauth2server/config/cmdline-test.txt文件。
    • 删除ibps3-java/oauth2server/config/cmdline-prod.txt文件。

skywalking参数后续完善

  1. 设置环境变量指定注册中心地址、端口:

    修改ibps3-java/start.oauth.sh

     ibps_home=$(cd `dirname $0`; pwd)
     shome=${ibps_home}/oauth2server
    
     # 新增的环境变量设置
     export CONSUL_SERVICEURL_DEFAULTZONE=http://192.168.3.207:8500
     export SPRING_CLOUD_CONSUL_HOST=192.168.3.207
     export SPRING_CLOUD_CONSUL_PORT=8500
    
     # 新增的环境变量设置mq、redis信息
     export SPRING_RABBITMQ_HOST=192.168.3.210 # rabbitmq的IP地址
     export SPRING_RABBITMQ_PORT=5672 # rabbitmq的端口
     export SPRING_RABBITMQ_USERNAME=ibps # rabbitmq的用户名
     export SPRING_RABBITMQ_PASSWORD=ibps # rabbitmq的密码
     export SPRING_REDIS_HOST=192.168.3.210 # redis的IP地址
     export SPRING_REDIS_PORT=6379 # redis的端口
     export SPRING_REDIS_PASSWORD=123456 # 如果redis设置了密码请修改此处,否则可不用设置
    
     sh ${shome}/app.sh -h ${shome} -m 1024M -c start # 将1024M改为需要的内存值,不得低于1024M
  2. 授权文件替换:详见 部署FAQ

  3. 启动:

     sh start.oauth.sh
  4. 启动成功会看到日志输出:

    oauth

    oauth-1

基础服务部署

  • 服务目录ibps3-java/platform
  • 启动脚本ibps3-java/start.platform.sh
  1. 内存配置:

    修改ibps3-java/start.platform.sh

     ibps_home=$(cd `dirname $0`; pwd)
     shome=${ibps_home}/platform
     sh ${shome}/app.sh -h ${shome} -m 1024M -c start # 将1024M改为需要的内存值,不得低于1024M
  2. 删除skywalking参数文件:

    • 删除ibps3-java/platform/config/cmdline-dev.txt文件。
    • 删除ibps3-java/platform/config/cmdline-test.txt文件。
    • 删除ibps3-java/platform/config/cmdline-prod.txt文件。

skywalking参数后续完善

  1. 设置环境变量指定注册中心地址、端口:

    修改ibps3-java/start.platform.sh

     ibps_home=$(cd `dirname $0`; pwd)
     shome=${ibps_home}/platform
    
     # 新增的环境变量设置
     export CONSUL_SERVICEURL_DEFAULTZONE=http://192.168.3.207:8500
     export SPRING_CLOUD_CONSUL_HOST=192.168.3.207
     export SPRING_CLOUD_CONSUL_PORT=8500
    
     # 新增的环境变量设置mq、redis信息
     export SPRING_RABBITMQ_HOST=192.168.3.210 # rabbitmq的IP地址
     export SPRING_RABBITMQ_PORT=5672 # rabbitmq的端口
     export SPRING_RABBITMQ_USERNAME=ibps # rabbitmq的用户名
     export SPRING_RABBITMQ_PASSWORD=ibps # rabbitmq的密码
     export SPRING_REDIS_HOST=192.168.3.210 # redis的IP地址
     export SPRING_REDIS_PORT=6379 # redis的端口
     export SPRING_REDIS_PASSWORD=123456 # 如果redis设置了密码请修改此处,否则可不用设置
    
     sh ${shome}/app.sh -h ${shome} -m 1024M -c start # 将1024M改为需要的内存值,不得低于1024M
  2. 新增socket端口配置:

    • 配置文件是platform\config\application-[dev|test|prod]-socket.yml

    • 以dev环境为例,修改platform\config\application-dev-socket.yml文件。

      新增内容如下:

      socket:
      port: 6888 # 对应所需端口,默认端口是15888
  3. 授权文件替换:详见 部署FAQ

  4. 启动:

     sh start.platform.sh
  5. 启动成功会看到日志输出:

    platform

    platform-1

业务服务部署

  • 服务目录ibps3-java/business
  • 启动脚本ibps3-java/start.business.sh
  1. 内存配置:

    修改ibps3-java/start.business.sh

     ibps_home=$(cd `dirname $0`; pwd)
     shome=${ibps_home}/business
     sh ${shome}/app.sh -h ${shome} -m 1024M -c start # 将1024M改为需要的内存值,不得低于1024M
  2. 删除skywalking参数文件:

    • 删除ibps3-java/business/config/cmdline-dev.txt文件。
    • 删除ibps3-java/business/config/cmdline-test.txt文件。
    • 删除ibps3-java/business/config/cmdline-prod.txt文件。

skywalking参数后续完善

  1. 设置环境变量指定注册中心地址、端口:

    修改ibps3-java/start.business.sh

     ibps_home=$(cd `dirname $0`; pwd)
     shome=${ibps_home}/business
    
     # 新增的环境变量设置
     export CONSUL_SERVICEURL_DEFAULTZONE=http://192.168.3.207:8500
     export SPRING_CLOUD_CONSUL_HOST=192.168.3.207
     export SPRING_CLOUD_CONSUL_PORT=8500
    
     # 新增的环境变量设置mq、redis信息
     export SPRING_RABBITMQ_HOST=192.168.3.210 # rabbitmq的IP地址
     export SPRING_RABBITMQ_PORT=5672 # rabbitmq的端口
     export SPRING_RABBITMQ_USERNAME=ibps # rabbitmq的用户名
     export SPRING_RABBITMQ_PASSWORD=ibps # rabbitmq的密码
     export SPRING_REDIS_HOST=192.168.3.210 # redis的IP地址
     export SPRING_REDIS_PORT=6379 # redis的端口
     export SPRING_REDIS_PASSWORD=123456 # 如果redis设置了密码请修改此处,否则可不用设置
    
     sh ${shome}/app.sh -h ${shome} -m 1024M -c start # 将1024M改为需要的内存值,不得低于1024M
  2. 授权文件替换:详见 部署FAQ

  3. 启动:

     sh start.business.sh
  4. 启动成功会看到日志输出:

    business

    business-1

统一启动脚本ibps3-java/start.sh
TODO 待完善

前端UI部署

  • 服务目录ibps3-ui/ui

  • 配置文件ibps3-ui/ui/static/js/app.xxxx.js

    根据如下方式修改配置文件,再将服务目录中的所有文件及文件夹,复制到Nginx安装目录下的html文件夹中:

      使用查找替换,将原有的[ip:port]配置改为自己的地址和端口,如下所示
      192.168.3.230:15100 --> 自己的网关地址和端口
      192.168.3.230:15888--> 自己的 platform 服务的地址 + socket端口
  • 启动Nginx:

      /usr/local/nginx2/sbin/nginx
  • 浏览器访问

    访问地址规则:http://IP:端口
    本示例的访问地址:http://192.168.3.207
    输入账号和密码:admin,1

    出现以下页面代表部署成功:

    前端部署成功页面

文档更新时间: 2020-07-20 09:04   作者:Eddy