Hi All,

Isnt it better to avoid adding an event at this point ?
Since nothing has been created related to application , no need of adding
an event right ?

WDYT ?

On Sat, Jul 9, 2016 at 8:19 AM, Amalka Subasinghe <[email protected]> wrote:

> Hi,
>
> In our app creation logic, we have number of steps and when each step
> failed/succeeded, we add a event to a event table.
>
> We found a situation, where the createAppInDataBase step failed, then the
> addAppCreationEvent also getting failed.
> That's because, in createAppInDataBase we add application and version data
> to the database and then in addAppCreationEvent we query the AC_VERSION
> table to get the application version.
>
> How we fix this issue? although the createAppInDataBase step failed,
> addAppCreationEvent cannot be failed.
>
> [1] https://wso2.org/jira/browse/APPCLOUD-206
>
> Thanks
> Amalka
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Mahesh Chinthaka Vidanagama* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 63 63 083 | Work: +94 112 145 345
Email: [email protected] | Web: www.wso2.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to