Github user geomacy commented on a diff in the pull request:
https://github.com/apache/brooklyn-library/pull/25#discussion_r59521509
--- Diff: software/webapp/src/main/resources/catalog.bom ---
@@ -0,0 +1,234 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+brooklyn.catalog:
+ version: 0.10.0-SNAPSHOT # BROOKLYN_VERSION
+ items:
+ - id: org.apache.brooklyn.entity.webapp.nodejs.NodeJsWebAppService
+ item:
+ type: org.apache.brooklyn.entity.webapp.nodejs.NodeJsWebAppService
+ name: Node.JS Application
+ - id: org.apache.brooklyn.entity.webapp.jboss.JBoss7Server
+ item:
+ type: org.apache.brooklyn.entity.webapp.jboss.JBoss7Server
+ name: JBoss Application Server 7
+ description: AS7 - an open source Java application server from
JBoss
+ - id: org.apache.brooklyn.entity.proxy.nginx.UrlMapping
+ item:
+ type: org.apache.brooklyn.entity.proxy.nginx.UrlMapping
+ - id: org.apache.brooklyn.entity.webapp.DynamicWebAppFabric
+ item:
+ type: org.apache.brooklyn.entity.webapp.DynamicWebAppFabric
+ - id: org.apache.brooklyn.entity.proxy.nginx.NginxController
+ item:
+ type: org.apache.brooklyn.entity.proxy.nginx.NginxController
+ name: Nginx Server
+ description: A single Nginx server. Provides HTTP and reverse
proxy services
+ - id: org.apache.brooklyn.entity.webapp.jboss.JBoss6Server
+ item:
+ type: org.apache.brooklyn.entity.webapp.jboss.JBoss6Server
+ name: JBoss Application Server 6
+ description: AS6 - an open source Java application server from
JBoss
+ - id: org.apache.brooklyn.entity.webapp.tomcat.Tomcat8Server
+ item:
+ type: org.apache.brooklyn.entity.webapp.tomcat.Tomcat8Server
+ name: Tomcat Server
+ - id: org.apache.brooklyn.entity.proxy.LoadBalancerCluster
+ item:
+ type: org.apache.brooklyn.entity.proxy.LoadBalancerCluster
+ - id: org.apache.brooklyn.entity.webapp.jetty.Jetty6Server
+ item:
+ type: org.apache.brooklyn.entity.webapp.jetty.Jetty6Server
+ name: Jetty6 Server
+ description: Old version (v6 @ Mortbay) of the popular Jetty
webapp container
+ - id: org.apache.brooklyn.entity.webapp.DynamicWebAppCluster
+ item:
+ type: org.apache.brooklyn.entity.webapp.DynamicWebAppCluster
+ name: Dynamic Web-app Cluster
+ description: A cluster of web-apps, which can be dynamically
re-sized; this does not include a load-balancer
+ - id: org.apache.brooklyn.entity.webapp.tomcat.TomcatServer
+ item:
+ type: org.apache.brooklyn.entity.webapp.tomcat.TomcatServer
+ name: Tomcat Server
+ - id: org.apache.brooklyn.entity.dns.geoscaling.GeoscalingDnsService
+ item:
+ type:
org.apache.brooklyn.entity.dns.geoscaling.GeoscalingDnsService
+ - id: org.apache.brooklyn.entity.webapp.ControlledDynamicWebAppCluster
+ item:
+ type:
org.apache.brooklyn.entity.webapp.ControlledDynamicWebAppCluster
+ name: Controlled Dynamic Web-app Cluster
+ description: A cluster of load-balanced web-apps, which can be
dynamically re-sized
+
+ - id: load-balancer
+ description: |
+ Create a load balancer which will point at members in the group
entity
+ referred to by the config key "serverPool".
+ The sensor advertising the port can be configured with the
"member.sensor.portNumber" config key,
+ defaulting to `http.port`; all member entities which have
published "service.up" will then be picked up.
+ item:
+ type: org.apache.brooklyn.entity.proxy.nginx.NginxController
+ name: Load Balancer (nginx)
+
+ - id: resilient-bash-web-cluster-template
--- End diff --
It is done on purpose, for the moment - it would be nice to have catalog
inclusions, but as far as I'm aware there's nothing available at the moment.
If and when we move to only running on Karaf then the default.catalog.bom can
go away, and each bundle can have its own example applications like this.
---
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.
---