Skip to content

REST Catalog Entities

andreisavu edited this page May 1, 2012 · 2 revisions

List all available Entities

Request

GET /v1/catalog/entities

Response

HTTP/1.1 200 OK
Content-Type: application/json

["brooklyn.entity.nosql.redis.RedisStore","brooklyn.entity.webapp.jboss.JBoss6Server","brooklyn.entity.nosql.infinispan.Infinispan5Server","brooklyn.entity.webapp.DynamicWebAppCluster","brooklyn.entity.database.mysql.MySqlNode","brooklyn.entity.osgi.karaf.KarafContainer","brooklyn.entity.nosql.redis.RedisCluster","brooklyn.entity.messaging.qpid.QpidBroker","brooklyn.entity.java.VanillaJavaApp","brooklyn.entity.group.DynamicFabric","brooklyn.entity.group.DynamicCluster","brooklyn.entity.nosql.redis.RedisSlave","brooklyn.entity.webapp.jboss.JBoss7Server","brooklyn.entity.messaging.activemq.ActiveMQBroker","brooklyn.entity.webapp.tomcat.TomcatServer","brooklyn.rest.entities.WebClusterWithMySQLDatabase","brooklyn.entity.webapp.ControlledDynamicWebAppCluster","brooklyn.entity.proxy.nginx.NginxController"]

Filter Entities by name

Request

GET /v1/catalog/entities?name=redis

Response

HTTP/1.1 200 OK
Content-Type: application/json

["brooklyn.entity.nosql.redis.RedisStore","brooklyn.entity.nosql.redis.RedisCluster","brooklyn.entity.nosql.redis.RedisSlave"]

Get Entity config keys

Request

GET /v1/catalog/entities/brooklyn.entity.webapp.jboss.JBoss6Server

Response

HTTP/1.1 200 OK
Content-Type: application/json

["jboss.serverProfile","jboss.portincrement","jboss.clusterName","wars.root","wars.named","resources","http.port","java.options","java.properties.environment","java.properties.named","jmx.port","rmi.port","jmx.context","start.latch","install.latch","customize.latch","launch.latch","install.version","install.dir","run.dir","shell.env"]
Clone this wiki locally