Added missing headers 71/34371/1
authorIveta Halanova <ihalanov@cisco.com>
Wed, 10 Feb 2016 07:58:58 +0000 (08:58 +0100)
committerIveta Halanova <ihalanov@cisco.com>
Wed, 10 Feb 2016 07:58:58 +0000 (08:58 +0100)
Change-Id: I4f49b2342e8cffd325be178c64aee57be504e7f0
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
bgp/rib-impl/src/main/java/org/opendaylight/controller/config/yang/bgp/rib/impl/BGPPeerAcceptorModule.java
bgp/rib-impl/src/main/java/org/opendaylight/controller/config/yang/bgp/rib/impl/BGPPeerAcceptorModuleFactory.java
bgp/rib-impl/src/main/java/org/opendaylight/controller/config/yang/bgp/rib/impl/StrictBgpPeerRegistryModule.java
bgp/rib-impl/src/main/java/org/opendaylight/controller/config/yang/bgp/rib/impl/StrictBgpPeerRegistryModuleFactory.java
bgp/rib-impl/src/test/java/org/opendaylight/controller/config/yang/bgp/rib/impl/BGPTableTypeImplModuleTest.java
pcep/segment-routing/src/main/java/org/opendaylight/controller/config/yang/pcep/sr/cfg/PCEPSegmentRoutingCapabilityModuleFactory.java
pcep/spi/src/main/java/org/opendaylight/controller/config/yang/pcep/spi/ReusablePCEPExtensionProviderContext.java

index a7491ee7011c091779c95e62b8b975403c473d0c..fd7cc165fee42f4154e18bd08ffbe9511fd834b8 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
 package org.opendaylight.controller.config.yang.bgp.rib.impl;
 
 import com.google.common.base.Preconditions;
index cd9bff19901174422a238134c4faadcf37f0f4b1..b7d870681b7f5e0416c75adf7b3e66c7a8412fb6 100644 (file)
@@ -1,12 +1,10 @@
 /*
-* Generated file
-*
-* Generated from: yang module name: bgp-rib-impl yang module local name: bgp-peer-acceptor
-* Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
-* Generated at: Thu Jul 03 15:13:59 CEST 2014
-*
-* Do not modify this file unless it is present under src/main directory
-*/
+ * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
 package org.opendaylight.controller.config.yang.bgp.rib.impl;
 public class BGPPeerAcceptorModuleFactory extends org.opendaylight.controller.config.yang.bgp.rib.impl.AbstractBGPPeerAcceptorModuleFactory {
 
index f73ed6b7d22a608f33c13755a2dc202fefaa444b..e1e50904260567d2db5586a5fa82c4babf855b3e 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
 package org.opendaylight.controller.config.yang.bgp.rib.impl;
 
 import com.google.common.base.MoreObjects;
index 2009cd38c9b21dd575a7a9d6682f888d1f77e691..7405ede3a44cf24472058fb9ef25cdec36b48236 100644 (file)
@@ -1,12 +1,10 @@
 /*
-* Generated file
-*
-* Generated from: yang module name: bgp-rib-impl yang module local name: strict-bgp-peer-registry
-* Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
-* Generated at: Thu Jul 03 16:40:54 CEST 2014
-*
-* Do not modify this file unless it is present under src/main directory
-*/
+ * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
 package org.opendaylight.controller.config.yang.bgp.rib.impl;
 
 public class StrictBgpPeerRegistryModuleFactory extends org.opendaylight.controller.config.yang.bgp.rib.impl.AbstractStrictBgpPeerRegistryModuleFactory {
index b17a1c4148f11215b0c670e3eaffef69f5fb86bd..fe7186f5bfe42511d4835af34ad9fe4f0eb52a55 100644 (file)
@@ -1,9 +1,15 @@
+/*
+ * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
 package org.opendaylight.controller.config.yang.bgp.rib.impl;
 
 import static org.junit.Assert.assertTrue;
 import static org.junit.Assert.fail;
 import static org.mockito.Mockito.doReturn;
-
 import javax.management.InstanceAlreadyExistsException;
 import javax.management.ObjectName;
 import org.junit.Before;
@@ -25,12 +31,12 @@ public class BGPTableTypeImplModuleTest extends AbstractConfigTest {
     private static final String INSTANCE_NAME = "bgp-table-type-impl";
     private static final String FACTORY_NAME = BGPTableTypeImplModuleFactory.NAME;
 
-    private IdentityAttributeRef afiRef = new IdentityAttributeRef(Ipv4AddressFamily.QNAME.toString());
-    private IdentityAttributeRef safiRef = new IdentityAttributeRef(MplsLabeledVpnSubsequentAddressFamily.QNAME.toString());
+    private final IdentityAttributeRef afiRef = new IdentityAttributeRef(Ipv4AddressFamily.QNAME.toString());
+    private final IdentityAttributeRef safiRef = new IdentityAttributeRef(MplsLabeledVpnSubsequentAddressFamily.QNAME.toString());
 
     @Before
     public void setUp() throws Exception {
-        super.initConfigTransactionManagerImpl(new HardcodedModuleFactoriesResolver(mockedContext, new BGPTableTypeImplModuleFactory()));
+        super.initConfigTransactionManagerImpl(new HardcodedModuleFactoriesResolver(this.mockedContext, new BGPTableTypeImplModuleFactory()));
     }
 
     @Override
@@ -45,9 +51,9 @@ public class BGPTableTypeImplModuleTest extends AbstractConfigTest {
     @Test
     public void testValidationExceptionAfiNotSet() throws InstanceAlreadyExistsException, ConflictingVersionException {
         try {
-            createInstance(null, safiRef);
+            createInstance(null, this.safiRef);
             fail();
-        } catch (ValidationException e) {
+        } catch (final ValidationException e) {
             assertTrue(e.getMessage().contains("Afi value is not set."));
         }
     }
@@ -55,9 +61,9 @@ public class BGPTableTypeImplModuleTest extends AbstractConfigTest {
     @Test
     public void testValidationExceptionSafiNotSet() throws InstanceAlreadyExistsException, ConflictingVersionException {
         try {
-            createInstance(afiRef, null);
+            createInstance(this.afiRef, null);
             fail();
-        } catch (ValidationException e) {
+        } catch (final ValidationException e) {
             assertTrue(e.getMessage().contains("Safi value is not set."));
         }
     }
@@ -72,7 +78,7 @@ public class BGPTableTypeImplModuleTest extends AbstractConfigTest {
     @Test
     public void testReusingOldInstance() throws Exception {
         createInstance();
-        final ConfigTransactionJMXClient transaction = configRegistryClient.createTransaction();
+        final ConfigTransactionJMXClient transaction = this.configRegistryClient.createTransaction();
         assertBeanCount(1, FACTORY_NAME);
         final CommitStatus status = transaction.commit();
         assertBeanCount(1, FACTORY_NAME);
@@ -82,7 +88,7 @@ public class BGPTableTypeImplModuleTest extends AbstractConfigTest {
     @Test
     public void testReconfigure() throws Exception {
         createInstance();
-        final ConfigTransactionJMXClient transaction = configRegistryClient.createTransaction();
+        final ConfigTransactionJMXClient transaction = this.configRegistryClient.createTransaction();
         assertBeanCount(1, FACTORY_NAME);
         final BGPTableTypeImplModuleMXBean mxBean = transaction.newMXBeanProxy(transaction.lookupConfigBean(FACTORY_NAME, INSTANCE_NAME),
                 BGPTableTypeImplModuleMXBean.class);
@@ -93,12 +99,12 @@ public class BGPTableTypeImplModuleTest extends AbstractConfigTest {
     }
 
     private CommitStatus createInstance() throws Exception {
-        return createInstance(afiRef, safiRef);
+        return createInstance(this.afiRef, this.safiRef);
     }
 
     private CommitStatus createInstance(final IdentityAttributeRef afiRef, final IdentityAttributeRef safiRef)
             throws ConflictingVersionException, ValidationException, InstanceAlreadyExistsException {
-        ConfigTransactionJMXClient transaction = configRegistryClient.createTransaction();
+        final ConfigTransactionJMXClient transaction = this.configRegistryClient.createTransaction();
         createTableInstance(transaction, afiRef, safiRef);
         return transaction.commit();
     }
@@ -106,7 +112,7 @@ public class BGPTableTypeImplModuleTest extends AbstractConfigTest {
     public static ObjectName createTableInstance(final ConfigTransactionJMXClient transaction, final IdentityAttributeRef afiRef,
             final IdentityAttributeRef safiRef) throws InstanceAlreadyExistsException {
         final ObjectName nameCreated = transaction.createModule(FACTORY_NAME, INSTANCE_NAME);
-        BGPTableTypeImplModuleMXBean mxBean = transaction.newMXBeanProxy(nameCreated, BGPTableTypeImplModuleMXBean.class);
+        final BGPTableTypeImplModuleMXBean mxBean = transaction.newMXBeanProxy(nameCreated, BGPTableTypeImplModuleMXBean.class);
 
         mxBean.setAfi(afiRef);
         mxBean.setSafi(safiRef);
index 0b52ab97b56a6dd2ee244d308a65d54b4d482b26..782cb2ecccbfab25cfbe74b297adec4708f4dba1 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
 package org.opendaylight.controller.config.yang.pcep.spi;
 
 import java.util.List;