I think you can put this to the lib folder as suggest in the wiki page. Since you are not doing any modification to the existing component. You no need to patch.
On Sat, Jul 18, 2015 at 6:36 PM, rohit <[email protected]> wrote: > Hi harsha, > Thanks for your prompt reply. I'm not pretty sure about my understanding of > patches. Ok here is what I have done. > I had a requirement of sending an email whenever a user signs up in the API > Store, So what I did was extend the *UserSignUpWorkflowExecutor* class and > also wrote the logic for sending email to the user in my complete method > then depending on whether the status is approved or not I send an email. So > Initially I made a jar file and followed the procedure mentioned in : > https://docs.wso2.com/display/AM190/Customizing+a+Workflow+Extension > But when I ran API manager, there was an exeption that the DTO class was > not > found, which made me realize that in the sample code there was an > SubscriptionWorkflowDTO class that contained details about subscriptions > being created but there was no UserSignUpDTO class available. So Now I have > a sample class that extends the *UserSignUpWorkflowExecutor* class and i > have implemented the same kind of logic implented in > *UserSignUpWSWorkflowExecutor* class with an additional capability of > sending an email. > So in this scenario, will applying a patch do? If so will save me a lot of > time and effort. Can you suggest what should be the best approach > > > > -- > View this message in context: > http://wso2-oxygen-tank.10903.n7.nabble.com/Building-WSO2-API-Manager-1-9-0-from-Source-tp121905p121914.html > Sent from the WSO2 Development mailing list archive at Nabble.com. > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 Blog:harshcreationz.blogspot.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
