Java API cannot create objects with read-only boolean properties

Bug #1771748 reported by Daniel Jasiński on 2018-05-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
Undecided
Daniel Jasiński
Trunk
Fix Committed
Undecided
Daniel Jasiński

Bug Description

In Java API boolean properties are generated as primitive booleans (lowercase) and not references (uppercase). When we want to create an object (e.g.: ApplicationPolicySet) that has read-only boolean property, the controller responds with BAD_REQUEST.

The API should allow for not defining boolean properties.

information type: Proprietary → Public

Review in progress for https://review.opencontrail.org/43108
Submitter: Daniel Jasinski (<email address hidden>)

Review in progress for https://review.opencontrail.org/43109
Submitter: Daniel Jasinski (<email address hidden>)

Reviewed: https://review.opencontrail.org/43109
Committed: http://github.com/Juniper/contrail-api-client/commit/0724f724e59c7d20d43246ccb88d7dbd29de647a
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit 0724f724e59c7d20d43246ccb88d7dbd29de647a
Author: Daniel Jasiński <email address hidden>
Date: Thu May 17 09:57:42 2018 +0200

Change Java API boolean properties from primitives to references.

Change-Id: I1f5fc44025521ea22592486aeae10471278acfa9
Closes-Bug: #1771748

OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/43108
Committed: http://github.com/Juniper/contrail-api-client/commit/908fc713b13017559257391883b4be53c1545c14
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 908fc713b13017559257391883b4be53c1545c14
Author: Daniel Jasiński <email address hidden>
Date: Thu May 17 09:57:42 2018 +0200

Change Java API boolean properties from primitives to references.

Change-Id: I1f5fc44025521ea22592486aeae10471278acfa9
Closes-Bug: #1771748

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers