On Fri, May 20, 2016 at 10:35 AM, Awanthika Senarath <[email protected]>
wrote:

> Yes, but say we have updated kernel feature version 3, kernel feature 1
> and 2 are already available viea releases and previous updates
>
> this script will run and give success installing kernel feature 2 even if
> kernel feature 3 that was copied is corrupted,
>
>
Yes, there's possibility for this to happen since the p2 query for checking
the feature version in first phase is only reading the metadata repository.
Only at the install phase, artifact repository will be read.


then the whole purpose of the script is not achieved right?
>
> this will only guarantee that the given feature is available in the
> repository with whatever version.
>
>
> Regards
> Awanthika
>
> Awanthika Senarath
> Software Engineer, WSO2 Inc.
> Mobile: +94717681791
>
>
>
> On Fri, May 20, 2016 at 10:31 AM, Jasintha Dasanayake <[email protected]>
> wrote:
>
>>
>>
>> On Fri, May 20, 2016 at 10:14 AM, Awanthika Senarath <[email protected]>
>> wrote:
>>
>>> scenario;
>>>
>>> I am writing an automated script for $subject using P2 director
>>>
>>> For the P2 director we cannot give the feature with a version, we have
>>> to give only the feature name,
>>>
>>> When we give the feature with the releases repository URL it will also
>>> check in the updates repository and will install the latest version of that
>>> feature available in the whole repository.
>>>
>>> Therefore we can give the releases URL and ask to install the feature we
>>> give, so that it will isntall the latest available version of that feature
>>> in updates/releases.
>>>
>>> what we can do is to give the feature ID with the released repository
>>> URL. But then again we cannot give the version and cannot verify whether
>>> the feature we gave is installed or not.
>>>
>>> I have checked the headless feature installation in eclipse via command
>>> line, but that does not support installation of features with versions.
>>>
>>> Any idea how to proceed?
>>>
>>
>> There are couple of phase in this test scenario , in the first phase,we
>> can verify that given release/update version of a feature is available in
>> the p2 repo then we can execute this test script to install latest version
>> of that feature, so we don't want to specify the version again, after this
>> phase , we need to have SWT_BOT based test case to validate the
>> functionality of that feature
>>
>> Thanks and regards
>> /Jasintha
>>
>>
>>
>>>
>>>
>>>
>>>
>>> Awanthika Senarath
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94717681791
>>>
>>>
>>>
>>
>>
>> --
>>
>> *Jasintha Dasanayake*
>>
>> *Senior Software EngineerWSO2 Inc. | http://wso2.com
>> <http://wso2.com/>lean . enterprise . middleware*
>>
>>
>> *mobile :- 0711368118*
>>
>
>


-- 
*Kavith Lokuhewage*
Software Engineer
WSO2 Inc. - http://wso2.com
lean . enterprise . middleware
Mobile - +9477-9-145-123 | +9471-455-6-401
Linkedin <http://www.linkedin.com/pub/kavith-lokuhewage/49/473/419>  Twitter
<https://twitter.com/KavithThiranga>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to