airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samin...@apache.org
Subject svn commit: r1555452 - /airavata/trunk/modules/rest/mappings/src/main/java/org/apache/airavata/rest/mappings/utils/DescriptorUtil.java
Date Sun, 05 Jan 2014 04:16:02 GMT
Author: samindaw
Date: Sun Jan  5 04:16:02 2014
New Revision: 1555452

URL: http://svn.apache.org/r1555452
Log:
https://issues.apache.org/jira/browse/AIRAVATA-970 - patch submitted by Shameera

Modified:
    airavata/trunk/modules/rest/mappings/src/main/java/org/apache/airavata/rest/mappings/utils/DescriptorUtil.java

Modified: airavata/trunk/modules/rest/mappings/src/main/java/org/apache/airavata/rest/mappings/utils/DescriptorUtil.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/rest/mappings/src/main/java/org/apache/airavata/rest/mappings/utils/DescriptorUtil.java?rev=1555452&r1=1555451&r2=1555452&view=diff
==============================================================================
--- airavata/trunk/modules/rest/mappings/src/main/java/org/apache/airavata/rest/mappings/utils/DescriptorUtil.java
(original)
+++ airavata/trunk/modules/rest/mappings/src/main/java/org/apache/airavata/rest/mappings/utils/DescriptorUtil.java
Sun Jan  5 04:16:02 2014
@@ -233,6 +233,7 @@ public class DescriptorUtil {
             InputParameterType parameter = InputParameterType.Factory.newInstance();
             parameter.setParameterName(inputParams.get(i).getName());
             parameter.setParameterValueArray(new String[]{inputParams.get(i).getName()});
+            parameter.setParameterDescription(inputParams.get(i).getDescription());
             ParameterType parameterType = parameter.addNewParameterType();
             parameterType.setType(DataType.Enum.forString(inputParams.get(i).getType()));
             parameterType.setName(inputParams.get(i).getType());
@@ -246,6 +247,7 @@ public class DescriptorUtil {
         for (int i = 0; i < outputParams.size(); i++){
             OutputParameterType parameter = OutputParameterType.Factory.newInstance();
             parameter.setParameterName(outputParams.get(i).getName());
+            parameter.setParameterDescription(outputParams.get(i).getDescription());
             ParameterType parameterType = parameter.addNewParameterType();
             parameterType.setType(DataType.Enum.forString(outputParams.get(i).getType()));
             parameterType.setName(outputParams.get(i).getType());



Mime
View raw message