code: public static List<Datasource> datasources(final String ds) {
          if (ds.contains(",")) {
              return stream(ds.split(",")).map(Datasource::datasource).collect(toList());
          } else {
              return singletonList(datasource(ds));
          }
      }
docs: Parses the comma-separated datasources string into a list of Datasource objects.
  <p>
  The format is &lt;node&gt;:&lt;port&gt;/&lt;resource&gt;,&lt;node&gt;:&lt;port&gt;/&lt;resource&gt;, ...
  </p>
  
  @param ds comma-separated list of datasources
  @return list of Datasources