diff options
author | Jorge Hernandez <jh1730@att.com> | 2017-12-06 15:46:08 -0600 |
---|---|---|
committer | Jorge Hernandez <jh1730@att.com> | 2017-12-06 15:46:08 -0600 |
commit | f2715bc0f272e5e657ed8a82c0f4e520a7c7706d (patch) | |
tree | fe7f3a1a22e6eb72a56eef53c86a1e3adc9e5769 /controlloop | |
parent | 8b88fdc13621b09d2ef6a444b6828e32f62d9756 (diff) |
remove synchronized calls to avoid race conditionsv1.1.2
This is to prevent potential problems where multiple jar versions are
updated one after the other.
Change-Id: I78835b485e57125efb213cfdefba60351d815916
Issue-ID: POLICY-487
Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'controlloop')
-rw-r--r-- | controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl b/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl index 07c7e2086..6d7ecdb89 100644 --- a/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl +++ b/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl @@ -135,32 +135,6 @@ rule "${policyName}.SETUP" Logger logger = LoggerFactory.getLogger(drools.getRule().getPackage()); logger.info("{}: {} : YAML=[{}]", params.getClosedLoopControlName(), drools.getRule().getName(), params.getControlLoopYaml()); - - String sqlDbUsername = PolicyEngine.manager.getEnvironmentProperty("sql.db.username"); - - String aaiUrl = PolicyEngine.manager.getEnvironmentProperty("aai.url"); - String aaiUsername = PolicyEngine.manager.getEnvironmentProperty("aai.username"); - String aaiPassword = PolicyEngine.manager.getEnvironmentProperty("aai.password"); - - String soUrl =PolicyEngine.manager.getEnvironmentProperty("so.url"); - String soUsername = PolicyEngine.manager.getEnvironmentProperty("so.username"); - String soPassword = PolicyEngine.manager.getEnvironmentProperty("so.password"); - - String vfcUrl =PolicyEngine.manager.getEnvironmentProperty("vfc.url"); - String vfcUsername = PolicyEngine.manager.getEnvironmentProperty("vfc.username"); - String vfcPassword = PolicyEngine.manager.getEnvironmentProperty("vfc.password"); - - String guardUrl = PolicyEngine.manager.getEnvironmentProperty("guard.url"); - String guardUsername = PolicyEngine.manager.getEnvironmentProperty("pdpx.username"); - String guardPassword = PolicyEngine.manager.getEnvironmentProperty("pdpx.password"); - String guardJdbcUrl = PolicyEngine.manager.getEnvironmentProperty("guard.jdbc.url"); - String guardDisabled = PolicyEngine.manager.getEnvironmentProperty("guard.disabled"); - - logger.info("{}: {} : AAI=[{}:{}]", params.getClosedLoopControlName(), drools.getRule().getName(), aaiUrl, aaiUsername); - logger.info("{}: {} : SO=[{}:{}]", params.getClosedLoopControlName(), drools.getRule().getName(), soUrl, soUsername); - logger.info("{}: {} : VFC=[{}:{}]", params.getClosedLoopControlName(), drools.getRule().getName(), vfcUrl, vfcUsername); - logger.info("{}: {} : GUARD=[{}:{}:{}:{}]", params.getClosedLoopControlName(), drools.getRule().getName(), guardUrl, guardUsername, guardJdbcUrl, guardDisabled); - logger.info("{}: {} : DB=[{}]", params.getClosedLoopControlName(), drools.getRule().getName(), sqlDbUsername); end /* |