These are chat archives for cloudsoft/brooklyn-tosca

23rd
Nov 2015
Andrea Turli
@andreaturli
Nov 23 2015 10:13
hi @nakomis, @robertgmoss
Robert Moss
@robertgmoss
Nov 23 2015 10:13
hi @andreaturli
Andrea Turli
@andreaturli
Nov 23 2015 10:13
seaclouds project may need to import brooklyn-tosca as a maven dep
how do you recommend to embed brooklyn-tosca in a plain brooklyn server?
Robert Moss
@robertgmoss
Nov 23 2015 10:14
not sure at this point
Andrea Turli
@andreaturli
Nov 23 2015 10:15
maybe a bit of context may help me here, if you can
what is required to enable brooklyn-tosca at the moment?
Martin Harris
@nakomis
Nov 23 2015 10:16
@andreaturli The alien runtime and config files need to be there too. Currently it's a standalone project that depends on alien / brooklyn and builds a deployment. I haven't looked into how it all fits together. @sjcorbett was going to take a look at the packaging, but I don't think he got a chance
Andrea Turli
@andreaturli
Nov 23 2015 10:16
thanks @nakomis
I think @kiuby88 is using maven-shade-plugin to generate a uber-jar
does it sound like a good approach?
Martin Harris
@nakomis
Nov 23 2015 10:17
Currently, you build the brooklyn-tosca project, which creates a xxx-dist.tar.gz which you then unpack, and there are two scripts to start it - one to start alien, and one to start brooklyn
Andrea Turli
@andreaturli
Nov 23 2015 10:18
I guess alien is not really needed for the seaclouds case, @kiuby88 ?
Martin Harris
@nakomis
Nov 23 2015 10:18
@ahgittin built the original project, so he may be able to shed more light
Jose
@kiuby88
Nov 23 2015 10:18
Hi. Yes I have built a uber jar which will be added to brooklyn class path.
Yes, we only need brooklyn-transformer module
Andrea Turli
@andreaturli
Nov 23 2015 10:18
@nakomis basically seaclouds is a replacement for (some) functionalities offered by a4c
so does brooklyn-transformer relies on a4c?
Jose
@kiuby88
Nov 23 2015 10:19
Yes, seaclouds will send a tosca template to brooklyn in order to deploy an application
Yes, @andreaturli
Martin Harris
@nakomis
Nov 23 2015 10:21
Yes, brooklyn-tosca-transformer depends on alien4cloud-core
Jose
@kiuby88
Nov 23 2015 10:21
I built an uber jar because brooklyn-transformer need some functionalities from a4c
-core
Andrea Turli
@andreaturli
Nov 23 2015 10:21
and spring
ok I think it is clear now
Jose
@kiuby88
Nov 23 2015 10:22
yes, all a4c dependencies
Andrea Turli
@andreaturli
Nov 23 2015 10:23
@nakomis do you think I can setup travis to build brooklyn-tosca and push the SNAPSHOTs artifacts to Cloudsoft’s Artifactory?
Sam Corbett
@sjcorbett
Nov 23 2015 10:23
@andreaturli let me forward you an email
Andrea Turli
@andreaturli
Nov 23 2015 10:23
thanks @sjcorbett
Sam Corbett
@sjcorbett
Nov 23 2015 10:24
We'd decided to put brooklyn-tosca in Sonatype
I was going to do this today
But if you are a whizz at configuring Travis to do the honours then fire away!
Andrea Turli
@andreaturli
Nov 23 2015 10:25
oh nice! do we have already a "registered space” in Sonatype?
I’ve a bit of experience with travis and sonatype integration so happy to help
Sam Corbett
@sjcorbett
Nov 23 2015 10:26
Thanks. I'll message you a bit later if that's alright.
Andrea Turli
@andreaturli
Nov 23 2015 10:35
I doubt we can push to org.apache.brooklyn.tosca in Sonatype
although they are SNAPSHOTs
Sam Corbett
@sjcorbett
Nov 23 2015 10:41
True. We could either use io.brooklyn instead or push to Artifcatory. But even if we did the latter we shouldn't be using the Apache namespace.
Andrea Turli
@andreaturli
Nov 23 2015 10:51
yup
I think it is more a management concern that a technical one
we need some hints from @ahgittin, maybe?
Andrea Turli
@andreaturli
Nov 23 2015 14:12
@ahgittin, thoughts?