Hi Abhishek,

The Brooklyn launch command allows you to specify an application with the
'-a' option. However, it only allows you to specify one application.

This specified application can be either a Java Class or a YAML file. One
solution to this would be to write a small YAML file that defines an
application that starts both your node.js and drop-wizard entities. The
file would contain only three lines:

> services:

   - type: com.abhishek.dropwizzard

   - type: com.abhishek.nodejs



You can then use the YAML file as the -a option. Would that be a suitable
solution?

Regards,
Graeme



On 23 December 2015 at 07:12, Abhishek Sharma <[email protected]>
wrote:

> Hey guys,
>
> I am trying to make Brooklyn start my node.js web application and also a
> drop-wizard based java service. I am using Java Blueprints and not YAML.
>
> How do I make brooklyn start multiple applications ?
> My goal is to start these based on a command line parameters passed when
> starting brooklyn.
>
> Thanks in advance,
> Abhi
>

Reply via email to