cf-java-client
cf-java-client copied to clipboard
Implement Manifest V3 objects and deployment
Implements:
- objects and logic required for reading and writing CC API V3 manifests
- client interface and reactor implementation to apply the manifest
- resource matching for v3 packages API
-
pushManifestV3
operation, similar to the existingpushManifest
operation
I hope that the pushManifestV3
operation is complete (especially the "app readiness" checks), since I did not find a documentation of this process and had to reverse engineer it from the CLI.
I chose to pass a raw byte array as manifest in the client instead of an object, because that would've required to add the snakeyaml dependency to the client as well. Since the manifest is just passed to and applied by the CC anyway, I saw no benefit of passing as an object.
Unfortunately, I could not get a local CF instance set up for the integration tests. Due to licensing issues at my company I cannot use Virtualbox and setting it up on a local OpenStack "DevStack" instance wasn't working either. If requested, I can add integration tests, but I cannot ensure that they are working as intended.
Solves #999 and #1142 but not #1103 yet
The committers listed above are authorized under a signed CLA.
- :white_check_mark: login: schulzh / name: Hans Schulz (e88310640bc86d5c2f7a726ff8099ebd20daae08)
Thanks for the PR @schulzh! Are you able to follow the link in the EasyCLA comment above to get the commit authorised ✅ and satisfy the bot?
SInce this is a significant addition, if you can add the integration tests I am happy to run them in a lab!
I have already done the EasyCLA process and I'm waiting on the approval of my organization. I'll add integration tests then, thanks!
Hi @pivotal-david-osullivan,
I've added integration tests. Could you please run them in your lab? I've also completed the CLA. From my side this PR should be ready to merge, so I'd be happy to have it reviewed.
Hi @mheath ,
Thank you for the review and kind words :slightly_smiling_face:
I've addressed the issues, please take a look.
Will you change the branch from main
to manifest-v3
on this PR and I will get it merged and then merge in my acceptance tests?
Hi @mheath,
I've changed the base branch. It looks like its lagging behind main a few hounded commits. Should I rebase it?
Hello @mheath,
do you have any updates on this? What is missing to get it merged to master?