Bug 2032917
| Summary: | Restapi: after migrating Jackson to com.fasterxml.jackson, REST API's JSON default serializing mode is not ignoring properties with null values anymore | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Sharon Gratch <sgratch> |
| Component: | General | Assignee: | Artur Socha <asocha> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Barbora Dolezalova <bdolezal> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | future | CC: | bugs, mperina |
| Target Milestone: | ovirt-4.5.0 | Flags: | mperina:
ovirt-4.5+
|
| Target Release: | 4.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-engine-4.5.0 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-05-23 06:21:25 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 499109, 1907798 | ||
| Bug Blocks: | |||
|
Description
Sharon Gratch
2021-12-15 13:30:07 UTC
Fixed. Current output looks like that: curl -k -H "Accept: application/json" -H "Authorization: Bearer <access_token>" 'https://workstation.dom:8443/ovirt-engine/api/users/a1119f36-75d3-11eb-a179-309c23f67dcf/sshpublickeys' { "ssh_public_key" : [ { "content" : "<SSH_KEY>", "user" : { "href" : "/ovirt-engine/api/users/a1119f36-75d3-11eb-a179-309c23f67dcf", "id" : "a1119f36-75d3-11eb-a179-309c23f67dcf" }, "href" : "/ovirt-engine/api/users/a1119f36-75d3-11eb-a179-309c23f67dcf/sshpublickeys/39105823-3331-4bb9-a9ac-cab5dced8a29", "id" : "39105823-3331-4bb9-a9ac-cab5dced8a29" } ] }% Verified in ovirt-engine-4.5.0.4-0.1.el8ev.noarch Null properties are excluded |