Juan Hernandez has posted comments on this change. Change subject: restapi: add custom properties to templates ......................................................................
Patch Set 2: (1 comment) http://gerrit.ovirt.org/#/c/35118/2/backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/VmBaseMapper.java File backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/VmBaseMapper.java: Line 239: model.setCpuProfile(cpuProfile); Line 240: } Line 241: Line 242: if (!StringUtils.isEmpty(entity.getCustomProperties())) { Line 243: CustomProperties hooks = new CustomProperties(); > please note i just moved this code from VmMapper, as-is, to here. Thanks for explaining, no need to change. Line 244: hooks.getCustomProperty().addAll(CustomPropertiesParser.parse(entity.getCustomProperties(), false)); Line 245: model.setCustomProperties(hooks); Line 246: } Line 247: } -- To view, visit http://gerrit.ovirt.org/35118 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I95261d17138a8a19d52b16f7f84322c051d7bf17 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Omer Frenkel <[email protected]> Gerrit-Reviewer: Juan Hernandez <[email protected]> Gerrit-Reviewer: Omer Frenkel <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
