Re: [ovirt-users] Some questions about Ovirt REST API

2018-04-12 Thread gss...@pku.edu.cn
Here is my patches. From: gss...@pku.edu.cn Date: 2018-04-12 16:45 To: omachace; users Subject: Re: Re: [ovirt-users] Some questions about Ovirt REST API Sure. I override get() and add() in my BackendVmMytestsResource.java GET works and POST not. From: Ondra Machacek Date: 2018-04-12 16:25

Re: [ovirt-users] Some questions about Ovirt REST API

2018-04-12 Thread gss...@pku.edu.cn
' in GET request feedback.xml I must have misunderstood sth. From: Ondra Machacek Date: 2018-04-12 16:25 To: gss...@pku.edu.cn; users Subject: Re: [ovirt-users] Some questions about Ovirt REST API Ah sorry, POST isn't working and GET works, I misread it. Can you please share

Re: [ovirt-users] Some questions about Ovirt REST API

2018-04-12 Thread gss...@pku.edu.cn
Sure. I override get() and add() in my BackendVmMytestsResource.java GET works and POST not. From: Ondra Machacek Date: 2018-04-12 16:25 To: gss...@pku.edu.cn; users Subject: Re: [ovirt-users] Some questions about Ovirt REST API Ah sorry, POST isn't working and GET works, I misread it. Can you

Re: [ovirt-users] Some questions about Ovirt REST API

2018-04-12 Thread Ondra Machacek
*Date:* 2018-04-12 15:43 *To:* gss...@pku.edu.cn <mailto:gss...@pku.edu.cn>; users <mailto:users@ovirt.org> *Subject:* Re: [ovirt-users] Some questions about Ovirt REST API On 04/11/2018 08:19 AM, gss...@pku.edu.cn wrote: > Hi, > > I wants to cr

Re: [ovirt-users] Some questions about Ovirt REST API

2018-04-12 Thread gss...@pku.edu.cn
Do you mean @override getMytestsResource() in BackendVmResource ? I have done that, otherwise GET would not pass. From: Ondra Machacek Date: 2018-04-12 15:43 To: gss...@pku.edu.cn; users Subject: Re: [ovirt-users] Some questions about Ovirt REST API On 04/11/2018 08:19 AM, gss...@pku.edu.cn

Re: [ovirt-users] Some questions about Ovirt REST API

2018-04-12 Thread Ondra Machacek
On 04/11/2018 08:19 AM, gss...@pku.edu.cn wrote: Hi, I wants to creating my own service under ../vms/{vmid}/myservice.Here is my methods: 1. create VmMytestService in /https://github.com/oVirt/ovirt-engine-api-model project./ add/@Service VmMytestService mytests() in /VmService .java 2.