Gilad Chaplik has posted comments on this change.

Change subject: engine:Trusted Compute Pools - Open Attestation integration 
with oVirt engine proposal
......................................................................


Patch Set 2:

(1 comment)

@Juan, @Vojtech, 

can you refer to inline comment, would like to get your input.

Thanks!

http://gerrit.ovirt.org/#/c/26381/2/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/attestation/AttestationService.java
File 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/attestation/AttestationService.java:

Line 121:         List<AttestationValue> values = new 
ArrayList<AttestationValue>();
Line 122:         JsonParser jParser = jfactory.createJsonParser(str);
Line 123:         try {
Line 124:             jParser.nextToken(); //START_OBJECT
Line 125:             while (jParser.nextToken() != JsonToken.END_OBJECT) {
> hi, Gilad
so maybe we need to use other parser that supports that.

will consult other maintainers about it.
Line 126:                 if 
(jParser.getCurrentName().equalsIgnoreCase(HEADER_HOSTS)) {
Line 127:                     jParser.nextToken(); //START_ARRAY
Line 128:                     jParser.nextToken(); //START_OBJECT
Line 129:                     jParser.nextToken(); //FIELD_NAME


-- 
To view, visit http://gerrit.ovirt.org/26381
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I2f541b004ba383a3098cf7fbfca7a000b11b750f
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Emily Zhang <lijuan.zh...@intel.com>
Gerrit-Reviewer: Dave Chen <wei.d.c...@intel.com>
Gerrit-Reviewer: Doron Fediuck <dfedi...@redhat.com>
Gerrit-Reviewer: Emily Zhang <lijuan.zh...@intel.com>
Gerrit-Reviewer: Gilad Chaplik <gchap...@redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernan...@redhat.com>
Gerrit-Reviewer: Kobi Ianko <k...@redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vsz...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to