brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Corbett <>
Subject Re: YAML app in catalog?
Date Thu, 28 Aug 2014 09:30:42 GMT
There's no way to do this. It's been at the back of several minds for a 
while. I think there's also a suggestion that the whole catalogue should 
be turned into YAML.

If all you have is YAML and the resident Brooklyn server is already 
running I think your only option is to POST your blueprint to 
/v1/catalog. It will notionally be available to end users but they'll 
have to deploy it via the YAML tab and reference its ID correctly. It 
won't appear in the add-app list.


On 28/08/2014 08:16, Alasdair Hodge wrote:
> Folks,
> I have a YAML application bundled in a jar file with associated 
> resources, and that JAR is on the classpath of my Brooklyn 
> installation. I can launch the app from the command line fine:
>> brooklyn launch \
>>   --app blueprints/my-app.yaml \
>>   --location my-location
> Now I'm looking to add this app to the catalog of a resident Brooklyn 
> server for deployment-on-demand by end users, but the top-level 
> application has no Java class and all attempts to refer to the YAML 
> resource instead have come to naught. Is there a way to do this?
>> [..]
>> <template type="blueprints/my-app.yaml" name="My YAML app">
>>     <description>...</description>
>>     <iconUrl>...</iconUrl>
>> </template>
> > [..]
> A.

View raw message