From 2d01f3025cdebe1762082314a18e1839d20e54d5 Mon Sep 17 00:00:00 2001 From: "makabe.t" Date: Wed, 1 Nov 2023 09:29:31 +0000 Subject: [PATCH 1/3] =?UTF-8?q?Merged=20PR=20545:=20=E8=AA=BF=E6=9F=BB?= =?UTF-8?q?=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 概要 [Task3013: 調査する](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/3013) - 元PBI or タスクへのリンク(内容・目的などはそちらにあるはず) - 何をどう変更したか、追加したライブラリなど - このPull Requestでの対象/対象外 - 影響範囲(他の機能にも影響があるか) ## レビューポイント - 特にレビューしてほしい箇所 - 軽微なものや自明なものは記載不要 - 修正範囲が大きい場合などに記載 - 全体的にや仕様を満たしているか等は本当に必要な時のみ記載 ## UIの変更 - Before/Afterのスクショなど - スクショ置き場 ## 動作確認状況 - ローカルで確認、develop環境で確認など ## 補足 - 相談、参考資料などがあれば --- dictation_server/deploy.test.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 dictation_server/deploy.test.txt diff --git a/dictation_server/deploy.test.txt b/dictation_server/deploy.test.txt new file mode 100644 index 0000000..6354d10 --- /dev/null +++ b/dictation_server/deploy.test.txt @@ -0,0 +1 @@ +TODO:パイプラインの動作確認のための仮差分 \ No newline at end of file From da31ae441fe4022173cfcfa179e6417a6409112a Mon Sep 17 00:00:00 2001 From: "makabe.t" Date: Wed, 1 Nov 2023 09:38:29 +0000 Subject: [PATCH 2/3] =?UTF-8?q?Merged=20PR=20546:=20Revert=20'=E8=AA=BF?= =?UTF-8?q?=E6=9F=BB=E3=81=99=E3=82=8B'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 概要 [Task3013: 調査する](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/3013) - 元PBI or タスクへのリンク(内容・目的などはそちらにあるはず) - 何をどう変更したか、追加したライブラリなど - このPull Requestでの対象/対象外 - 影響範囲(他の機能にも影響があるか) ## レビューポイント - 特にレビューしてほしい箇所 - 軽微なものや自明なものは記載不要 - 修正範囲が大きい場合などに記載 - 全体的にや仕様を満たしているか等は本当に必要な時のみ記載 ## UIの変更 - Before/Afterのスクショなど - スクショ置き場 ## 動作確認状況 - ローカルで確認、develop環境で確認など ## 補足 - 相談、参考資料などがあれば Reverts !545 --- dictation_server/deploy.test.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 dictation_server/deploy.test.txt diff --git a/dictation_server/deploy.test.txt b/dictation_server/deploy.test.txt deleted file mode 100644 index 6354d10..0000000 --- a/dictation_server/deploy.test.txt +++ /dev/null @@ -1 +0,0 @@ -TODO:パイプラインの動作確認のための仮差分 \ No newline at end of file From 18757e3243149c7256861126649b78e43072cc09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B9=AF=E6=9C=AC=20=E9=96=8B?= Date: Thu, 2 Nov 2023 06:00:36 +0000 Subject: [PATCH 3/3] =?UTF-8?q?Merged=20PR=20549:=20Users=E3=82=BF?= =?UTF-8?q?=E3=83=96=E3=82=92=E9=96=8B=E3=81=91=E3=81=AA=E3=81=84Bug?= =?UTF-8?q?=E3=81=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 概要 [Task3019: 修正](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/3019) - 単体ユーザー取得の際、Selectを用いて必要なパラメータを指定していなかったので必須パラメータが欠けた状態で取得され、それがキャッシュされてしまった - ※キャッシュ実装時、Selectなしだと全部取れると勘違いしていた ## レビューポイント - 修正内容は妥当か? ## 動作確認状況 - ローカルで確認 --- dictation_server/src/gateways/adb2c/adb2c.service.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dictation_server/src/gateways/adb2c/adb2c.service.ts b/dictation_server/src/gateways/adb2c/adb2c.service.ts index 6997ee9..69bd890 100644 --- a/dictation_server/src/gateways/adb2c/adb2c.service.ts +++ b/dictation_server/src/gateways/adb2c/adb2c.service.ts @@ -197,7 +197,10 @@ export class AdB2cService { } // キャッシュ上に存在していなければ、ADB2Cから取得してキャッシュに保存する - const user = await this.graphClient.api(`users/${externalId}`).get(); + const user = await this.graphClient + .api(`users/${externalId}`) + .select(['id', 'displayName', 'identities']) + .get(); await this.redisService.set(key, user, this.ttl); this.logger.log(`[ADB2C GET] externalId: ${externalId}`);