Commit 8b964097 authored by mcb's avatar mcb

commit

parent ad83936b
...@@ -232,6 +232,8 @@ public class AzkabanApiUtils2 { ...@@ -232,6 +232,8 @@ public class AzkabanApiUtils2 {
linkedMultiValueMap.add("ajax", "upload"); linkedMultiValueMap.add("ajax", "upload");
linkedMultiValueMap.add("project", projectName); linkedMultiValueMap.add("project", projectName);
linkedMultiValueMap.add("file", resource); linkedMultiValueMap.add("file", resource);
System.out.println("-------------------------------> uploadZipPath: "+uploadZipPath);
System.out.println("-------------------------------> resource: "+resource.getPath());
Map<String, Object> postForObject = bulidRestTemplate().postForObject(projectManageUrl, linkedMultiValueMap, Map.class); Map<String, Object> postForObject = bulidRestTemplate().postForObject(projectManageUrl, linkedMultiValueMap, Map.class);
return postForObject; return postForObject;
} }
......
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