summaryrefslogtreecommitdiffstats
path: root/ONAP-PAP-REST/src/main/java
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2018-06-20 12:59:56 -0400
committerJim Hahn <jrh3@att.com>2018-06-20 12:59:56 -0400
commit141052c6dcabdddf20f2b46d95540f1ceb0d7299 (patch)
tree83f6980c05ae4f2c82225014d891aeecd9fce6a3 /ONAP-PAP-REST/src/main/java
parente67481ed648c419a1645d0fc8b98506fe544a454 (diff)
Change PrefixList.class to Zone.class
Changed the class. Modified the junit test to catch that type of issue, refactoring it to extract common code. Change-Id: Ibc3d22821f103cd3954d2f2f54d4d62307dbf4c6 Issue-ID: POLICY-909 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'ONAP-PAP-REST/src/main/java')
-rw-r--r--ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/controller/FirewallDictionaryController.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/controller/FirewallDictionaryController.java b/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/controller/FirewallDictionaryController.java
index bd1fb0e32..4cf9a71ee 100644
--- a/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/controller/FirewallDictionaryController.java
+++ b/ONAP-PAP-REST/src/main/java/org/onap/policy/pap/xacml/rest/controller/FirewallDictionaryController.java
@@ -691,7 +691,7 @@ public class FirewallDictionaryController {
@RequestMapping(value={"/get_ZoneDictionaryDataByName"}, method={RequestMethod.GET} , produces=MediaType.APPLICATION_JSON_VALUE)
public void getZoneDictionaryEntityDataByName(HttpServletResponse response){
DictionaryUtils utils = getDictionaryUtilsInstance();
- utils.getDataByEntity(response, zoneDatas, zoneName, PrefixList.class);
+ utils.getDataByEntity(response, zoneDatas, zoneName, Zone.class);
}
@RequestMapping(value={"/fw_dictionary/save_zoneName"}, method={RequestMethod.POST})