[
https://issues.apache.org/jira/browse/YUNIKORN-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
PoAn Yang resolved YUNIKORN-1857.
---------------------------------
Fix Version/s: 1.4.0
Resolution: Fixed
> [UMBRELLA] use "omitempty" in json REST object definition
> ---------------------------------------------------------
>
> Key: YUNIKORN-1857
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1857
> Project: Apache YuniKorn
> Issue Type: Task
> Components: core - common, webapp
> Reporter: Wilfred Spiegelenburg
> Assignee: PoAn Yang
> Priority: Major
> Fix For: 1.4.0
>
>
> None of the json definitions (DAO) use the option {{{}omitempty{}}}. Adding
> this allows removing on default values (like: 0, false, nil slices, maps and
> pointers)
> There is an impact on the code: the webapp needs to be able to handle missing
> entries and default them correctly.
> It also requires documentation updates as we currently can show empty values
> in the output.
> Third part is to extend this all the way into the k8shim cache that creates
> the cache dumps.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]