Hi,

I added some more validations to API calls to let the API call pass only
resources are in accepted states.

Add Application
If an application with the same id does not exist

Remove Application
An application with the given id should exist
Application should be in  CREATED state

DEPLOY Application
An application with the given id should exist
Application should be in  CREATED state

Undeploy Application
An application with the given id should exist
Application should be in  Deployed state

I tried reproducing the below mentioned error message, but could not.
However analyzing the code, it seems that CEP tries to send faulty event to
the members which does not exist in the topology. I guess this will not
impact the functionality of the system
TID: [0] [STRATOS] [2015-04-09 02:27:45,631] ERROR
{org.apache.stratos.cep.extension.FaultHandlingWindowProcessor} -  Failed
to publish member fault event. Member having [member-id]
cisco-sample-vm.cisco-sample-vm.cisco-sample-vm.domain88eddc38-ad4a-4ff7-843c-b9dbc1603bab
does not exist in topology

On Thu, Apr 9, 2015 at 10:24 AM, Shavindri Dissanayake <shavin...@wso2.com>
wrote:

> Thank you Udara!
>
> Thanks & Regards
> Shavindri Dissanayake
> Technical Writer
> LinkedIn Profile
> <https://www.linkedin.com/profile/view?id=112227277&trk=nav_responsive_tab_profile>
> Mob: 0779966739
>
> WSO2 Inc.
> lean.enterprise.middleware
>
> On Thu, Apr 9, 2015 at 10:04 AM, Udara Liyanage <ud...@wso2.com> wrote:
>
>>
>> ​Hi Shavi,
>>
>> CLI and UI does not include this yet, but should.
>>
>
>


-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Reply via email to