SlingConversation con = app.createConversation();
HashMap<String, String> post = new HashMap<String, String>();
post.put("path", source.getName());
post.put("cmd", "Activate");
WebResponse response = con.request("/bin/replicate.json",post);
if (response.getResponseCode() == 200) {
System.out.println( response.getText() );
}
} catch (Throwable e) {
monitor.log().i(e);