Re: [HOW-TO] Custom REST call on Destroy and Deploy

2013-10-05 Thread sebgoa
On Oct 4, 2013, at 9:21 PM, "Musayev, Ilya" wrote: > We would like to add additional operations in ACS when we do deploy and > destroy. > > For example, when VM is destroyed, we want to make create a JIRA ticket (rest > call) to track the decomision process. > When VM is deployed, we may need

Re: [HOW-TO] Custom REST call on Destroy and Deploy

2013-10-04 Thread Darren Shepherd
Once the Spring work gets merged to master this will change as componentContext.xml or the nonoss version is gone now. You would need to create a file like META-INF/cloudstack/core/spring-eventbus-context.xml on the classpath, so if this was production, that would probably be /etc/cloudstack/manag

Re: [HOW-TO] Custom REST call on Destroy and Deploy

2013-10-04 Thread Chip Childers
On Fri, Oct 4, 2013 at 4:15 PM, Musayev, Ilya wrote: > > On Fri, Oct 04, 2013 at 07:21:03PM +, Musayev, Ilya wrote: > > > We would like to add additional operations in ACS when we do deploy and > > destroy. > > > > > > For example, when VM is destroyed, we want to make create a JIRA ticket >

RE: [HOW-TO] Custom REST call on Destroy and Deploy

2013-10-04 Thread Musayev, Ilya
> > On Fri, Oct 04, 2013 at 07:21:03PM +, Musayev, Ilya wrote: > > > We would like to add additional operations in ACS when we do deploy > > > and > > destroy. > > > > > > For example, when VM is destroyed, we want to make create a JIRA > > > ticket > > (rest call) to track the decomision proce

RE: [HOW-TO] Custom REST call on Destroy and Deploy

2013-10-04 Thread Musayev, Ilya
> On Fri, Oct 04, 2013 at 07:21:03PM +, Musayev, Ilya wrote: > > We would like to add additional operations in ACS when we do deploy and > destroy. > > > > For example, when VM is destroyed, we want to make create a JIRA ticket > (rest call) to track the decomision process. > > When VM is deplo

Re: [HOW-TO] Custom REST call on Destroy and Deploy

2013-10-04 Thread Chip Childers
On Fri, Oct 04, 2013 at 07:21:03PM +, Musayev, Ilya wrote: > We would like to add additional operations in ACS when we do deploy and > destroy. > > For example, when VM is destroyed, we want to make create a JIRA ticket (rest > call) to track the decomision process. > When VM is deployed, we

[HOW-TO] Custom REST call on Destroy and Deploy

2013-10-04 Thread Musayev, Ilya
We would like to add additional operations in ACS when we do deploy and destroy. For example, when VM is destroyed, we want to make create a JIRA ticket (rest call) to track the decomision process. When VM is deployed, we may need to do something else, but also rest based? I can see 2 ways of do