ansible chnages for adding configdata and bugfixes
[appc.git] / appc-adapters / appc-ansible-adapter / appc-ansible-adapter-bundle / src / main / java / org / onap / appc / adapter / ansible / model / AnsibleResult.java
index de6b180..9ebc63f 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START=======================================================
  * ONAP : APPC
  * ================================================================================
- * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2018-2019 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  * Copyright (C) 2017 Amdocs
  * =============================================================================
@@ -34,6 +34,8 @@ public class AnsibleResult {
     private String statusMessage;
     private String results;
     private String output;
+    private String serverIp;
+    private String configData;
 
     public AnsibleResult() {
         this(-1, EMPTY_VALUE, EMPTY_VALUE);
@@ -75,6 +77,10 @@ public class AnsibleResult {
     public void setResults(String results) {
         this.results = results;
     }
+    
+    public void setServerIp(String serverIp) {
+        this.serverIp = serverIp;
+    }
 
     void set(int code, String message, String results, String output) {
         this.statusCode = code;
@@ -95,4 +101,18 @@ public class AnsibleResult {
     public String getResults() {
         return this.results;
     }
+
+    public String getServerIp() {
+        return this.serverIp;
+    }
+   
+    public String getconfigData() {
+               return this.configData;
+       }
+
+    public void setconfigData(String configData) {
+               this.configData = configData;
+       }
+
+
 }