Decision BlackList Guard Enhancements
[policy/engine.git] / ONAP-REST / src / main / java / org / onap / policy / rest / adapter / PolicyRestAdapter.java
index b4056a3..e815fe2 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START=======================================================
  * ONAP-PAP-REST
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -20,7 +20,6 @@
 
 package org.onap.policy.rest.adapter;
 
-import java.util.ArrayList;
 import java.util.LinkedHashMap;
 import java.util.List;
 import java.util.Map;
@@ -98,6 +97,8 @@ public class PolicyRestAdapter {
        private String trapMaxAge;
        private String verificationclearTimeOut;
        private Map<String , String> dynamicLayoutMap;
+       private ClosedLoopFaultTrapDatas trapDatas;
+       private ClosedLoopFaultTrapDatas faultDatas;
        
     //FireWall
     private String fwPolicyType;
@@ -126,6 +127,9 @@ public class PolicyRestAdapter {
        private String actionDictUrl = null;
        private String actionDictMethod = null;
        private YAMLParams yamlparams; 
+       private List<String> blackListEntries;
+       private List<String> appendBlackListEntries;
+       private String blackListEntryType;
        
        //Rainy Day Decision
        private RainyDayParams rainyday;
@@ -893,4 +897,35 @@ public class PolicyRestAdapter {
        public void setPolicyJSON(Object policyJSON) {
                this.policyJSON = policyJSON;
        }
+       
+       public ClosedLoopFaultTrapDatas getTrapDatas() {
+               return trapDatas;
+       }
+       public void setTrapDatas(ClosedLoopFaultTrapDatas trapDatas) {
+               this.trapDatas = trapDatas;
+       }
+       public ClosedLoopFaultTrapDatas getFaultDatas() {
+               return faultDatas;
+       }
+       public void setFaultDatas(ClosedLoopFaultTrapDatas faultDatas) {
+               this.faultDatas = faultDatas;
+       }
+       public List<String> getAppendBlackListEntries() {
+               return appendBlackListEntries;
+       }
+       public void setAppendBlackListEntries(List<String> appendBlackListEntries) {
+               this.appendBlackListEntries = appendBlackListEntries;
+       }
+       public List<String> getBlackListEntries() {
+               return blackListEntries;
+       }
+       public void setBlackListEntries(List<String> blackListEntries) {
+               this.blackListEntries = blackListEntries;
+       }
+       public String getBlackListEntryType() {
+               return blackListEntryType;
+       }
+       public void setBlackListEntryType(String blackListEntryType) {
+               this.blackListEntryType = blackListEntryType;
+       }
 }