vue2-openlayers 0.1.3 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (238) hide show
  1. package/package.json +9 -8
  2. package/{vue2-openlayers/vue2-openlayers.common.js → vue2-openlayers.common.js} +121 -96
  3. package/{vue2-openlayers/vue2-openlayers.common.js.map → vue2-openlayers.common.js.map} +1 -1
  4. package/{vue2-openlayers/vue2-openlayers.css → vue2-openlayers.css} +1 -1
  5. package/{vue2-openlayers/vue2-openlayers.umd.js → vue2-openlayers.umd.js} +121 -96
  6. package/{vue2-openlayers/vue2-openlayers.umd.js.map → vue2-openlayers.umd.js.map} +1 -1
  7. package/vue2-openlayers.umd.min.js +2 -0
  8. package/vue2-openlayers.umd.min.js.map +1 -0
  9. package/README.md +0 -24
  10. package/babel.config.js +0 -5
  11. package/dist/css/index.34f0f0b9.css +0 -1
  12. package/dist/favicon.ico +0 -0
  13. package/dist/img/bottom_box.625e42a5.png +0 -0
  14. package/dist/img/car1.dd9a098b.png +0 -0
  15. package/dist/img/complete.2d0fa612.png +0 -0
  16. package/dist/img/diago_content.0d88c929.png +0 -0
  17. package/dist/img/diago_text_box.2e4da66b.png +0 -0
  18. package/dist/img/diago_title.2bd95b7a.png +0 -0
  19. package/dist/img/exception.a1eeefc3.png +0 -0
  20. package/dist/img/info1.829a6d7e.png +0 -0
  21. package/dist/img/info2.09e6e79e.png +0 -0
  22. package/dist/img/info3.3f96f756.png +0 -0
  23. package/dist/img/info4.6adcb927.png +0 -0
  24. package/dist/img/info5.ff3fdd2f.png +0 -0
  25. package/dist/img/info6.6e159d95.png +0 -0
  26. package/dist/img/left_box.40419b36.png +0 -0
  27. package/dist/img/money1.0743e701.png +0 -0
  28. package/dist/img/money2.58610d4d.png +0 -0
  29. package/dist/img/operating_fee.e6523ccc.png +0 -0
  30. package/dist/img/processing.28e46e7f.png +0 -0
  31. package/dist/img/public_content_box.39782fb5.png +0 -0
  32. package/dist/img/public_title_box1.6002afd4.png +0 -0
  33. package/dist/img/right_box.08458fe5.png +0 -0
  34. package/dist/img/success1.0cbc58af.png +0 -0
  35. package/dist/img/success2.af1a7499.png +0 -0
  36. package/dist/img/success3.d74caac5.png +0 -0
  37. package/dist/img/success4.37cc2343.png +0 -0
  38. package/dist/img/top_box.806bc756.png +0 -0
  39. package/dist/img/warehouse_map_popup.fa26d6cd.png +0 -0
  40. package/dist/img/work_error.3c528fdd.png +0 -0
  41. package/dist/img/work_su.0cbc58af.png +0 -0
  42. package/dist/img/work_wait.a2a706c9.png +0 -0
  43. package/dist/index.html +0 -13
  44. package/dist/js/chunk-vendors.901bdf0b.js +0 -8
  45. package/dist/js/chunk-vendors.901bdf0b.js.map +0 -1
  46. package/dist/js/index.29606843.js +0 -2
  47. package/dist/js/index.29606843.js.map +0 -1
  48. package/docs/.vuepress/config.js +0 -25
  49. package/docs/.vuepress/dist/404.html +0 -20
  50. package/docs/.vuepress/dist/assets/css/0.styles.7cfabf05.css +0 -1
  51. package/docs/.vuepress/dist/assets/img/7F8296FF-4A75-4013-BBFC-D482BF5303FF.597ff8a1.png +0 -0
  52. package/docs/.vuepress/dist/assets/img/gateway.98d6c8ec.jpg +0 -0
  53. package/docs/.vuepress/dist/assets/img/mysql_images.07b3a3e5.jpg +0 -0
  54. package/docs/.vuepress/dist/assets/img/nacos.741b050d.jpg +0 -0
  55. package/docs/.vuepress/dist/assets/img/rabbitmq.50b12be7.jpg +0 -0
  56. package/docs/.vuepress/dist/assets/img/redis_images.f0979945.jpg +0 -0
  57. package/docs/.vuepress/dist/assets/img/search.83621669.svg +0 -1
  58. package/docs/.vuepress/dist/assets/img/server-structure.6e0aa81e.png +0 -0
  59. package/docs/.vuepress/dist/assets/js/10.285f55d1.js +0 -1
  60. package/docs/.vuepress/dist/assets/js/11.decff412.js +0 -1
  61. package/docs/.vuepress/dist/assets/js/12.b9ed6e21.js +0 -1
  62. package/docs/.vuepress/dist/assets/js/13.d9c8c7a9.js +0 -1
  63. package/docs/.vuepress/dist/assets/js/14.6495a0e6.js +0 -1
  64. package/docs/.vuepress/dist/assets/js/15.70d64d1a.js +0 -1
  65. package/docs/.vuepress/dist/assets/js/16.a93c018c.js +0 -1
  66. package/docs/.vuepress/dist/assets/js/17.ed91eb16.js +0 -1
  67. package/docs/.vuepress/dist/assets/js/18.d07cd593.js +0 -1
  68. package/docs/.vuepress/dist/assets/js/19.4b8a0f22.js +0 -1
  69. package/docs/.vuepress/dist/assets/js/2.2668fa1b.js +0 -1
  70. package/docs/.vuepress/dist/assets/js/20.52de9326.js +0 -1
  71. package/docs/.vuepress/dist/assets/js/21.2293a5ca.js +0 -1
  72. package/docs/.vuepress/dist/assets/js/3.fd22fded.js +0 -1
  73. package/docs/.vuepress/dist/assets/js/4.ad26b2fa.js +0 -1
  74. package/docs/.vuepress/dist/assets/js/5.a1c97bcb.js +0 -1
  75. package/docs/.vuepress/dist/assets/js/6.32f67120.js +0 -1
  76. package/docs/.vuepress/dist/assets/js/7.99161716.js +0 -1
  77. package/docs/.vuepress/dist/assets/js/8.a0d65864.js +0 -1
  78. package/docs/.vuepress/dist/assets/js/9.2d06e692.js +0 -1
  79. package/docs/.vuepress/dist/assets/js/app.0be82e56.js +0 -15
  80. package/docs/.vuepress/dist/config/config_list.html +0 -58
  81. package/docs/.vuepress/dist/config/index.html +0 -69
  82. package/docs/.vuepress/dist/guide/admin.html +0 -26
  83. package/docs/.vuepress/dist/guide/deepchange.html +0 -213
  84. package/docs/.vuepress/dist/guide/gateway.html +0 -45
  85. package/docs/.vuepress/dist/guide/hystrix.html +0 -26
  86. package/docs/.vuepress/dist/guide/index.html +0 -66
  87. package/docs/.vuepress/dist/guide/nacos.html +0 -26
  88. package/docs/.vuepress/dist/guide/opsdev.html +0 -26
  89. package/docs/.vuepress/dist/guide/rabbitmq.html +0 -26
  90. package/docs/.vuepress/dist/guide/skywarking.html +0 -52
  91. package/docs/.vuepress/dist/guide/summary.html +0 -74
  92. package/docs/.vuepress/dist/help/index.html +0 -28
  93. package/docs/.vuepress/dist/help/markdown.html +0 -33
  94. package/docs/.vuepress/dist/images/7F8296FF-4A75-4013-BBFC-D482BF5303FF.png +0 -0
  95. package/docs/.vuepress/dist/images/gateway.jpg +0 -0
  96. package/docs/.vuepress/dist/images/mysql_images.jpg +0 -0
  97. package/docs/.vuepress/dist/images/nacos.jpg +0 -0
  98. package/docs/.vuepress/dist/images/rabbitmq.jpg +0 -0
  99. package/docs/.vuepress/dist/images/redis_images.jpg +0 -0
  100. package/docs/.vuepress/dist/images/server-structure.png +0 -0
  101. package/docs/.vuepress/dist/index.html +0 -26
  102. package/docs/.vuepress/dist/logo.jpg +0 -0
  103. package/docs/.vuepress/nav.js +0 -34
  104. package/docs/.vuepress/public/images/7F8296FF-4A75-4013-BBFC-D482BF5303FF.png +0 -0
  105. package/docs/.vuepress/public/images/gateway.jpg +0 -0
  106. package/docs/.vuepress/public/images/mysql_images.jpg +0 -0
  107. package/docs/.vuepress/public/images/nacos.jpg +0 -0
  108. package/docs/.vuepress/public/images/rabbitmq.jpg +0 -0
  109. package/docs/.vuepress/public/images/redis_images.jpg +0 -0
  110. package/docs/.vuepress/public/images/server-structure.png +0 -0
  111. package/docs/.vuepress/public/logo.jpg +0 -0
  112. package/docs/.vuepress/sidebar.js +0 -62
  113. package/docs/README.md +0 -15
  114. package/docs/config/README.md +0 -108
  115. package/docs/config/config_list.md +0 -42
  116. package/docs/guide/README.md +0 -79
  117. package/docs/guide/admin.md +0 -25
  118. package/docs/guide/deepchange.md +0 -393
  119. package/docs/guide/gateway.md +0 -40
  120. package/docs/guide/hystrix.md +0 -21
  121. package/docs/guide/nacos.md +0 -7
  122. package/docs/guide/opsdev.md +0 -12
  123. package/docs/guide/rabbitmq.md +0 -15
  124. package/docs/guide/skywarking.md +0 -77
  125. package/docs/guide/summary.md +0 -120
  126. package/docs/help/README.md +0 -29
  127. package/docs/help/markdown.md +0 -165
  128. package/examples/App.vue +0 -21
  129. package/examples/assets/css/map-base.scss +0 -333
  130. package/examples/assets/fonts/pmzd.ttf +0 -0
  131. package/examples/assets/icons/index.js +0 -9
  132. package/examples/assets/icons/svg/404.svg +0 -1
  133. package/examples/assets/icons/svg/bug.svg +0 -1
  134. package/examples/assets/icons/svg/build.svg +0 -1
  135. package/examples/assets/icons/svg/button.svg +0 -1
  136. package/examples/assets/icons/svg/cascader.svg +0 -1
  137. package/examples/assets/icons/svg/chart.svg +0 -1
  138. package/examples/assets/icons/svg/checkbox.svg +0 -1
  139. package/examples/assets/icons/svg/clipboard.svg +0 -1
  140. package/examples/assets/icons/svg/code.svg +0 -1
  141. package/examples/assets/icons/svg/color.svg +0 -1
  142. package/examples/assets/icons/svg/component.svg +0 -1
  143. package/examples/assets/icons/svg/dashboard.svg +0 -1
  144. package/examples/assets/icons/svg/date-range.svg +0 -1
  145. package/examples/assets/icons/svg/date.svg +0 -1
  146. package/examples/assets/icons/svg/dict.svg +0 -1
  147. package/examples/assets/icons/svg/documentation.svg +0 -1
  148. package/examples/assets/icons/svg/download.svg +0 -1
  149. package/examples/assets/icons/svg/drag.svg +0 -1
  150. package/examples/assets/icons/svg/druid.svg +0 -1
  151. package/examples/assets/icons/svg/edit.svg +0 -1
  152. package/examples/assets/icons/svg/education.svg +0 -1
  153. package/examples/assets/icons/svg/email.svg +0 -1
  154. package/examples/assets/icons/svg/example.svg +0 -1
  155. package/examples/assets/icons/svg/excel.svg +0 -1
  156. package/examples/assets/icons/svg/exit-fullscreen.svg +0 -1
  157. package/examples/assets/icons/svg/eye-open.svg +0 -1
  158. package/examples/assets/icons/svg/eye.svg +0 -1
  159. package/examples/assets/icons/svg/form.svg +0 -1
  160. package/examples/assets/icons/svg/fullscreen.svg +0 -1
  161. package/examples/assets/icons/svg/github.svg +0 -1
  162. package/examples/assets/icons/svg/guide.svg +0 -1
  163. package/examples/assets/icons/svg/icon.svg +0 -1
  164. package/examples/assets/icons/svg/input.svg +0 -1
  165. package/examples/assets/icons/svg/international.svg +0 -1
  166. package/examples/assets/icons/svg/job.svg +0 -1
  167. package/examples/assets/icons/svg/language.svg +0 -1
  168. package/examples/assets/icons/svg/link.svg +0 -1
  169. package/examples/assets/icons/svg/list.svg +0 -1
  170. package/examples/assets/icons/svg/lock.svg +0 -1
  171. package/examples/assets/icons/svg/log.svg +0 -1
  172. package/examples/assets/icons/svg/logininfor.svg +0 -1
  173. package/examples/assets/icons/svg/message.svg +0 -1
  174. package/examples/assets/icons/svg/money.svg +0 -1
  175. package/examples/assets/icons/svg/monitor.svg +0 -2
  176. package/examples/assets/icons/svg/nested.svg +0 -1
  177. package/examples/assets/icons/svg/number.svg +0 -1
  178. package/examples/assets/icons/svg/online.svg +0 -1
  179. package/examples/assets/icons/svg/password.svg +0 -1
  180. package/examples/assets/icons/svg/pdf.svg +0 -1
  181. package/examples/assets/icons/svg/people.svg +0 -1
  182. package/examples/assets/icons/svg/peoples.svg +0 -1
  183. package/examples/assets/icons/svg/phone.svg +0 -1
  184. package/examples/assets/icons/svg/post.svg +0 -1
  185. package/examples/assets/icons/svg/qq.svg +0 -1
  186. package/examples/assets/icons/svg/question.svg +0 -1
  187. package/examples/assets/icons/svg/radio.svg +0 -1
  188. package/examples/assets/icons/svg/rate.svg +0 -1
  189. package/examples/assets/icons/svg/redis.svg +0 -1
  190. package/examples/assets/icons/svg/row.svg +0 -1
  191. package/examples/assets/icons/svg/search.svg +0 -1
  192. package/examples/assets/icons/svg/select.svg +0 -1
  193. package/examples/assets/icons/svg/server.svg +0 -1
  194. package/examples/assets/icons/svg/shopping.svg +0 -1
  195. package/examples/assets/icons/svg/size.svg +0 -1
  196. package/examples/assets/icons/svg/skill.svg +0 -1
  197. package/examples/assets/icons/svg/slider.svg +0 -1
  198. package/examples/assets/icons/svg/star.svg +0 -1
  199. package/examples/assets/icons/svg/swagger.svg +0 -1
  200. package/examples/assets/icons/svg/switch.svg +0 -1
  201. package/examples/assets/icons/svg/system.svg +0 -2
  202. package/examples/assets/icons/svg/tab.svg +0 -1
  203. package/examples/assets/icons/svg/table.svg +0 -1
  204. package/examples/assets/icons/svg/textarea.svg +0 -1
  205. package/examples/assets/icons/svg/theme.svg +0 -1
  206. package/examples/assets/icons/svg/time-range.svg +0 -1
  207. package/examples/assets/icons/svg/time.svg +0 -1
  208. package/examples/assets/icons/svg/tool.svg +0 -1
  209. package/examples/assets/icons/svg/tree-table.svg +0 -1
  210. package/examples/assets/icons/svg/tree.svg +0 -1
  211. package/examples/assets/icons/svg/turn-right.svg +0 -1
  212. package/examples/assets/icons/svg/upload.svg +0 -1
  213. package/examples/assets/icons/svg/user.svg +0 -1
  214. package/examples/assets/icons/svg/validCode.svg +0 -1
  215. package/examples/assets/icons/svg/wechat.svg +0 -1
  216. package/examples/assets/icons/svg/zip.svg +0 -1
  217. package/examples/assets/icons/svgo.yml +0 -22
  218. package/examples/assets/images/close_diago.png +0 -0
  219. package/examples/assets/images/red_circle.png +0 -0
  220. package/examples/assets/images/w_mj_map.png +0 -0
  221. package/examples/assets/images/warehouse_map_popup.png +0 -0
  222. package/examples/assets/images/warehouse_map_success.png +0 -0
  223. package/examples/assets/images/warehouse_map_warning.png +0 -0
  224. package/examples/assets/js/gps.js +0 -222
  225. package/examples/assets/logo.png +0 -0
  226. package/examples/components/HelloWorld.vue +0 -273
  227. package/examples/components/MapPopup.vue +0 -80
  228. package/examples/data/510000.js +0 -2056
  229. package/examples/data/510000.json +0 -2055
  230. package/examples/data/testData.js +0 -2088
  231. package/examples/main.js +0 -28
  232. package/examples/utils/echarts/esresize.js +0 -110
  233. package/jsconfig.json +0 -19
  234. package/vue.config.js +0 -54
  235. package/vue2-openlayers/package.json +0 -56
  236. package/vue2-openlayers/vue2-openlayers.umd.min.js +0 -2
  237. package/vue2-openlayers/vue2-openlayers.umd.min.js.map +0 -1
  238. /package/{vue2-openlayers/demo.html → demo.html} +0 -0
@@ -1,393 +0,0 @@
1
- # ChengYu-cloud部署
2
-
3
- ## 环境说明
4
-
5
- JDK: 1.8
6
-
7
- Maven:
8
-
9
- MySql:
10
-
11
- Redis:
12
-
13
- PostgreSQL:
14
-
15
-
16
- ## Archiva Maven
17
-
18
- 后台管理地址:http://192.144.227.154:8989
19
-
20
- ```
21
- 账号:admin
22
- 密码:admin20200202
23
- ```
24
-
25
- 本地maven配置 添加maven仓库连接地址和账号
26
-
27
- ```
28
- <servers>
29
- <server>
30
- <id>archiva-releases</id>
31
- <username>admin</username>
32
- <password>admin20200202</password>
33
- </server>
34
- <server>
35
- <id>archiva-snapshots</id>
36
- <username>admin</username>
37
- <password>admin20200202</password>
38
- </server>
39
- </servers>
40
-
41
- <mirrors>
42
- <mirror>
43
- <id>archiva-releases</id>
44
- <mirrorOf>internal</mirrorOf>
45
- <url>http://192.144.227.154:8989/repository/internal/</url>
46
- </mirror>
47
- <mirror>
48
- <id>archiva-snapshots</id>
49
- <mirrorOf>snapshots</mirrorOf>
50
- <url>http://192.144.227.154:8989/repository/snapshots/</url>
51
- </mirror>
52
- </mirrors>
53
-
54
- <profiles>
55
- <profile>
56
- <activation>
57
- <activeByDefault>true</activeByDefault>
58
- </activation>
59
- <repositories>
60
- <repository>
61
- <id>internal</id>
62
- <name>Archiva Managed Internal Repository</name>
63
- <url>http://192.144.227.154:8989/repository/internal/</url>
64
- <releases>
65
- <enabled>true</enabled>
66
- </releases>
67
- <snapshots>
68
- <enabled>false</enabled>
69
- </snapshots>
70
- </repository>
71
- <repository>
72
- <id>snapshots</id>
73
- <name>Archiva Managed Snapshots Repository</name>
74
- <url>http://192.144.227.154:8989/repository/snapshots/</url>
75
- <releases>
76
- <enabled>false</enabled>
77
- </releases>
78
- <snapshots>
79
- <enabled>true</enabled>
80
- </snapshots>
81
- </repository>
82
- </repositories>
83
- </profile>
84
- </profiles>
85
- ```
86
-
87
- pom.xml配置
88
-
89
- ```
90
- <distributionManagement>
91
- <repository>
92
- <id>archiva-releases</id>
93
- <url>http://192.144.227.154:8989/repository/internal/</url>
94
- </repository>
95
- <snapshotRepository>
96
- <id>archiva-snapshots</id>
97
- <url>http://192.144.227.154:8989/repository/snapshots/</url>
98
- </snapshotRepository>
99
- </distributionManagement>
100
-
101
- ```
102
-
103
- ![ ](../.vuepress/public/images/7F8296FF-4A75-4013-BBFC-D482BF5303FF.png)
104
-
105
- ## docker
106
- ### docker安装
107
-
108
- 采用方式:升级系统为Windows 10 专业版
109
-
110
- ```
111
- 1.更新Windows为最新版本
112
- 2.升级Windows为专业版
113
- ```
114
-
115
- 安装:安装[docker官网](https://www.docker.com/)
116
-
117
- 环境配置:控制面板\程序\程序和功能\启用或关闭Windows功能\勾选Hyper-V 重启生效
118
-
119
-
120
-
121
- ### docker软件安装
122
-
123
- #### 1.mySQL安装
124
-
125
- 拉取官方的最新版本的镜像 [MySQL 镜像库地址](https://hub.docker.com/_/mysql?tab=tags):
126
-
127
- ```
128
- docker pull mysql:latest
129
- ```
130
-
131
- ##### 2.查看本地镜像
132
-
133
- 查看是否已安装了 mysql:
134
-
135
- ```
136
- docker images
137
- ```
138
- ![ ](../.vuepress/public/images/mysql_images.jpg)
139
- ##### 3.运行容器
140
-
141
- ```
142
- docker run -itd --name mysql-test -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 47.111.253.18:5000/mysql
143
- ```
144
-
145
- - **-p 3306:3306** :映射容器服务的 3306 端口到宿主机的 3306 端口,外部主机可以直接通过 **宿主机ip:3306** 访问到 MySQL 的服务。
146
- - **MYSQL_ROOT_PASSWORD=123456**:设置 MySQL 服务 root 用户的密码
147
-
148
- ##### 5.安装成功
149
-
150
- 查看是否安装成功
151
-
152
- ```
153
- docker ps
154
- ```
155
-
156
-
157
-
158
- #### 2、nacos安装
159
-
160
- ##### 1.安装nacos
161
-
162
- nacos的环境搭建,参考[官方文档](https://nacos.io/zh-cn/docs/quick-start-docker.html)
163
-
164
- ```
165
- docker pull nacos/nacos-server
166
- ```
167
-
168
- ##### 2.启动nacos
169
-
170
- ```
171
- docker run --env MODE=standalone --name nacos -d -p 8848:8848 47.111.253.18:5000/nacos/nacos-server
172
- ```
173
-
174
- ##### 3.查看nacos服务
175
-
176
- 地址:http://localhost:8848/nacos
177
- 用户名密码:nacos/nacos
178
- ![ ](../.vuepress/public/images/nacos.jpg)
179
-
180
- ##### 4.导入nacos数据库
181
-
182
- https://gitee.com/jeecg/jeecg-boot/blob/master/jeecg-boot/db/tables_nacos.sql
183
-
184
- ##### 5.nacos连接mysql
185
-
186
- 查看docker中mySQL **IPAddress** 地址
187
-
188
- ```json
189
- docker inspect mysql容器ID
190
- docker exec -it nacos容器ID bash
191
- cd conf
192
- vi application.properties
193
- 修改nacos连接mysql
194
- ```
195
-
196
-
197
-
198
- #### 3.redis安装
199
-
200
- ##### 1.拉取 redis 镜像
201
-
202
- 拉取官方的最新版本的镜像 [redis官网](https://redis.io/):
203
-
204
- ```
205
- docker pull redis:latest
206
- ```
207
-
208
- ##### 2.查看本地镜像
209
-
210
- 查看是否已安装了 redis:
211
-
212
- ```
213
- docker images
214
- ```
215
- ![ ](../.vuepress/public/images/redis_images.jpg)
216
-
217
- ##### 3.运行容器
218
-
219
- ```
220
- docker run -itd --name redis-test -p 6379:6379 redis
221
- ```
222
-
223
- - **-p 6379:6379**:映射容器服务的 6379 端口到宿主机的 6379 端口。外部可以直接通过宿主机ip:6379 访问到 Redis 的服务。
224
-
225
- ##### 5.安装成功
226
-
227
- 查看是否安装成功
228
-
229
- ```
230
- docker ps
231
- ```
232
-
233
- ### Dockerfile镜像制作
234
-
235
- ```dockerfile
236
- FROM anapsix/alpine-java:8_server-jre_unlimited
237
-
238
- MAINTAINER ifyang@11.com
239
-
240
- RUN ln -sf /usr/epqqmanage/deploy /etc/localtime
241
-
242
- RUN mkdir -p /sys-gate
243
-
244
- WORKDIR /sys-gate
245
-
246
- EXPOSE 9002
247
-
248
- ADD ./target/sys-gate.jar ./
249
-
250
- CMD java -Djava.security.egd=file:/dev/./urandom -jar sys-gate.jar
251
-
252
- ```
253
-
254
-
255
-
256
- ### docker-compose镜像制作
257
-
258
- ```java
259
- version: '2'
260
- services:
261
- sys-center:
262
- build:
263
- context: ./sys-center
264
- restart: always
265
- ports:
266
- - 8761:8761
267
- container_name: sys-center
268
- hostname: sys-center
269
- image: sys-center
270
-
271
- sys-gate:
272
- build:
273
- context: ./sys-gate
274
- restart: always
275
- ports:
276
- - 9002:9002
277
- container_name: sys-gate
278
- hostname: sys-gate
279
- image: sys-gate
280
-
281
- sysmanage:
282
- build:
283
- context: ./sysmanage
284
- restart: always
285
- ports:
286
- - 8012:8012
287
- container_name: sysmanage
288
- hostname: sysmanage
289
- image: sysmanage
290
-
291
- # bz-basedata:
292
- # build:
293
- # context: ./bz-basedata
294
- # restart: always
295
- # ports:
296
- # - 8945:8945
297
- # container_name: bz-basedata
298
- # hostname: bz-basedata
299
- # image: bz-basedata
300
- #
301
- # bz-device:
302
- # build:
303
- # context: ./bz-device
304
- # restart: always
305
- # ports:
306
- # - 8924:8924
307
- # container_name: bz-device
308
- # hostname: bz-device
309
- # image: bz-device
310
- #
311
- # bz-maintain:
312
- # build:
313
- # context: ./bz-maintain
314
- # restart: always
315
- # ports:
316
- # - 8765:8765
317
- # container_name: bz-maintain
318
- # hostname: bz-maintain
319
- # image: bz-maintain
320
-
321
- ```
322
-
323
-
324
-
325
- ### docker仓库搭建与使用
326
-
327
- ##### 1.仓库搭建
328
-
329
- ```
330
- # 1.获取私有仓库镜像
331
- docker pull registry:2
332
-
333
- # 2.运行镜像仓库
334
- docker run -d -v /opt/registry:/var/lib/registry -p 5000:5000 --name myregistry registry:2
335
-
336
- # 3.验证仓库是否运行
337
- http://127.0.0.1:5000/v2
338
-
339
- ```
340
-
341
- ##### 2.仓库使用
342
-
343
- ```
344
- # 通过docker tag将镜像标志为要推送到私有仓库
345
-
346
- docker tag mysql:latest 47.111.253.18:5000/mysql:latest
347
-
348
- # 通过 docker push 命令将 mysql 镜像 push到私有仓库中
349
- docker push 47.111.253.18:5000/mysql:latest
350
-
351
- # 查看上传得镜像
352
- http://47.111.253.18:5000/v2/_catalog
353
-
354
- # 从私有仓库获取应用
355
- docker pull 47.111.253.18:5000/mysql:latest
356
-
357
- ```
358
-
359
- ##### 3.harbor管理器
360
-
361
- ```
362
- 待完善
363
- ```
364
-
365
-
366
-
367
- ##### 参考文档地址
368
-
369
- docker搭建 https://www.cnblogs.com/huanchupkblog/p/10843800.html
370
-
371
- ####
372
-
373
-
374
-
375
- ## postgres搭建
376
-
377
- postgres搭建参考[官方文档](https://www.postgresql.org/)
378
-
379
- 其它参考文档:https://www.cnblogs.com/mingfan/p/12332506.html
380
-
381
- postgres设置参考文档:https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-16-04
382
-
383
- https://blog.csdn.net/weixin_42404521/article/details/115870366
384
-
385
- 拉取最新postgres
386
-
387
- docker pull postgres:latest
388
-
389
- docker中启动
390
-
391
- ```
392
- docker run --name dkpostgres -e POSTGRES_PASSWORD=elec2021 -p 5432:5432 -v pgdata:/var/lib/postgresql/data -d 47.111.253.18:5000/dkpostgres:latest
393
- ```
@@ -1,40 +0,0 @@
1
- # gateway路由配置使用说明
2
-
3
- ### gateway是什么?
4
-
5
- 该项目提供了一个库,用于在 Spring WebFlux 之上构建 API 网关。Spring Cloud Gateway 旨在提供一种简单而有效的方式来路由到 API,并为它们提供横切关注点,例如:安全性、监控/指标和弹性。
6
-
7
- ### 特点
8
-
9
- 基于 Spring Framework 5、Project Reactor 和 Spring Boot 2.0 构建。
10
- 能够匹配任何请求属性的路由。
11
- 谓词和过滤器特定于路由。
12
- 断路器集成。
13
- Spring Cloud Discovery客户端集成。
14
- 易于编写谓词和过滤器。
15
- 请求速率限制。
16
- 路径重写。
17
-
18
- ------
19
-
20
-
21
-
22
- ChengYu-cloud路由配置
23
-
24
- ```json
25
- [{
26
- "id": "mqsf-externalService",
27
- "order": 0,
28
- "predicates": [{
29
- "name": "Path",
30
- "args": {
31
- "pattern": "/mqsf-externalService/**" }
32
- }],
33
- "filters": [],
34
- "uri": "lb://mqsf-externalService"
35
- }
36
- ]
37
- ```
38
- Nacos中动态配置
39
-
40
- ![ ](../.vuepress/public/images/gateway.jpg)
@@ -1,21 +0,0 @@
1
- # 熔断降级限流 hystirx
2
-
3
- ## Hystrix提供的能力
4
-
5
-  hystrix的出现即为解决雪崩效应,它通过四个方面的机制来解决这个问题
6
-
7
- - 隔离(线程池隔离和信号量隔离):限制调用分布式服务的资源使用,某一个调用的服务出现问题不会影响其他服务调用。
8
-
9
- - 优雅的降级机制:超时降级、资源不足时(线程或信号量)降级,降级后可以配合降级接口返回托底数据。
10
-
11
- - 熔断:当失败率达到阀值自动触发降级(如因网络故障/超时造成的失败率高),熔断器触发的快速失败会进行快速恢复。
12
-
13
- - 缓存:提供了请求缓存、请求合并实现。
14
-
15
- - 支持实时监控、报警、控制
16
-
17
- ------
18
-
19
-
20
-
21
- 更多请查阅Hystrix[官方文档](https://github.com/Netflix/Hystrix/tree/master/hystrix-contrib/hystrix-javanica)
@@ -1,7 +0,0 @@
1
- # Nacos 说明
2
-
3
- Nacos 致力于帮助您发现、配置和管理微服务。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据及流量管理。
4
-
5
- Nacos 帮助您更敏捷和容易地构建、交付和管理微服务平台。 Nacos 是构建以“服务”为中心的现代应用架构 (例如微服务范式、云原生范式) 的服务基础设施。
6
-
7
- 更多请查阅 [Nacos官方文档](https://nacos.io/zh-cn/docs/what-is-nacos.html)
@@ -1,12 +0,0 @@
1
- # docker 说明
2
-
3
- Docker 是一个开源的应用容器引擎,让开发者可以打包他们的应用以及依赖包到一个可移植的容器中,然后发布到任何流行的[Linux](https://baike.baidu.com/item/Linux)或Windows操作系统的机器上,也可以实现虚拟化,容器是完全使用沙箱机制,相互之间不会有任何接口。
4
-
5
- 一个完整的Docker有以下几个部分组成:
6
-
7
- 1. DockerClient客户端
8
- 2. Docker Daemon守护进程
9
- 3. Docker Image镜像
10
- 4. DockerContainer容器
11
-
12
- 更多请查阅 [docker](https://www.docker.com/)
@@ -1,15 +0,0 @@
1
- # RabbitMq集成说明
2
-
3
- **RabbitMQ**是实现了高级消息队列协议(AMQP)的开源消息代理软件(亦称面向消息的中间件)。RabbitMQ服务器是用[Erlang](https://baike.baidu.com/item/Erlang)语言编写的,而群集和故障转移是构建在[开放电信平台](https://baike.baidu.com/item/开放电信平台)框架上的。所有主要的编程语言均有与代理接口通讯的客户端[库](https://baike.baidu.com/item/库)。
4
-
5
- 更多请查阅rabbitmq[官方文档](https://www.rabbitmq.com/)
6
-
7
- ------
8
-
9
- #rabbitmq服务访问(guest/guest)
10
-
11
- http://127.0.0.1:15672
12
-
13
- guest/guest
14
-
15
- ![ ](../.vuepress/public/images/rabbitmq.jpg)
@@ -1,77 +0,0 @@
1
- # 链路跟踪 skywarking
2
-
3
- **背景:**
4
-
5
- 微服务架构是通过业务来划分服务的,使用 REST 调用。对外暴露的一个接口,可能需要很多个服务协同才能完成这个接口功能,如果链路上任何一个服务出现问题或者网络超时,都会形成导致接口调用失败。为了在发生故障的时候,能够快速定位和解决问题,需要使用SkyWalking
6
-
7
- ------
8
-
9
- **环境:**
10
- windows
11
- JDK8
12
-
13
- ------
14
-
15
- **开发工具:**
16
- idea
17
-
18
- ------
19
-
20
- **软件安装:**
21
- 1.[下载elasticsearch7](http://doc.cloud.jeecg.com/[https://www.elastic.co/cn/downloads/elasticsearch](https://www.elastic.co/cn/downloads/elasticsearch))
22
- 2.解压 运行bin/elasticsearch.bat
23
- 3.访问 `localhost:9200` 如下结果表示OK
24
-
25
- ```json
26
- {
27
- "name" : "xxxx",
28
- "cluster_name" : "elasticsearch",
29
- "cluster_uuid" : "xxxx",
30
- "version" : {
31
- "number" : "7.7.1",
32
- "build_flavor" : "default",
33
- "build_type" : "zip",
34
- "build_hash" : "xxxxx",
35
- "build_date" : "2020-05-28T16:30:01.040088Z",
36
- "build_snapshot" : false,
37
- "lucene_version" : "8.5.1",
38
- "minimum_wire_compatibility_version" : "6.8.0",
39
- "minimum_index_compatibility_version" : "6.0.0-beta1"
40
- },
41
- "tagline" : "You Know, for Search"
42
- }
43
- ```
44
-
45
- 4.[下载skywarking](http://doc.cloud.jeecg.com/[http://skywalking.apache.org/downloads/](http://skywalking.apache.org/downloads/))
46
-
47
- 5.解压 运行 bin/startup.bat,这个时候实际上是启动了两个项目,一个收集器,一个web页面
48
-
49
- 6.访问`localhost:8080`,端口号webapp/webapp.yml中可以修改,第一次访问页面空白正常
50
-
51
- 7.在项目根目录下创建目录 xyleed-skywarking,并且将skywarking下的agent文件夹直接拷贝至该目录下
52
-
53
- 8.配置vm参数
54
-
55
- 附上参数代码及描述
56
-
57
- ```java
58
- -javaagent:D:\JAVA\cloud\jeecg-yanshi\jeecg-skywarking\agent\skywalking-agent.jar
59
- -Dskywalking.agent.service_name=jeecg-ys-gateway
60
- -Dskywalking.collector.backend_service=localhost:11800
61
- ```
62
-
63
- | **参数** | 描述 |
64
- | ------------ | :---------------------------------------- |
65
- | javaagent | 配置 skywalking-agent.jar 的地址,需要修改 |
66
- | service_name | 配置 需要监控的服务名,需要修改 |
67
- | javaagent | skywalking收集器服务的地址,照抄 |
68
-
69
- ------
70
-
71
- 9.启动项目,访问接口(多访问几次),再去localhost:8080看面板数据
72
-
73
- 10.当我们访问一个服务,而他会调用另一个服务的时候,点击拓扑图会出现下图的效果,这就是链路跟踪的效果
74
-
75
- 11.还可以在追踪界面,查看整个请求的具体调用链
76
-
77
- *其他功能需自行摸索*
@@ -1,120 +0,0 @@
1
- # 基础功能
2
-
3
- #### xyleed-basedata
4
-
5
- 提供桥梁、隧道、涵洞、路线、路段、服务区、收费站、监控中心等基础数据接口
6
-
7
- ```lua
8
- save ---保存
9
-
10
- delete ---删除
11
-
12
- update ---更新
13
-
14
- info ---详情
15
-
16
- list ---列表
17
-
18
- orgPermissionsList ---机构权限列表
19
- ```
20
-
21
- #### xyleed-admin
22
-
23
- 提供用户、机构、角色、职务、菜单、字典、分类等数据接口
24
-
25
- ```lua
26
- save ---保存
27
-
28
- delete ---删除
29
-
30
- update ---更新
31
-
32
- info ---详情
33
-
34
- treeMenuList ---菜单树
35
-
36
- orgPermissionsTreeMenuList ---机构权限菜单树列表
37
-
38
- list ---列表
39
-
40
- orgPermissionsList ---机构权限列表
41
-
42
- ```
43
-
44
- #### xyleed-gateway
45
-
46
- 网关:白名单、路由转发
47
-
48
- ```json
49
- [{
50
- "id": "mqsf-externalService",
51
- "order": 0,
52
- "predicates": [{
53
- "name": "Path",
54
- "args": {
55
- "pattern": "/mqsf-externalService/**" }
56
- }],
57
- "filters": [],
58
- "uri": "lb://mqsf-externalService"
59
- }
60
- ]
61
- ```
62
-
63
- #### xyleed-common
64
-
65
- 框架公共模块
66
-
67
- ```Prism
68
- 消息推送(个推、极光)
69
- 数据库配置
70
- 工具类
71
- ```
72
-
73
- #### xyleed-im
74
-
75
- 消息服务
76
-
77
- ```Prism
78
-
79
- ```
80
-
81
- #### xyleed-resource
82
-
83
- 提供文件上传、文件上传权限、文件管理等数据接口
84
-
85
- ```Prism
86
-
87
- ```
88
-
89
- #### xyleed-workflow
90
-
91
- 工作流
92
-
93
- ```Prism
94
-
95
- ```
96
-
97
- #### xyleed-auth
98
-
99
- 鉴权中心:提供服务鉴权数据接口
100
-
101
- ```Prism
102
-
103
- ```
104
-
105
- #### xyleed-search
106
-
107
- 全文检索
108
-
109
- ```Prism
110
-
111
- ```
112
-
113
- #### xyleed-scheduler
114
-
115
- 任务调度
116
-
117
- ```Prism
118
-
119
- ```
120
-