CLAMP Model policy creation support
[policy/engine.git] / ONAP-PAP-REST / src / main / java / org / onap / policy / pap / xacml / rest / service / DictionaryService.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP-PAP-REST
4  * ================================================================================
5  * Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.policy.pap.xacml.rest.service;
22
23 import java.io.IOException;
24 import javax.servlet.http.HttpServletRequest;
25 import javax.servlet.http.HttpServletResponse;
26 import org.onap.policy.pap.xacml.rest.controller.ActionPolicyDictionaryController;
27 import org.onap.policy.pap.xacml.rest.controller.BRMSDictionaryController;
28 import org.onap.policy.pap.xacml.rest.controller.ClosedLoopDictionaryController;
29 import org.onap.policy.pap.xacml.rest.controller.DecisionPolicyDictionaryController;
30 import org.onap.policy.pap.xacml.rest.controller.DescriptiveDictionaryController;
31 import org.onap.policy.pap.xacml.rest.controller.DictionaryController;
32 import org.onap.policy.pap.xacml.rest.controller.FirewallDictionaryController;
33 import org.onap.policy.pap.xacml.rest.controller.MicroServiceDictionaryController;
34 import org.onap.policy.pap.xacml.rest.controller.OptimizationDictionaryController;
35 import org.onap.policy.pap.xacml.rest.controller.PolicyScopeDictionaryController;
36 import org.onap.policy.pap.xacml.rest.controller.SafePolicyController;
37 import org.springframework.stereotype.Service;
38 import org.springframework.web.servlet.ModelAndView;
39
40
41 // TODO: Auto-generated Javadoc
42 /**
43  * The Class DictionaryService.
44  */
45 @Service("DictionaryService")
46 public class DictionaryService {
47
48     /**
49      * Save onap dictionary.
50      *
51      * @param request the request
52      * @param response the response
53      * @return the string
54      * @throws IOException Signals that an I/O exception has occurred.
55      */
56     /*
57      * Methods that call the controller method directly to Save and Update dictionary data
58      */
59     public String saveOnapDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
60
61         DictionaryController dictionary = new DictionaryController();
62         ModelAndView result = dictionary.saveOnapDictionary(request, response);
63         return result.getViewName();
64     }
65
66     /**
67      * Save attribute dictionary.
68      *
69      * @param request the request
70      * @param response the response
71      * @return the string
72      * @throws IOException Signals that an I/O exception has occurred.
73      */
74     public String saveAttributeDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
75
76         DictionaryController dictionary = new DictionaryController();
77         ModelAndView result = dictionary.saveAttributeDictionary(request, response);
78         return result.getViewName();
79     }
80
81     /**
82      * Save action policy dictionary.
83      *
84      * @param request the request
85      * @param response the response
86      * @return the string
87      * @throws IOException Signals that an I/O exception has occurred.
88      */
89     public String saveActionPolicyDictionary(HttpServletRequest request, HttpServletResponse response)
90             throws IOException {
91
92         ActionPolicyDictionaryController action = new ActionPolicyDictionaryController();
93         ModelAndView result = action.saveActionPolicyDictionary(request, response);
94         return result.getViewName();
95     }
96
97     /**
98      * Save BRMS param dictionary.
99      *
100      * @param request the request
101      * @param response the response
102      * @return the string
103      * @throws IOException Signals that an I/O exception has occurred.
104      */
105     public String saveBRMSParamDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
106
107         BRMSDictionaryController dictionary = new BRMSDictionaryController();
108         ModelAndView result = dictionary.saveBRMSParamDictionary(request, response);
109         return result.getViewName();
110     }
111
112     /**
113      * Save VSCL action.
114      *
115      * @param request the request
116      * @param response the response
117      * @return the string
118      * @throws IOException Signals that an I/O exception has occurred.
119      */
120     public String saveVSCLAction(HttpServletRequest request, HttpServletResponse response) throws IOException {
121
122         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
123         ModelAndView result = dictionary.saveVSCLAction(request, response);
124         return result.getViewName();
125     }
126
127     /**
128      * Save vnf type.
129      *
130      * @param request the request
131      * @param response the response
132      * @return the string
133      * @throws IOException Signals that an I/O exception has occurred.
134      */
135     public String saveVnfType(HttpServletRequest request, HttpServletResponse response) throws IOException {
136
137         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
138         ModelAndView result = dictionary.saveVnfType(request, response);
139         return result.getViewName();
140     }
141
142     /**
143      * Save PEP options.
144      *
145      * @param request the request
146      * @param response the response
147      * @return the string
148      * @throws IOException Signals that an I/O exception has occurred.
149      */
150     public String savePEPOptions(HttpServletRequest request, HttpServletResponse response) throws IOException {
151
152         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
153         ModelAndView result = dictionary.savePEPOptions(request, response);
154         return result.getViewName();
155     }
156
157     /**
158      * Save varbind.
159      *
160      * @param request the request
161      * @param response the response
162      * @return the string
163      * @throws IOException Signals that an I/O exception has occurred.
164      */
165     public String saveVarbind(HttpServletRequest request, HttpServletResponse response) throws IOException {
166
167         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
168         ModelAndView result = dictionary.saveVarbind(request, response);
169         return result.getViewName();
170     }
171
172     /**
173      * Save service type.
174      *
175      * @param request the request
176      * @param response the response
177      * @return the string
178      * @throws IOException Signals that an I/O exception has occurred.
179      */
180     public String saveServiceType(HttpServletRequest request, HttpServletResponse response) throws IOException {
181
182         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
183         ModelAndView result = dictionary.saveServiceType(request, response);
184         return result.getViewName();
185     }
186
187     /**
188      * Save site type.
189      *
190      * @param request the request
191      * @param response the response
192      * @return the string
193      * @throws IOException Signals that an I/O exception has occurred.
194      */
195     public String saveSiteType(HttpServletRequest request, HttpServletResponse response) throws IOException {
196
197         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
198         ModelAndView result = dictionary.saveSiteType(request, response);
199         return result.getViewName();
200     }
201
202     /**
203      * Save settings dictionary.
204      *
205      * @param request the request
206      * @param response the response
207      * @return the string
208      * @throws IOException Signals that an I/O exception has occurred.
209      */
210     public String saveSettingsDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
211
212         DecisionPolicyDictionaryController dictionary = new DecisionPolicyDictionaryController();
213         ModelAndView result = dictionary.saveSettingsDictionary(request, response);
214         return result.getViewName();
215     }
216
217     /**
218      * Save rainy day dictionary.
219      *
220      * @param request the request
221      * @param response the response
222      * @return the string
223      * @throws IOException Signals that an I/O exception has occurred.
224      */
225     public String saveRainyDayDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
226
227         DecisionPolicyDictionaryController dictionary = new DecisionPolicyDictionaryController();
228         ModelAndView result = dictionary.saveRainyDayDictionary(request, response);
229         return result.getViewName();
230     }
231
232     /**
233      * Save descriptive dictionary.
234      *
235      * @param request the request
236      * @param response the response
237      * @return the string
238      * @throws IOException Signals that an I/O exception has occurred.
239      */
240     public String saveDescriptiveDictionary(HttpServletRequest request, HttpServletResponse response)
241             throws IOException {
242
243         DescriptiveDictionaryController dictionary = new DescriptiveDictionaryController();
244         ModelAndView result = dictionary.saveDescriptiveDictionary(request, response);
245         return result.getViewName();
246     }
247
248     /**
249      * Save action list dictionary.
250      *
251      * @param request the request
252      * @param response the response
253      * @return the string
254      * @throws IOException Signals that an I/O exception has occurred.
255      */
256     public String saveActionListDictionary(HttpServletRequest request, HttpServletResponse response)
257             throws IOException {
258
259         FirewallDictionaryController dictionary = new FirewallDictionaryController();
260         ModelAndView result = dictionary.saveActionListDictionary(request, response);
261         return result.getViewName();
262     }
263
264     /**
265      * Save protocol list dictionary.
266      *
267      * @param request the request
268      * @param response the response
269      * @return the string
270      * @throws IOException Signals that an I/O exception has occurred.
271      */
272     public String saveProtocolListDictionary(HttpServletRequest request, HttpServletResponse response)
273             throws IOException {
274
275         FirewallDictionaryController dictionary = new FirewallDictionaryController();
276         ModelAndView result = dictionary.saveProtocolListDictionary(request, response);
277         return result.getViewName();
278     }
279
280     /**
281      * Save zone dictionary.
282      *
283      * @param request the request
284      * @param response the response
285      * @return the string
286      * @throws IOException Signals that an I/O exception has occurred.
287      */
288     public String saveZoneDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
289
290         FirewallDictionaryController dictionary = new FirewallDictionaryController();
291         ModelAndView result = dictionary.saveZoneDictionary(request, response);
292         return result.getViewName();
293     }
294
295     /**
296      * Save security zone dictionary.
297      *
298      * @param request the request
299      * @param response the response
300      * @return the string
301      * @throws IOException Signals that an I/O exception has occurred.
302      */
303     public String saveSecurityZoneDictionary(HttpServletRequest request, HttpServletResponse response)
304             throws IOException {
305
306         FirewallDictionaryController dictionary = new FirewallDictionaryController();
307         ModelAndView result = dictionary.saveSecurityZoneDictionary(request, response);
308         return result.getViewName();
309     }
310
311     /**
312      * Save prefix list dictionary.
313      *
314      * @param request the request
315      * @param response the response
316      * @return the string
317      * @throws IOException Signals that an I/O exception has occurred.
318      */
319     public String savePrefixListDictionary(HttpServletRequest request, HttpServletResponse response)
320             throws IOException {
321
322         FirewallDictionaryController dictionary = new FirewallDictionaryController();
323         ModelAndView result = dictionary.savePrefixListDictionary(request, response);
324         return result.getViewName();
325     }
326
327     /**
328      * Save address group dictionary.
329      *
330      * @param request the request
331      * @param response the response
332      * @return the string
333      * @throws IOException Signals that an I/O exception has occurred.
334      */
335     public String saveAddressGroupDictionary(HttpServletRequest request, HttpServletResponse response)
336             throws IOException {
337
338         FirewallDictionaryController dictionary = new FirewallDictionaryController();
339         ModelAndView result = dictionary.saveAddressGroupDictionary(request, response);
340         return result.getViewName();
341     }
342
343     /**
344      * Save service group dictionary.
345      *
346      * @param request the request
347      * @param response the response
348      * @return the string
349      * @throws IOException Signals that an I/O exception has occurred.
350      */
351     public String saveServiceGroupDictionary(HttpServletRequest request, HttpServletResponse response)
352             throws IOException {
353
354         FirewallDictionaryController dictionary = new FirewallDictionaryController();
355         ModelAndView result = dictionary.saveServiceGroupDictionary(request, response);
356         return result.getViewName();
357     }
358
359     /**
360      * Save service list dictionary.
361      *
362      * @param request the request
363      * @param response the response
364      * @return the string
365      * @throws IOException Signals that an I/O exception has occurred.
366      */
367     public String saveServiceListDictionary(HttpServletRequest request, HttpServletResponse response)
368             throws IOException {
369
370         FirewallDictionaryController dictionary = new FirewallDictionaryController();
371         ModelAndView result = dictionary.saveServiceListDictionary(request, response);
372         return result.getViewName();
373     }
374
375     /**
376      * Save term list dictionary.
377      *
378      * @param request the request
379      * @param response the response
380      * @return the string
381      * @throws IOException Signals that an I/O exception has occurred.
382      */
383     public String saveTermListDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
384
385         FirewallDictionaryController dictionary = new FirewallDictionaryController();
386         ModelAndView result = dictionary.saveTermListDictionary(request, response);
387         return result.getViewName();
388     }
389
390
391
392     /**
393      * Save micro service location dictionary.
394      *
395      * @param request the request
396      * @param response the response
397      * @return the string
398      * @throws IOException Signals that an I/O exception has occurred.
399      */
400     public String saveMicroServiceLocationDictionary(HttpServletRequest request, HttpServletResponse response)
401             throws IOException {
402
403         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
404         ModelAndView result = dictionary.saveMicroServiceLocationDictionary(request, response);
405         return result.getViewName();
406     }
407
408     /**
409      * Save micro service config name dictionary.
410      *
411      * @param request the request
412      * @param response the response
413      * @return the string
414      * @throws IOException Signals that an I/O exception has occurred.
415      */
416     public String saveMicroServiceConfigNameDictionary(HttpServletRequest request, HttpServletResponse response)
417             throws IOException {
418
419         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
420         ModelAndView result = dictionary.saveMicroServiceConfigNameDictionary(request, response);
421         return result.getViewName();
422     }
423
424     /**
425      * Save micro service dictionary data.
426      *
427      * @param request the request
428      * @param response the response
429      * @return the string
430      * @throws IOException Signals that an I/O exception has occurred.
431      */
432     public String saveMicroServiceDictionaryData(HttpServletRequest request, HttpServletResponse response)
433             throws IOException {
434
435         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
436         ModelAndView result = dictionary.saveDictionaryData(request, response);
437         return result.getViewName();
438     }
439
440     /**
441      * Save DCAEUUID dictionary.
442      *
443      * @param request the request
444      * @param response the response
445      * @return the string
446      * @throws IOException Signals that an I/O exception has occurred.
447      */
448     public String saveDCAEUUIDDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
449
450         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
451         ModelAndView result = dictionary.saveDCAEUUIDDictionary(request, response);
452         return result.getViewName();
453     }
454
455     /**
456      * Save micro service models dictionary.
457      *
458      * @param request the request
459      * @param response the response
460      * @return the string
461      * @throws IOException Signals that an I/O exception has occurred.
462      */
463     public String saveMicroServiceModelsDictionary(HttpServletRequest request, HttpServletResponse response)
464             throws IOException {
465
466         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
467         ModelAndView result = dictionary.saveMicroServiceModelsDictionary(request, response);
468         return result.getViewName();
469     }
470
471     /**
472      * Save micro service dictionary.
473      *
474      * @param request the request
475      * @param response the response
476      * @return the string
477      * @throws IOException Signals that an I/O exception has occurred.
478      */
479     public String saveMicroServiceDictionary(HttpServletRequest request, HttpServletResponse response)
480             throws IOException {
481
482         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
483         ModelAndView result = dictionary.saveMicroServiceAttributeDictionary(request, response);
484         return result.getViewName();
485     }
486
487     /**
488      * Save optimization models dictionary.
489      *
490      * @param request the request
491      * @param response the response
492      * @return the string
493      * @throws IOException Signals that an I/O exception has occurred.
494      */
495     public String saveOptimizationModelsDictionary(HttpServletRequest request, HttpServletResponse response)
496             throws IOException {
497
498         OptimizationDictionaryController dictionary = new OptimizationDictionaryController();
499         ModelAndView result = dictionary.saveOptimizationModelsDictionary(request, response);
500         return result.getViewName();
501     }
502
503     /**
504      * Save PS service dictionary.
505      *
506      * @param request the request
507      * @param response the response
508      * @return the string
509      * @throws IOException Signals that an I/O exception has occurred.
510      */
511     public String savePSServiceDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
512
513         PolicyScopeDictionaryController dictionary = new PolicyScopeDictionaryController();
514         ModelAndView result = dictionary.savePSServiceDictionary(request, response);
515         return result.getViewName();
516     }
517
518     /**
519      * Save PS resource dictionary.
520      *
521      * @param request the request
522      * @param response the response
523      * @return the string
524      * @throws IOException Signals that an I/O exception has occurred.
525      */
526     public String savePSResourceDictionary(HttpServletRequest request, HttpServletResponse response)
527             throws IOException {
528
529         PolicyScopeDictionaryController dictionary = new PolicyScopeDictionaryController();
530         ModelAndView result = dictionary.savePSResourceDictionary(request, response);
531         return result.getViewName();
532     }
533
534     /**
535      * Save PS type dictionary.
536      *
537      * @param request the request
538      * @param response the response
539      * @return the string
540      * @throws IOException Signals that an I/O exception has occurred.
541      */
542     public String savePSTypeDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
543
544         PolicyScopeDictionaryController dictionary = new PolicyScopeDictionaryController();
545         ModelAndView result = dictionary.savePSTypeDictionary(request, response);
546         return result.getViewName();
547     }
548
549     /**
550      * Save PS closed loop dictionary.
551      *
552      * @param request the request
553      * @param response the response
554      * @return the string
555      * @throws IOException Signals that an I/O exception has occurred.
556      */
557     public String savePSClosedLoopDictionary(HttpServletRequest request, HttpServletResponse response)
558             throws IOException {
559
560         PolicyScopeDictionaryController dictionary = new PolicyScopeDictionaryController();
561         ModelAndView result = dictionary.savePSClosedLoopDictionary(request, response);
562         return result.getViewName();
563     }
564
565     /**
566      * Save PS group scope dictionary.
567      *
568      * @param request the request
569      * @param response the response
570      * @return the string
571      * @throws IOException Signals that an I/O exception has occurred.
572      */
573     public String savePSGroupScopeDictionary(HttpServletRequest request, HttpServletResponse response)
574             throws IOException {
575
576         PolicyScopeDictionaryController dictionary = new PolicyScopeDictionaryController();
577         ModelAndView result = dictionary.savePSGroupScopeDictionary(request, response);
578         return result.getViewName();
579     }
580
581     /**
582      * Save risk type dictionary.
583      *
584      * @param request the request
585      * @param response the response
586      * @return the string
587      * @throws IOException Signals that an I/O exception has occurred.
588      */
589     public String saveRiskTypeDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
590
591         SafePolicyController dictionary = new SafePolicyController();
592         ModelAndView result = dictionary.saveRiskTypeDictionary(request, response);
593         return result.getViewName();
594     }
595
596     /**
597      * Save safe policy warning dictionary.
598      *
599      * @param request the request
600      * @param response the response
601      * @return the string
602      * @throws IOException Signals that an I/O exception has occurred.
603      */
604     public String saveSafePolicyWarningDictionary(HttpServletRequest request, HttpServletResponse response)
605             throws IOException {
606         SafePolicyController dictionary = new SafePolicyController();
607         ModelAndView result = dictionary.saveSafePolicyWarningDictionary(request, response);
608         return result.getViewName();
609     }
610
611
612     /**
613      * Gets the onap dictionary.
614      *
615      * @param response the response
616      * @return the onap dictionary
617      */
618     /*
619      * Methods that call the controller get methods directly to get dictionary data
620      */
621     public void getOnapDictionary(HttpServletResponse response) {
622         DictionaryController dictionary = new DictionaryController();
623         dictionary.getOnapNameDictionaryEntityData(response);
624     }
625
626     /**
627      * Gets the attribute dictionary.
628      *
629      * @param response the response
630      * @return the attribute dictionary
631      */
632     public void getAttributeDictionary(HttpServletResponse response) {
633         DictionaryController dictionary = new DictionaryController();
634         dictionary.getAttributeDictionaryEntityData(response);
635     }
636
637     /**
638      * Gets the action policy dictionary.
639      *
640      * @param response the response
641      * @return the action policy dictionary
642      */
643     public void getActionPolicyDictionary(HttpServletResponse response) {
644         ActionPolicyDictionaryController action = new ActionPolicyDictionaryController();
645         action.getActionPolicyDictionaryEntityData(response);
646     }
647
648     /**
649      * Gets the BRMS param dictionary.
650      *
651      * @param response the response
652      * @return the BRMS param dictionary
653      */
654     public void getBRMSParamDictionary(HttpServletResponse response) {
655         BRMSDictionaryController dictionary = new BRMSDictionaryController();
656         dictionary.getBRMSParamDictionaryEntityData(response);
657     }
658
659     /**
660      * Gets the VSCL action.
661      *
662      * @param response the response
663      * @return the VSCL action
664      */
665     public void getVSCLAction(HttpServletResponse response) {
666         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
667         dictionary.getVSCLActionDictionaryEntityData(response);
668     }
669
670     /**
671      * Gets the vnf type.
672      *
673      * @param response the response
674      * @return the vnf type
675      */
676     public void getVnfType(HttpServletResponse response) {
677         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
678         dictionary.getVNFTypeDictionaryEntityData(response);
679     }
680
681     /**
682      * Gets the PEP options.
683      *
684      * @param response the response
685      * @return the PEP options
686      */
687     public void getPEPOptions(HttpServletResponse response) {
688         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
689         dictionary.getPEPOptionsDictionaryEntityData(response);
690     }
691
692     /**
693      * Gets the varbind.
694      *
695      * @param response the response
696      * @return the varbind
697      */
698     public void getVarbind(HttpServletResponse response) {
699         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
700         dictionary.getVarbindDictionaryEntityData(response);
701     }
702
703     /**
704      * Gets the service type.
705      *
706      * @param response the response
707      * @return the service type
708      */
709     public void getServiceType(HttpServletResponse response) {
710         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
711         dictionary.getClosedLoopServiceDictionaryEntityData(response);
712     }
713
714     /**
715      * Gets the site type.
716      *
717      * @param response the response
718      * @return the site type
719      */
720     public void getSiteType(HttpServletResponse response) {
721         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
722         dictionary.getClosedLoopSiteDictionaryEntityData(response);
723     }
724
725     /**
726      * Gets the settings dictionary.
727      *
728      * @param response the response
729      * @return the settings dictionary
730      */
731     public void getSettingsDictionary(HttpServletResponse response) {
732         DecisionPolicyDictionaryController dictionary = new DecisionPolicyDictionaryController();
733         dictionary.getSettingsDictionaryEntityData(response);
734     }
735
736     /**
737      * Gets the rainy day dictionary.
738      *
739      * @param response the response
740      * @return the rainy day dictionary
741      */
742     public void getRainyDayDictionary(HttpServletResponse response) {
743         DecisionPolicyDictionaryController dictionary = new DecisionPolicyDictionaryController();
744         dictionary.getRainyDayDictionaryEntityData(response);
745     }
746
747     /**
748      * Gets the descriptive dictionary.
749      *
750      * @param response the response
751      * @return the descriptive dictionary
752      */
753     public void getDescriptiveDictionary(HttpServletResponse response) {
754         DescriptiveDictionaryController dictionary = new DescriptiveDictionaryController();
755         dictionary.getDescriptiveDictionaryEntityData(response);
756     }
757
758     /**
759      * Gets the action list dictionary.
760      *
761      * @param response the response
762      * @return the action list dictionary
763      */
764     public void getActionListDictionary(HttpServletResponse response) {
765         FirewallDictionaryController dictionary = new FirewallDictionaryController();
766         dictionary.getActionListDictionaryEntityData(response);
767     }
768
769     /**
770      * Gets the protocol list dictionary.
771      *
772      * @param response the response
773      * @return the protocol list dictionary
774      */
775     public void getProtocolListDictionary(HttpServletResponse response) {
776         FirewallDictionaryController dictionary = new FirewallDictionaryController();
777         dictionary.getProtocolListDictionaryEntityData(response);
778     }
779
780     /**
781      * Gets the zone dictionary.
782      *
783      * @param response the response
784      * @return the zone dictionary
785      */
786     public void getZoneDictionary(HttpServletResponse response) {
787         FirewallDictionaryController dictionary = new FirewallDictionaryController();
788         dictionary.getZoneDictionaryEntityData(response);
789     }
790
791     /**
792      * Gets the security zone dictionary.
793      *
794      * @param response the response
795      * @return the security zone dictionary
796      */
797     public void getSecurityZoneDictionary(HttpServletResponse response) {
798         FirewallDictionaryController dictionary = new FirewallDictionaryController();
799         dictionary.getSecurityZoneDictionaryEntityData(response);
800     }
801
802     /**
803      * Gets the prefix list dictionary.
804      *
805      * @param response the response
806      * @return the prefix list dictionary
807      */
808     public void getPrefixListDictionary(HttpServletResponse response) {
809         FirewallDictionaryController dictionary = new FirewallDictionaryController();
810         dictionary.getPrefixListDictionaryEntityData(response);
811     }
812
813     /**
814      * Gets the address group dictionary.
815      *
816      * @param response the response
817      * @return the address group dictionary
818      */
819     public void getAddressGroupDictionary(HttpServletResponse response) {
820         FirewallDictionaryController dictionary = new FirewallDictionaryController();
821         dictionary.getAddressGroupDictionaryEntityData(response);
822     }
823
824     /**
825      * Gets the service group dictionary.
826      *
827      * @param response the response
828      * @return the service group dictionary
829      */
830     public void getServiceGroupDictionary(HttpServletResponse response) {
831         FirewallDictionaryController dictionary = new FirewallDictionaryController();
832         dictionary.getServiceGroupDictionaryEntityData(response);
833     }
834
835     /**
836      * Gets the service list dictionary.
837      *
838      * @param response the response
839      * @return the service list dictionary
840      */
841     public void getServiceListDictionary(HttpServletResponse response) {
842         FirewallDictionaryController dictionary = new FirewallDictionaryController();
843         dictionary.getServiceListDictionaryEntityData(response);
844     }
845
846     /**
847      * Gets the term list dictionary.
848      *
849      * @param response the response
850      * @return the term list dictionary
851      */
852     public void getTermListDictionary(HttpServletResponse response) {
853         FirewallDictionaryController dictionary = new FirewallDictionaryController();
854         dictionary.getTermListDictionaryEntityData(response);
855     }
856
857
858     /**
859      * Gets the micro service location dictionary.
860      *
861      * @param response the response
862      * @return the micro service location dictionary
863      */
864     public void getMicroServiceLocationDictionary(HttpServletResponse response) {
865         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
866         dictionary.getMicroServiceLocationDictionaryEntityData(response);
867     }
868
869     /**
870      * Gets the micro service config name dictionary.
871      *
872      * @param response the response
873      * @return the micro service config name dictionary
874      */
875     public void getMicroServiceConfigNameDictionary(HttpServletResponse response) {
876         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
877         dictionary.getMicroServiceConfigNameDictionaryEntityData(response);
878     }
879
880     /**
881      * Gets the micro service dictionary data.
882      *
883      * @param response the response
884      * @return the micro service dictionary data
885      */
886     public void getMicroServiceDictionaryData(HttpServletResponse response) {
887         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
888         dictionary.getMicroServiceDictNameDictionaryEntityData(response);
889     }
890
891     /**
892      * Gets the DCAEUUID dictionary.
893      *
894      * @param response the response
895      * @return the DCAEUUID dictionary
896      */
897     public void getDCAEUUIDDictionary(HttpServletResponse response) {
898         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
899         dictionary.getDCAEUUIDDictionaryEntityData(response);
900     }
901
902     /**
903      * Gets the micro service models dictionary.
904      *
905      * @param response the response
906      * @return the micro service models dictionary
907      */
908     public void getMicroServiceModelsDictionary(HttpServletResponse response) {
909         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
910         dictionary.getMicroServiceModelsDictionaryEntityData(response);
911     }
912
913     /**
914      * Gets the micro service dictionary.
915      *
916      * @param response the response
917      * @return the micro service dictionary
918      */
919     public void getMicroServiceDictionary(HttpServletResponse response) {
920         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
921         dictionary.getMicroServiceModelsDictionaryEntityData(response);
922     }
923
924     /**
925      * Gets the optimization models dictionary.
926      *
927      * @param response the response
928      * @return the optimization models dictionary
929      */
930     public void getOptimizationModelsDictionary(HttpServletResponse response) {
931         OptimizationDictionaryController dictionary = new OptimizationDictionaryController();
932         dictionary.getOptimizationModelsDictionaryEntityData(response);
933     }
934
935     /**
936      * Gets the PS service dictionary.
937      *
938      * @param response the response
939      * @return the PS service dictionary
940      */
941     public void getPSServiceDictionary(HttpServletResponse response) {
942         PolicyScopeDictionaryController dictionary = new PolicyScopeDictionaryController();
943         dictionary.getPSServiceEntityData(response);
944     }
945
946     /**
947      * Gets the PS resource dictionary.
948      *
949      * @param response the response
950      * @return the PS resource dictionary
951      */
952     public void getPSResourceDictionary(HttpServletResponse response) {
953         PolicyScopeDictionaryController dictionary = new PolicyScopeDictionaryController();
954         dictionary.getPSResourceEntityData(response);
955     }
956
957     /**
958      * Gets the PS type dictionary.
959      *
960      * @param response the response
961      * @return the PS type dictionary
962      */
963     public void getPSTypeDictionary(HttpServletResponse response) {
964         PolicyScopeDictionaryController dictionary = new PolicyScopeDictionaryController();
965         dictionary.getPSTypeEntityData(response);
966     }
967
968     /**
969      * Gets the PS closed loop dictionary.
970      *
971      * @param response the response
972      * @return the PS closed loop dictionary
973      */
974     public void getPSClosedLoopDictionary(HttpServletResponse response) {
975         PolicyScopeDictionaryController dictionary = new PolicyScopeDictionaryController();
976         dictionary.getPSClosedLoopEntityData(response);
977     }
978
979     /**
980      * Gets the PS group scope dictionary.
981      *
982      * @param response the response
983      * @return the PS group scope dictionary
984      */
985     public void getPSGroupScopeDictionary(HttpServletResponse response) {
986         PolicyScopeDictionaryController dictionary = new PolicyScopeDictionaryController();
987         dictionary.getGroupPolicyScopeEntityData(response);
988     }
989
990     /**
991      * Gets the risk type dictionary.
992      *
993      * @param response the response
994      * @return the risk type dictionary
995      */
996     public void getRiskTypeDictionary(HttpServletResponse response) {
997         SafePolicyController dictionary = new SafePolicyController();
998         dictionary.getRiskTypeDictionaryEntityData(response);
999     }
1000
1001     /**
1002      * Gets the safe policy warning dictionary.
1003      *
1004      * @param response the response
1005      * @return the safe policy warning dictionary
1006      */
1007     public void getSafePolicyWarningDictionary(HttpServletResponse response) {
1008         SafePolicyController dictionary = new SafePolicyController();
1009         dictionary.getSafePolicyWarningeEntityData(response);
1010     }
1011 }