Subversion Repositories SmartDukaan

Rev

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

Rev 26103 Rev 26375
Line 6... Line 6...
6
import java.util.Set;
6
import java.util.Set;
7
 
7
 
8
import org.apache.http.HttpResponse;
8
import org.apache.http.HttpResponse;
9
import org.apache.http.conn.HttpHostConnectException;
9
import org.apache.http.conn.HttpHostConnectException;
10
import org.springframework.beans.factory.annotation.Autowired;
10
import org.springframework.beans.factory.annotation.Autowired;
-
 
11
import org.springframework.beans.factory.annotation.Value;
11
import org.springframework.core.io.ByteArrayResource;
12
import org.springframework.core.io.ByteArrayResource;
12
import org.springframework.core.io.InputStreamSource;
13
import org.springframework.core.io.InputStreamSource;
13
import org.springframework.http.HttpEntity;
14
import org.springframework.http.HttpEntity;
14
import org.springframework.http.HttpHeaders;
15
import org.springframework.http.HttpHeaders;
15
import org.springframework.http.HttpMethod;
16
import org.springframework.http.HttpMethod;
Line 24... Line 25...
24
 
25
 
25
@Component
26
@Component
26
public class ReporticoService {
27
public class ReporticoService {
27
	
28
	
28
	//private String reporticoUrl="http://192.168.134.118/reports/run.php";
29
	//private String reporticoUrl="http://192.168.134.118/reports/run.php";
-
 
30
	@Value("reportico.url")
29
	private String reporticoUrl="http://50.116.10.120/reports/run.php";
31
	private String reporticoUrl="http://50.116.10.120/reports/run.php";
30
	
32
	
31
	@Autowired
33
	@Autowired
32
	RestClient restClient;
34
	RestClient restClient;
33
	
35