summaryrefslogtreecommitdiffstats
path: root/BRMSGateway/src/main
diff options
context:
space:
mode:
authorrb7147 <rb7147@att.com>2017-06-15 09:42:41 -0400
committerrb7147 <rb7147@att.com>2017-06-15 13:27:54 -0400
commita084c4de015521f842a3fef0d7f1f7c340237bc3 (patch)
tree0a3ca8266ee4f91cf246268d6b8b22722899c0ec /BRMSGateway/src/main
parent685ed1545ed28b777a3ba6e7d315b78f355154cb (diff)
[Policy-8 ,Policy-23] Updated Matchid for policies
Commit includes Resolved Sonar blokcers Included the 1707 database scripts. Change-Id: I2ffdfce57e6dee0892b272b23283bf246204599a Signed-off-by: rb7147 <rb7147@att.com>
Diffstat (limited to 'BRMSGateway/src/main')
-rw-r--r--BRMSGateway/src/main/java/org/openecomp/policy/brmsInterface/BRMSHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/BRMSGateway/src/main/java/org/openecomp/policy/brmsInterface/BRMSHandler.java b/BRMSGateway/src/main/java/org/openecomp/policy/brmsInterface/BRMSHandler.java
index ef990aa01..f5f78a970 100644
--- a/BRMSGateway/src/main/java/org/openecomp/policy/brmsInterface/BRMSHandler.java
+++ b/BRMSGateway/src/main/java/org/openecomp/policy/brmsInterface/BRMSHandler.java
@@ -125,7 +125,7 @@ public class BRMSHandler implements BackUpHandler{
ArrayList<PolicyConfig> brmsPolicies = addedPolicies(notification);
Boolean successFlag = false;
for(int i=0; !successFlag && i< bRMSPush.URLListSize(); i++){
- if(i!=0 && !successFlag){
+ if(i!=0){
for(PolicyConfig policyConfig: brmsPolicies){
logger.info("Policy Retry with this Name notified: " + policyConfig.getPolicyName());
bRMSPush.addRule(policyConfig.getPolicyName(),policyConfig.toOther(),policyConfig.getResponseAttributes());