You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2012/11/03 21:30:19 UTC

[1/2] git commit: developer: Add developer-prefill.sql to be executed by developer profile

Updated Branches:
  refs/heads/master d8fbb0dd1 -> f940c566a


developer: Add developer-prefill.sql to be executed by developer profile

Removes all other custom sqlCommand configs, have the developer profile setup
from developer-prefill.sql file.

Signed-off-by: Rohit Yadav <bh...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/f940c566
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/f940c566
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/f940c566

Branch: refs/heads/master
Commit: f940c566abda1a31c7364c975b28868251ef03ca
Parents: 2bbbdbf
Author: Rohit Yadav <bh...@apache.org>
Authored: Sun Nov 4 01:58:50 2012 +0530
Committer: Rohit Yadav <bh...@apache.org>
Committed: Sun Nov 4 01:58:50 2012 +0530

----------------------------------------------------------------------
 developer/pom.xml |   26 +++++---------------------
 1 files changed, 5 insertions(+), 21 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/f940c566/developer/pom.xml
----------------------------------------------------------------------
diff --git a/developer/pom.xml b/developer/pom.xml
index bba914b..61cb110 100644
--- a/developer/pom.xml
+++ b/developer/pom.xml
@@ -303,32 +303,16 @@
                 </configuration>
               </execution>
               <execution>
-                <id>prefill-schema</id>
+                <id>prefill-developer-schema</id>
                 <phase>process-test-resources</phase>
                 <goals>
                   <goal>execute</goal>
                 </goals>
                 <configuration>
-                  <sqlCommand>INSERT INTO `cloud`.`domain` (id, name,
-                    parent, path, owner) VALUES (1, 'ROOT', NULL, '/',
-                    2)</sqlCommand>
-                </configuration>
-              </execution>
-              <execution>
-                <id>prefill-configuration</id>
-                <phase>process-test-resources</phase>
-                <goals>
-                  <goal>execute</goal>
-                </goals>
-                <configuration>
-                  <sqlCommand>INSERT INTO `cloud`.`configuration`
-                    (category, instance, component, name, value) VALUES
-                    ('Hidden', 'DEFAULT', 'management-server', 'init',
-                    'false')</sqlCommand>
-                  <sqlCommand>INSERT INTO `cloud`.`configuration`
-                    (category, instance, component, name, value) VALUES
-                    ('Advanced', 'DEFAULT', 'management-server', 'integration.api.port',
-                    '8096')</sqlCommand>
+                  <autocommit>true</autocommit>
+                  <srcFiles>
+                    <srcFile>${basedir}/developer-prefill.sql</srcFile>
+                  </srcFiles>
                 </configuration>
               </execution>
             </executions>