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)