String template = getTemplate(language, projectName, jobName);
BASE64Encoder encoder = new BASE64Encoder();
String templateBase64Coded = encoder.encode(template.getBytes());
TalendEngineConfig config = TalendEngineConfig.getInstance();
String user = USER;
String password = PASSWORD;
Date now = new Date();
String date = new Long (now.getTime()).toString();
String label = jobName.toUpperCase();
if (label.length() > 20) label = label.substring(0,19);
String name = jobName ;
String description = language + " job defined in " + projectName + " project";
String encrypt = "false";
String visible = "true";
String functionalitiyCode = config.getSpagobiTargetFunctionalityLabel();
String type = "ETL";
String state = "DEV";
HashMap<String, Object> attributes = new HashMap<String, Object>();
attributes.put("TEMPLATE", templateBase64Coded);