microsoftgraph / microsoftgraph/msgraph-sdk-java
Missing endpoint eDiscoveryHoldPolicy
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 444
- フォーク
- 154
- 平均マージ
- 18時間 28分
- マージ済み PR(30日)
- 4
説明
Describe the bug
I am trying to create a Hold Policy in Purview eDiscovery, but the required methods are not present in the SDK. The documentation for v1.0 says that there is an /legalHolds endpoint under the ediscoveryCases resource and this endpoint can be used with direct HTTP calls, but the SDK does not contain the necessary classes to use it via the Java SDK. The beta SDK, however, does contain these classes.
Expected behavior
A LegalHolds class/method in the Java SDK to be able to use the /security/cases/ediscoveryCases/{ediscoveryCaseId}/legalHolds endpoint as described in the documentation for v1.0
How to reproduce
There is no legalholds subpackage in the current ediscovery package.
In the beta tree it exists, even though it is also a v1.0 endpoint
client.security().cases().ediscoveryCases()
.byEdiscoveryCaseId(purviewCaseId)
.legalHolds() // <<--- Error here, method not found
.byEdiscoveryHoldPolicyId(holdPolicyId)
.userSources().get();
SDK Version
6.65.0
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Configuration
No response
Other information
No response
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、src/main/java/com/microsoft/graph/generated/security/cases/ediscoverycases/item 配下の現在の v1.0 パスと、対応するパスにある beta legalholds パッケージを比較します。v1.0 SDK が、issue に記載された legalHolds エンドポイントと byEdiscoveryHoldPolicyId().userSources() チェーンを公開していることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- api
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 静か
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 68/100