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 <bhaisaab@apache.org>
This commit is contained in:
Rohit Yadav 2012-11-04 01:58:50 +05:30
parent 2bbbdbf58b
commit f940c566ab
1 changed files with 5 additions and 21 deletions

View File

@ -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>