2 * Copyright © 2015 Yale University and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.alto.core.it;
10 import static org.ops4j.pax.exam.CoreOptions.composite;
11 import static org.ops4j.pax.exam.CoreOptions.maven;
12 import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.editConfigurationFilePut;
14 import org.junit.Assert;
15 import org.junit.Test;
16 import org.junit.runner.RunWith;
17 import org.opendaylight.controller.mdsal.it.base.AbstractMdsalTestBase;
18 import org.ops4j.pax.exam.Option;
19 import org.ops4j.pax.exam.junit.PaxExam;
20 import org.ops4j.pax.exam.karaf.options.LogLevelOption.LogLevel;
21 import org.ops4j.pax.exam.options.MavenUrlReference;
22 import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy;
23 import org.ops4j.pax.exam.spi.reactors.PerClass;
24 import org.slf4j.Logger;
25 import org.slf4j.LoggerFactory;
27 @RunWith(PaxExam.class)
28 @ExamReactorStrategy(PerClass.class)
29 public class AltoIrdIT extends AbstractMdsalTestBase {
30 private static final Logger LOG = LoggerFactory.getLogger(AltoIrdIT.class);
33 public String getModuleName() {
34 return "alto-model-ird-test";
38 public String getInstanceName() {
39 return "alto-ird-test";
43 public MavenUrlReference getFeatureRepo() {
45 .groupId("org.opendaylight.alto.core")
46 .artifactId("alto-service-model-ird-features")
47 .classifier("features")
49 .versionAsInProject();
53 public String getFeatureName() {
54 return "odl-alto-service-model-ird-ui";
58 public Option getLoggingOption() {
59 Option option = editConfigurationFilePut(ORG_OPS4J_PAX_LOGGING_CFG,
60 logConfiguration(AltoIrdIT.class),
61 LogLevel.INFO.name());
62 option = composite(option, super.getLoggingOption());
67 public void testirdFeatureLoad() {
68 Assert.assertTrue(true);