Subversion Repositories SmartDukaan

Rev

Rev 27024 | Rev 27262 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27024 Rev 27030
Line 128... Line 128...
128
		params.put("execute_mode", "EXECUTE");
128
		params.put("execute_mode", "EXECUTE");
129
		return restClient.getResponse(reporticoUrl, params, new HashMap<>());
129
		return restClient.getResponse(reporticoUrl, params, new HashMap<>());
130
	}
130
	}
131
	
131
	
132
	public HttpResponse getJsonFile(ReporticoProject projectName, String reportName, Map<String, String> params) throws HttpHostConnectException, ProfitMandiBusinessException {
132
	public HttpResponse getJsonFile(ReporticoProject projectName, String reportName, Map<String, String> params) throws HttpHostConnectException, ProfitMandiBusinessException {
133
		
-
 
134
		Map<String, String> authMap = projectAuthMap.get(projectName);
133
		Map<String, String> authMap = projectAuthMap.get(projectName);
135
		
-
 
136
		params.putAll(authMap);
134
		params.putAll(authMap);
137
		params.put("xmlin", reportName);
135
		params.put("xmlin", reportName);
138
		params.put("target_format", "JSON");
136
		params.put("target_format", "JSON");
139
		params.put("execute_mode", "EXECUTE");
137
		params.put("execute_mode", "EXECUTE");
140
		return restClient.getResponse(reporticoUrl, params, new HashMap<>());
138
		return restClient.getResponse(reporticoUrl, params, new HashMap<>());