wujimin commented on a change in pull request #497: [JAV-579]support strArray
URL: 
https://github.com/apache/incubator-servicecomb-java-chassis/pull/497#discussion_r160838286
 
 

 ##########
 File path: 
demo/demo-schema/src/main/java/io/servicecomb/demo/CodeFirstRestTemplate.java
 ##########
 @@ -75,9 +77,24 @@ public void testCodeFirst(RestTemplate template, String 
microserviceName, String
       testTraceIdOnContextContainsTraceId(template, cseUrlPrefix);
 
       testRawJson(template, cseUrlPrefix);
+      testStrArray(template, cseUrlPrefix);
     }
   }
 
+  private void testStrArray(RestTemplate template, String cseUrlPrefix) {
+    String[] instrArray = {"a1,b1,c1"};
+    ArrayList result = template.getForObject(cseUrlPrefix + 
"testGetStrArray?str=a1,b1,c1", ArrayList.class);
 
 Review comment:
   compile warning?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to