4.0.0
cloud-developer
Apache CloudStack Developer Tools
pom
org.apache.cloudstack
cloudstack
4.1.0-SNAPSHOT
mysql
mysql-connector-java
5.1.21
runtime
install
deploydb
deploydb
org.codehaus.mojo
properties-maven-plugin
1.0-alpha-2
initialize
read-project-properties
${project.parent.basedir}/utils/conf/db.properties
maven-antrun-plugin
1.7
generate-resources
run
org.codehaus.mojo
sql-maven-plugin
1.5
mysql
mysql-connector-java
${cs.mysql.version}
org.gjt.mm.mysql.Driver
jdbc:mysql://${db.cloud.host}:${db.cloud.port}/cloud
${db.cloud.username}
${db.cloud.password}
${maven.test.skip}
true
drop-database
process-test-resources
execute
root
${db.cloud.password}
jdbc:mysql://${db.cloud.host}:${db.cloud.port}
drop database if exists `cloud`
create-database
process-test-resources
execute
root
${db.cloud.password}
jdbc:mysql://${db.cloud.host}:${db.cloud.port}
create database `cloud`
drop-database-usage
process-test-resources
execute
root
${db.cloud.password}
jdbc:mysql://${db.cloud.host}:${db.cloud.port}
drop database if exists `cloud_usage`
create-database-usage
process-test-resources
execute
root
${db.cloud.password}
jdbc:mysql://${db.cloud.host}:${db.cloud.port}
create database `cloud_usage`
drop-database-cloudbridge
process-test-resources
execute
root
${db.cloud.password}
jdbc:mysql://${db.cloud.host}:${db.cloud.port}
drop database if exists `cloudbridge`
create-database-cloudbridge
process-test-resources
execute
root
${db.cloud.password}
jdbc:mysql://${db.cloud.host}:${db.cloud.port}
create database `cloudbridge`
create-schema
process-test-resources
execute
${basedir}/target/db/create-schema.sql
${basedir}/target/db/create-schema-premium.sql
${basedir}/target/db/templates.sql
${basedir}/target/db/create-index-fk.sql
${basedir}/target/db/cloudbridge_schema.sql
${basedir}/target/db/cloudbridge_multipart.sql
${basedir}/target/db/cloudbridge_index.sql
${basedir}/target/db/cloudbridge_multipart_alter.sql
${basedir}/target/db/cloudbridge_bucketpolicy.sql
${basedir}/target/db/cloudbridge_policy_alter.sql
${basedir}/target/db/cloudbridge_offering.sql
${basedir}/target/db/cloudbridge_offering_alter.sql
prefill-schema
process-test-resources
execute
INSERT INTO `cloud`.`domain` (id, name, parent, path, owner) VALUES (1, 'ROOT', NULL, '/', 2)
prefill-configuration
process-test-resources
execute
INSERT INTO `cloud`.`configuration` (category, instance, component, name, value) VALUES ('Hidden', 'DEFAULT', 'management-server', 'init', 'false')