From 141052c6dcabdddf20f2b46d95540f1ceb0d7299 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Wed, 20 Jun 2018 12:59:56 -0400 Subject: 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 --- .../policy/pap/xacml/rest/controller/FirewallDictionaryController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ONAP-PAP-REST/src/main/java/org/onap') 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}) -- cgit 1.2.3-korg