[Bug 539290] New: rest-service ResourcesController should be more RESTful
http://bugzilla.novell.com/show_bug.cgi?id=539290 Summary: rest-service ResourcesController should be more RESTful Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: Other OS/Version: Other Status: NEEDINFO Severity: Enhancement Priority: P5 - None Component: WebYaST AssignedTo: mkudlvasr@novell.com ReportedBy: mkudlvasr@novell.com QAContact: qa@suse.de CC: kkaempf@novell.com Found By: --- it would be nice to be able to get a URI from interface in a RESTful way. Like: /resources/org.opensuse.yast.modules.yapi.time instead of: /resources.xml?interface=org.opensuse.yast.modules.yapi.time current status: - new restful resources controller is commited into branch resource-restfull (yes, double l is a grammar error). - /resources.html works as before - /resources.xml works as before - /resources/$interface return html for $interface - /resources/$interface/show.xml return xml for $interface in the last uri /show.xml has to be used, because $interface contains dots and so rails cannot determine format. - new model Resource created with to_xml method (now used instead of the old view) - all tests pass. - no aparent error when working with webyast Can I merge into master? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539290
User kkaempf@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539290#c1
Klaus Kämpf
http://bugzilla.novell.com/show_bug.cgi?id=539290
Klaus Kämpf
http://bugzilla.novell.com/show_bug.cgi?id=539290
User mkudlvasr@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539290#c2
Martin Kudlvasr
participants (1)
-
bugzilla_noreply@novell.com