# ibp-edge **Repository Path**: ibp_dev/ibp-edge ## Basic Information - **Project Name**: ibp-edge - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-09-29 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [TOC] ### IBP-EDGE描述: `IBP-EDGE`服务主要提供对外与portal的所有API,edge是系统中的中间桥梁它需要前后端服务进行交互。 ### 基础软件: 1. `git` 2. `jdk1.8` 3. `redis3.2` ### 服务启动: ​ 确保`ibp-account,ibp-apimanager,ibp-adpater,ibp-microplatform`都已经起来。 #### profile配置文件: ```yaml server: port: 9000 #端口 spring: application: name: IBP-EDGE #服务名 redis: #redis配置 host: 127.0.0.1 port: 6379 pool: max-idle: 2 min-idle: 1 max-active: 3 max-wait: 3000 session: store-type: redis sleuth: sampler: percentage: 1 zipkin: base-url: http://localhost:6030 ibp: #后端服务配置 service: download-expire: 300 api-manager-url: http://127.0.0.1:9001 account-url: http://127.0.0.1:9002 aws-adapter-url: http://127.0.0.1:9003 microplatform-url: http://127.0.0.1:9004 management: security: enabled: false endpoints: shutdown: enabled: false hystrix: #健康检查配置 command: default: circuitBreaker: requestVolumeThreshold: 50 sleepWindowInMilliseconds: 5000 errorThresholdPercentage: 60 enabled: true execution: isolation: thread: timeoutInMilliseconds: 50000 ``` #### 启动参数: | 参数名 | 描述 | | :------------ | :--------------------------------------- | | config_active | ibp-config-repo服务中profile配置文件后缀 | | config_url | ibp-config-repo服务的访问URL | #### spring-Boot命令启动: ```markdown spring-boot:run -Dconfig_active=lvning -Dconfig_url=http://127.0.0.1:9010 -f pom.xml ```