Description
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