if (params == null || params.isNullObject() || params.isEmpty() || !params.has("name")) {
throw new UnsupportedOperationException("Cannot call " +queryMethod+ " without a 'name' parameter.");
}
else {
Method m = getConanPipelineService().getClass().getMethod(queryMethod, ConanUser.class, String.class);
ConanPipeline pipeline = (ConanPipeline) m.invoke(getConanPipelineService(), getConanUserService().getUserByUserName("tgaclims"), params.getString("name"));
return mapper.writeValueAsString(pipeline);
}
}
else {
if (queryMethod.contains("reorder") || queryMethod.contains("load") || queryMethod.contains("create")) {