ol...@redhat.com has posted comments on this change.

Change subject: restapi: support url params in rsdl
......................................................................


Patch Set 2: (1 inline comment)

fixed whitespace issues, 1 comment on your comment, rebasing and pushing again

....................................................
File 
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/rsdl/RsdlBuilder.java
Line 323:                         Object value = 
action.getRequest().getUrlparams().get(key);
No, the object is a UrlParamData. 

In Request.java: 
------------------------
private Map<String, UrlParamData> urlparams = new HashMap<String,  
UrlParamData>();

In yaml file: 
-----------------
    urlparams: 
      search: {context: query, type: 'xs:string', description: query_text}

'search' is the key, and '{context: query, type: 'xs:string', description: 
query_text}' is the value, which is a complex object

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

Gerrit-MessageType: comment
Gerrit-Change-Id: I65a24adb29e7df04d510d725cb6bed3dd619a482
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: ol...@redhat.com
Gerrit-Reviewer: Michael Pasternak <mpast...@redhat.com>
Gerrit-Reviewer: ol...@redhat.com
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to