Hi Michael, I haven't look at your entire code yet but did you check if your bundle is activated by using the command bundle:list | grep unomi it should show up in the list. If the bundle is here it's a good start and if it's in resolved you might just need to start it, with something like that:
bundle:install mvn:org.apache.unomi/login-integration-samples/${project.version} or like that: feature:repo-add mvn:org.apache.unomi/unomi-salesforce-connectors-karaf-kar/${project.version}/xml/features feature:install unomi-salesforce-connectors-karaf-kar I'm pretty sure we have some documentation somewhere but I could not find it, and the closest video that show how to deploy a plugin might be this one but the quality is not really good: https://www.youtube.com/watch?v=IvP_iIlw2vQ&t=1389s and this is the repo that was used for the demo so you can easily use it as an example https://github.com/Jahia/unomi-twilio Cheers On Sun, Dec 2, 2018 at 6:11 PM Michael Ghen <m...@mikeghen.com> wrote: > PS: The message I get in the logs is: > > 2018-12-01T22:23:13,867 | WARN | pool-44-thread-1 | ParserHelper > | 185 - org.apache.unomi.services - 1.4.0.incubating-SNAPSHOT | > Couldn't resolve action types : webHookAction > > On Sun, Dec 2, 2018 at 12:06 PM Michael Ghen <m...@mikeghen.com> wrote: > > > Hi, > > > > I'm working on my first plugin. I'm trying to add a general webhook > action > > to send requests to another service when a condition is met in a rule. I > > looked at the docs about Plugins and looked a little at OSGI. I took the > > approach of trying to start with a copy of another action and refactor > it. > > > > The plugin I made seems to build OK and shows up in the build. > > Unfortunately, when I use unomi:action-list, the action doesn't show up > > there and when I add a rule using the action, I just get an error that > > unomi can't find my action. > > > > Would anyone be able to review my plugin and help me trace down what I > > missed? > > > > > > > https://github.com/apache/incubator-unomi/compare/master...mikeghen:feature/webhook-action?expand=1 > > > > I've been going file by file through my action and comparing it to the > > mail action I copied and refactored but can't seem to see what the > problem > > is. Any suggestions? I tried walking back through the action-list code to > > see if that gave me some clues but it did not. > > > > > > > -- Damien GAILLARD Software Developer <https://www.jahia.com/cms/render/default/en/sites/jahiacom/home/employees/grid-layout/jahia-employee/GaillardDamien.signature.html.ajax> <https://www.jahia.com/cms/render/default/en/sites/jahiacom/home/employees/grid-layout/jahia-employee/GaillardDamien.signature.html.ajax> 8 rue du sentier | 75002 | France <https://www.jahia.com/cms/render/default/en/sites/jahiacom/home/employees/grid-layout/jahia-employee/GaillardDamien.signature.html.ajax> <https://www.jahia.com/cms/render/default/en/sites/jahiacom/home/employees/grid-layout/jahia-employee/GaillardDamien.signature.html.ajax> jahia.com <http://www.jahia.com/> SKYPE | TWITTER <https://twitter.com/> | VCARD <http://www.jahia.com/vcard/GaillardDamien.vcf> > JAHIA <http://www.jahia.com/> empowers organizations to create sophisticated websites that drive their business growth