You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Dinithi De Silva <di...@wso2.com> on 2015/03/10 13:46:32 UTC

Adding an Application Policy via UI

Hi,
While trying to add an application policy through the UI, I got the
following issue.

The application policy was added when the "Deploy application policy
definition" button is clicked but  after that a button named "deploy"
appears without redirecting the page to display all available application
policies (like when adding a cartridge, deployment policy,...etc.).

When that "deploy" button is clicked it gives the following error message.

Couldnot add application policy. Application policy already exists :
application-policy-2

It seems that the both "Deploy application policy definition" button and
"Deploy" button does the same operation (adding an application policy).

Thanks.

-- 
*Dinithi De Silva*
Associate Software Engineer, WSO2 Inc.
m:+94716667655 | e:dinithis@wso2.com | w: www.wso2.com
| a: #20, Palm Grove, Colombo 03

Re: Adding an Application Policy via UI

Posted by Dakshika Jayathilaka <da...@wso2.com>.
Hi,

This is fixed with commit 26975877f8c0ca85334b979a55976cd98d7fa5e5

Regards,

*Dakshika Jayathilaka*
Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911

On Tue, Mar 10, 2015 at 9:25 PM, Dakshika Jayathilaka <da...@wso2.com>
wrote:

> Hi Dinithi,
>
> I'll fix this
>
> Regards,
>
> *Dakshika Jayathilaka*
> Software Engineer
> WSO2, Inc.
> lean.enterprise.middleware
> 0771100911
>
> On Tue, Mar 10, 2015 at 6:16 PM, Dinithi De Silva <di...@wso2.com>
> wrote:
>
>> Hi,
>> While trying to add an application policy through the UI, I got the
>> following issue.
>>
>> The application policy was added when the "Deploy application policy
>> definition" button is clicked but  after that a button named "deploy"
>> appears without redirecting the page to display all available application
>> policies (like when adding a cartridge, deployment policy,...etc.).
>>
>> When that "deploy" button is clicked it gives the following error message.
>>
>> Couldnot add application policy. Application policy already exists :
>> application-policy-2
>>
>> It seems that the both "Deploy application policy definition" button and
>> "Deploy" button does the same operation (adding an application policy).
>>
>> Thanks.
>>
>> --
>> *Dinithi De Silva*
>> Associate Software Engineer, WSO2 Inc.
>> m:+94716667655 | e:dinithis@wso2.com | w: www.wso2.com
>> | a: #20, Palm Grove, Colombo 03
>>
>
>

Re: Adding an Application Policy via UI

Posted by Dakshika Jayathilaka <da...@wso2.com>.
Hi Dinithi,

I'll fix this

Regards,

*Dakshika Jayathilaka*
Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911

On Tue, Mar 10, 2015 at 6:16 PM, Dinithi De Silva <di...@wso2.com> wrote:

> Hi,
> While trying to add an application policy through the UI, I got the
> following issue.
>
> The application policy was added when the "Deploy application policy
> definition" button is clicked but  after that a button named "deploy"
> appears without redirecting the page to display all available application
> policies (like when adding a cartridge, deployment policy,...etc.).
>
> When that "deploy" button is clicked it gives the following error message.
>
> Couldnot add application policy. Application policy already exists :
> application-policy-2
>
> It seems that the both "Deploy application policy definition" button and
> "Deploy" button does the same operation (adding an application policy).
>
> Thanks.
>
> --
> *Dinithi De Silva*
> Associate Software Engineer, WSO2 Inc.
> m:+94716667655 | e:dinithis@wso2.com | w: www.wso2.com
> | a: #20, Palm Grove, Colombo 03
>