[ 
https://issues.apache.org/jira/browse/BROOKLYN-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15987165#comment-15987165
 ] 

Thomas Bouron commented on BROOKLYN-339:
----------------------------------------

[~drigodwin] [~aledsage] I would suggest to create a new constraint like 
{{requiredIf}} that take a map of {{configkey: predicate}}

> Node.js entity fails
> --------------------
>
>                 Key: BROOKLYN-339
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-339
>             Project: Brooklyn
>          Issue Type: Bug
>         Environment: Tested on Centos 6 on AWS
>            Reporter: Duncan Godwin
>
> Starting the Node.js entity gives the following error during the customize 
> phase:
> {code}
> Failed after 0ms: At least one of Git or archive URL must be set for 
> NodeJsWebAppServiceImpl{id=v9qctusjsb}
> java.lang.IllegalStateException: At least one of Git or archive URL must be 
> set for NodeJsWebAppServiceImpl{id=v9qctusjsb}
>       at 
> org.apache.brooklyn.entity.webapp.nodejs.NodeJsWebAppSshDriver.customize(NodeJsWebAppSshDriver.java:131)
>       at 
> org.apache.brooklyn.entity.software.base.AbstractSoftwareProcessDriver$3$2.run(AbstractSoftwareProcessDriver.java:175)
>       at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>       at 
> org.apache.brooklyn.util.core.task.DynamicSequentialTask$DstJob.call(DynamicSequentialTask.java:359)
>       at 
> org.apache.brooklyn.util.core.task.BasicExecutionManager$SubmissionCallable.call(BasicExecutionManager.java:519)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>       at java.lang.Thread.run(Thread.java:745)
> {code}
> Note that running the Node.js tests DOES work, just not the entity on it's own



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to