Rohit Yadav
2bbbdbf58b
developer: Move custom sql commands to one prefill schema file
...
The sql-maven plugin does not allow multiple sqlCommands to executed, only the
last one in the <configuration> gets executed, so moving out all the developer
related schema to one file.
Adds:
- ROOT domain
- system and admin accounts
- system and admin users
- custom configurations
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-11-04 01:57:05 +05:30
Alex Huang
50f175e3f9
Finally got rid of create-index-fk.sql. Merged everything into create-schema.sql
2012-11-01 13:40:16 -07:00
Alex Huang
772f660c33
Changed the create database steps to be create from a single create-schema.sql and then apply database modifications
2012-11-01 13:40:15 -07:00
Prasanna Santhanam
5e2c1ef26e
Summary: Open up the integration api port on the developer profile
...
Detail: Included the sqlCommand query to insert the
integration.api.port=8096 during managment server boot.
This will only affect developer runs where debugging is enabled.
BUG-ID : CLOUDSTACK-421
Reviewed-by: Prasanna Santhanam <tsp@apache.org>
Reported-by: Prasanna Santhanam <tsp@apache.org>
Testing:
$ mvn clean install
$ mvn -P developer -pl developer -Ddeploydb
$ mvn -pl :cloud-client-ui jetty:run
mysql> select * from configuration where name like 'integr%';
+----------+----------+-------------------+----------------------+-------+-------------+
| category | instance | component | name | value | description |
+----------+----------+-------------------+----------------------+-------+-------------+
| Advanced | DEFAULT | management-server | integration.api.port | 8096 | NULL |
+----------+----------+-------------------+----------------------+-------+-------------+
1 row in set (0.01 sec)
http://localhost:8096/client/api?command=listOsTypes&keyword=CentOS%205.5&response=json
Returns:
{
"listostypesresponse":{
"count":2,
"ostype":[
{
"id":"2474781c-52b6-42a1-aee4-b2ee159bbb41",
"oscategoryid":"2188dd50-5d27-4c41-8f90-97bbadfc2206",
"description":"CentOS 5.5 (32-bit)"
},
{
"id":"fd95b25a-a46c-439e-af5c-1d2f1c149edd",
"oscategoryid":"2188dd50-5d27-4c41-8f90-97bbadfc2206",
"description":"CentOS 5.5 (64-bit)"
}
]
}
}
Signed-off-by: Prasanna Santhanam <tsp@apache.org> 1351405027 +0530
2012-10-28 11:47:07 +05:30
Edison Su
bf21081633
follow the http://mojo.codehaus.org/exec-maven-plugin/examples/example-exec-using-plugin-dependencies.html
2012-10-25 22:38:24 -07:00
Alex Huang
a388a748d0
Added a database creator class. not working yet. Edison will look at it
2012-10-25 17:34:54 -07:00
Edison Su
b104d22b77
if db.properties.override missing, shouldn't panic
2012-10-19 15:27:44 -07:00
Edison Su
f6ac4dbe5d
fix some pom xml files indentation, add db.root.passowrd, add utils/conf/db.properties.override, add to create user cloud, add devcloud pom file
...
Conflicts:
pom.xml
2012-10-19 15:27:19 -07:00
Edison Su
06d516a80c
if db.properties.override missing, shouldn't panic
2012-10-10 16:20:35 -07:00
Edison Su
93024c8104
fix some pom xml files indentation, add db.root.passowrd, add utils/conf/db.properties.override, add to create user cloud, add devcloud pom file
2012-10-09 01:14:32 -07:00
Hugo Trippaers
09739cfd78
Add the sql files for the cloudbridge
2012-10-02 07:35:59 -07:00
Hugo Trippaers
9ebe83286e
create the usage db as well
2012-10-01 21:36:38 -07:00
Hugo Trippaers
aa6355ffe6
Updated master to 4.1.0
...
mvn release:update-versions -DautoVersionSubmodules=true -Dnonoss -P
client,deps,developer -DdevelopmentVersion=4.1.0-SNAPSHOT
2012-10-01 11:00:55 -07:00
Hugo Trippaers
fe4cd5ecd0
Fix ordering of the statements as bare statements are allowed only once
2012-09-24 14:43:47 -07:00
Hugo Trippaers
24efe5c6cd
Add the init configuration item, otherwise it will not be updated
2012-09-22 22:00:21 +02:00
Hugo Trippaers
8cde670871
Fix ordering of sql commands and set root domain
2012-09-22 13:44:33 +02:00
Hugo Trippaers
4c38152afe
Add cloud database creation to maven, use mvn -P developer -pl developer
...
-Ddeploydb
2012-09-22 11:28:33 +02:00