diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2014-07-28 15:33:43 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2014-08-25 16:54:31 +0200 |
commit | 8eceec4c11715b83faf6a7bff745b3f5e383fd11 (patch) | |
tree | 88dfd1b8626269fdf1f9c1b74adc87a16f820a7d /sonar-core | |
parent | cbf0b7bdaa96aa15cdccb58fd8067cbc809c8e0b (diff) | |
download | sonarqube-8eceec4c11715b83faf6a7bff745b3f5e383fd11.tar.gz sonarqube-8eceec4c11715b83faf6a7bff745b3f5e383fd11.zip |
SONAR-5417 Load project referentials using WS
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/persistence/PreviewDatabaseFactory.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/persistence/PreviewDatabaseFactory.java b/sonar-core/src/main/java/org/sonar/core/persistence/PreviewDatabaseFactory.java index 9e597b79d59..a61f4d8f081 100644 --- a/sonar-core/src/main/java/org/sonar/core/persistence/PreviewDatabaseFactory.java +++ b/sonar-core/src/main/java/org/sonar/core/persistence/PreviewDatabaseFactory.java @@ -85,15 +85,12 @@ public class PreviewDatabaseFactory implements ServerComponent { private void copy(DataSource source, DataSource dest, @Nullable Long projectId) { DbTemplate template = new DbTemplate(profiling); template - .copyTable(source, dest, "active_rules") - .copyTable(source, dest, "active_rule_parameters") .copyTable(source, dest, "characteristics") .copyTable(source, dest, "permission_templates") .copyTable(source, dest, "perm_templates_users") .copyTable(source, dest, "perm_templates_groups") .copyTable(source, dest, "rules") .copyTable(source, dest, "rules_parameters") - .copyTable(source, dest, "rules_profiles") .copyTableColumns(source, dest, "users", new String[] {"id", "login", "name", "active"}); if (projectId != null) { template.copyTable(source, dest, "projects", projectQuery(projectId, false)); |