-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ISSUE #127] Fix parallel development merge conflict and optimize doc…
…uments (#128) * Fix failed task and image duplicate references (zh-cn) * Fix image relative link references (en) * sync versioned doc change * resolve confict: remove mis-recognized as moved file * resolve conflict: translate a doc to manually make git change * feat: translate HTTPS doc * sync image relative link * unify 1.9.0 version label * Fix mandatory values were labeled as optional in webhook docs
- Loading branch information
Showing
9 changed files
with
206 additions
and
431 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,30 @@ | ||
# HTTPS | ||
|
||
1.在eventmesh-runtime 中配置 | ||
1. Configuration in eventmesh-runtime | ||
|
||
``` | ||
eventMesh.properties(添加如下配置) | ||
eventMesh.server.useTls.enabled=true //默认值 false | ||
eventMesh.properties (add the following configurations) | ||
eventMesh.server.useTls.enabled=true // Default value: false | ||
config env varible | ||
-Dssl.server.protocol=TLSv1.1 //默认值 TLSv1.1 | ||
-Dssl.server.cer=sChat2.jks //把文件放到启动脚本start.sh 指定的conPath目录下 | ||
Configuring environment variable | ||
-Dssl.server.protocol=TLSv1.1 // Default value: TLSv1.1 | ||
-Dssl.server.cer=sChat2.jks // Place the file in the conPath directory specified by the startup script start.sh | ||
-Dssl.server.pass=sNetty | ||
``` | ||
|
||
2.在eventmesh-sdk-java 中配置 | ||
2. Configuration in eventmesh-sdk-java | ||
|
||
``` | ||
//创建producer | ||
LiteClientConfig eventMeshHttpClientConfig = new eventMeshHttpClientConfig(); | ||
// Create a producer | ||
LiteClientConfig eventMeshHttpClientConfig = new LiteClientConfig(); | ||
... | ||
//设置开启TLS | ||
// Enable TLS | ||
eventMeshHttpClientConfig.setUseTls(true); | ||
LiteProducer producer = new LiteProducer(eventMeshHttpClientConfig); | ||
//配置环境变量 | ||
-Dssl.client.protocol=TLSv1.1 //默认值 TLSv1.1 | ||
-Dssl.client.cer=sChat2.jks //把文件放到应用指定的conPath目录下 | ||
// Configure environment variables | ||
-Dssl.client.protocol=TLSv1.1 // Default value: TLSv1.1 | ||
-Dssl.client.cer=sChat2.jks // Place the file in the conPath directory specified by the application | ||
-Dssl.client.pass=sNetty | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 0 additions & 32 deletions
32
i18n/zh/docusaurus-plugin-content-docs/version-v1.9.0/design-document/https.md
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.