cloudfoundry / cloudfoundry/cf-java-client
Json Parser is too strict
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 334
- Forks
- 319
- PR merge metrics
- No merged PRs in 30d
Description
The parser that handles the responses from the cloud foundry instance is very strict and aborts processing as soon as an unknown property is received or a type does not match. There is no easy way for applications using the cf-java-client to continue processing.
This becomes a problem if the versions of client and server do not match or if test coverage in the integration-tests does not point to the problem during development of a new version.
There should be some central switch to log and ignore problems during message parsing as far as possible. The switch would be helpfull during development, when client and server versions do not match.
There should be a configuration file to ignore only explicitly listed properties that are save to ignore, even in a productive environment.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by locating the response-message parser and its existing configuration path, then determine how unknown properties and type mismatches are handled. Done should include a central log-and-ignore option and configuration for explicitly ignored properties, with coverage for both behaviors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100