Package brooklyn.entity.database.mysql

Examples of brooklyn.entity.database.mysql.MySqlNode


    public void initApp() {
        AttributeSensor<String> mappedWebUrl = DockerUtils.mappedSensor(WebAppService.ROOT_URL);
        AttributeSensor<String> mappedDatastoreUrl = DockerUtils.mappedSensor(DatastoreMixins.DATASTORE_URL);
        AttributeSensor<String> mappedHostAndPortAttribute = DockerUtils.mappedPortSensor(Attributes.HTTP_PORT);

        MySqlNode mysql = addChild(EntitySpec.create(MySqlNode.class)
                .configure("creationScriptUrl", Entities.getRequiredUrlConfig(this, DB_SETUP_SQL_URL)));

        ControlledDynamicWebAppCluster web = addChild(EntitySpec.create(ControlledDynamicWebAppCluster.class)
                .configure(Cluster.INITIAL_SIZE, getConfig(INITIAL_SIZE))
                .configure(ControlledDynamicWebAppCluster.MEMBER_SPEC, EntitySpec.create(TomcatServer.class)
View Full Code Here

TOP

Related Classes of brooklyn.entity.database.mysql.MySqlNode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.