cloudfoundry / cloudfoundry/cf-java-client
Disable service access not working for all cases
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 334
- フォーク
- 319
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi,
I am using disable service access and encountered certain issues. Here are few combinations that are not working.
- When I use the following command to enable a particular service plan in a particular org
cloudFoundryOperations.serviceAdmin().enableServiceAccess(EnableServiceAccessRequest .builder().serviceName("abc") .servicePlanName("qwerty") .organizationName("org") .build()).block();
and using the following command of disabling particular plan in all orgs cloudFoundryClient.servicePlans().update(UpdateServicePlanRequest
.builder().publiclyVisible(false).servicePlanId("123456").build()).block();
Expected output: Plan should be disabled in all organizations
Actual Output: Plan is still enabled in "org"
- When I use following command to enable a service plan in all orgs
cloudFoundryOperations.serviceAdmin().enableServiceAccess(EnableServiceAccessRequest .builder().serviceName("abc") .servicePlanName("qwerty") .build()).block();
and then disable particular plan in all orgs using cloudFoundryOperations.serviceAdmin().disableServiceAccess(DisableServiceAccessRequest
.builder().serviceName("abc")
.servicePlanName("qwerty").build()).block();
Expected output: Plan should be disabled in all organizations
Actual Output: Plan is still enabled in all organizations
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
レポートに示されている serviceAdmin().enableServiceAccess と disableServiceAccess の呼び出し、および servicePlans().update(UpdateServicePlanRequest) の呼び出しから始めます。両方の組み合わせを再現し、その後、組織固有のアクセスと publiclyVisible がどのように処理されるかを追跡します。完了条件は、プランを無効化すると、報告された組織およびすべての組織でアクセスが削除されることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- api
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100