YUKI Hiroshi
null+****@clear*****
Wed Jun 25 17:54:45 JST 2014
YUKI Hiroshi 2014-06-25 17:54:45 +0900 (Wed, 25 Jun 2014) New Revision: 63430a52424fe69f0f8bb3ce131222d1cad51fc4 https://github.com/droonga/droonga.org/commit/63430a52424fe69f0f8bb3ce131222d1cad51fc4 Message: Separate page for "system.status" Copied files: _po/ja/reference/1.0.4/commands/system/status/index.po (from _po/ja/reference/1.0.4/commands/system/index.po) reference/1.0.4/commands/system/status/index.md (from reference/1.0.4/commands/system/index.md) Modified files: _po/ja/reference/1.0.4/commands/index.po _po/ja/reference/1.0.4/commands/system/index.po reference/1.0.4/commands/index.md reference/1.0.4/commands/system/index.md Modified: _po/ja/reference/1.0.4/commands/index.po (+5 -2) =================================================================== --- _po/ja/reference/1.0.4/commands/index.po 2014-06-25 17:36:28 +0900 (e23dede) +++ _po/ja/reference/1.0.4/commands/index.po 2014-06-25 17:54:45 +0900 (3d9c02b) @@ -28,11 +28,14 @@ msgstr "## ビルトインのコマンド" msgid "" " * [search](search/): Searches data\n" " * [add](add/): Adds a record\n" -" * [system](system/): Reports system information of the cluster" +" * system: Reports system information of the cluster\n" +" * [system.status](system/status/): Reports status information of the cluste" +"r" msgstr "" " * [search](search/): データの検索\n" " * [add](add/): レコードの追加\n" -" * [system](system/): クラスタのシステム情報の取得" +" * system: クラスタのシステム情報の取得\n" +" * [system.status](system/status/): クラスタのステータス情報の取得" msgid "## Groonga compatible commands" msgstr "## Groonga互換コマンド" Modified: _po/ja/reference/1.0.4/commands/system/index.po (+5 -178) =================================================================== --- _po/ja/reference/1.0.4/commands/system/index.po 2014-06-25 17:36:28 +0900 (41e2112) +++ _po/ja/reference/1.0.4/commands/system/index.po 2014-06-25 17:54:45 +0900 (0e30afe) @@ -20,182 +20,9 @@ msgstr "" "---" msgid "" -"* TOC\n" -"{:toc}" -msgstr "" - -msgid "## Abstract {#abstract}" -msgstr "## 概要 {#abstract}" - -msgid "The `system` command reports current system information of the clsuter itself." -msgstr "`system` コマンドは、クラスタの現在の状態を返します。" - -msgid "## API types {#api-types}" -msgstr "## APIの形式 {#api-types}" - -msgid "### HTTP {#api-types-http}" -msgstr "" - -msgid "" -"Request endpoint\n" -": `(Document Root)/droonga/system/status`" -msgstr "" -"リクエスト先\n" -": `(ドキュメントルート)/droonga/system/status`" - -msgid "" -"Request methd\n" -": `GET`" -msgstr "" -"リクエストメソッド\n" -": `GET`" - -msgid "" -"Request URL parameters\n" -": Nothing." -msgstr "" -"リクエストのURLパラメータ\n" -": なし。" - -msgid "" -"Request body\n" -": Nothing." -msgstr "" -"リクエストのbody\n" -": なし。" - -msgid "" -"Response body\n" -": A [response message](#response)." -msgstr "" -"レスポンスのbody\n" -": [レスポンスメッセージ](#response)。" - -msgid "### REST {#api-types-rest}" -msgstr "" - -msgid "Not supported." -msgstr "対応していません。" - -msgid "### Fluentd {#api-types-fluentd}" -msgstr "" - -msgid "" -"Style\n" -": Request-Response. One response message is always returned per one request." -msgstr "" -"形式\n" -": Request-Response型。コマンドに対しては必ず対応するレスポンスが返されます。" - -msgid "" -"`type` of the request\n" -": `system.status`" -msgstr "" -"リクエストの `type`\n" -": `system.status`" - -msgid "" -"`body` of the request\n" -": Nothing." -msgstr "" -"リクエストの `body`\n" -": なし。" - -msgid "" -"`type` of the response\n" -": `system.status.result`" -msgstr "" -"レスポンスの `type`\n" -": `system.status.result`" - -msgid "## Parameter syntax {#syntax}" -msgstr "## パラメータの構文 {#syntax}" - -msgid "This command has no parameter." -msgstr "このコマンドはパラメータを取りません。" - -msgid "## Usage {#usage}" -msgstr "## 使い方 {#usage}" - -msgid "" -"On the version {{ site.droonga_version }}, this command just reports the list " -"of nodes and their vital information.\n" -"For example:" -msgstr "" -"バージョン {{ site.droonga_version }} では、このコマンドは単に各ノードの死活情報のみを出力します。\n" -"例:" - -msgid "" -" {\n" -" \"type\" : \"system.status\",\n" -" \"body\" : {}\n" -" }" -msgstr "" - -msgid "" -" => {\n" -" \"type\" : \"system.status.result\",\n" -" \"body\" : {\n" -" \"nodes\": {\n" -" \"192.168.0.10:10031/droonga\": {\n" -" \"live\": true\n" -" },\n" -" \"192.168.0.11:10031/droonga\": {\n" -" \"live\": false\n" -" }\n" -" }\n" -" }\n" -" }" -msgstr "" - -msgid "## Responses {#response}" -msgstr "## レスポンス {#response}" - -msgid "" -"This returns a hash like following as the response's `body`, with `200` as its" -" `statusCode`." -msgstr "このコマンドは以下のようなハッシュを `body` 、`200` を `statusCode` としたレスポンスを返します。以下はその一例です。。" - -msgid "" -" {\n" -" \"nodes\" : {\n" -" \"<Identifier of the node 1>\" : {\n" -" \"live\" : <Vital status of the node>\n" -" },\n" -" \"<Identifier of the node 2>\" : { ... },\n" -" ...\n" -" }\n" -" }" -msgstr "" - -msgid "" -"`nodes`\n" -": A hash including information of nodes in the cluster.\n" -" Keys of the hash are identifiers of nodes defined in the `catalog.json`, wit" -"h the format: `hostname:port/tag`.\n" -" Each value indicates system information of corresponding node, and have foll" -"owing information:" -msgstr "" -"`nodes`\n" -": クラスタ内のノードの情報を含むハッシュ。\n" -" ハッシュのキーは、`catalog.json` で定義された各ノードの識別子(形式は `ホスト名:ポート番号/タグ`)です。\n" -" ハッシュの値は対応するノードのステータス情報を表し、以下の情報を含んでいます:" - -msgid "" -" `live`\n" -" : A boolean value indicating vital state of the node.\n" -" If `true`, the node can process messages, and messages are delivered to it" -".\n" -" Otherwise, the node doesn't process any message for now, because it is dow" -"n or some reasons." -msgstr "" -" `live`\n" -" : そのノードの死活状態を示す真偽値。\n" -" `true` であれば、そのノードはメッセージを処理する事ができ、他のノードもそのノード宛にメッセージを配送します。\n" -" それ以外の場合、そのノードはサービスが停止しているなどの理由によりメッセージを処理しません。" - -msgid "## Error types {#errors}" -msgstr "## エラーの種類 {#errors}" +"`system` is a namespace for commands to report system information of the clust" +"er." +msgstr "`system` は、クラスタのシステム情報を取得するためのコマンド群のための名前空間です。" -msgid "This command reports [general errors](/reference/message/#error)." -msgstr "このコマンドは[一般的なエラー](/reference/message/#error)を返します。" +msgid " * [system.status](status/): Reports status information of the cluster" +msgstr " * [system.status](status/): クラスタのステータス情報を取得します。" Copied: _po/ja/reference/1.0.4/commands/system/status/index.po (+7 -8) 90% =================================================================== --- _po/ja/reference/1.0.4/commands/system/index.po 2014-06-25 17:36:28 +0900 (41e2112) +++ _po/ja/reference/1.0.4/commands/system/status/index.po 2014-06-25 17:54:45 +0900 (30969e0) @@ -10,12 +10,12 @@ msgstr "" msgid "" "---\n" -"title: system\n" +"title: system.status\n" "layout: en\n" "---" msgstr "" "---\n" -"title: system\n" +"title: system.status\n" "layout: ja\n" "---" @@ -27,8 +27,8 @@ msgstr "" msgid "## Abstract {#abstract}" msgstr "## 概要 {#abstract}" -msgid "The `system` command reports current system information of the clsuter itself." -msgstr "`system` コマンドは、クラスタの現在の状態を返します。" +msgid "The `system.status` command reports current status of the clsuter itself." +msgstr "" msgid "## API types {#api-types}" msgstr "## APIの形式 {#api-types}" @@ -118,11 +118,10 @@ msgid "## Usage {#usage}" msgstr "## 使い方 {#usage}" msgid "" -"On the version {{ site.droonga_version }}, this command just reports the list " -"of nodes and their vital information.\n" +"This command reports the list of nodes and their vital information.\n" "For example:" msgstr "" -"バージョン {{ site.droonga_version }} では、このコマンドは単に各ノードの死活情報のみを出力します。\n" +"このコマンドは各ノードの死活情報を出力します。\n" "例:" msgid "" @@ -173,7 +172,7 @@ msgid "" ": A hash including information of nodes in the cluster.\n" " Keys of the hash are identifiers of nodes defined in the `catalog.json`, wit" "h the format: `hostname:port/tag`.\n" -" Each value indicates system information of corresponding node, and have foll" +" Each value indicates status information of corresponding node, and have foll" "owing information:" msgstr "" "`nodes`\n" Modified: reference/1.0.4/commands/index.md (+2 -1) =================================================================== --- reference/1.0.4/commands/index.md 2014-06-25 17:36:28 +0900 (27379c9) +++ reference/1.0.4/commands/index.md 2014-06-25 17:54:45 +0900 (ea1909f) @@ -9,7 +9,8 @@ Here are available commands * [search](search/): Searches data * [add](add/): Adds a record - * [system](system/): Reports system information of the cluster + * system: Reports system information of the cluster + * [system.status](system/status/): Reports status information of the cluster ## Groonga compatible commands Modified: reference/1.0.4/commands/system/index.md (+2 -99) =================================================================== --- reference/1.0.4/commands/system/index.md 2014-06-25 17:36:28 +0900 (f4cb76e) +++ reference/1.0.4/commands/system/index.md 2014-06-25 17:54:45 +0900 (b2b46f3) @@ -3,104 +3,7 @@ title: system layout: en --- -* TOC -{:toc} +`system` is a namespace for commands to report system information of the cluster. -## Abstract {#abstract} + * [system.status](status/): Reports status information of the cluster -The `system` command reports current system information of the clsuter itself. - -## API types {#api-types} - -### HTTP {#api-types-http} - -Request endpoint -: `(Document Root)/droonga/system/status` - -Request methd -: `GET` - -Request URL parameters -: Nothing. - -Request body -: Nothing. - -Response body -: A [response message](#response). - -### REST {#api-types-rest} - -Not supported. - -### Fluentd {#api-types-fluentd} - -Style -: Request-Response. One response message is always returned per one request. - -`type` of the request -: `system.status` - -`body` of the request -: Nothing. - -`type` of the response -: `system.status.result` - -## Parameter syntax {#syntax} - -This command has no parameter. - -## Usage {#usage} - -On the version {{ site.droonga_version }}, this command just reports the list of nodes and their vital information. -For example: - - { - "type" : "system.status", - "body" : {} - } - - => { - "type" : "system.status.result", - "body" : { - "nodes": { - "192.168.0.10:10031/droonga": { - "live": true - }, - "192.168.0.11:10031/droonga": { - "live": false - } - } - } - } - - -## Responses {#response} - -This returns a hash like following as the response's `body`, with `200` as its `statusCode`. - - { - "nodes" : { - "<Identifier of the node 1>" : { - "live" : <Vital status of the node> - }, - "<Identifier of the node 2>" : { ... }, - ... - } - } - -`nodes` -: A hash including information of nodes in the cluster. - Keys of the hash are identifiers of nodes defined in the `catalog.json`, with the format: `hostname:port/tag`. - Each value indicates system information of corresponding node, and have following information: - - `live` - : A boolean value indicating vital state of the node. - If `true`, the node can process messages, and messages are delivered to it. - Otherwise, the node doesn't process any message for now, because it is down or some reasons. - - -## Error types {#errors} - -This command reports [general errors](/reference/message/#error). Copied: reference/1.0.4/commands/system/status/index.md (+4 -4) 87% =================================================================== --- reference/1.0.4/commands/system/index.md 2014-06-25 17:36:28 +0900 (f4cb76e) +++ reference/1.0.4/commands/system/status/index.md 2014-06-25 17:54:45 +0900 (8c95712) @@ -1,5 +1,5 @@ --- -title: system +title: system.status layout: en --- @@ -8,7 +8,7 @@ layout: en ## Abstract {#abstract} -The `system` command reports current system information of the clsuter itself. +The `system.status` command reports current status of the clsuter itself. ## API types {#api-types} @@ -53,7 +53,7 @@ This command has no parameter. ## Usage {#usage} -On the version {{ site.droonga_version }}, this command just reports the list of nodes and their vital information. +This command reports the list of nodes and their vital information. For example: { @@ -93,7 +93,7 @@ This returns a hash like following as the response's `body`, with `200` as its ` `nodes` : A hash including information of nodes in the cluster. Keys of the hash are identifiers of nodes defined in the `catalog.json`, with the format: `hostname:port/tag`. - Each value indicates system information of corresponding node, and have following information: + Each value indicates status information of corresponding node, and have following information: `live` : A boolean value indicating vital state of the node. -------------- next part -------------- HTML����������������������������...Download