cloudfoundry / cloudfoundry/cf-java-client

Attribute "Version" missing in "Process" (V3)

Open
#1,193 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
334
Forks
319
PR merge metrics
No merged PRs in 30d

Description

Out of an analysis, I saw that the attribute version of Process (V3) in version 5.10.0 is missing. See also https://github.com/cloudfoundry/cf-java-client/blob/v5.10.0.RELEASE/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/processes/Process.java#L26.

As far as I can see, the attribute is there since CAPI 3.141.0.

It is currently unclear whether - due to this attribute missing - instances can be contained in the ProcessResponse list, which appear to the consumer as "surprising duplicates" (only this attribute changed). This might lead to semantic difficulties and cause debugging issues.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/processes/Process.java at the referenced definition and compare it with the CAPI 3.141.0 Process object. Then inspect how ProcessResponse exposes process instances and verify whether the missing version can produce surprising duplicates. Done means the version attribute is represented correctly and the duplicate behavior is covered or clarified.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.