Add RIC instance list and controller method
[portal/ric-dashboard.git] / webapp-backend / src / main / java / org / oransc / ric / portal / dashboard / model / AppTransport.java
index fbc7bbc..ea04067 100644 (file)
@@ -21,9 +21,8 @@
 package org.oransc.ric.portal.dashboard.model;
 
 /**
- * Trivial model to transport available application from the App manager. I
- * expect that system will soon add additional attributes. This allows coding to
- * a structure rather than a scalar.
+ * Trivial model to transport available application details from the App
+ * manager.
  */
 public class AppTransport implements IDashboardResponse {
 
@@ -63,4 +62,9 @@ public class AppTransport implements IDashboardResponse {
                this.version = version;
        }
 
+       @Override
+       public String toString() {
+               return this.getClass().getName() + "[name=" + getName() + ", version=" + getVersion() + "]";
+       }
+
 }