Thanks Ignasi,

Will try that out.


On Thu, Mar 27, 2014 at 12:55 AM, Ignasi Barrera
<[email protected]>wrote:

> AFAICT the TemplateOptions in the ComputeService only allows tags being a
> list of strings. The userMetadata() accepts a Map, though. Can you use it
> instead of the tags?
> El 26/03/2014 18:54, "Lahiru Sandaruwan" <[email protected]> escribió:
>
> > [Adding dev]
> >
> >
> > On Tue, Mar 25, 2014 at 10:52 PM, Lahiru Sandaruwan <[email protected]
> > >wrote:
> >
> > > Hi,
> > >
> > > We(Apache Stratos) are using jclouds 1.7.1.
> > >
> > > There, we add tags as follows,
> > >
> > >
> > >         // ability to define tags
> > >         if (iaasInfo.getProperty(CloudControllerConstants.TAGS) !=
> null)
> > {
> > >             template.getOptions()
> > >                     .as(AWSEC2TemplateOptions.class)
> > >
> > > .tags(Arrays.asList(iaasInfo.getProperty(CloudControllerConstants.TAGS)
> > >
> > > .split(CloudControllerConstants.ENTRY_SEPARATOR)));
> > >
> > >         }
> > >
> > > It is just a list of strings.
> > > But i just want to know about $subject?
> > >
> > > Thanks.
> > >
> > > --
> > > --
> > > Lahiru Sandaruwan
> > > Software Engineer,
> > > Platform Technologies,
> > > WSO2 Inc., http://wso2.com
> > > lean.enterprise.middleware
> > >
> > > email: [email protected] cell: (+94) 773 325 954
> > > blog: http://lahiruwrites.blogspot.com/
> > > twitter: http://twitter.com/lahirus
> > > linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
> > >
> > >
> >
> >
> > --
> > --
> > Lahiru Sandaruwan
> > Software Engineer,
> > Platform Technologies,
> > WSO2 Inc., http://wso2.com
> > lean.enterprise.middleware
> >
> > email: [email protected] cell: (+94) 773 325 954
> > blog: http://lahiruwrites.blogspot.com/
> > twitter: http://twitter.com/lahirus
> > linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
> >
>



-- 
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: [email protected] cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Reply via email to