Github user bostko commented on the pull request:

    
https://github.com/apache/incubator-brooklyn/pull/1007#issuecomment-154483716
  
    @neykov, would you like to add more complicated test like the one bellow.
    You should also assert that the name which will be passed when a user 
selects catalog item, will be assigned to the BasicApplication node.
    
    ```
    brooklyn.catalog:
      id: org.apache.webcluster.tomcat
      version: 1.0
      description: A Tomcat load-balanced cluster, with MySQL
      displayName: MySQL and Tomcat cluster
      itemType: template
    
    - type: org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess
      defaultDisplayName: Web-cluster
      displayName: extra node
      brooklyn.config:
        childSpec:
          $brooklyn:entitySpec:
            type: 
org.apache.brooklyn.entity.webapp.ControlledDynamicWebAppCluster
            brooklyn.config:
              initialSize: 1
    
              memberSpec:
                $brooklyn:entitySpec:
                  type: org.apache.brooklyn.entity.webapp.tomcat.TomcatServer
    ```



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to