001/*
002 * (C) Copyright 2012-2016 Nuxeo SA (http://nuxeo.com/) and others.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *     http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 *
016 * Contributors:
017 *     Antoine Taillefer
018 */
019package org.nuxeo.ecm.platform.routing.test;
020
021import org.nuxeo.ecm.core.test.CoreFeature;
022import org.nuxeo.runtime.test.runner.Deploy;
023import org.nuxeo.runtime.test.runner.Features;
024import org.nuxeo.runtime.test.runner.RunnerFeature;
025
026/**
027 * This feature provides the basic deployments needed to run a test that uses Document Routing.
028 *
029 * @author Antoine Taillefer (ataillefer@nuxeo.com)
030 */
031@Features(CoreFeature.class)
032@Deploy("org.nuxeo.ecm.platform.task.core:OSGI-INF/task-core-types-contrib.xml")
033@Deploy("org.nuxeo.ecm.platform.task.core:OSGI-INF/TaskService.xml")
034@Deploy("org.nuxeo.ecm.platform.task.core:OSGI-INF/task-adapter-contrib.xml")
035@Deploy("org.nuxeo.ecm.platform.routing.core:OSGI-INF/document-routing-service.xml")
036@Deploy("org.nuxeo.ecm.platform.routing.core:OSGI-INF/document-routing-persister-contrib.xml")
037@Deploy("org.nuxeo.ecm.platform.routing.core:OSGI-INF/document-routing-core-types-contrib.xml")
038@Deploy("org.nuxeo.ecm.platform.routing.core:OSGI-INF/document-routing-adapter-contrib.xml")
039@Deploy("org.nuxeo.ecm.platform.routing.core:OSGI-INF/document-routing-life-cycle-contrib.xml")
040@Deploy("org.nuxeo.ecm.platform.routing.core:OSGI-INF/document-routing-engine-service.xml")
041@Deploy("org.nuxeo.ecm.platform.routing.core:OSGI-INF/document-routing-operations-contrib.xml")
042@Deploy("org.nuxeo.ecm.platform.filemanager")
043@Deploy("org.nuxeo.ecm.core.mimetype:OSGI-INF/nxmimetype-service.xml")
044public class DocumentRoutingFeature implements RunnerFeature {
045
046}