Hi,

You should add it to the feature pom too. That's what get installed in the
product.

https://github.com/suriyapriya/incubator-stratos/blob/master/features/cloud-controller/org.apache.stratos.cloud.controller.feature/pom.xml


On Tue, Jun 10, 2014 at 11:01 PM, Sathyasuriya Priya <[email protected]
> wrote:

> Thanks Nirmal. I will try OSGI console mode & check.
>
>
> > Yes, it is not mandatory. You need to add a dependency, if and only if
> you change the
> > jclouds GCE code. However, you need to add the GCE dependency to the
> Stratos
> > product. Did you already add it using the distribution pom?
>
> Yes. I added the dependency directly.
>
>
> https://github.com/suriyapriya/incubator-stratos/commit/6275d0a5c878f3ffbf5415dea8f2f4e94b6ba476#diff-e09a107927e9b6ba05b7bb6e56903628
>
>
>
> On Tue, Jun 10, 2014 at 5:28 AM, Nirmal Fernando <[email protected]>
> wrote:
>
>> Hi Suriya,
>>
>> Thanks for the update. Please find my comments in-line.
>>
>>
>> On Tue, Jun 10, 2014 at 2:36 PM, Sathyasuriya Priya <
>> [email protected]> wrote:
>>
>>>
>>> Hi Nirmal, all,
>>>
>>> I am working on adding GCE IaaS provider support based on [1], [2].
>>> I am working on forked copy of stratos repo [3], and mainly installing
>>> all components using Chris's project [4].
>>>
>>> I am facing some problems with newly added GCEPartitiionValidator class
>>> not getting recognized. "gce" as a provider is not recognized while
>>> 'deploying partition' step of Stratos Manager configuration.
>>> While debugging this I found out all the jclouds code for ec2,
>>> openstack, vcloud are available in $STRATOS_SRC/dependencies/jclouds/apis
>>> Could you comment on any requirement for such a copy. May be its not
>>> mandatory, since we can directly add dependency in pom.xml (for example,
>>> [5]) ?
>>>
>>
>> Yes, it is not mandatory. You need to add a dependency, if and only if
>> you change the jclouds GCE code. However, you need to add the GCE
>> dependency to the Stratos product. Did you already add it using the
>> distribution pom?
>>
>>>
>>> Also could you please comment on steps 1,2 at bottom of the page in [1]
>>> I couldn't find which file 'Fragment-Host' needs to be added. I
>>> couldn't find this string in any file. May be the procedure has changed.
>>>
>>>
>> You need this step, only if you are building a new jar. But, since you
>> are editing cloud controller component, you don't need to follow this step.
>>
>>
>>
>>> I will try to debug more to find out any other changes needed as well.
>>>
>>
>> Please check whether jclouds GCE bundle is available at the runtime of
>> the product. Start the product in the OSGi console mode, and verify that
>> the bundle is active.
>>
>> Let me know how it goes.
>>
>>>
>>> [1]
>>> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Adding+support+for+a+new+IaaS+provider
>>> [2]
>>> https://docs.google.com/document/d/1NNQk8Lc0b7G4Vx4-RYxhDAFW4lzFqoaz8QrluCMlJy8/
>>> [3] https://github.com/suriyapriya/incubator-stratos/tree/gce
>>> [4] https://github.com/suriyapriya/stratos-vagrant-box
>>> [5]
>>> https://github.com/jclouds/jclouds-examples/blob/master/compute-basics/pom.xml
>>>
>>> Thanks
>>> Suriya
>>>
>>
>>
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>
>


-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Reply via email to