cf-java-client icon indicating copy to clipboard operation
cf-java-client copied to clipboard

Create service instance using V3 possible?

Open swaroop65 opened this issue 3 years ago • 6 comments
trafficstars

We are trying to create a service instance using v3 api from cf-java-client. We couldn't find an implementation for v3 in the latest version 5.6.0.RELEASE of Cloud-foundry-operations. We also noticed that the cloud-foundry-client / cloud-foundry-client-reactor doesn't have all the necessary request and response models to support v3 service instance creation.

Question: Is there a way to create a service instance using v3 from cf-java-client?

swaroop65 avatar Jan 31 '22 20:01 swaroop65

We couldn't find an implementation for v3 in the latest version 5.6.0.RELEASE of Cloud-foundry-operations. We also noticed that the cloud-foundry-client / cloud-foundry-client-reactor doesn't have all the necessary request and response models to support v3 service instance creation.

What specifically were you expecting to find but didn't? If you could link to the API doc for the request you want to make, I can confirm if we do or do not have that. We do not have 100% coverage of the v3 API so it is possible that we're missing a request you need. We do have quite a few of the common API requests covered though, including at least some coverage for service plans, offerings, instances, and bindings.

If you could just send me links using http://v3-apidocs.cloudfoundry.org/version/3.113.0/index.html for the requests you need, that'll help narrow this down. Thanks

dmikusa avatar Feb 02 '22 04:02 dmikusa

We couldn't find an implementation for v3 in the latest version 5.6.0.RELEASE of Cloud-foundry-operations. We also noticed that the cloud-foundry-client / cloud-foundry-client-reactor doesn't have all the necessary request and response models to support v3 service instance creation.

What specifically were you expecting to find but didn't? If you could link to the API doc for the request you want to make, I can confirm if we do or do not have that. We do not have 100% coverage of the v3 API so it is possible that we're missing a request you need. We do have quite a few of the common API requests covered though, including at least some coverage for service plans, offerings, instances, and bindings.

If you could just send me links using http://v3-apidocs.cloudfoundry.org/version/3.113.0/index.html for the requests you need, that'll help narrow this down. Thanks

Thank you so much Daniel http://v3-apidocs.cloudfoundry.org/version/3.113.0/index.html#create-a-service-instance and http://v3-apidocs.cloudfoundry.org/version/3.113.0/index.html#get-a-service-instance

omid-soleimani avatar Feb 02 '22 20:02 omid-soleimani

Thanks. Acknowledged. Those are indeed missing.

I'll flag this as a feature request & we'll add it to the backlog. If you are interested in submitting a PR to add them, I can certainly help with questions, review, and merging.

dmikusa avatar Feb 04 '22 16:02 dmikusa

Hey, Is there any update with the v3 related APIs. I can see these APIs are still not available for some of the generic use cases of service instance and service keys. Is something related to it is queued for release. Please provide the info.

Suyash08Oct avatar Jul 12 '22 10:07 Suyash08Oct

can check some PRs available related to v3 update like https://github.com/cloudfoundry/cf-java-client/pull/1157.

Suyash08Oct avatar Jul 12 '22 10:07 Suyash08Oct

@Suyash08Oct Thanks for reaching out #1157 is on the list to be reviewed soon. The plan is to get #1157, #1158 and #1159 reviewed and merged, then cut a release. I can't give you a time frame, having not yet looked at the PRs. If they are 100% ready and pass all the tests it could be a couple of weeks. If they require updates, it will take longer.

dmikusa avatar Jul 12 '22 12:07 dmikusa