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
${project.parent.basedir}/utils/conf/db.properties.override
true
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.root.password}
jdbc:mysql://${db.cloud.host}:${db.cloud.port}
drop database if exists `cloud`
create-database
process-test-resources
execute
root
${db.root.password}
jdbc:mysql://${db.cloud.host}:${db.cloud.port}
create database `cloud`
grant-user-cloud
process-test-resources
execute
root
${db.root.password}
jdbc:mysql://${db.cloud.host}:${db.cloud.port}
GRANT ALL ON cloud.* to
${db.cloud.username}@`localhost` identified by
'${db.cloud.password}';
grant-user-cloud-all
process-test-resources
execute
root
${db.root.password}
jdbc:mysql://${db.cloud.host}:${db.cloud.port}
GRANT ALL ON cloud.* to
${db.cloud.username}@`%` identified by
'${db.cloud.password}';
drop-database-usage
process-test-resources
execute
root
${db.root.password}
jdbc:mysql://${db.cloud.host}:${db.cloud.port}
drop database if exists `cloud_usage`
create-database-usage
process-test-resources
execute
root
${db.root.password}
jdbc:mysql://${db.cloud.host}:${db.cloud.port}
create database `cloud_usage`
grant-user-cloud-usage
process-test-resources
execute
root
${db.root.password}
jdbc:mysql://${db.cloud.host}:${db.cloud.port}
GRANT ALL ON cloud_usage.* to
${db.cloud.username}@`localhost` identified by
'${db.cloud.password}';
grant-user-cloud-usage-all
process-test-resources
execute
root
${db.root.password}
jdbc:mysql://${db.cloud.host}:${db.cloud.port}
GRANT ALL ON cloud_usage.* to
${db.cloud.username}@`%` identified by
'${db.cloud.password}';
drop-database-cloudbridge
process-test-resources
execute
root
${db.root.password}
jdbc:mysql://${db.cloud.host}:${db.cloud.port}
drop database if exists `cloudbridge`
create-database-cloudbridge
process-test-resources
execute
root
${db.root.password}
jdbc:mysql://${db.cloud.host}:${db.cloud.port}
create database `cloudbridge`
grant-user-cloud-bridge
process-test-resources
execute
root
${db.root.password}
jdbc:mysql://${db.cloud.host}:${db.cloud.port}
GRANT ALL ON cloudbridge.* to
${db.cloud.username}@`localhost` identified by
'${db.cloud.password}';
grant-user-cloud-bridge-all
process-test-resources
execute
root
${db.root.password}
jdbc:mysql://${db.cloud.host}:${db.cloud.port}
GRANT ALL ON cloudbridge.* to
${db.cloud.username}@`%` identified by
'${db.cloud.password}';
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-developer-schema
process-test-resources
execute
true
${basedir}/developer-prefill.sql
simulator
deploydb-simulator
org.codehaus.mojo
properties-maven-plugin
1.0-alpha-2
initialize
read-project-properties
${project.parent.basedir}/utils/conf/db.properties
${project.parent.basedir}/utils/conf/db.properties.override
true
org.codehaus.mojo
sql-maven-plugin
1.5
mysql
mysql-connector-java
${cs.mysql.version}
org.gjt.mm.mysql.Driver
jdbc:mysql://${db.simulator.host}:3306/simulator
${db.simulator.username}
${db.simulator.password}
${maven.test.skip}
true
drop-database
process-test-resources
execute
root
${db.root.password}
jdbc:mysql://${db.simulator.host}:3306
drop database if exists `simulator`
create-database
process-test-resources
execute
root
${db.root.password}
jdbc:mysql://${db.simulator.host}:3306
create database `simulator`
grant-user-cloud
process-test-resources
execute
root
${db.root.password}
jdbc:mysql://${db.simulator.host}:3306
GRANT ALL ON simulator.* to
${db.simulator.username}@`localhost` identified by
'${db.simulator.password}';
grant-user-cloud-all
process-test-resources
execute
root
${db.root.password}
jdbc:mysql://${db.simulator.host}:3306
GRANT ALL ON simulator.* to
${db.simulator.username}@`%` identified by
'${db.simulator.password}';
create-schema
process-test-resources
execute
${basedir}/target/db/create-schema-simulator.sql
${basedir}/target/db/templates.simulator.sql