
----- Original Message -----
From: "Ori Liel" <oliel@redhat.com> To: "engine-devel" <engine-devel@ovirt.org> Sent: Wednesday, January 22, 2014 2:32:29 PM Subject: [Engine-devel] Application URI - saved anywhere?
Hi,
RSDL lists the possible links that the user can activate in Rest-API. The URI of A link looks something like this:
"/ovirt-engine/api/vms/{vm:id}/start"
My question is about the prefix: "/ovirt-engine/api/". Until now RSDL was generated at run-time, under a running application server, and this prefix was received by querying for the base-uri of the current user's request. I'm in the process of enabling RSDL generation at build time, and thus won't have a request to get this URI from. I'm thinking to add this constant: "/ovirt-engine/api" somewhere in pom.xml files, and use it. Does that sound reasonable? (if not, why, and what do you think I should do instead?)
This entry already exists today in the ovirt-engine repo, in ear/pom.xml as the contextRoot of the API webapp. Would that be enough?
Thanks,
Ori. _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel