diff options
author | Jorge Hernandez <jh1730@att.com> | 2018-02-14 19:28:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-02-14 19:28:14 +0000 |
commit | 472f049b84fd69caa1e0a07bbe3e088bbfd0a44d (patch) | |
tree | 31b957994e8a060d4ceda99364b100c2465ded0e /ONAP-PAP-REST | |
parent | a694b6879a44773d500e857699bb5a1e6e526140 (diff) | |
parent | 49048e277bba438cf6486c1229b53f608a7af114 (diff) |
Merge "Added Junits for Policy PAP-REST"
Diffstat (limited to 'ONAP-PAP-REST')
-rw-r--r-- | ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/controller/DictionaryImportController.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/controller/DictionaryImportController.java b/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/controller/DictionaryImportController.java index a56689547..c79f203cd 100644 --- a/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/controller/DictionaryImportController.java +++ b/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/controller/DictionaryImportController.java @@ -486,7 +486,7 @@ public class DictionaryImportController { if(dictionaryName.startsWith("PrefixList")){ dictionaryImportExists = true; for(int i = 1; i< dictSheet.size(); i++){ - PrefixList attribute = new PrefixList("", userId); + PrefixList attribute = new PrefixList(); String[] rows = dictSheet.get(i); for (int j=0 ; j<rows.length; j++ ){ if(("prefixListName").equalsIgnoreCase(dictSheet.get(0)[j]) || ("PrefixList Name").equalsIgnoreCase(dictSheet.get(0)[j])){ @@ -505,7 +505,7 @@ public class DictionaryImportController { if(dictionaryName.startsWith("SecurityZone")){ dictionaryImportExists = true; for(int i = 1; i< dictSheet.size(); i++){ - SecurityZone attribute = new SecurityZone("", userId); + SecurityZone attribute = new SecurityZone(); String[] rows = dictSheet.get(i); for (int j=0 ; j<rows.length; j++ ){ if(("zoneName").equalsIgnoreCase(dictSheet.get(0)[j]) || ("Zone Name").equalsIgnoreCase(dictSheet.get(0)[j])){ @@ -521,7 +521,7 @@ public class DictionaryImportController { if(dictionaryName.startsWith("Zone")){ dictionaryImportExists = true; for(int i = 1; i< dictSheet.size(); i++){ - Zone attribute = new Zone("", userId); + Zone attribute = new Zone(); String[] rows = dictSheet.get(i); for (int j=0 ; j<rows.length; j++ ){ if(("zoneName").equalsIgnoreCase(dictSheet.get(0)[j]) || ("Zone Name").equalsIgnoreCase(dictSheet.get(0)[j])){ @@ -537,7 +537,7 @@ public class DictionaryImportController { if(dictionaryName.startsWith("ServiceList")){ dictionaryImportExists = true; for(int i = 1; i< dictSheet.size(); i++){ - ServiceList attribute = new ServiceList("", userId); + ServiceList attribute = new ServiceList(); String[] rows = dictSheet.get(i); for (int j=0 ; j<rows.length; j++ ){ if(("serviceName").equalsIgnoreCase(dictSheet.get(0)[j]) || ("Service Name").equalsIgnoreCase(dictSheet.get(0)[j])){ @@ -565,7 +565,7 @@ public class DictionaryImportController { if(dictionaryName.startsWith("ServiceGroup")){ dictionaryImportExists = true; for(int i = 1; i< dictSheet.size(); i++){ - GroupServiceList attribute = new GroupServiceList("", userId); + GroupServiceList attribute = new GroupServiceList(); String[] rows = dictSheet.get(i); for (int j=0 ; j<rows.length; j++ ){ if(("name").equalsIgnoreCase(dictSheet.get(0)[j]) || ("Group Name").equalsIgnoreCase(dictSheet.get(0)[j])){ @@ -581,7 +581,7 @@ public class DictionaryImportController { if(dictionaryName.startsWith("AddressGroup")){ dictionaryImportExists = true; for(int i = 1; i< dictSheet.size(); i++){ - AddressGroup attribute = new AddressGroup("", userId); + AddressGroup attribute = new AddressGroup(); String[] rows = dictSheet.get(i); for (int j=0 ; j<rows.length; j++ ){ if(("name").equalsIgnoreCase(dictSheet.get(0)[j]) || ("Group Name").equalsIgnoreCase(dictSheet.get(0)[j])){ @@ -600,7 +600,7 @@ public class DictionaryImportController { if(dictionaryName.startsWith("ProtocolList")){ dictionaryImportExists = true; for(int i = 1; i< dictSheet.size(); i++){ - ProtocolList attribute = new ProtocolList("", userId); + ProtocolList attribute = new ProtocolList(); String[] rows = dictSheet.get(i); for (int j=0 ; j<rows.length; j++ ){ if(("protocolName").equalsIgnoreCase(dictSheet.get(0)[j]) || ("Protocol Name").equalsIgnoreCase(dictSheet.get(0)[j])){ @@ -616,7 +616,7 @@ public class DictionaryImportController { if(dictionaryName.startsWith("ActionList")){ dictionaryImportExists = true; for(int i = 1; i< dictSheet.size(); i++){ - ActionList attribute = new ActionList("", userId); + ActionList attribute = new ActionList(); String[] rows = dictSheet.get(i); for (int j=0 ; j<rows.length; j++ ){ if(("actionName").equalsIgnoreCase(dictSheet.get(0)[j]) || ("Action Name").equalsIgnoreCase(dictSheet.get(0)[j])){ |