バグ #381
Dialogflow から Webhook で通知される JSON データの全文が、 GAE でログ出力されない
0%
説明
出力ログ¶
修正前¶
com.mizo0203.google.home.shiritori.HelloServlet doPost: doPost() line: { (HelloServlet.java:38) // ★ "{" 以降がログ出力されない
修正後¶
com.mizo0203.google.home.shiritori.HelloServlet doPost: doPost() body: { (HelloServlet.java:42) "responseId": "a914ff88-492a-44ec-8a1e-b9ea5bf3dfb6", "queryResult": { "queryText": "明日 福岡 予約", "parameters": { "date": "2018-05-28T12:00:00+09:00", "building": "福岡タウンホテル", "Request": "予約" }, "allRequiredParamsPresent": true, "fulfillmentText": "2018-05-28 の 福岡タウンホテル を予約しました。", "fulfillmentMessages": [{ "text": { "text": ["2018-05-28 の 福岡タウンホテル を予約しました。"] } }], "outputContexts": [{ "name": "projects/api-project-379224789817/agent/sessions/1527430027628/contexts/google_assistant_input_type_voice", "parameters": { "date": "2018-05-28T12:00:00+09:00", "date.original": "明日", "building.original": "福岡", "Request": "予約", "Request.original": "予約", "building": "福岡タウンホテル" } }, { "name": "projects/api-project-379224789817/agent/sessions/1527430027628/contexts/actions_capability_audio_output", "parameters": { "date": "2018-05-28T12:00:00+09:00", "date.original": "明日", "building.original": "福岡", "Request": "予約", "Request.original": "予約", "building": "福岡タウンホテル" } }, { "name": "projects/api-project-379224789817/agent/sessions/1527430027628/contexts/actions_capability_media_response_audio", "parameters": { "date": "2018-05-28T12:00:00+09:00", "date.original": "明日", "building.original": "福岡", "Request": "予約", "Request.original": "予約", "building": "福岡タウンホテル" } }], "intent": { "name": "projects/api-project-379224789817/agent/intents/475d67e6-a2a8-486e-9936-a35e1b76e8bc", "displayName": "booking" }, "intentDetectionConfidence": 1.0, "diagnosticInfo": { }, "languageCode": "ja" }, "originalDetectIntentRequest": { "source": "google", "version": "2", "payload": { "isInSandbox": true, "surface": { "capabilities": [{ "name": "actions.capability.MEDIA_RESPONSE_AUDIO" }, { "name": "actions.capability.AUDIO_OUTPUT" }] }, "inputs": [{ "rawInputs": [{ "query": "明日 福岡 予約", "inputType": "VOICE" }], "arguments": [{ "rawText": "明日 福岡 予約", "textValue": "明日 福岡 予約", "name": "text" }], "intent": "actions.intent.TEXT" }], "user": { "lastSeen": "2018-05-27T13:32:31Z", "locale": "ja-JP", "userId": "ABwppHH1SG0cLraSt4wXEyBG4wQFvDbWDlxl2cmCbbhakBqI1tMbcodwZlPaGWoKhH67QBjrzsuj2588z8HhpWy1xbLkpyre" }, "conversation": { "conversationId": "1527430027628", "type": "ACTIVE", "conversationToken": "[\"475d67e6-a2a8-486e-9936-a35e1b76e8bc_id_dialog_context\",\"actions_capability_audio_output\",\"actions_capability_media_response_audio\",\"booking_dialog_context\",\"booking_dialog_params_date\",\"google_assistant_input_type_voice\"]" }, "availableSurfaces": [{ "capabilities": [{ "name": "actions.capability.WEB_BROWSER" }, { "name": "actions.capability.AUDIO_OUTPUT" }, { "name": "actions.capability.SCREEN_OUTPUT" }] }] } }, "session": "projects/api-project-379224789817/agent/sessions/1527430027628" }
古明地こいし @redmizo_info さんが6年以上前に更新
Commit: e0ad410da1bfcc12119b24f08ed573ffb90c9a74
https://github.com/mizo0203/google-home-shiritori/commit/e0ad410da1bfcc12119b24f08ed573ffb90c9a74
Author: みぞ@CrazyBeatCoder mizo0203@mizo0203.com
Date: 2018-05-27 (Sun, 27 May 2018)
Log Message:
fix(HelloServlet): Full text of posted data is not logged. #381 @1.25h
古明地こいし @redmizo_info さんが6年以上前に更新
Commit: e0ad410da1bfcc12119b24f08ed573ffb90c9a74
https://github.com/mizo0203/google-home-shiritori/commit/e0ad410da1bfcc12119b24f08ed573ffb90c9a74
Author: みぞ@CrazyBeatCoder mizo0203@mizo0203.com
Date: 2018-05-27 (Sun, 27 May 2018)
Log Message:
fix(HelloServlet): Full text of posted data is not logged. #381 @1.25h
古明地こいし @redmizo_info さんが6年以上前に更新
Commit: 22e4a10be2d868c6a4f553a37299a88e6a2f3a45
https://github.com/mizo0203/google-home-shiritori/commit/22e4a10be2d868c6a4f553a37299a88e6a2f3a45
Author: みぞ@CrazyBeatCoder mizo0203@mizo0203.com
Date: 2018-05-29 (Tue, 29 May 2018)
Log Message:
Merge pull request #2 from mizo0203/feature-sample-project
Dialogflow から Webhook で通知される JSON データの全文が、 GAE でログ出力されないバグを修正 #381
みぞ @mizo0203 さんが6年以上前に更新
- ステータス を 進行中 から 却下 に変更
- 進捗率 を 40 から 0 に変更