get service params possible?
We are currently working on a GitOps-Tool. This tool deploys apps to cloud foundry and uses the cf-java-client. For this we need to use params when creating a service. With CreateServiceInstanceRequest this is no problem (field Map<String, Object parameters.
Question:
How can we GET this params to a given service with the cf-java-client-API? In ServiceInstance and ServiceInstanceSummary theres not such a property.
Sorry for the delayed response.
I believe you want https://github.com/cloudfoundry/cf-java-client/blob/main/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v2/serviceinstances/ServiceInstances.java#L66
Parameters are a separate call to the API, so you need a specific request for them in the client.
https://apidocs.cloudfoundry.org/16.22.0/service_instances/retrieve_a_particular_service_instance_parameters.html