Commit e03fe094 authored by Spiros Koulouzis's avatar Spiros Koulouzis

removed prints

parent 4e3f7474
......@@ -398,7 +398,7 @@ public class DeployService {
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
value = parseValue(value);
System.err.println(value);
List<AnsibleOutput> outputList = mapper.readValue(value, new TypeReference<List<AnsibleOutput>>() {
});
......@@ -640,7 +640,6 @@ public class DeployService {
Map<String, Object> info = new HashMap();
for (MessageParameter param : params) {
String jsonResp = param.getValue().replaceAll("^\"|\"$", "");
// System.err.println(jsonResp);
Map<String, Object> kv = Converter.jsonString2Map(jsonResp);
info.putAll(kv);
......
......@@ -830,8 +830,5 @@ public class ProvisionService {
}
private void parseDeleteResourcesResponse(List<MessageParameter> parameters, ProvisionResponse provisionInfo) {
// for (MessageParameter p : parameters) {
// System.err.println(p.getName() + " : " + p.getValue());
// }
}
}
......@@ -76,7 +76,6 @@ public class RootController {
while (headerNames.hasMoreElements()) {
String key = (String) headerNames.nextElement();
String value = request.getHeader(key);
System.err.println(key + " : " + value);
}
Application result = new Application();
......@@ -92,12 +91,8 @@ public class RootController {
HandlerMethod handlerMethod = entry.getValue();
Object object = handlerMethod.getBean();
// System.err.println(object);
// System.err.println(object.getClass().getName());
// System.err.println(object.toString());
Object bean = webApplicationContext.getBean(object.toString());
// System.err.println(bean.getClass().getName());
boolean isRestContoller = bean.getClass().isAnnotationPresent(RestController.class);
if (bean.getClass().getName().contains("nl.uva.sne.drip.api.v1.rest")) {
isRestContoller = true;
......
......@@ -68,21 +68,4 @@ public class TestCloudCredentialsController {
public void testPostCredentials() throws IOException {
}
// @Test
// public void testUpload() throws IOException {
// HttpClient client = HttpClientBuilder.create().build();
// HttpPost post = new HttpPost(url);
// MultipartEntityBuilder builder = MultipartEntityBuilder.create();
// builder.setMode(HttpMultipartMode.BROWSER_COMPATIBLE);
//
// FileBody fileBody = new FileBody(toscaFile);
// builder.addPart("file", fileBody);
// HttpEntity entity = builder.build();
// post.setEntity(entity);
//
// HttpResponse status = client.execute(post);
// System.err.println(status.getStatusLine());
// assertEquals(200, status.getStatusLine().getStatusCode());
////
// }
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment