Fix explorer #29

Merged
kth-tw merged 11 commits from fix-explorer into master 2021-12-15 20:29:23 -05:00
kth-tw commented 2021-12-14 22:40:02 -05:00 (Migrated from github.com)

PULL REQUEST

說明 (Description)

  1. 修正「使用 CA 建立的網路無法使用 explorer 」的問題
  2. cp up 時允許輸入 user/pass/port
  3. rename connectionConfig to connectionProfile
    connection profile是官方名詞

相關問題 (Linked Issues)

  • 使用 CA 建立的網路無法使用 explorer

貢獻種類 (Type of change)

  • Bug fix (除錯 non-breaking change which fixes an issue)
  • New feature (增加新功能 non-breaking change which adds functionality)
  • Breaking change (可能導致相容性問題 fix or feature that would cause existing functionality to not work as expected)
  • Doc change (需要更新文件 this change requires a documentation update)

測試環境 (Test Configuration):

  • OS:
  • NodeJS Version:
  • NPM Version:
  • Docker Version:

檢查清單 (Checklist):

  • 我的程式碼遵從此專案的規範 (My code follows the style guidelines of this project)
  • 我有對於自己的程式碼進行測試檢查 (I have performed a self-review of my own code)
  • 我有在程式碼中提供必要的註解 (I have commented my code, particularly in hard-to-understand areas)
  • 我有在文件中進行必要的更動 (I have made corresponding changes to the documentation)
  • 我的程式碼更動沒有顯著增加錯誤數量 (My changes generate no new warnings)
  • 我有新增必要的單元測試 (I have added tests that prove my fix is effective or that my feature works)
  • 我有檢查並更正程式碼錯誤的拼字 (I have checked my code and corrected any misspellings)

我已完成以上清單,並且同意遵守 Code of Conduct

I have completed the checklist and agree to abide by the code of conduct.

  • 同意 (I consent)
# PULL REQUEST ## 說明 (Description) 1. 修正「使用 CA 建立的網路無法使用 explorer 」的問題 2. cp up 時允許輸入 user/pass/port 3. rename `connectionConfig` to `connectionProfile` [connection profile是官方名詞](https://hyperledger-fabric.readthedocs.io/en/release-2.2/developapps/connectionprofile.html ) ## 相關問題 (Linked Issues) - 使用 CA 建立的網路無法使用 explorer ## 貢獻種類 (Type of change) - [x] Bug fix (除錯 non-breaking change which fixes an issue) - [x] New feature (增加新功能 non-breaking change which adds functionality) - [ ] Breaking change (可能導致相容性問題 fix or feature that would cause existing functionality to not work as expected) - [ ] Doc change (需要更新文件 this change requires a documentation update) **測試環境 (Test Configuration)**: * OS: * NodeJS Version: * NPM Version: * Docker Version: ## 檢查清單 (Checklist): - [x] 我的程式碼遵從此專案的規範 (My code follows the style guidelines of this project) - [x] 我有對於自己的程式碼進行測試檢查 (I have performed a self-review of my own code) - [x] 我有在程式碼中提供必要的註解 (I have commented my code, particularly in hard-to-understand areas) - [ ] 我有在文件中進行必要的更動 (I have made corresponding changes to the documentation) - [x] 我的程式碼更動沒有顯著增加錯誤數量 (My changes generate no new warnings) - [x] 我有新增必要的單元測試 (I have added tests that prove my fix is effective or that my feature works) - [x] 我有檢查並更正程式碼錯誤的拼字 (I have checked my code and corrected any misspellings) 我已完成以上清單,並且同意遵守 [Code of Conduct](CODE_OF_CONDUCT.md) I have completed the checklist and agree to abide by the [code of conduct](CODE_OF_CONDUCT.md). - [x] 同意 (I consent)
RuiSiang (Migrated from github.com) reviewed 2021-12-14 22:40:02 -05:00
SecondDim (Migrated from github.com) reviewed 2021-12-15 04:57:28 -05:00
@ -152,19 +155,27 @@ export default class BdkFile {
return fs.readFileSync(`${this.bdkPath}/org-json/${name}-consenter.json`).toString()
SecondDim (Migrated from github.com) commented 2021-12-15 04:57:28 -05:00

connectionConfigYaml > connectionProfileYaml

`connectionConfigYaml` > `connectionProfileYaml`
SecondDim (Migrated from github.com) reviewed 2021-12-15 04:58:50 -05:00
@ -31,2 +12,2 @@
peerAddress: string
joinedChannel?: string[]
user: string
pass: string
SecondDim (Migrated from github.com) commented 2021-12-15 04:58:49 -05:00

補齊說明

補齊說明
SecondDim (Migrated from github.com) approved these changes 2021-12-15 20:28:48 -05:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cathayddt/bdk!29
No description provided.