stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dakshika Jayathilaka <daksh...@wso2.com>
Subject Re: GUI test progress
Date Wed, 11 Mar 2015 05:24:01 GMT
Seems JSON schema not upto date with latest changes.

In schema we need to change networkPartition --> networkPartitions

max --> partitionMax

I'll fix this soon..

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

On Wed, Mar 11, 2015 at 10:21 AM, Dinithi De Silva <dinithis@wso2.com>
wrote:

> Hi all,
>
> While adding an deployment policy through the UI, I got the following
> issues.
>
>
>    - *When trying to add an deployment policy through the UI, got the
>    error message "Could not add deployment policy" [1]. But it was succeeded
>    when using the json editor with auto correct schema in the UI [2].*
>
> [1]
>
>
>
> [2]
>
> ​
> It seems like the json string I added was modified according to a schema.
> I have added [3] and it was automatically corrected to [4].
>
> [3] -
>
> {
>    "id": "deployment-policy-1",
>    "networkPartitions": [
>       {
>          "id": "network-partition-1",
>          "partitionAlgo": "one-after-another",
>          "partitions": [
>             {
>                "id": "partition-1",
>                "partitionMax": 20
>             }
>          ]
>       }
>    ]
> }
>
> [4] -
>
> {
> "id": "deployment-policy-1",
> "networkPartition": [],
> "networkPartitions": [
> {
> "id": "network-partition-1",
> "partitionAlgo": "one-after-another",
> "partitions": [
> {
> "id": "partition-1",
> "partitionMax": 20
> }
> ]
> }
> ]
> }
>
>
>    - *Also removing a deployment policy caused the following error [5].*
>
> [5] -
>
>
> ​
> Thanks.
>
>
> On Wed, Mar 11, 2015 at 8:01 AM, Lahiru Sandaruwan <lahirus@wso2.com>
> wrote:
>
>> Thanks Dakshika.
>>
>> On Wed, Mar 11, 2015 at 5:18 AM, Dakshika Jayathilaka <dakshika@wso2.com>
>> wrote:
>>
>>> Hi Lahiru,
>>>
>>> I'll fix this
>>>
>>> Regards,
>>>
>>> *Dakshika Jayathilaka*
>>> Software Engineer
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>> 0771100911
>>>
>>> On Tue, Mar 10, 2015 at 11:54 PM, Rajkumar Rajaratnam <
>>> rajkumarr@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am working on improvement to UI where I am moving cartridge-groups
>>>> and application policies management from Application Management to
>>>> Configurations. These changes are discussed in the mail thread "[Discuss]
>>>> Tile named Applications appears twice in UI - Confusing !!".
>>>>
>>>> Thanks.
>>>>
>>>> On Tue, Mar 10, 2015 at 11:33 PM, Lahiru Sandaruwan <lahirus@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I tested single-cartridge sample artifacts using GUI mock iaas. It
>>>>> works fine. Created a small issue which i found and will be reporting
the
>>>>> issues. If anyone is working on $subject, could you please update here
on
>>>>> the issues and tasks to be attended.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> [1] https://issues.apache.org/jira/browse/STRATOS-1243
>>>>>
>>>>>
>>>>> --
>>>>> --
>>>>> Lahiru Sandaruwan
>>>>> Committer and PMC member, Apache Stratos,
>>>>> Senior Software Engineer,
>>>>> WSO2 Inc., http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Rajkumar Rajaratnam
>>>> Committer & PMC Member, Apache Stratos
>>>> Software Engineer, WSO2
>>>>
>>>> Mobile : +94777568639
>>>> Blog : rajkumarr.com
>>>>
>>>
>>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Committer and PMC member, Apache Stratos,
>> Senior Software Engineer,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
> --
> *Dinithi De Silva*
> Associate Software Engineer, WSO2 Inc.
> m:+94716667655 | e:dinithis@wso2.com | w: www.wso2.com
> | a: #20, Palm Grove, Colombo 03
>

Mime
View raw message