controller.git
9 years agoFix checkstyle warnings ietf-netconf-monitoring 55/12855/2
Marian Dubai [Fri, 14 Nov 2014 13:35:25 +0000 (14:35 +0100)]
Fix checkstyle warnings ietf-netconf-monitoring

Change-Id: I05a3fb185ae53128c31f8565a9489f7d0399febe
Signed-off-by: Marian Dubai <mdubai@cisco.com>
9 years agoFix checkstyle warnings for netconf-testtool 54/12854/2
Marian Dubai [Fri, 14 Nov 2014 13:25:25 +0000 (14:25 +0100)]
Fix checkstyle warnings for netconf-testtool

Change-Id: I47a3783d9b89cadc6549d6f4784508cefb149059
Signed-off-by: Marian Dubai <mdubai@cisco.com>
9 years agoFix checkstyle warnings for config-netconf-connector 53/12853/2
Marian Dubai [Fri, 14 Nov 2014 13:19:10 +0000 (14:19 +0100)]
Fix checkstyle warnings for config-netconf-connector

Change-Id: I8234bbfdb7092f6423cedc7f95de07995871756d
Signed-off-by: Marian Dubai <mdubai@cisco.com>
9 years agoFix checkstyle warnings for config-persister-impl 52/12852/2
Marian Dubai [Fri, 14 Nov 2014 13:16:07 +0000 (14:16 +0100)]
Fix checkstyle warnings for config-persister-impl

Change-Id: Ife66b5fea7bb6d1fe293d6181d6da7221e296731
Signed-off-by: Marian Dubai <mdubai@cisco.com>
9 years agoFix checkstyle warnings in netconf-api 51/12851/2
Marian Dubai [Fri, 14 Nov 2014 15:46:20 +0000 (16:46 +0100)]
Fix checkstyle warnings in netconf-api

Change-Id: I174ea168e5b264cd99c2faa9ab182859806ef12f
Signed-off-by: Marian Dubai <mdubai@cisco.com>
9 years agoMerge "Updating features archetype to talk about user-facing features."
Ed Warnicke [Fri, 14 Nov 2014 18:09:54 +0000 (18:09 +0000)]
Merge "Updating features archetype to talk about user-facing features."

9 years agoMerge "Netconf testtool fix multiple feature file modification"
Tony Tkacik [Fri, 14 Nov 2014 11:25:44 +0000 (11:25 +0000)]
Merge "Netconf testtool fix multiple feature file modification"

9 years agoMerge "BUG-2345 Move bouncycastle bundles from netconf-connector to netconf feature"
Tony Tkacik [Fri, 14 Nov 2014 10:08:04 +0000 (10:08 +0000)]
Merge "BUG-2345 Move bouncycastle bundles from netconf-connector to netconf feature"

9 years agoBug 2368: MD-SAL FRM may update/remove unexpected flow entries. 87/12787/3
Shigeru Yasuda [Wed, 12 Nov 2014 15:23:08 +0000 (00:23 +0900)]
Bug 2368: MD-SAL FRM may update/remove unexpected flow entries.

FRM should always set strict flag into update-flow/remove-flow
RPC input.

Change-Id: I6027442b56f4cd93cfc3f954dc8501bb57e2d64a
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoBug-2136 - fix for is-local-path 00/12700/8
Kamal Rameshan [Mon, 10 Nov 2014 22:35:39 +0000 (14:35 -0800)]
Bug-2136 - fix for is-local-path

Change-Id: I38a58683c94c54e9f399df56aa586e3916f75e41
Signed-off-by: Kamal Rameshan <kramesha@cisco.com>
9 years agoMerge "Bug 2347: Minor fixes to correct log output"
Moiz Raja [Thu, 13 Nov 2014 21:47:14 +0000 (21:47 +0000)]
Merge "Bug 2347: Minor fixes to correct log output"

9 years agoMerge "Bug 2021 - Continuous WARN log nodeConnector creation failed at node: OF|00...
Tom Pantelis [Thu, 13 Nov 2014 21:25:21 +0000 (21:25 +0000)]
Merge "Bug 2021 - Continuous WARN log nodeConnector creation failed at node: OF|00:00:xx:xx:xx:xx:xx:xx"

9 years agoMerge "BUG 2353 : Handle binary, bits and instanceidentifier types in NodeIdentifiers"
Tom Pantelis [Thu, 13 Nov 2014 19:29:39 +0000 (19:29 +0000)]
Merge "BUG 2353 : Handle binary, bits and instanceidentifier types in NodeIdentifiers"

9 years agoBUG-2345 Move bouncycastle bundles from netconf-connector to netconf feature 17/12817/1
Maros Marsalek [Thu, 13 Nov 2014 15:30:23 +0000 (16:30 +0100)]
BUG-2345 Move bouncycastle bundles from netconf-connector to netconf feature

Apache mina sshd bundle is located in features-netconf and bouncycastle in features-netconf-connector.
This is wrong because mina sshd depends directly on bouncycastle but marks the dependency as optional which is probably not correct because this can result in runtime errors instead of resolution problems.

Change-Id: Ic9ef61294069859788fd10366e50b71f5bac9a43
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBUG-2370 Reset schema context on disconnect in nc 90/12790/2
Maros Marsalek [Wed, 12 Nov 2014 17:28:38 +0000 (18:28 +0100)]
BUG-2370 Reset schema context on disconnect in nc

Change-Id: I64197fc4ec375a07b2f0ea1dfb1215c4e31e206c
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoNetconf testtool fix multiple feature file modification 05/12805/1
Maros Marsalek [Thu, 13 Nov 2014 09:40:40 +0000 (10:40 +0100)]
Netconf testtool fix multiple feature file modification

Change-Id: I141c5298cecdbd6607789bd1688ffb8792acdad7
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBug 2347: Minor fixes to correct log output 10/12810/1
tpantelis [Thu, 13 Nov 2014 02:57:49 +0000 (21:57 -0500)]
Bug 2347: Minor fixes to correct log output

DOMConcurrentDataCommitCoordinator#handleException hard-codes the error
mapper to CAN_COMMIT_ERROR_MAPPER however this should be passed
in corresponding to the phase.

In TransactionCommitFailedExceptionMapper, the opNames for
PRE_COMMIT_MAPPER and CAN_COMMIT_ERROR_MAPPER are reversed, should be
"preCommit", "canCommit" respectively.

Change-Id: I6c0513f0f6265ec19de39476c95efefee53d2ee1
Signed-off-by: tpantelis <tpanteli@brocade.com>
9 years agoBUG 2353 : Handle binary, bits and instanceidentifier types in NodeIdentifiers 94/12794/1
Moiz Raja [Wed, 12 Nov 2014 21:10:09 +0000 (13:10 -0800)]
BUG 2353 : Handle binary, bits and instanceidentifier types in NodeIdentifiers

This fix properly serializes and deserializes NodeIdentifier attributes of the types
  - binary (byte[])
  - yanginstanceidentifier
  - bits (set)

Change-Id: I612d40f9730c939be0594496c26370db96ea6449
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoMerge "Bug 2347: DOMConcurrentDataCommitCoordinator uses wrong phase name"
Moiz Raja [Wed, 12 Nov 2014 18:14:29 +0000 (18:14 +0000)]
Merge "Bug 2347: DOMConcurrentDataCommitCoordinator uses wrong phase name"

9 years agoBug 2347: DOMConcurrentDataCommitCoordinator uses wrong phase name 88/12788/1
tpantelis [Wed, 12 Nov 2014 16:21:40 +0000 (11:21 -0500)]
Bug 2347: DOMConcurrentDataCommitCoordinator uses wrong phase name

Change-Id: I8b9083a428553525861137fc8630635f6508c2dc
Signed-off-by: tpantelis <tpanteli@brocade.com>
9 years agoMerge "Bug 1029: Remove dead code: samples/clustersession"
Tony Tkacik [Wed, 12 Nov 2014 16:12:45 +0000 (16:12 +0000)]
Merge "Bug 1029: Remove dead code: samples/clustersession"

9 years agoMerge "Bug 1029: Remove dead code: p2site"
Tony Tkacik [Wed, 12 Nov 2014 16:11:43 +0000 (16:11 +0000)]
Merge "Bug 1029: Remove dead code: p2site"

9 years agoBug 2021 - Continuous WARN log nodeConnector creation failed at node: OF|00:00:xx... 68/12568/8
Flavio Fernandes [Thu, 6 Nov 2014 13:22:04 +0000 (08:22 -0500)]
Bug 2021 - Continuous WARN log nodeConnector creation failed at node: OF|00:00:xx:xx:xx:xx:xx:xx

This fixes the bug in ToSalConversionsUtils.actionFrom() that mistakenly
passed an AD-SAL-style NodeID to a conversion utility (fromNodeConnectorRef)
that was expecting a MD-SAL-style NodeID.

Patch 8: Add unit test to exercise code path that exposes the issue

Change-Id: Icc107bd785d6558a3351f139c1b13b8737b56ae7
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoMerge "Move adsal into its own subdirectory."
Moiz Raja [Tue, 11 Nov 2014 17:57:51 +0000 (17:57 +0000)]
Merge "Move adsal into its own subdirectory."

9 years agoBUG 2302 : odl-clustering-test-app should not be part of the odl-restconf-all feature set 05/12705/1
Moiz Raja [Tue, 11 Nov 2014 01:27:18 +0000 (17:27 -0800)]
BUG 2302 : odl-clustering-test-app should not be part of the odl-restconf-all feature set

This patch does the following,

1. It removes odl-clustering-test-app from the restconf features
2. Move odl-clustering-test-app to the md-sal feature (just like odl-toaster)
3. Removes all unneccessary dependencies from odl-clustering-test-app
4. Removes all the clustering configuration files from the odl-clustering-test-app feature

This now allows the odl-clustering-test-app to be used with/without clustering. It also
eliminates the problem is inadvertently installing the odl-clustering-test-app when installing
odl-restconf-all.

Change-Id: I8021f88c967576aa8cf8da54dbfa8f4464233bc3
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoMove adsal into its own subdirectory. 11/12511/7
Ed Warnicke [Tue, 4 Nov 2014 22:17:43 +0000 (16:17 -0600)]
Move adsal into its own subdirectory.

Moved various adsal components into an opendaylight/adsal subdir,
gave it a parent pom, and changed the root parent pom to have the
opendaylight/adsal as a module.

Change-Id: I1d0e5a7b2a50c65559c2f80dd47cab491b68d561
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMerge "BUG-2329 Add test for anyxmls inside rpc resonse for netcfon-connector"
Tony Tkacik [Mon, 10 Nov 2014 16:04:56 +0000 (16:04 +0000)]
Merge "BUG-2329 Add test for anyxmls inside rpc resonse for netcfon-connector"

9 years agoMerge "BUG-2254 Enable schema-less rpcs invocation in netconf-connector"
Tony Tkacik [Mon, 10 Nov 2014 16:04:41 +0000 (16:04 +0000)]
Merge "BUG-2254 Enable schema-less rpcs invocation in netconf-connector"

9 years agoMerge "Make idle timeout configurable in ssh proxy server"
Tony Tkacik [Mon, 10 Nov 2014 16:03:57 +0000 (16:03 +0000)]
Merge "Make idle timeout configurable in ssh proxy server"

9 years agoBUG-2254 Enable schema-less rpcs invocation in netconf-connector 72/12672/1
Maros Marsalek [Mon, 10 Nov 2014 13:20:52 +0000 (14:20 +0100)]
BUG-2254 Enable schema-less rpcs invocation in netconf-connector

Change-Id: Id84a2be3db050a546380186c79deadf5c9f7fd28
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoMerge "Fix raw references to SimpleNode"
Tony Tkacik [Mon, 10 Nov 2014 10:50:16 +0000 (10:50 +0000)]
Merge "Fix raw references to SimpleNode"

9 years agoMerge "Fix raw reference to SessionNegotiatior"
Tony Tkacik [Mon, 10 Nov 2014 10:50:06 +0000 (10:50 +0000)]
Merge "Fix raw reference to SessionNegotiatior"

9 years agoMerge "Fix raw use of Gauge"
Tony Tkacik [Mon, 10 Nov 2014 10:46:22 +0000 (10:46 +0000)]
Merge "Fix raw use of Gauge"

9 years agoMerge "Add serialVersionUID to Serializable classes"
Tony Tkacik [Mon, 10 Nov 2014 10:45:00 +0000 (10:45 +0000)]
Merge "Add serialVersionUID to Serializable classes"

9 years agoMerge changes Ic7e83322,I2482a37c
Tony Tkacik [Mon, 10 Nov 2014 10:44:32 +0000 (10:44 +0000)]
Merge changes Ic7e83322,I2482a37c

* changes:
  Fix a non-generic reference to Comparable
  Fix non-generic references to ArrayList

9 years agoMerge changes I525c2070,Ib920ff67
Tony Tkacik [Mon, 10 Nov 2014 10:44:10 +0000 (10:44 +0000)]
Merge changes I525c2070,Ib920ff67

* changes:
  Fix neutron pagination
  Reuse NeutronObject comparator

9 years agoMerge "Use generic-aware empty collections"
Tony Tkacik [Mon, 10 Nov 2014 10:43:11 +0000 (10:43 +0000)]
Merge "Use generic-aware empty collections"

9 years agoMake idle timeout configurable in ssh proxy server 00/12600/2
Maros Marsalek [Fri, 7 Nov 2014 12:31:48 +0000 (13:31 +0100)]
Make idle timeout configurable in ssh proxy server

Change-Id: Ia17b79331159dc04c2a837eacc33f3b7ac8033bc
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoBUG-2329 Add test for anyxmls inside rpc resonse for netcfon-connector 76/12576/3
Maros Marsalek [Thu, 6 Nov 2014 15:02:55 +0000 (16:02 +0100)]
BUG-2329 Add test for anyxmls inside rpc resonse for netcfon-connector

Change-Id: If58216b8174c7cdbf248e6472ae1c5ba3a405a5b
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
9 years agoFix raw references to SimpleNode 41/12641/4
Robert Varga [Fri, 7 Nov 2014 18:34:03 +0000 (19:34 +0100)]
Fix raw references to SimpleNode

Just adds a wildcard.

Change-Id: I62114265db13ee1945c91282b7c572c3c91458ec
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix raw reference to SessionNegotiatior 40/12640/4
Robert Varga [Fri, 7 Nov 2014 18:31:37 +0000 (19:31 +0100)]
Fix raw reference to SessionNegotiatior

Add a wildcard and be done with it.

Change-Id: Ifc72e1fe88e9d5ee9047c55ed93fc0fae7db331a
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Fix raw references to Promise"
Tony Tkacik [Mon, 10 Nov 2014 08:56:24 +0000 (08:56 +0000)]
Merge "Fix raw references to Promise"

9 years agoMerge "Fix raw reference to Predicate"
Tony Tkacik [Mon, 10 Nov 2014 08:56:13 +0000 (08:56 +0000)]
Merge "Fix raw reference to Predicate"

9 years agoMerge "Fix raw ProtocolService references"
Tony Tkacik [Mon, 10 Nov 2014 08:56:02 +0000 (08:56 +0000)]
Merge "Fix raw ProtocolService references"

9 years agoMerge "Fix a raw ServiceReference"
Tony Tkacik [Mon, 10 Nov 2014 08:55:52 +0000 (08:55 +0000)]
Merge "Fix a raw ServiceReference"

9 years agoMerge "Fix a non-generic reference to DataContainerNode"
Tony Tkacik [Mon, 10 Nov 2014 08:55:47 +0000 (08:55 +0000)]
Merge "Fix a non-generic reference to DataContainerNode"

9 years agoMerge "Fix non-generic references to NormalizedNode"
Tony Tkacik [Mon, 10 Nov 2014 08:55:42 +0000 (08:55 +0000)]
Merge "Fix non-generic references to NormalizedNode"

9 years agoMerge changes I0fe4b78d,I3d3bc71b
Tony Tkacik [Mon, 10 Nov 2014 08:55:14 +0000 (08:55 +0000)]
Merge changes I0fe4b78d,I3d3bc71b

* changes:
  Fix non-generic reference to org.opendaylight.yangtools.yang.data.api.Node
  Fix non-generic references to java.util.Map

9 years agoMerge "Remove dead code in RuntimeMappingModule"
Tony Tkacik [Mon, 10 Nov 2014 08:54:36 +0000 (08:54 +0000)]
Merge "Remove dead code in RuntimeMappingModule"

9 years agoMerge "Do not override managed versions"
Tony Tkacik [Mon, 10 Nov 2014 08:54:13 +0000 (08:54 +0000)]
Merge "Do not override managed versions"

9 years agoMerge "Fix raw types in Neutron northbound"
Tony Tkacik [Mon, 10 Nov 2014 08:53:44 +0000 (08:53 +0000)]
Merge "Fix raw types in Neutron northbound"

9 years agoRemove dead code in RuntimeMappingModule 47/12647/4
Robert Varga [Fri, 7 Nov 2014 19:27:49 +0000 (20:27 +0100)]
Remove dead code in RuntimeMappingModule

RuntimeMappingModule.RuntimeGeneratedMappingServiceProxy is private and
not used locally. Remove it, as it also uses deprecated classes -- thus
eliminating quite a few eclipse warnings.

Change-Id: Ica5d11dfceb34435af30811c79f9c2bd194575a8
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoUse generic-aware empty collections 50/12650/5
Robert Varga [Fri, 7 Nov 2014 19:58:06 +0000 (20:58 +0100)]
Use generic-aware empty collections

Rather than referring to the instances directly, use the generic-aware
factory methods.

Change-Id: Ie0cdd4b3fdc03da1cf723907d03420bd10c57e45
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix raw use of Gauge 14/12614/3
Robert Varga [Fri, 7 Nov 2014 18:14:38 +0000 (19:14 +0100)]
Fix raw use of Gauge

It is a generic type, so add type declarations to fix warnings.

Change-Id: I228629392261c22ec6a9037795aeb5bdbccc2dfe
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge changes I9865d0cd,Ic71d525f,Ib8faba91,Ia10e5ec9,I35591747,If456a131,I9f8709cc
Tony Tkacik [Sat, 8 Nov 2014 16:08:44 +0000 (16:08 +0000)]
Merge changes I9865d0cd,Ic71d525f,Ib8faba91,Ia10e5ec9,I35591747,If456a131,I9f8709cc

* changes:
  Fix non-generic references to List
  Hide XSQLBluePrintRelation.addToResult()
  Fix non-generic references to Set
  Fix HashMap references
  Fix raw references to java.lang.Class
  Fix raw references to NotificationListener
  Fix non-generic references to HashSet

9 years agoMerge changes I52c2aaab,I2509ed5e,Ic1d8a4e5,I73730f79,Ica1959e5,I0ce61b07
Tony Tkacik [Sat, 8 Nov 2014 16:06:15 +0000 (16:06 +0000)]
Merge changes I52c2aaab,I2509ed5e,Ic1d8a4e5,I73730f79,Ica1959e5,I0ce61b07

* changes:
  Fix a raw Dictionary reference
  Fix a raw Enumeration reference
  Fix a non-generic CheckedFuture
  Access static methods via class
  Remove unused local variable
  Fix non-generic references to Optional

9 years agoMerge "Do not create Map subclasses"
Tony Tkacik [Sat, 8 Nov 2014 15:59:58 +0000 (15:59 +0000)]
Merge "Do not create Map subclasses"

9 years agoFix raw references to Promise 38/12638/2
Robert Varga [Fri, 7 Nov 2014 18:22:24 +0000 (19:22 +0100)]
Fix raw references to Promise

Adds the proper type, so we do not have the warnings.

Change-Id: Ib02779460f60f54e31f64815fd5cc6f68460ba83
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix raw reference to Predicate 37/12637/2
Robert Varga [Fri, 7 Nov 2014 18:18:29 +0000 (19:18 +0100)]
Fix raw reference to Predicate

Adds Object as the input type, fixing a few eclipse warnings.

Change-Id: Ia04d2e51282adda7572b8296c5228f37a1232535
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix raw ProtocolService references 34/12634/2
Robert Varga [Fri, 7 Nov 2014 17:48:04 +0000 (18:48 +0100)]
Fix raw ProtocolService references

Adds a wildcard type to suppress an eclipse warning.

Change-Id: I7750d9202802e0785a0c71eafc4c062b5ed5c68e
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix a raw ServiceReference 33/12633/2
Robert Varga [Fri, 7 Nov 2014 17:46:58 +0000 (18:46 +0100)]
Fix a raw ServiceReference

Add the type argument to fix an eclipse warning.

Change-Id: I220858aa7c87d1616aede4f7d1b5e4822a3f0191
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix a non-generic reference to DataContainerNode 31/12631/2
Robert Varga [Fri, 7 Nov 2014 17:39:30 +0000 (18:39 +0100)]
Fix a non-generic reference to DataContainerNode

Just add a wildcards, as it's only used in a cast.

Change-Id: I0be921b5e63dcc3d0fa005a54c8a55dcfbffa866
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix non-generic references to NormalizedNode 30/12630/2
Robert Varga [Fri, 7 Nov 2014 17:38:43 +0000 (18:38 +0100)]
Fix non-generic references to NormalizedNode

Adds wildcard type arguments to get rid of eclipse warnings.

Change-Id: I16514de7e82b6cabdc9fc17cc76dcb0cbdbe76ce
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix non-generic reference to org.opendaylight.yangtools.yang.data.api.Node 29/12629/2
Robert Varga [Fri, 7 Nov 2014 17:31:55 +0000 (18:31 +0100)]
Fix non-generic reference to org.opendaylight.yangtools.yang.data.api.Node

Adds the proper wildcard to suppress warnings.

Change-Id: I0fe4b78d35fe16a068f10cc23393a27080178f69
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix a raw Dictionary reference 17/12617/2
Robert Varga [Fri, 7 Nov 2014 17:41:47 +0000 (18:41 +0100)]
Fix a raw Dictionary reference

Fix the cast to match the variable declaration.

Change-Id: I52c2aaab4f9df9699672042b23272a7b8cc54e98
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix non-generic references to java.util.Map 28/12628/2
Robert Varga [Fri, 7 Nov 2014 17:30:09 +0000 (18:30 +0100)]
Fix non-generic references to java.util.Map

Adds proper arguments. Also eliminates unneeded casts to Map.Entry,
caused by unnecessary loss of type.

Change-Id: I3d3bc71b88a404b02029d836a3d02d37e304c39e
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix a raw Enumeration reference 16/12616/2
Robert Varga [Fri, 7 Nov 2014 17:40:39 +0000 (18:40 +0100)]
Fix a raw Enumeration reference

Adds the proper type argument.

Change-Id: I2509ed5efc784ab5bef8a34aed66223c69cc41ab
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix a non-generic CheckedFuture 25/12625/2
Robert Varga [Fri, 7 Nov 2014 17:22:13 +0000 (18:22 +0100)]
Fix a non-generic CheckedFuture

This adds proper type, and actually amkes the code cleaner.

Change-Id: Ic1d8a4e526830dd9ce48e0677b97842def537cf4
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAccess static methods via class 15/12615/2
Robert Varga [Fri, 7 Nov 2014 18:16:12 +0000 (19:16 +0100)]
Access static methods via class

Invocation is slightly faster and fixes eclipse warnings.

Change-Id: I73730f7903aa8f25786625aa4903dc66d4f61e09
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoRemove unused local variable 22/12622/2
Robert Varga [Fri, 7 Nov 2014 17:11:55 +0000 (18:11 +0100)]
Remove unused local variable

It does not use generic arguments, it's unused, and has overall no
impact (aside from eclipse warnings).

Change-Id: Ica1959e50f6e60a9431893e2ebee31a5595fc6db
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix non-generic references to Optional 21/12621/2
Robert Varga [Fri, 7 Nov 2014 17:09:24 +0000 (18:09 +0100)]
Fix non-generic references to Optional

Just adds arguments as needed.

Change-Id: I0ce61b07e3286a2d3415c92bbbe5e5bc28b5baef
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAdd serialVersionUID to Serializable classes 49/12649/4
Robert Varga [Fri, 7 Nov 2014 19:50:32 +0000 (20:50 +0100)]
Add serialVersionUID to Serializable classes

Each serializable class withouth serialVersionUID produces an eclipse
warning. It also means that the class has undefined versioning and
cannot be be upgraded -- this patch fixes all such classes.

Change-Id: I57696f47b312517acd44799e10850f4887dab2e5
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix a non-generic reference to Comparable 27/12627/2
Robert Varga [Fri, 7 Nov 2014 17:25:25 +0000 (18:25 +0100)]
Fix a non-generic reference to Comparable

Fixes a warning stemming from not specifying the object type.

Change-Id: Ic7e833223246d56a95034ef84a1e012fa544a396
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix non-generic references to List 24/12624/2
Robert Varga [Fri, 7 Nov 2014 17:18:22 +0000 (18:18 +0100)]
Fix non-generic references to List

Adds arguments as appropriate.

Change-Id: I9865d0cd56b9432be8cc079e32f5c6c513ba51e0
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix non-generic references to ArrayList 26/12626/2
Robert Varga [Fri, 7 Nov 2014 17:23:44 +0000 (18:23 +0100)]
Fix non-generic references to ArrayList

This patch adds the proper type specification.

Change-Id: I2482a37cc7517e2a08846f8401a9d0104bebea3f
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoHide XSQLBluePrintRelation.addToResult() 23/12623/2
Robert Varga [Fri, 7 Nov 2014 17:17:32 +0000 (18:17 +0100)]
Hide XSQLBluePrintRelation.addToResult()

Also fixes non-generic references to List.

Change-Id: Ic71d525fde6b0c52a2aa181e0da4e6c50f140721
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix non-generic references to Set 20/12620/2
Robert Varga [Fri, 7 Nov 2014 17:07:21 +0000 (18:07 +0100)]
Fix non-generic references to Set

Adds arguments as appropriate.

Change-Id: Ib8faba91bd9fc8751014ea00f1859636e0fcda6d
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix HashMap references 18/12618/2
Robert Varga [Fri, 7 Nov 2014 16:56:34 +0000 (17:56 +0100)]
Fix HashMap references

This patch fixes missing generic arguments not being added to HashMap
references.

Change-Id: Ia10e5ec9dc3ac1f95fc08dcd11c6a963cec5da02
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix raw references to java.lang.Class 36/12636/2
Robert Varga [Fri, 7 Nov 2014 18:13:29 +0000 (19:13 +0100)]
Fix raw references to java.lang.Class

Fixes eclipse warnings just by adding either a wildcard, or the proper
type.

Change-Id: I35591747ae585f5af262f98c7592430d6a9268e2
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix raw references to NotificationListener 35/12635/2
Robert Varga [Fri, 7 Nov 2014 17:54:15 +0000 (18:54 +0100)]
Fix raw references to NotificationListener

The restconf broker has raw references, so modify the type definition to
allow passing the type down.

Change-Id: If456a1312d1ccce67987d0b4db1ba613b48d91db
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix non-generic references to HashSet 19/12619/2
Robert Varga [Fri, 7 Nov 2014 17:00:58 +0000 (18:00 +0100)]
Fix non-generic references to HashSet

Adds arguments and changes to use ImmutableSet.of() where that
is more straighforward.

Change-Id: I9f8709cc320ee9804eb2d83e552ec69cc99ee05a
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoDo not create Map subclasses 48/12648/3
Robert Varga [Fri, 7 Nov 2014 19:34:56 +0000 (20:34 +0100)]
Do not create Map subclasses

Rather than using subclasses for initialization, which require a serial
version, populate them normally -- thus fixing warnings.

Change-Id: Ia204b3ed6a58acaee1de2f1d780a9421cd0eea8f
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoDo not override managed versions 13/12613/2
Robert Varga [Fri, 7 Nov 2014 18:03:48 +0000 (19:03 +0100)]
Do not override managed versions

This fixes pom.xmls to not override managed versions. Should not result
in any version shift.

Change-Id: I0e30541f71118b8ec024b941b1f04e098f0b7179
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix neutron pagination 53/12653/4
Robert Varga [Fri, 7 Nov 2014 20:33:28 +0000 (21:33 +0100)]
Fix neutron pagination

This patch fixes a logic mistake which results in dead code being
reported. startPos is guaranteed to be non-null by virtue of being
always assigned.

The problem is that the detection that the marker is not found is not
correct, as binarySearch() will report the negated insertion point.

Also improves performance by using a primitive type instead of an
encapsulated object.

Change-Id: I525c2070d2794b1e001465ea925d95d432feca29
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix raw types in Neutron northbound 51/12651/4
Robert Varga [Fri, 7 Nov 2014 20:14:17 +0000 (21:14 +0100)]
Fix raw types in Neutron northbound

Adds proper use of types and suppression magic to the factory method.

Change-Id: Ie217c7cfbe6553b1ad511e69bff9d06f7da94d5e
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoReuse NeutronObject comparator 52/12652/4
Robert Varga [Fri, 7 Nov 2014 20:23:58 +0000 (21:23 +0100)]
Reuse NeutronObject comparator

This is a static object, which is thread-safe and can therefore be
reused betwen instances and requests.

Change-Id: Ib920ff6736ab451b402e4691717eb2f4eee59a4c
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG 2339 : TransactionChain id created by the Clustered Data Store are not unique 58/12658/1
Moiz Raja [Sat, 8 Nov 2014 02:12:45 +0000 (18:12 -0800)]
BUG 2339 : TransactionChain id created by the Clustered Data Store are not unique

The fix is to use a simple atomically incrementing integer to form the transaction chain
identifier instead of using the system time.

I also added a few log statements in there which were helpful in debugging the issue.

Change-Id: Ie1465f1640d6be0ff9da0f66477ebafc7ebff137
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoUpdating features archetype to talk about user-facing features. 56/12656/1
Colin Dixon [Sat, 8 Nov 2014 00:23:19 +0000 (18:23 -0600)]
Updating features archetype to talk about user-facing features.

This includes both giving advice about what should/shouldn't be
considered user-facing feautures as well as suggestions for -rest and
-ui features that provide RESTCONF and DLUX functionality to the base
user-facing feature.

Change-Id: I7a37c74adad8443cc50984b172c74e97cec13c84
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoBug 1029: Remove dead code: samples/clustersession 37/12337/2
Ed Warnicke [Wed, 29 Oct 2014 18:39:14 +0000 (13:39 -0500)]
Bug 1029: Remove dead code: samples/clustersession

opendaylight/samples/clustersession/ is dead code that is not being
built and hasn't for some time.  Its complicating keeping
versions up to date and verifying that they are up to date.

Change-Id: I188f00bd07c11649084aafedc8d9a75850bf71e7
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMerge "Bug 2318: Follow-up changes for previous patch 12535"
Moiz Raja [Fri, 7 Nov 2014 20:41:48 +0000 (20:41 +0000)]
Merge "Bug 2318: Follow-up changes for previous patch 12535"

9 years agoMerge "BUG 2317 : StatisticsManager does not unregister from yang notifications on...
Tom Pantelis [Fri, 7 Nov 2014 18:42:12 +0000 (18:42 +0000)]
Merge "BUG 2317 : StatisticsManager does not unregister from yang notifications on close"

9 years agoBUG 2303 : Remove the implementation of AddRaftPeer/RemoveRaftPeer 07/12607/2
Moiz Raja [Tue, 4 Nov 2014 01:10:59 +0000 (17:10 -0800)]
BUG 2303 : Remove the implementation of AddRaftPeer/RemoveRaftPeer

It is both unused and incorrect

Change-Id: Ie0a9844ccf4de7dae68586954031599b55646c47
Signed-off-by: Moiz Raja <moraja@cisco.com>
9 years agoMerge "Bug-2301 - Clustering:Snapshots need not be stored in in-mem ReplicatedLog...
Moiz Raja [Fri, 7 Nov 2014 17:03:06 +0000 (17:03 +0000)]
Merge "Bug-2301 - Clustering:Snapshots need not be stored in in-mem ReplicatedLog for Installing snapshots"

9 years agoMerge "Update junit Assert imports"
Tony Tkacik [Fri, 7 Nov 2014 14:30:42 +0000 (14:30 +0000)]
Merge "Update junit Assert imports"

9 years agoMerge "Migrade JUnitMatchers references"
Tony Tkacik [Fri, 7 Nov 2014 14:30:28 +0000 (14:30 +0000)]
Merge "Migrade JUnitMatchers references"

9 years agoMerge "Remove unused imports"
Tony Tkacik [Fri, 7 Nov 2014 14:30:18 +0000 (14:30 +0000)]
Merge "Remove unused imports"

9 years agoMerge "Fix checkstyle warnings in opendaylight/netconf"
Tony Tkacik [Fri, 7 Nov 2014 14:30:01 +0000 (14:30 +0000)]
Merge "Fix checkstyle warnings in opendaylight/netconf"

9 years agoMerge "Fix checkstyle warnings in opendaylight/config"
Tony Tkacik [Fri, 7 Nov 2014 14:29:51 +0000 (14:29 +0000)]
Merge "Fix checkstyle warnings in opendaylight/config"

9 years agoMerge "Create config-artifacts"
Tony Tkacik [Fri, 7 Nov 2014 14:08:15 +0000 (14:08 +0000)]
Merge "Create config-artifacts"

9 years agoUpdate junit Assert imports 03/12603/1
Robert Varga [Fri, 7 Nov 2014 12:42:30 +0000 (13:42 +0100)]
Update junit Assert imports

JUnit 4.11 has moved Assert to org.junit, and deprecated
junit.framework.Assert. This adjust the imports to fix the warnings.

Change-Id: Iecbf2a1b4ae097989e840ad6f6d5bf759c521639
Signed-off-by: Robert Varga <rovarga@cisco.com>