X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ECOMP-REST%2Fsrc%2Fmain%2Fjava%2Forg%2Fopenecomp%2Fpolicy%2Frest%2Fadapter%2FPolicyRestAdapter.java;h=27da724e253b38eed851a75c86c2078ea472c53e;hb=eb654437ee2815028602daa943d0a939a5bee3cd;hp=8c54f2a2d9081859fb27af6693c8e69ecfefbc6f;hpb=bb927b5325d7b82cdc65bf25aa217ad7c56a46b3;p=policy%2Fengine.git diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/adapter/PolicyRestAdapter.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/adapter/PolicyRestAdapter.java index 8c54f2a2d..27da724e2 100644 --- a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/adapter/PolicyRestAdapter.java +++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/adapter/PolicyRestAdapter.java @@ -127,6 +127,12 @@ public class PolicyRestAdapter { private String actionDictMethod = null; private YAMLParams yamlparams; + //Rainy Day Decision + private RainyDayParams rainyday; + private Map rainydayMap; + private List errorCodeList; + private List treatmentList; + //MicroSerice private String serviceType = null; private String uuid = null; @@ -150,7 +156,7 @@ public class PolicyRestAdapter { private String riskLevel; private String guard = null; private String ttlDate; - private Map matching; + private Map matching; private ArrayList triggerSignatures; private ArrayList symptomSignatures; @@ -839,4 +845,52 @@ public class PolicyRestAdapter { public void setYamlparams(YAMLParams yamlparams) { this.yamlparams = yamlparams; } + /** + * @return the rainyday + */ + public RainyDayParams getRainyday() { + return rainyday; + } + /** + * @param rainyday the rainyday to set + */ + public void setRainyday(RainyDayParams rainyday) { + this.rainyday = rainyday; + } + /** + * @return the errorCodeList + */ + public List getErrorCodeList() { + return errorCodeList; + } + /** + * @param errorCodeList the errorCodeList to set + */ + public void setErrorCodeList(List errorCodeList) { + this.errorCodeList = errorCodeList; + } + /** + * @return the treatmentList + */ + public List getTreatmentList() { + return treatmentList; + } + /** + * @param treatmentList the treatmentList to set + */ + public void setTreatmentList(List treatmentList) { + this.treatmentList = treatmentList; + } + /** + * @return the rainydayMap + */ + public Map getRainydayMap() { + return rainydayMap; + } + /** + * @param rainydayMap the rainydayMap to set + */ + public void setRainydayMap(Map rainydayMap) { + this.rainydayMap = rainydayMap; + } }