/*
 * Copyright 2016 Crown Copyright
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package stroom;

import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.ContextConfiguration;
import stroom.dashboard.spring.DashboardConfiguration;
import stroom.index.spring.IndexConfiguration;
import stroom.logging.spring.EventLoggingConfiguration;
import stroom.pipeline.spring.PipelineConfiguration;
import stroom.script.spring.ScriptConfiguration;
import stroom.search.spring.SearchConfiguration;
import stroom.security.spring.SecurityConfiguration;
import stroom.spring.PersistenceConfiguration;
import stroom.spring.ScopeConfiguration;
import stroom.spring.ScopeTestConfiguration;
import stroom.spring.ServerComponentScanTestConfiguration;
import stroom.spring.ServerConfiguration;
import stroom.statistics.spring.StatisticsConfiguration;
import stroom.util.spring.StroomSpringProfiles;
import stroom.visualisation.spring.VisualisationConfiguration;

@ActiveProfiles(value = {StroomSpringProfiles.PROD, StroomSpringProfiles.IT, SecurityConfiguration.MOCK_SECURITY})
@ContextConfiguration(classes = {ScopeConfiguration.class, PersistenceConfiguration.class,
        ServerComponentScanTestConfiguration.class, ServerConfiguration.class, SecurityConfiguration.class, ScopeTestConfiguration.class, PipelineConfiguration.class,
        EventLoggingConfiguration.class, IndexConfiguration.class, SearchConfiguration.class, ScriptConfiguration.class,
        VisualisationConfiguration.class, DashboardConfiguration.class, StatisticsConfiguration.class})
public abstract class AbstractCoreIntegrationTest extends StroomIntegrationTest {
}

@@ -1115,219 +1115,9 @@
 ing.
-PersistenceConfiguration;%0Aimport stroom.spring.ScopeConfiguration;%0Aimport stroom.spring.ScopeTestConfiguration;%0Aimport stroom.spring.ServerComponentScanTestConfiguration;%0Aimport stroom.spring.ServerConfiguration
+*
 ;%0Aim
@@ -1431,16 +1431,25 @@
 sses = %7B
+%0A        
 ScopeCon
@@ -1465,16 +1465,24 @@
 n.class,
+%0A       
  Persist
@@ -1557,16 +1557,24 @@
 n.class,
+%0A       
  ServerC
@@ -1592,16 +1592,24 @@
 n.class,
+%0A       
  Securit
@@ -1629,16 +1629,24 @@
 n.class,
+%0A       
  ScopeTe
@@ -1667,16 +1667,24 @@
 n.class,
+%0A       
  Pipelin
@@ -1745,16 +1745,24 @@
 n.class,
+%0A       
  IndexCo
@@ -1779,16 +1779,24 @@
 n.class,
+%0A       
  SearchC
@@ -1814,16 +1814,24 @@
 n.class,
+%0A       
  ScriptC
@@ -1891,16 +1891,24 @@
 n.class,
+%0A       
  Dashboa
@@ -1929,16 +1929,24 @@
 n.class,
+%0A       
  Statist
@@ -1967,16 +1967,62 @@
 on.class
+,%0A        MetaDataStatisticConfiguration.class
 %7D)%0Apubli

Fix missing MetaDataStatisticConfiguration in AbstractCoreIntegrationTest