My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2290: Allow defining a new top level resource from a plugin
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by michal.s...@gmail.com, Nov 28, 2013
Currently (2.8) if we define a new resource from a plugin, the url looks like this:

PUT http://host/plugins/myplugin/myresource/1/myplugin~action

It should be possible to define a new top level resource from a plugin so that a url would like this:

http://host/myresource/1/myplugin~action

or even just 

http://host/myresource/1/action

(Gerrit could figure out based on the resource type which plugin contributes the "action" on that resource)

Link to a discussion: https://groups.google.com/d/msg/repo-discuss/_pAvzzrGvV0/edrOB_RxoHwJ

Sign in to add a comment

Powered by Google Project Hosting