summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-analytics
diff options
context:
space:
mode:
authorManoop Talasila <talasila@research.att.com>2019-08-13 18:27:36 +0000
committerGerrit Code Review <gerrit@onap.org>2019-08-13 18:27:36 +0000
commitb49d4333f4c048b1cb46a48c414891f64f4beb48 (patch)
tree53af947d1db9ee8e9534b8836de2ab2ff8857254 /ecomp-sdk/epsdk-analytics
parentbabcdb7f278785012107bc9e180ff506041d8227 (diff)
parent0631000e3830b59ac9b4cba4cae107e5fb66d545 (diff)
Merge "Fix sonar issues in WizardSequenceSQLBasedLinear"
Diffstat (limited to 'ecomp-sdk/epsdk-analytics')
-rw-r--r--ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedLinear.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedLinear.java b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedLinear.java
index c6cb0b1c..349f4466 100644
--- a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedLinear.java
+++ b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedLinear.java
@@ -48,15 +48,11 @@ public class WizardSequenceSQLBasedLinear extends WizardSequence {
add(AppConstants.WS_SQL);
add(AppConstants.WS_COLUMNS);
add(AppConstants.WS_FORM_FIELDS);
- //add(AppConstants.WS_JAVASCRIPT);
- //if(!Globals.showAnimatedChartOnly())
- //add(AppConstants.WS_CHART);
add(AppConstants.WS_USER_ACCESS);
- //add(AppConstants.WS_MAP);
- //add(AppConstants.WS_SCHEDULE);
- if (userIsAuthorizedToSeeLog)
- if (Globals.getEnableReportLog())
+
+ if (userIsAuthorizedToSeeLog && Globals.getEnableReportLog())
add(AppConstants.WS_REPORT_LOG);
+
add(AppConstants.WS_RUN);
} // WizardSequenceSQLBasedLinear