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

Rolling update functionality in cf-java-client possible?

Open FaulhabeJ001 opened this issue 4 years ago • 5 comments

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 the rolling-update functionality but are not sure if this is possible with the cf-java-client api.

Is it possible to use the rolling-update functionality with the cf-java-client api?

FaulhabeJ001 avatar May 17 '21 07:05 FaulhabeJ001

I believe that the current state is this:

  1. Using cf-java-client's cloudfoundry-client, we support the v3 API's required to do this.
  2. Using cf-java-client's cloudfoundry-operations, we are still using the older v2 APIs to push.

So you could use the cloudfoundry-client and the v3 APIs which it supports to do a v3 push, but you'd have to orchestrate that yourself. At least until cloudfoundry-operations is updated to use the v3 API.

ghost avatar May 17 '21 12:05 ghost

Is there an ETA for "At least until cloudfoundry-operations is updated to use the v3 API" ?

automationman666 avatar Sep 22 '21 12:09 automationman666

@automationman666 Sorry, I cannot give a timeline as we don't have the work scheduled.

If anyone is interested in submitting a PR for this, it would help to speed up the process. I can help with running integration tests/validation. As well as getting it merged.

dmikusa avatar Sep 22 '21 13:09 dmikusa