Subversion Repositories SmartDukaan

Rev

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

Rev 24224 Rev 24509
Line 9... Line 9...
9
import org.springframework.beans.factory.annotation.Autowired;
9
import org.springframework.beans.factory.annotation.Autowired;
10
import org.springframework.stereotype.Component;
10
import org.springframework.stereotype.Component;
11
 
11
 
12
import com.spice.profitmandi.common.enumuration.ReporticoProject;
12
import com.spice.profitmandi.common.enumuration.ReporticoProject;
13
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
13
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
-
 
14
import com.spice.profitmandi.common.model.ReporticoUrlInfo;
14
import com.spice.profitmandi.common.web.client.RestClient;
15
import com.spice.profitmandi.common.web.client.RestClient;
15
 
16
 
16
@Component
17
@Component
17
public class ReporticoService {
18
public class ReporticoService {
18
	
19
	
Line 44... Line 45...
44
						}
45
						}
45
					});
46
					});
46
				}
47
				}
47
			});
48
			});
48
	
49
	
-
 
50
	
49
	public HttpResponse getReportFile(ReporticoProject projectName, String reportName) throws HttpHostConnectException, ProfitMandiBusinessException {
51
	public HttpResponse getReportFile(ReporticoProject projectName, String reportName) throws HttpHostConnectException, ProfitMandiBusinessException {
50
		
52
		
51
		Map<String, String> authMap = projectAuthMap.get(projectName);
53
		Map<String, String> authMap = projectAuthMap.get(projectName);
52
		
54
		
53
		Map<String, String> params = new HashMap<>(authMap);
55
		Map<String, String> params = new HashMap<>(authMap);