Fix occasional NPEs in Connection manager

- This fixes an issue where ConnectionManager bundle start/stop
  callbacks don't have the required dependenicies available, which
  causes occasional NPEs.

Change-Id: I3f9f17a4a500915cf72419bb352a40233506b846
Signed-off-by: Yevgeny Khodorkovsky <ykhodork@cisco.com>
Enhance debug capabilities

- Make sure infinispan complains very loud when it think an hashcode
is not consistent in the cluster.
- For now this patch is controller specific, but i will propose to
upstream in infinispan as well.
- Given BaseDistributionInterceptor.java came from version 5.3.0.Final
enforce it in the build

Change-Id: I029abac8d311ec3f49795ba325f075541fd3784b
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
Moved MD SAL from sal/yang-prototype to md-sal

Moved MD SAL sources, artefacts from
 opendaylight/sal/yang-prototype to opendaylight/md-sal

Change-Id: Ic3a6dca94faff8cef0dffe830a767d3ad5f0f21a
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Remove unused class member SAVE

Change-Id: If56dcd30aeaa49a400fd5a14b955268b9c7f6105
Signed-off-by: Alissa Bonas <abonas@redhat.com>
Merge "Enhance debug capabilities"
Add project.reporting.outputEncoding property to prevent maven warning

Change-Id: Iaf0153b345a9ff5bade329d37f1377fa1226a99a
Signed-off-by: Alissa Bonas <abonas@redhat.com>
Added sal-compability to build

Change-Id: I64f8963760a6a6110e000e22c148919eaa841e77
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Action mapping To|From SAL conversion.

- action was defined in flow-type.yang file according to actions in SAL
- action mapping was added to FromSalConversionsUtils.actionFrom
- action mapping was added to ToSalConversionsUtils.actionFrom

Change-Id: I3bd1c2eba896fb3a305da6ad698db9f0275d6f50
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Merge "Added sal-compability to build"
Merge "Action mapping To|From SAL conversion."
Timeout ForwardingRulesManager workOrder

- Before this patch is an FRM request was submitted and no answer was
received by a remote controller, that would indefinitively stuck the
caller, clearly a bad practice. This patch is introducing a default
timeout of 30 second (very bad scenario) and a log.error is being
raised if that happens.
- Cleaned workMonitor cache on workStatus coming back or timeout.
- Make timeout tunable via system properties

Change-Id: I59ac402b30101e3cf1cf1b1beacf03fbc9add6c9
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
Add to jboss repository snapshot and release properties

Change-Id: I7e639c369c9e6b16a8e525c51a13e29d50d12f19
Signed-off-by: Alissa Bonas <abonas@redhat.com>
Merge "Remove unused class member SAVE"
Merge "Add to jboss repository snapshot and release properties"
Strong password check to consider underscore as a special character

ISSUE:
Current strong password check regular expression does not consider '_' as a special character

Change-Id: Ib64fe2e94c1e6c76f24d42bd256f3e708f40d1cc
Signed-off-by: Alessandro Boch <aboch@cisco.com>
Fix: Flows are deleted when another controller is started

Change-Id: I9f6c78bb80c4d7f988cc5fd760918f89436f2bf3
Signed-off-by: Pramila Singh <pramisin@cisco.com>
Silent false positive, and enhance real error message

- With gerrit https://git.opendaylight.org/gerrit/#/c/1366/ i have
introduced a log error, to spot inconsistent hashcode but indeed it
turn out is getting exercised also during a normal code path,
basically when:
 <command orginator> --> <key owner> --> <all the other members>

all the other members when getting the replication from the non-key
owner will end up in this case. So that cannot be actually considered
an error.

Change-Id: Id38b45066164cb4998fdcdbb356bdf7af720b8c5
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
Introduce ASYNC caches and use them in FRM

- Add the option in clustering.services contract to allocate caches
that are async
- Use them for FRM workOrder and workStatus
- Add unit tests for sync/async incompatibility

Change-Id: Icfc8d9b8a9277d97b095805cb4323a950c82ef78
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
Merge "Strong password check to consider underscore as a special character"
Stop creating new Boolean, move to use valueOf method

Change-Id: Ieecece68265b60a93b638204bae58a043ed3264b
Signed-off-by: Alissa Bonas <abonas@redhat.com>