Just remembered, Alex gave a talk on how to write plugin for 4.0.0: https://www.youtube.com/watch?v=fGtt169nv20 The video does not show his screen, but you can see the plugin in plugins/network-elements/dns-notifier
Cheers. On Mon, Mar 18, 2013 at 11:54 AM, Rohit Yadav <bhais...@apache.org> wrote: > You may for example study smaller plugins such as ldap, md5 etc. (in > plugins/user-authenticators) for both 4.1+ and pre-4.1 versions. > > For 4.1+ you should take a look at plugins/{acl, api} as well, they > too are small and read-able. And, may be you can help us write the > stub: > https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+API+Development > as a fresh developer trying to write a plugin you would be able to > write it with verbosity. > > Regards. > > On Mon, Mar 18, 2013 at 9:37 AM, Mike Tutkowski > <mike.tutkow...@solidfire.com> wrote: >> Hi Rohit, >> >> I appreciate you taking the time to answer these questions. :) >> >> I could probably pull out an example from the codebase, but do you have one >> in mind that might be a really good one for me to look at to learn first >> hand how the code for this works (maybe one that exists in 3.x and 4.x)? >> >> Thanks so much! >> >> >> On Sun, Mar 17, 2013 at 10:02 PM, Rohit Yadav <bhais...@apache.org> wrote: >> >>> On Mon, Mar 18, 2013 at 8:45 AM, Mike Tutkowski >>> <mike.tutkow...@solidfire.com> wrote: >>> > If I read this correctly >>> > >>> > >>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/API+Discovery+Service >>> > >>> > is it true that extending the CS API was first introduced in 4.1? >>> >>> No, pluggable service was there before 4.1, but it was implemented >>> slightly differently. Each plugin would have it's own ACL mapping >>> file. Now we keep one ACL properties file, we have modified >>> annotations, api discovery service itself it a pluggable service >>> (plugin) which helps discovers any API. >>> >>> You may use latest cloudmonkey and use sync to get any API you may be >>> adding to test and fire 'em. >>> >>> Regards. >>> >>> > >>> > >>> > On Sat, Mar 16, 2013 at 12:28 PM, Mike Tutkowski < >>> > mike.tutkow...@solidfire.com> wrote: >>> > >>> >> Sounds good, Chip - thanks! >>> >> >>> >> >>> >> On Sat, Mar 16, 2013 at 12:26 PM, Chip Childers < >>> chip.child...@sungard.com >>> >> > wrote: >>> >> >>> >>> On Sat, Mar 16, 2013 at 12:08:39PM -0600, Mike Tutkowski wrote: >>> >>> > Hey Chip, >>> >>> > >>> >>> > Do you know where I could find documentation on how to create this >>> kind >>> >>> of >>> >>> > CS plug-in? >>> >>> > >>> >>> > Thanks! >>> >>> >>> >>> The wiki has some information, which you should try to search for >>> >>> answers to questions like this. Raise questions when things aren't >>> >>> documented there, so that we know where to improve the content (or >>> >>> edit liberally as you learn things yourself!). >>> >>> >>> >>> Searches: >>> >>> >>> >>> >>> https://cwiki.apache.org/confluence/dosearchsite.action?queryString=Pluggableservice >>> >>> >>> >>> >>> https://cwiki.apache.org/confluence/dosearchsite.action?where=CLOUDSTACK&spaceSearch=true&queryString=plugin >>> >>> >>> >>> This is interesting: >>> >>> >>> >>> >>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/API+Discovery+Service >>> >>> >>> >>> As it this: >>> >>> >>> >>> >>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Annotations+use+in+the+API >>> >>> >>> >> >>> >> >>> >> >>> >> -- >>> >> *Mike Tutkowski* >>> >> *Senior CloudStack Developer, SolidFire Inc.* >>> >> e: mike.tutkow...@solidfire.com >>> >> o: 303.746.7302 >>> >> Advancing the way the world uses the cloud< >>> http://solidfire.com/solution/overview/?video=play> >>> >> *™* >>> >> >>> > >>> > >>> > >>> > -- >>> > *Mike Tutkowski* >>> > *Senior CloudStack Developer, SolidFire Inc.* >>> > e: mike.tutkow...@solidfire.com >>> > o: 303.746.7302 >>> > Advancing the way the world uses the >>> > cloud<http://solidfire.com/solution/overview/?video=play> >>> > *™* >>> >> >> >> >> -- >> *Mike Tutkowski* >> *Senior CloudStack Developer, SolidFire Inc.* >> e: mike.tutkow...@solidfire.com >> o: 303.746.7302 >> Advancing the way the world uses the >> cloud<http://solidfire.com/solution/overview/?video=play> >> *™*