Hello Gang Wei,

I'd like you to do a code review.  Please visit

    http://gerrit.ovirt.org/14692

to review the following change.

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

restapi: Trusted Compute Pools - Open Attestation integration with oVirt engine 
proposal

Detailed description: http://wiki.ovirt.org/Trusted_compute_pools

In this patchset, add RESTful API to create a trusted Cluster.

Change-Id: Ib345054072e4998346c7be6d815d5ea8f3eace4e
Signed-off-by: Jimmy <[email protected]>
Signed-off-by: Zhang Lijuan <[email protected]>
Signed-off-by: Dave Chen <[email protected]>
Signed-off-by: Quan Xu <[email protected]>
---
M 
backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
M 
backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/ClusterMapper.java
2 files changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/92/14692/1

diff --git 
a/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
 
b/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
index c57c0a3..1bf69aa 100644
--- 
a/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
+++ 
b/backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
@@ -1090,6 +1090,7 @@
           <xs:element name="gluster_service" type="xs:boolean" minOccurs="0" 
maxOccurs="1"/>
           <xs:element name="threads_as_cores" type="xs:boolean" minOccurs="0" 
maxOccurs="1"/>
           <xs:element name="tunnel_migration" type="xs:boolean" minOccurs="0" 
maxOccurs="1"/>
+          <xs:element name="trusted_service" type="xs:boolean" minOccurs="0" 
maxOccurs="1"/>
           <!-- Also a rel="networks" link -->
         </xs:sequence>
       </xs:extension>
diff --git 
a/backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/ClusterMapper.java
 
b/backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/ClusterMapper.java
index b4f53ae..e9c1d3e 100644
--- 
a/backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/ClusterMapper.java
+++ 
b/backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/ClusterMapper.java
@@ -69,6 +69,9 @@
         if (model.isSetTunnelMigration()) {
             entity.setTunnelMigration(model.isTunnelMigration());
         }
+        if (model.isSetTrustedService()){
+            entity.setTrustedService(model.isTrustedService());
+        }
         return entity;
     }
 
@@ -100,6 +103,7 @@
         model.setGlusterService(entity.supportsGlusterService());
         model.setThreadsAsCores(entity.getCountThreadsAsCores());
         model.setTunnelMigration(entity.isTunnelMigration());
+        model.setTrustedService(entity.supportsTrustedService());
         return model;
     }
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib345054072e4998346c7be6d815d5ea8f3eace4e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Dave Chen <[email protected]>
Gerrit-Reviewer: Gang Wei <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to