Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sofastack/sofa-serverless
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6ff3f2e57b1f88f4ee4860e656cbe72df515e78a
Choose a base ref
..
head repository: sofastack/sofa-serverless
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 06db82265fb025d1e11b2b037781a54502ba4161
Choose a head ref
Showing with 61,923 additions and 4,921 deletions.
  1. 0 docs/content/zh-cn/docs/contribution-guidelines/runtime/logback.md
  2. +75 −0 docs/content/zh-cn/docs/faq/faq.md
  3. BIN docs/content/zh-cn/docs/faq/imgs/guice_version_incompatibility.png
  4. +3 −1 docs/content/zh-cn/docs/tutorials/module-development/module-dev-arkctl.md
  5. 0 docs/content/zh-cn/docs/tutorials/module-development/runtime-service-route.md
  6. +176 −6 docs/public/404.html
  7. +772 −10 docs/public/_print/home/index.html
  8. +261 −10 docs/public/blog/2023/09/22/产品发布记录/index.html
  9. +314 −14 docs/public/blog/2023/09/22/干货文章与视频/index.html
  10. +302 −14 docs/public/blog/2023/09/22/社区会议纪要/index.html
  11. +269 −10 docs/public/blog/2023/09/22/获奖情况/index.html
  12. +430 −7 docs/public/blog/_print/index.html
  13. +308 −11 docs/public/blog/index.html
  14. +10 −1 docs/public/blog/page/1/index.html
  15. +177 −6 docs/public/categories/index.html
  16. +18 −1 docs/public/categories/index.xml
  17. +412 −9 docs/public/community/_print/index.html
  18. +412 −9 docs/public/community/index.html
  19. +4,894 −930 docs/public/docs/_print/index.html
  20. +1,859 −107 docs/public/docs/contribution-guidelines/_print/index.html
  21. +256 −7 docs/public/docs/contribution-guidelines/arkctl/_print/index.html
  22. +477 −11 docs/public/docs/contribution-guidelines/arkctl/architecture/index.html
  23. +489 −11 docs/public/docs/contribution-guidelines/arkctl/index.html
  24. +692 −7 docs/public/docs/contribution-guidelines/arklet/_print/index.html
  25. +931 −11 docs/public/docs/contribution-guidelines/arklet/architecture/index.html
  26. +509 −15 docs/public/docs/contribution-guidelines/arklet/how-to-release/index.html
  27. +497 −11 docs/public/docs/contribution-guidelines/arklet/index.html
  28. +512 −19 docs/public/docs/contribution-guidelines/communication-channel/index.html
  29. +468 −55 docs/public/docs/contribution-guidelines/contribution/_print/index.html
  30. +571 −26 docs/public/docs/contribution-guidelines/contribution/first-pr/index.html
  31. +542 −49 docs/public/docs/contribution-guidelines/contribution/improve-doc-and-process-and-issue/index.html
  32. +513 −11 docs/public/docs/contribution-guidelines/contribution/index.html
  33. +502 −18 docs/public/docs/contribution-guidelines/contribution/local-dev-test/index.html
  34. +487 −15 docs/public/docs/contribution-guidelines/contribution/sermon/index.html
  35. +553 −11 docs/public/docs/contribution-guidelines/index.html
  36. +438 −7 docs/public/docs/contribution-guidelines/module-controller/_print/index.html
  37. +503 −15 docs/public/docs/contribution-guidelines/module-controller/architecture/index.html
  38. +481 −11 docs/public/docs/contribution-guidelines/module-controller/core-code-structure/index.html
  39. +532 −11 docs/public/docs/contribution-guidelines/module-controller/crd-definition/index.html
  40. +521 −11 docs/public/docs/contribution-guidelines/module-controller/index.html
  41. +497 −15 docs/public/docs/contribution-guidelines/module-controller/module-lifecycle/index.html
  42. +497 −11 docs/public/docs/contribution-guidelines/module-controller/sequence-diagram/index.html
  43. +546 −23 docs/public/docs/contribution-guidelines/our-vision/index.html
  44. +564 −15 docs/public/docs/contribution-guidelines/role-and-promotion/index.html
  45. +415 −59 docs/public/docs/contribution-guidelines/runtime/_print/index.html
  46. +562 −63 docs/public/docs/contribution-guidelines/runtime/ehcache/index.html
  47. +497 −11 docs/public/docs/contribution-guidelines/runtime/index.html
  48. +480 −0 docs/public/docs/contribution-guidelines/runtime/logback/index.html
  49. +561 −19 docs/public/docs/contribution-guidelines/runtime/logj42/index.html
  50. +239 −7 docs/public/docs/contribution-guidelines/sofa-ark/_print/index.html
  51. +489 −11 docs/public/docs/contribution-guidelines/sofa-ark/index.html
  52. +323 −8 docs/public/docs/faq/_print/index.html
  53. +547 −0 docs/public/docs/faq/faq/index.html
  54. +494 −16 docs/public/docs/faq/import-full-springboot-in-module/index.html
  55. +497 −11 docs/public/docs/faq/index.html
  56. +532 −11 docs/public/docs/index.html
  57. +624 −21 docs/public/docs/introduction/_print/index.html
  58. +451 −21 docs/public/docs/introduction/architecture/_print/index.html
  59. +555 −19 docs/public/docs/introduction/architecture/arch-principle/index.html
  60. +621 −29 docs/public/docs/introduction/architecture/class-delegation-principle/index.html
  61. +497 −11 docs/public/docs/introduction/architecture/index.html
  62. +505 −11 docs/public/docs/introduction/index.html
  63. +546 −15 docs/public/docs/introduction/industry-background/index.html
  64. +513 −15 docs/public/docs/introduction/intro-and-scenario/index.html
  65. +255 −8 docs/public/docs/quick-start/_print/index.html
  66. +515 −12 docs/public/docs/quick-start/index.html
  67. +2,446 −813 docs/public/docs/tutorials/_print/index.html
  68. +284 −24 docs/public/docs/tutorials/base-create/_print/index.html
  69. +489 −11 docs/public/docs/tutorials/base-create/index.html
  70. +518 −28 docs/public/docs/tutorials/base-create/springboot-and-sofaboot/index.html
  71. +521 −11 docs/public/docs/tutorials/index.html
  72. +367 −61 docs/public/docs/tutorials/module-create/_print/index.html
  73. +497 −11 docs/public/docs/tutorials/module-create/index.html
  74. +476 −11 docs/public/docs/tutorials/module-create/init_by_archtype/index.html
  75. +590 −72 docs/public/docs/tutorials/module-create/springboot-and-sofaboot/index.html
  76. +1,312 −467 docs/public/docs/tutorials/module-development/_print/index.html
  77. +502 −15 docs/public/docs/tutorials/module-development/coding-specification/index.html
  78. +561 −11 docs/public/docs/tutorials/module-development/index.html
  79. +638 −139 docs/public/docs/tutorials/module-development/module-and-base-communication/index.html
  80. +634 −126 docs/public/docs/tutorials/module-development/module-debug/index.html
  81. +574 −44 docs/public/docs/tutorials/module-development/module-dev-arkctl/index.html
  82. +602 −86 docs/public/docs/tutorials/module-development/module-slimming/index.html
  83. +567 −81 docs/public/docs/tutorials/module-development/reuse-base-datasource/index.html
  84. +567 −72 docs/public/docs/tutorials/module-development/reuse-base-interceptor/index.html
  85. +665 −27 docs/public/docs/tutorials/module-development/runtime-compatibility-list/index.html
  86. +478 −0 docs/public/docs/tutorials/module-development/runtime-service-route/index.html
  87. +484 −15 docs/public/docs/tutorials/module-development/sofa-ark/index.html
  88. +531 −42 docs/public/docs/tutorials/module-development/static-merge-deployment/index.html
  89. +743 −158 docs/public/docs/tutorials/module-operation/_print/index.html
  90. +478 −11 docs/public/docs/tutorials/module-operation/arklet-standalone-usage/index.html
  91. +501 −11 docs/public/docs/tutorials/module-operation/crd-definition/index.html
  92. +496 −15 docs/public/docs/tutorials/module-operation/incompatible-base-and-module-upgrade/index.html
  93. +553 −11 docs/public/docs/tutorials/module-operation/index.html
  94. +524 −44 docs/public/docs/tutorials/module-operation/module-deployment-and-rollback/index.html
  95. +502 −22 docs/public/docs/tutorials/module-operation/module-information-viewing/index.html
  96. +524 −43 docs/public/docs/tutorials/module-operation/module-online-and-offline/index.html
  97. +524 −43 docs/public/docs/tutorials/module-operation/module-scale-and-replace/index.html
  98. +582 −77 docs/public/docs/tutorials/module-operation/module-service/index.html
  99. +539 −15 docs/public/docs/tutorials/module-operation/operation-and-scheduling-strategy/index.html
  100. +714 −142 docs/public/docs/tutorials/trial_step_by_step/index.html
  101. +241 −8 docs/public/docs/video-training/_print/index.html
  102. +499 −12 docs/public/docs/video-training/index.html
  103. +772 −10 docs/public/home/index.html
  104. +181 −6 docs/public/index.html
  105. +119 −47 docs/public/index.xml
  106. +5 −0 docs/public/js/main.min.1eb4262674b2d02aa8d18559fef13b166dbdfa627fd0a495c66e11577c026aa3.js
  107. +5 −0 docs/public/js/main.min.5ea1489ff282dac019c3662f41fd60d2e11a7d4b1020f3be5653eda0e5f8cc3a.js
  108. +0 −5 docs/public/js/main.min.6b611378dd7aa9db092fab7032555c3f7cf1f6f0216c4527424189c537230618.js
  109. +161 −6 docs/public/no/404.html
  110. +162 −6 docs/public/no/categories/index.html
  111. +18 −1 docs/public/no/categories/index.xml
  112. +160 −6 docs/public/no/index.html
  113. +17 −1 docs/public/no/index.xml
  114. +41 −1 docs/public/no/sitemap.xml
  115. +162 −6 docs/public/no/tags/index.html
  116. +18 −1 docs/public/no/tags/index.xml
  117. BIN docs/public/search/fragment/zh-cn_10a5166.pf_fragment
  118. BIN docs/public/search/fragment/zh-cn_129e997.pf_fragment
  119. BIN docs/public/search/fragment/zh-cn_12c72db.pf_fragment
  120. BIN docs/public/search/fragment/zh-cn_1626e9a.pf_fragment
  121. BIN docs/public/search/fragment/zh-cn_17b6c95.pf_fragment
  122. BIN docs/public/search/fragment/zh-cn_1e91b9f.pf_fragment
  123. BIN docs/public/search/fragment/zh-cn_2565708.pf_fragment
  124. BIN docs/public/search/fragment/zh-cn_2b50ca7.pf_fragment
  125. BIN docs/public/search/fragment/zh-cn_2cdce58.pf_fragment
  126. BIN docs/public/search/fragment/zh-cn_333cb5d.pf_fragment
  127. BIN docs/public/search/fragment/zh-cn_3375c59.pf_fragment
  128. BIN docs/public/search/fragment/zh-cn_37abc26.pf_fragment
  129. BIN docs/public/search/fragment/zh-cn_3e505e2.pf_fragment
  130. BIN docs/public/search/fragment/zh-cn_3eebb18.pf_fragment
  131. BIN docs/public/search/fragment/zh-cn_437ff34.pf_fragment
  132. BIN docs/public/search/fragment/zh-cn_452ce63.pf_fragment
  133. BIN docs/public/search/fragment/zh-cn_48eabf5.pf_fragment
  134. BIN docs/public/search/fragment/zh-cn_49920b0.pf_fragment
  135. BIN docs/public/search/fragment/zh-cn_527e5a5.pf_fragment
  136. BIN docs/public/search/fragment/zh-cn_52f8205.pf_fragment
  137. BIN docs/public/search/fragment/zh-cn_5334973.pf_fragment
  138. BIN docs/public/search/fragment/zh-cn_5531392.pf_fragment
  139. BIN docs/public/search/fragment/zh-cn_5858dcf.pf_fragment
  140. BIN docs/public/search/fragment/zh-cn_5aa965f.pf_fragment
  141. BIN docs/public/search/fragment/zh-cn_5b363a9.pf_fragment
  142. BIN docs/public/search/fragment/zh-cn_621912d.pf_fragment
  143. BIN docs/public/search/fragment/zh-cn_643d5a6.pf_fragment
  144. BIN docs/public/search/fragment/zh-cn_68421bd.pf_fragment
  145. BIN docs/public/search/fragment/zh-cn_6c7424a.pf_fragment
  146. BIN docs/public/search/fragment/zh-cn_6f5fa08.pf_fragment
  147. BIN docs/public/search/fragment/zh-cn_73db1ea.pf_fragment
  148. BIN docs/public/search/fragment/zh-cn_761aead.pf_fragment
  149. BIN docs/public/search/fragment/zh-cn_79fa3b7.pf_fragment
  150. BIN docs/public/search/fragment/zh-cn_85334db.pf_fragment
  151. BIN docs/public/search/fragment/zh-cn_85e5c23.pf_fragment
  152. BIN docs/public/search/fragment/zh-cn_87a6708.pf_fragment
  153. BIN docs/public/search/fragment/zh-cn_8a1bae2.pf_fragment
  154. BIN docs/public/search/fragment/zh-cn_8f5839d.pf_fragment
  155. BIN docs/public/search/fragment/zh-cn_911abf9.pf_fragment
  156. BIN docs/public/search/fragment/zh-cn_926797f.pf_fragment
  157. BIN docs/public/search/fragment/zh-cn_97a797d.pf_fragment
  158. BIN docs/public/search/fragment/zh-cn_9cb1588.pf_fragment
  159. BIN docs/public/search/fragment/zh-cn_a36709c.pf_fragment
  160. BIN docs/public/search/fragment/zh-cn_a7f8684.pf_fragment
  161. BIN docs/public/search/fragment/zh-cn_a99b2a9.pf_fragment
  162. BIN docs/public/search/fragment/zh-cn_a9a4dde.pf_fragment
  163. BIN docs/public/search/fragment/zh-cn_abb59bd.pf_fragment
  164. BIN docs/public/search/fragment/zh-cn_abc5a79.pf_fragment
  165. BIN docs/public/search/fragment/zh-cn_acacd83.pf_fragment
  166. BIN docs/public/search/fragment/zh-cn_adf5184.pf_fragment
  167. BIN docs/public/search/fragment/zh-cn_b179444.pf_fragment
  168. BIN docs/public/search/fragment/zh-cn_ba91d81.pf_fragment
  169. BIN docs/public/search/fragment/zh-cn_be9e15d.pf_fragment
  170. BIN docs/public/search/fragment/zh-cn_c2b5e49.pf_fragment
  171. BIN docs/public/search/fragment/zh-cn_c372f97.pf_fragment
  172. BIN docs/public/search/fragment/zh-cn_c41362b.pf_fragment
  173. BIN docs/public/search/fragment/zh-cn_c5f0f4e.pf_fragment
  174. BIN docs/public/search/fragment/zh-cn_c91c9e8.pf_fragment
  175. BIN docs/public/search/fragment/zh-cn_d3991c8.pf_fragment
  176. BIN docs/public/search/fragment/zh-cn_d7cd39f.pf_fragment
  177. BIN docs/public/search/fragment/zh-cn_d96a376.pf_fragment
  178. BIN docs/public/search/fragment/zh-cn_daf53f5.pf_fragment
  179. BIN docs/public/search/fragment/zh-cn_db72f55.pf_fragment
  180. BIN docs/public/search/fragment/zh-cn_e0ee7b1.pf_fragment
  181. BIN docs/public/search/fragment/zh-cn_e53dd77.pf_fragment
  182. BIN docs/public/search/fragment/zh-cn_e753241.pf_fragment
  183. BIN docs/public/search/fragment/zh-cn_e760e5b.pf_fragment
  184. BIN docs/public/search/fragment/zh-cn_e98b5e4.pf_fragment
  185. BIN docs/public/search/fragment/zh-cn_ea4d20e.pf_fragment
  186. BIN docs/public/search/fragment/zh-cn_ebcf38a.pf_fragment
  187. BIN docs/public/search/fragment/zh-cn_ef22332.pf_fragment
  188. BIN docs/public/search/fragment/zh-cn_f16c903.pf_fragment
  189. BIN docs/public/search/fragment/zh-cn_fc88f53.pf_fragment
  190. +177 −6 docs/public/search/index.html
  191. BIN docs/public/search/index/zh-cn_25a7695.pf_index
  192. BIN docs/public/search/index/zh-cn_5a2a4fe.pf_index
  193. BIN docs/public/search/index/zh-cn_7d5e9fc.pf_index
  194. BIN docs/public/search/index/zh-cn_95d5dd9.pf_index
  195. BIN docs/public/search/index/zh-cn_bab6571.pf_index
  196. BIN docs/public/search/index/zh-cn_cc28e9c.pf_index
  197. BIN docs/public/search/index/zh-cn_dcdc9fa.pf_index
  198. BIN docs/public/search/index/zh-cn_f5531fa.pf_index
  199. +1 −1 docs/public/search/pagefind-entry.json
  200. BIN docs/public/search/pagefind.zh-cn_ef5fdd1d36db6.pf_meta
  201. +16 −1 docs/public/sitemap.xml
  202. +177 −6 docs/public/tags/index.html
  203. +18 −1 docs/public/tags/index.xml
  204. +594 −11 docs/public/user-cases/_print/index.html
  205. +531 −38 docs/public/user-cases/alibaba-aidc/index.html
  206. +432 −15 docs/public/user-cases/all-users/index.html
  207. +356 −19 docs/public/user-cases/ant-group/index.html
  208. +343 −11 docs/public/user-cases/index.html
  209. +10 −1 docs/public/zh-cn/index.html
  210. +270 −1 docs/public/zh-cn/sitemap.xml
  211. +1 −1 ...ck/biz1/src/main/java/com/alipay/sofa/{springcloud/gateway → web}/biz1/rest/SampleController.java
  212. +2 −2 samples/springboot-samples/pom.xml
  213. +1 −1 samples/springboot-samples/web/webflux/biz/pom.xml
  214. +0 −1 ...rless-runtime/arklet-core/src/main/java/com/alipay/sofa/serverless/arklet/core/api/ApiClient.java
  215. +14 −8 sofa-serverless-runtime/pom.xml
  216. +1,446 −0 sofa-serverless-runtime/sofa-serverless-adapter-ext/sofa-serverless-adapter-dubbo2.6/README.md
  217. +2 −2 sofa-serverless-runtime/sofa-serverless-common/pom.xml
Empty file.
75 changes: 75 additions & 0 deletions docs/content/zh-cn/docs/faq/faq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
title: 常见问题列表
weight: 10
---

#### 问题 1-1:模块 compile 引入 springboot 依赖,模块安装时报错
```text
java.lang.IllegalArgumentException: Cannot instantiate interface org.springframework.context.ApplicationListener : com.alipay.sofa.serverless.common.spring.ServerlessApplicationListener
```
##### 解决方式
模块需要做好瘦身,参考这里:[模块瘦身](/docs/tutorials/module-development/module-slimming.md)

#### 问题 1-2:模块安装找不到 `ServerlessApplicationListener`
报错信息如下:
```text
com.alipay.sofa.ark.exception.ArkLoaderException: [ArkBiz Loader] module1:1.0-SNAPSHOT : can not load class: com.alipay.sofa.serverless.common.spring.ServerlessApplicationListener
```
##### 解决方式
请在模块里面添加如下依赖:
```xml
<dependency>
<groupId>com.alipay.sofa.serverless</igroupId>
<artifactId>sofa-serverless-app-starter</artifactId>
<version>0.5.5</version>
</dependency>
```
或者升级 sofa-serverless 版本到最新版本

#### 问题 1-3: 通过 go install 无法安装 arkctl
执行如下命令,报错
```shell
go install serverless.alipay.com/sofa-serverless/v1/arkctl@latest
```
报错信息如下:
```text
go: serverless.alipay.com/sofa-serverless/v1/arkctl@latest: module serverless.alipay.com/sofa-serverless/v1/arkctl: Get "https://proxy.golang.org/serverless.alipay.com/sofa-serverless/v1/arkctl/@v/list": dial tcp 142.251.42.241:443: i/o timeout
```
##### 解决方式
arkctl 是作为 sofa-serverless 子目录的方式存在的,所以没法直接 go get,可以从这下面下载执行文件, 请参考[安装 arkctl](https://github.com/sofastack/sofa-serverless/releases/tag/arkctl-release-0.1.0)

#### 问题 1-4:模块安装报 `Master biz environment is null`

##### 解决方式,升级 sofa-serverless 版本到最新版本
```xml
<dependency>
<groupId>com.alipay.sofa.serverless</igroupId>
<artifactId>sofa-serverless-app-starter</artifactId>
<version>${最新版本号}</version>
</dependency>
```

#### 问题 1-5:模块静态合并部署无法从制定的目录里找到模块包
##### 解决方式:升级 sofa-serverless 版本到最新版本
```xml
<dependency>
<groupId>com.alipay.sofa.serverless</igroupId>
<artifactId>sofa-serverless-app-starter</artifactId>
<version>${最新版本号}</version>
</dependency>
```
#### 问题 1-6:用户工程与 SOFAServerless 里 guice 版本不一致,且版本较老
报错信息:
```text
Caused by: java.Lang.ClassNotFoundException: com.google.inject.multibindings.Multibinder
```
![guice_version_incompatibility.png](imgs/guice_version_incompatibility.png)

##### 解决方式:升级 guice 版本到较新版本,如
```xml
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<version>6.0.0</version>
</dependency>
```
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -5,14 +5,16 @@ weight: 400

## Arkctl 工具安装

Arkctl 模块安装主要提供自动打包和部署能力,自动打包调用 mvn 命令构建模块 jar包,自动部署调用 [arklet](/docs/contribution-guidelines/arklet/architecture/) 提供的 api 接口进行部署。如果不想使用命令行工具,也可以直接使用 arklet 提供的 api 接口发起部署操作。

方法一:

1. 本地安装 go 环境,go 依赖版本在 1.21 以上。
2. 执行 go install `todo 独立的 arkctl go 仓库` 命令,安装 arkctl 工具。

方法二:

1.[二进制列表]([https://github.com/sofastack/sofa-serverless/tree/master/arkctl/bin](https://github.com/sofastack/sofa-serverless/releases/tag/arkctl-release-0.1.0)) 中下载对应的二进制并加入到本地
1.[二进制列表](https://github.com/sofastack/sofa-serverless/releases/tag/arkctl-release-0.1.0) 中下载对应的二进制并加入到本地
path 中。

### 本地快速部署
Empty file.
Loading