Commit e2617c59e0aa459ed7374bfbe0f687098f26e64d
1 parent
48d79e37
删除不用的文件
Showing
1 changed file
with
0 additions
and
143 deletions
cloud-product-service.yml deleted
100644 → 0
| 1 | -server: | |
| 2 | - port: 17200 | |
| 3 | - | |
| 4 | -spring: | |
| 5 | - profiles: development | |
| 6 | - cloud: | |
| 7 | - config: | |
| 8 | - discovery: | |
| 9 | - enabled: true | |
| 10 | - sentinel: | |
| 11 | - transport: | |
| 12 | - port: 8730 | |
| 13 | - dashboard: localhost:8080 | |
| 14 | - aop: | |
| 15 | - proxy-target-class: true | |
| 16 | - | |
| 17 | - coreDatasource: | |
| 18 | - write: | |
| 19 | - name: gxb_core | |
| 20 | - url: jdbc:mysql://testdb-master:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 21 | - username: test | |
| 22 | - password: ENC(8aea42e66b0928c44cd8f861a9d558e6) | |
| 23 | - driver-class-name: com.mysql.jdbc.Driver | |
| 24 | - max-idle: 10 | |
| 25 | - max-active: 30 | |
| 26 | - max-wait: 60000 | |
| 27 | - min-idle: 10 | |
| 28 | - initial-size: 10 | |
| 29 | - validation-query: SELECT 1 | |
| 30 | - test-on-borrow: true | |
| 31 | - test-while-idle: true | |
| 32 | - read1: | |
| 33 | - name: gxb_core | |
| 34 | - url: jdbc:mysql://testdb-master:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 35 | - username: test | |
| 36 | - password: ENC(8aea42e66b0928c44cd8f861a9d558e6) | |
| 37 | - driver-class-name: com.mysql.jdbc.Driver | |
| 38 | - max-idle: 10 | |
| 39 | - max-active: 30 | |
| 40 | - max-wait: 60000 | |
| 41 | - min-idle: 10 | |
| 42 | - initial-size: 10 | |
| 43 | - validation-query: SELECT 1 | |
| 44 | - test-on-borrow: true | |
| 45 | - test-while-idle: true | |
| 46 | - | |
| 47 | - | |
| 48 | - redis: | |
| 49 | - database: 0 | |
| 50 | - host: redis-server | |
| 51 | - port: 6379 | |
| 52 | - password: ENC(8aea42e66b0928c44cd8f861a9d558e6) | |
| 53 | - pool: | |
| 54 | - max-idle: 100 | |
| 55 | - min-idle: 10 | |
| 56 | - max-active: 1000 | |
| 57 | - max-wait: 100000 | |
| 58 | - #sentinel: | |
| 59 | - #master: mymaster1 | |
| 60 | - #nodes: redis-server:16379,redis-server:16379 | |
| 61 | - | |
| 62 | -mybatis: | |
| 63 | - mapperLocations: classpath:/mybatis/*.xml | |
| 64 | - typeAliasesPackage: com.huike.cloud.account | |
| 65 | - config: classpath:mybatis-config.xml | |
| 66 | - | |
| 67 | -sharding.jdbc: | |
| 68 | - dataSources: | |
| 69 | - ds_master: | |
| 70 | - driverClassName: com.mysql.jdbc.Driver | |
| 71 | - url: jdbc:mysql://testdb-master:3306/huikeyun?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 72 | - username: test | |
| 73 | - password: ENC(8aea42e66b0928c44cd8f861a9d558e6) | |
| 74 | - ds_slave0: | |
| 75 | - driverClassName: com.mysql.jdbc.Driver | |
| 76 | - url: jdbc:mysql://testdb-slave1:3306/huikeyun?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true | |
| 77 | - username: test | |
| 78 | - password: ENC(8aea42e66b0928c44cd8f861a9d558e6) | |
| 79 | - masterSlaveRule: | |
| 80 | - name: ms_ds | |
| 81 | - masterDataSourceName: ds_master | |
| 82 | - slaveDataSourceNames: ds_slave0 | |
| 83 | - props: | |
| 84 | - sql.show: true | |
| 85 | - shardingRule: | |
| 86 | - tables: | |
| 87 | - Account: | |
| 88 | - actualDataNodes: ms_ds.Account${0..1} | |
| 89 | - tableStrategy: | |
| 90 | - inline: | |
| 91 | - shardingColumn: UUID | |
| 92 | - algorithmExpression: Account${UUID.hashCode() % 2} | |
| 93 | - | |
| 94 | -#mybatis: | |
| 95 | - #configLocation: classpath:mybatis-config.xml | |
| 96 | - | |
| 97 | -endpoints: | |
| 98 | - restart: | |
| 99 | - enabled: true | |
| 100 | - shutdown: | |
| 101 | - enabled: true | |
| 102 | - health: | |
| 103 | - sensitive: false | |
| 104 | - | |
| 105 | -eureka: | |
| 106 | - instance: | |
| 107 | - hostname: cloud-product-service | |
| 108 | - perferIpAddress: true | |
| 109 | - instance-id: ${spring.cloud.client.ipAddress}:${server.port} | |
| 110 | - leaseRenewalIntervalInSeconds: 5 | |
| 111 | - leaseExpirationDurationInSeconds: 15 | |
| 112 | - client: | |
| 113 | - registerWithEureka: true | |
| 114 | - fetchRegistry: true | |
| 115 | - serviceUrl: | |
| 116 | - defaultZone: http://discovery:15200/eureka/ | |
| 117 | - healthcheck: | |
| 118 | - enabled: true | |
| 119 | - | |
| 120 | -hystrix: | |
| 121 | - command: | |
| 122 | - default: | |
| 123 | - execution: | |
| 124 | - timeout: | |
| 125 | - enabled: true | |
| 126 | - isolation: | |
| 127 | - thread: | |
| 128 | - timeoutInMilliseconds: 60000 | |
| 129 | - | |
| 130 | -#这个配置为true则取发现服务的注册地址(服务地址存储在DomainExtractingServerList,由EurekaRibbonClientConfiguration.ribbonServerList()创建) | |
| 131 | -#为false取本地配置文件的配置地址(服务地址存储在ConfigurationBasedServerList中,由RibbonClientConfiguration.ribbonServerList()创建) | |
| 132 | -ribbon: | |
| 133 | - eureka: | |
| 134 | - enabled: true | |
| 135 | - UseIPAddrForServer: true | |
| 136 | - ReadTimeout: 5000 | |
| 137 | - ConnectTimeout: 10000 | |
| 138 | - | |
| 139 | - | |
| 140 | - | |
| 141 | - | |
| 142 | - | |
| 143 | - | |
| 144 | 0 | \ No newline at end of file |