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

Commit

Permalink
Merge pull request #410 from sofastack/youji-dev
Browse files Browse the repository at this point in the history
update ark to 2.2.5
  • Loading branch information
lvjing2 authored Dec 22, 2023
2 parents 9e9abaa + 155856d commit ae7b71e
Show file tree
Hide file tree
Showing 21 changed files with 25 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spring.application.name = ${替换为实际基座应用名}
#### 修改主 pom.xml
```xml
<properties>
<sofa.ark.verion>2.2.5-SNAPSHOT</sofa.ark.verion>
<sofa.ark.verion>2.2.5</sofa.ark.verion>
<sofa.serverless.runtime.version>0.5.3</sofa.serverless.runtime.version>
</properties>
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ excludeArtifactIds=commons-lang
<plugin>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-ark-maven-plugin</artifactId>
<version>2.2.5-SNAPSHOT</version>
<version>2.2.5</version>
<executions>
<execution>
<id>default-cli</id>
Expand Down
2 changes: 1 addition & 1 deletion docs/public/docs/_print/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<source src=https://serverless-opensource.oss-cn-shanghai.aliyuncs.com/outer-materials/docs/videos/module_dev_and_deploy.mp4 type=video/mp4>Your browser does not support the video tag.</video><br><br><p>该视频的详细文字版教程请<a href=/docs/tutorials/trial_step_by_step>点击此处</a>查看。</p><h2 id=sofaserverless-平台和研发框架完整视频教程>SOFAServerless 平台和研发框架完整视频教程</h2><p>步骤 1:<a href="https://beta.oscollege.net/product?invite=true&amp;key=1662838629963194399&amp;sign=UtWAPq5uAiBuf6uqe7LWXOTdh0a8cyvo58Ft6z9TP4O4vqyRDnfgTSjPz3cpz2JM7yC1qdgQ%2BltrZP1pNtqqB4c%2FOrSkP6GD6o0qHbI4GzErPZGTHNES2VlbiGOPzF2NRzkKE1BxLmFwfQWSF844Qb7JoNlA24t24cm6ic%2Fuv1gq4L2XYq3hxVJ7xXL1QZcG7yfJTDBGsiNdrmqBNEMpyTwNcIdPko8RoB%2B1uQbEDYUDt5xOmQnUAOuJTNxSVU3sSVTukSpLNENM7deKUaTtoLJJ%2BH4bbgrkgsufGiD1KJ7c6LSSlnkH9Vd630O6TG8s13Z%2FwFp%2FuWnxUlA2YArgjA%3D%3D">点击此处</a>注册开源学堂账号。</p><p>步骤 2:在开源学堂首页点击上方 <strong>“学习”</strong> 选项卡,然后点击进入 <strong>“SOFAServerless 研发框架与产品介绍”</strong>,点击 <strong>“开始学习”</strong></p></div><div class=td-content style=page-break-before:always><h1 id=pg-68ec2370d0409cc27325be36693f9368>4 - 用户手册</h1></div><div class=td-content><h1 id=pg-85d651fc55ba7dc800d677008a2c7fa5>4.1 - 基座接入</h1></div><div class=td-content><h1 id=pg-18b872e057bed8156d471e220e894432>4.1.1 - SpringBoot 或 SOFABoot 升级为基座</h1><h2 id=前提条件>前提条件</h2><ol><li>SpringBoot 版本 >= 2.3.0(针对 SpringBoot 用户)</li><li>SOFABoot 版本 >= 3.9.0 或 SOFABoot >= 4.0.0(针对 SOFABoot 用户)</li></ol><h2 id=接入步骤>接入步骤</h2><h3 id=代码与配置修改>代码与配置修改</h3><h4 id=修改-applicationproperties>修改 application.properties</h4><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-properties data-lang=properties><span style=display:flex><span><span style=color:#8f5902;font-style:italic># 需要定义应用名</span>
</span></span><span style=display:flex><span><span style=color:#c4a000>spring.application.name</span> <span style=color:#ce5c00;font-weight:700>=</span> <span style=color:#4e9a06>${替换为实际基座应用名}</span>
</span></span></code></pre></div><h4 id=修改主-pomxml>修改主 pom.xml</h4><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#204a87;font-weight:700>&lt;properties&gt;</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;sofa.ark.verion&gt;</span>2.2.5-SNAPSHOT<span style=color:#204a87;font-weight:700>&lt;/sofa.ark.verion&gt;</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;sofa.ark.verion&gt;</span>2.2.5<span style=color:#204a87;font-weight:700>&lt;/sofa.ark.verion&gt;</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;sofa.serverless.runtime.version&gt;</span>0.5.3<span style=color:#204a87;font-weight:700>&lt;/sofa.serverless.runtime.version&gt;</span>
</span></span><span style=display:flex><span><span style=color:#204a87;font-weight:700>&lt;/properties&gt;</span>
</span></span></code></pre></div><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#204a87;font-weight:700>&lt;dependency&gt;</span>
Expand Down
4 changes: 2 additions & 2 deletions docs/public/docs/tutorials/_print/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<a href=# onclick="return print(),!1">点击此处打印</a>.</p><p><a href=/docs/tutorials/>返回本页常规视图</a>.</p></div><h1 class=title>用户手册</h1><ul><li>1: <a href=#pg-85d651fc55ba7dc800d677008a2c7fa5>基座接入</a></li><ul><li>1.1: <a href=#pg-18b872e057bed8156d471e220e894432>SpringBoot 或 SOFABoot 升级为基座</a></li></ul><li>2: <a href=#pg-144d016bb7fc7652017580bd4bbe4e56>模块接入</a></li><ul><li>2.1: <a href=#pg-efab46696dc71baece82293194586ad3>SpringBoot 或 SOFABoot 一键升级为模块</a></li><li>2.2: <a href=#pg-0f5b7bcef23427d2a6a0c1fcaca9ad4a>使用 maven archtype 脚手架自动生成</a></li></ul><li>3: <a href=#pg-386a856dc258ab2701435ac4609b80fe>基座与模块并行开发验证</a></li><li>4: <a href=#pg-1338dd6d363fcbe1552c858a20719417>模块研发</a></li><ul><li>4.1: <a href=#pg-bf65e93b734e75f456eb02447ae9f065>编码规范</a></li><li>4.2: <a href=#pg-6e3cbd7799f1397ab7793638f56a6f1a>模块瘦身</a></li><li>4.3: <a href=#pg-66b2590d54145be7fd0f895684bc34ef>模块与模块、模块与基座通信</a></li><li>4.4: <a href=#pg-e829d04a9debc230b4d695f03971b67b>模式本地开发</a></li><li>4.5: <a href=#pg-28a800d400556ead949da2297e04f900>模式测试</a></li><li>4.6: <a href=#pg-037484c6b7708a4128ecdd19d8578aaa>复用基座拦截器</a></li><li>4.7: <a href=#pg-06ace3863ce3b10117de52a241f0d9e0>复用基座数据源</a></li><li>4.8: <a href=#pg-4a763f2560193bc6f6a4c64874383f22>静态合并部署</a></li><li>4.9: <a href=#pg-dbe415e386e1bcdf1f3e7a62a91e6eb6>模块中官方支持的中间件客户端</a></li><li>4.10: <a href=#pg-4c134980130d1dc3c830b9224a754361>SOFAArk 关键用户文档</a></li></ul><li>5: <a href=#pg-307f45cbc34bd56c2422e01b460303bb>模块运维</a></li><ul><li>5.1: <a href=#pg-f274515d3bf16798aa419325f53c707a>模块上线与下线</a></li><li>5.2: <a href=#pg-7b5bd50a9b9adfe3d8e27a3a4117e738>模块发布</a></li><li>5.3: <a href=#pg-03f7fcbe7eb355b82c98153891be1e48>基座和模块不兼容发布</a></li><li>5.4: <a href=#pg-ac1464ebc2e0083dd90ccb0c00118fca>模块扩缩容与替换</a></li><li>5.5: <a href=#pg-7011e375d7565bd7cea7f9347f8e8c9e>模块发布运维策略</a></li><li>5.6: <a href=#pg-24eb3a9c0234e21473eec787d4ae6d7a>独立使用 Arklet</a></li><li>5.7: <a href=#pg-c588ae48a684af6c4c57ee4d9aae6ce4>模块信息查看</a></li><li>5.8: <a href=#pg-cbb99adb1eb306a588e034d68e0481d8>模块Service</a></li><li>5.9: <a href=#pg-68c3bb9b1561f186515e61704fac5511>所有 K8S 资源定义及部署方式</a></li></ul></ul><div class=content></div></div><div class=td-content><h1 id=pg-85d651fc55ba7dc800d677008a2c7fa5>1 - 基座接入</h1></div><div class=td-content><h1 id=pg-18b872e057bed8156d471e220e894432>1.1 - SpringBoot 或 SOFABoot 升级为基座</h1><h2 id=前提条件>前提条件</h2><ol><li>SpringBoot 版本 >= 2.3.0(针对 SpringBoot 用户)</li><li>SOFABoot 版本 >= 3.9.0 或 SOFABoot >= 4.0.0(针对 SOFABoot 用户)</li></ol><h2 id=接入步骤>接入步骤</h2><h3 id=代码与配置修改>代码与配置修改</h3><h4 id=修改-applicationproperties>修改 application.properties</h4><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-properties data-lang=properties><span style=display:flex><span><span style=color:#8f5902;font-style:italic># 需要定义应用名</span>
</span></span><span style=display:flex><span><span style=color:#c4a000>spring.application.name</span> <span style=color:#ce5c00;font-weight:700>=</span> <span style=color:#4e9a06>${替换为实际基座应用名}</span>
</span></span></code></pre></div><h4 id=修改主-pomxml>修改主 pom.xml</h4><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#204a87;font-weight:700>&lt;properties&gt;</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;sofa.ark.verion&gt;</span>2.2.5-SNAPSHOT<span style=color:#204a87;font-weight:700>&lt;/sofa.ark.verion&gt;</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;sofa.ark.verion&gt;</span>2.2.5<span style=color:#204a87;font-weight:700>&lt;/sofa.ark.verion&gt;</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;sofa.serverless.runtime.version&gt;</span>0.5.3<span style=color:#204a87;font-weight:700>&lt;/sofa.serverless.runtime.version&gt;</span>
</span></span><span style=display:flex><span><span style=color:#204a87;font-weight:700>&lt;/properties&gt;</span>
</span></span></code></pre></div><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#204a87;font-weight:700>&lt;dependency&gt;</span>
Expand Down Expand Up @@ -204,7 +204,7 @@
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;plugin&gt;</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;groupId&gt;</span>com.alipay.sofa<span style=color:#204a87;font-weight:700>&lt;/groupId&gt;</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;artifactId&gt;</span>sofa-ark-maven-plugin<span style=color:#204a87;font-weight:700>&lt;/artifactId&gt;</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;version&gt;</span>2.2.5-SNAPSHOT<span style=color:#204a87;font-weight:700>&lt;/version&gt;</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;version&gt;</span>2.2.5<span style=color:#204a87;font-weight:700>&lt;/version&gt;</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;executions&gt;</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;execution&gt;</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;id&gt;</span>default-cli<span style=color:#204a87;font-weight:700>&lt;/id&gt;</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/public/docs/tutorials/base-create/_print/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<a href=# onclick="return print(),!1">点击此处打印</a>.</p><p><a href=/docs/tutorials/base-create/>返回本页常规视图</a>.</p></div><h1 class=title>基座接入</h1><ul><li>1: <a href=#pg-18b872e057bed8156d471e220e894432>SpringBoot 或 SOFABoot 升级为基座</a></li></ul><div class=content></div></div><div class=td-content><h1 id=pg-18b872e057bed8156d471e220e894432>1 - SpringBoot 或 SOFABoot 升级为基座</h1><h2 id=前提条件>前提条件</h2><ol><li>SpringBoot 版本 >= 2.3.0(针对 SpringBoot 用户)</li><li>SOFABoot 版本 >= 3.9.0 或 SOFABoot >= 4.0.0(针对 SOFABoot 用户)</li></ol><h2 id=接入步骤>接入步骤</h2><h3 id=代码与配置修改>代码与配置修改</h3><h4 id=修改-applicationproperties>修改 application.properties</h4><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-properties data-lang=properties><span style=display:flex><span><span style=color:#8f5902;font-style:italic># 需要定义应用名</span>
</span></span><span style=display:flex><span><span style=color:#c4a000>spring.application.name</span> <span style=color:#ce5c00;font-weight:700>=</span> <span style=color:#4e9a06>${替换为实际基座应用名}</span>
</span></span></code></pre></div><h4 id=修改主-pomxml>修改主 pom.xml</h4><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#204a87;font-weight:700>&lt;properties&gt;</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;sofa.ark.verion&gt;</span>2.2.5-SNAPSHOT<span style=color:#204a87;font-weight:700>&lt;/sofa.ark.verion&gt;</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;sofa.ark.verion&gt;</span>2.2.5<span style=color:#204a87;font-weight:700>&lt;/sofa.ark.verion&gt;</span>
</span></span><span style=display:flex><span> <span style=color:#204a87;font-weight:700>&lt;sofa.serverless.runtime.version&gt;</span>0.5.3<span style=color:#204a87;font-weight:700>&lt;/sofa.serverless.runtime.version&gt;</span>
</span></span><span style=display:flex><span><span style=color:#204a87;font-weight:700>&lt;/properties&gt;</span>
</span></span></code></pre></div><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-xml data-lang=xml><span style=display:flex><span><span style=color:#204a87;font-weight:700>&lt;dependency&gt;</span>
Expand Down
Loading

0 comments on commit ae7b71e

Please sign in to comment.