Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ja_JP] Architecture Reference » Peer channel-based event services #656

Merged
merged 8 commits into from
Apr 25, 2022
Merged

[ja_JP] Architecture Reference » Peer channel-based event services #656

merged 8 commits into from
Apr 25, 2022

Conversation

dnakashima
Copy link
Contributor

@dnakashima dnakashima commented Apr 13, 2022

[ja_JP] translate peer_event_services.rst into Japanese

#567

Signed-off-by: Daiki Nakashima Nakashima.Daiki@df.MitsubishiElectric.co.jp

dnakashima and others added 4 commits January 5, 2022 19:01
…i18n

Signed-off-by: Daiki Nakashima <Nakashima.Daiki@df.MitsubishiElectric.co.jp>
細かい点までご指摘頂きありがとうございます。どの点もご指摘通りなので、全て反映致します。

Co-authored-by: Taku Shimosawa <taku.shimosawa.uf@hitachi.com>
Signed-off-by: Daiki Nakashima <Nakashima.Daiki@df.MitsubishiElectric.co.jp>
…/fabric-docs-i18n

Signed-off-by: Daiki Nakashima <Nakashima.Daiki@df.MitsubishiElectric.co.jp>
@dnakashima dnakashima requested review from a team as code owners April 13, 2022 08:15
@dnakashima dnakashima requested a review from a team April 13, 2022 08:15
@dnakashima dnakashima closed this Apr 14, 2022
@dnakashima dnakashima reopened this Apr 14, 2022
@shimos shimos self-assigned this Apr 14, 2022
Copy link
Contributor

@shimos shimos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dnakashima 翻訳ありがとうございます。気になった点をいくつかコメントしましたので、ご確認ください。よろしくお願いいたします。

docs/locale/ja_JP/source/peer_event_services.rst Outdated Show resolved Hide resolved
docs/locale/ja_JP/source/peer_event_services.rst Outdated Show resolved Hide resolved
docs/locale/ja_JP/source/peer_event_services.rst Outdated Show resolved Hide resolved
docs/locale/ja_JP/source/peer_event_services.rst Outdated Show resolved Hide resolved
docs/locale/ja_JP/source/peer_event_services.rst Outdated Show resolved Hide resolved
docs/locale/ja_JP/source/peer_event_services.rst Outdated Show resolved Hide resolved
docs/locale/ja_JP/source/peer_event_services.rst Outdated Show resolved Hide resolved
docs/locale/ja_JP/source/peer_event_services.rst Outdated Show resolved Hide resolved
docs/locale/ja_JP/source/peer_event_services.rst Outdated Show resolved Hide resolved
docs/locale/ja_JP/source/peer_event_services.rst Outdated Show resolved Hide resolved
@satomicchy satomicchy added the jaJP-docs-ongoing Japanese Documentation ongoing label Apr 19, 2022
Signed-off-by: Daiki Nakashima <Nakashima.Daiki@df.MitsubishiElectric.co.jp>
Copy link
Contributor Author

@dnakashima dnakashima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ja_JP] translate peer_event_services.rst into Japanese

#567

Signed-off-by: Daiki Nakashima Nakashima.Daiki@df.MitsubishiElectric.co.jp

Copy link
Contributor Author

@dnakashima dnakashima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ja_JP] translate peer_event_services.rst into Japanese

#656

Signed-off-by: Daiki Nakashima Nakashima.Daiki@df.MitsubishiElectric.co.jp

Copy link
Contributor Author

@dnakashima dnakashima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ja_JP] translate peer_event_services.rst into Japanese

#567

Signed-off-by: Daiki Nakashima Nakashima.Daiki@df.MitsubishiElectric.co.jp

Copy link
Contributor Author

@dnakashima dnakashima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ja_JP] translate peer_event_services.rst into Japanese

#567

Signed-off-by: Daiki Nakashima Nakashima.Daiki@df.MitsubishiElectric.co.jp

Copy link
Contributor Author

@dnakashima dnakashima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ja_JP] translate peer_event_services.rst into Japanese

#567

Signed-off-by: Daiki Nakashima Nakashima.Daiki@df.MitsubishiElectric.co.jp

Copy link
Contributor Author

@dnakashima dnakashima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ja_JP] translate peer_event_services.rst into Japanese

#567

Signed-off-by: Daiki Nakashima Nakashima.Daiki@df.MitsubishiElectric.co.jp

Copy link
Contributor Author

@dnakashima dnakashima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ja_JP] translate peer_event_services.rst into Japanese

#567

Signed-off-by: Daiki Nakashima Nakashima.Daiki@df.MitsubishiElectric.co.jp

Signed-off-by: Daiki Nakashima <Nakashima.Daiki@df.MitsubishiElectric.co.jp>
@dnakashima
Copy link
Contributor Author

dnakashima commented Apr 21, 2022

@shimos
コメント頂きありがとうございました。修正を反映したので再度ご確認をお願い致します。
(DCOの反映で色々手間取ってしまったので不要なコメントが付いています。煩雑な感じで大変申し訳ありませんが、それらは無視でお願い致します。)

Copy link
Contributor

@shimos shimos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dnakashima 修正ありがとうございます。該当箇所にコメントしましたが、マージ時についたゴミが残っているようですので、お手数ですがこちらの削除もお願いします。

Comment on lines 30 to 35
<<<<<<< HEAD
イベントの登録は、スタートとストップの位置、シークの挙動(利用可能になるまでブロックするか、利用できなければ失敗するか)を含むピアへの配信シーク情報メッセージを含むエンベロープを送信することで完了します。ヘルパー変数として ``SeekOldest`` と ``SeekNewest`` があり、台帳の一番古い(すなわち最初の)ブロックもしくは最新の(すなわち最後の)ブロックを示します。サービスに無制限に送信させるには、 ``SeekInfo`` メッセージのストップ位置を ``MAXINT64`` にする必要があります。
=======
イベントの登録は、スタートとストップの位置、依頼の挙動(レディでなければレディもしくはフェイルになるブロック)を含むピアへの配信依頼情報メッセージを含むエンベロープを送信することで完了します。ヘルパー変数として ``SeekOldest`` と ``SeekNewest`` があり、台帳の一番古い(i.e. 最初の)ブロックもしくは最新の(i.e. 最後の)ブロックを示します。無制限にサービスを送信するために、 ``SeekInfo`` メッセージを ``MAXINT64`` のストップ位置に含む必要があります。

.. note:: If mutual TLS is enabled on the peer, the TLS certificate hash must be
set in the envelope's channel header.
>>>>>>> Update docs/locale/ja_JP/source/peer_event_services.rst
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gitのconflict解消時についてしまったものがそのまま残っているようです。(<<<<<<< HEADなど)

修正した部分である

イベントの登録は、スタートとストップの位置、シークの挙動(利用可能になるまでブロックするか、利用できなければ失敗するか)を含むピアへの配信シーク情報メッセージを含むエンベロープを送信することで完了します。ヘルパー変数として SeekOldestSeekNewest があり、台帳の一番古い(すなわち最初の)ブロックもしくは最新の(すなわち最後の)ブロックを示します。サービスに無制限に送信させるには、 SeekInfo メッセージのストップ位置を MAXINT64 にする必要があります。

ここだけ残すようにお願いいたします。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

再度ご確認頂きありがとうございます。該当箇所の修正をpushしたので、ご確認の程よろしくお願い致します。お手間かけさせていまい、大変申し訳ございません。

Signed-off-by: Daiki Nakashima <Nakashima.Daiki@df.MitsubishiElectric.co.jp>
Copy link
Contributor

@shimos shimos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dnakashima 修正ありがとうございます。たびたび申し訳ないですが、コンパイルすると表示が崩れる部分がありますので、こちらの修正をお願いいたします。


.. note:: The payload of chaincode events will not be included in filtered blocks.
このサービスは、台帳にコミットされたブロックに関する情報の最小セットである "フィルターされた" ブロックを送信します。外部のクライアントがそのクライアントのトランザクションやトランザクションの状態に関する情報を主に使いたい、とピアの所有者が望むようなネットワークで使用することを目的としています。もしチェーンコードによって設定されたイベントであれば、フィルタードブロックの ``FilteredChaincodeAction`` に格納されます。
.. note:: チェーンコードイベントのペイロードはフィルタードブロックに含まれません。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.. note:: チェーンコードイベントのペイロードはフィルタードブロックに含まれません。
.. note:: チェーンコードイベントのペイロードはフィルタードブロックに含まれません。

.. note:: とのその前の段落に改行が必要です

.. note:: If mutual TLS is enabled on the peer, the TLS certificate hash must be
set in the envelope's channel header.
イベントの登録は、スタートとストップの位置、シークの挙動(利用可能になるまでブロックするか、利用できなければ失敗するか)を含むピアへの配信シーク情報メッセージを含むエンベロープを送信することで完了します。ヘルパー変数として ``SeekOldest`` と ``SeekNewest`` があり、台帳の一番古い(すなわち最初の)ブロックもしくは最新の(すなわち最後の)ブロックを示します。サービスに無制限に送信させるには、 ``SeekInfo`` メッセージのストップ位置を ``MAXINT64`` にする必要があります。
.. note:: もし相互TLSがピアで有効になっていた場合、TLS証明書のハッシュ値をエンベロープのチャネルヘッダーに設定しなければなりません。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.. note:: もし相互TLSがピアで有効になっていた場合、TLS証明書のハッシュ値をエンベロープのチャネルヘッダーに設定しなければなりません。
.. note:: もし相互TLSがピアで有効になっていた場合、TLS証明書のハッシュ値をエンベロープのチャネルヘッダーに設定しなければなりません。


SDK event documentation
-----------------------

For further details on using the event services, refer to the `SDK documentation. <https://hyperledger.github.io/fabric-sdk-node/{BRANCH}/tutorial-channel-events.html>`_
イベントサービスに関しての詳細は、 `SDK documentation. <https://hyperledger.github.io/fabric-sdk-node/{BRANCH}/tutorial-channel-events.html>`_ を参照して下さい。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
イベントサービスに関しての詳細は、 `SDK documentation. <https://hyperledger.github.io/fabric-sdk-node/{BRANCH}/tutorial-channel-events.html>`_ を参照して下さい。
イベントサービスに関しての詳細は、 `SDK documentation <https://hyperledger.github.io/fabric-sdk-node/{BRANCH}/tutorial-channel-events.html>`_ を参照して下さい。

Signed-off-by: Daiki Nakashima <Nakashima.Daiki@df.MitsubishiElectric.co.jp>
@dnakashima
Copy link
Contributor Author

@dnakashima 修正ありがとうございます。たびたび申し訳ないですが、コンパイルすると表示が崩れる部分がありますので、こちらの修正をお願いいたします。

再度ご確認頂きありがとうございます。ご指摘頂きました箇所を修正したので、ご確認の程よろしくお願い致します。何度も申し訳ございません。

Copy link
Contributor

@shimos shimos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dnakashima ありがとうございました! LGTM

@shimos shimos merged commit 525a4ce into hyperledger:release-2.2 Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jaJP-docs-ongoing Japanese Documentation ongoing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants