| Line 68... |
Line 68... |
| 68 |
|
68 |
|
| 69 |
private static final Logger logger = LogManager.getLogger(FofoSolr.class);
|
69 |
private static final Logger logger = LogManager.getLogger(FofoSolr.class);
|
| 70 |
|
70 |
|
| 71 |
private static final List<Integer> CATEGORY_MASTER = Arrays.asList(10006, 10010, 14202, 14203);
|
71 |
private static final List<Integer> CATEGORY_MASTER = Arrays.asList(10006, 10010, 14202, 14203);
|
| 72 |
|
72 |
|
| 73 |
String solrPath = "http://" + solrUrl + "8984/solr/demo";
|
73 |
String solrPath = "http://"+solrUrl+"8984/solr/demo";
|
| 74 |
String mongoHost = "localhost";
|
74 |
String mongoHost = "localhost";
|
| 75 |
SolrClient solr = new HttpSolrClient.Builder(solrPath).build();
|
75 |
SolrClient solr = new HttpSolrClient.Builder(solrPath).build();
|
| 76 |
|
76 |
|
| 77 |
private String getAvailabilityJSON() {
|
77 |
private String getAvailabilityJSON() {
|
| 78 |
String url = "http://50.116.10.120/reports/run.php?execute_mode=EXECUTE&xmlin=warehousecisnew.xml&project=FOCOR&project_password=focor&target_format=JSON";
|
78 |
String url = "http://50.116.10.120/reports/run.php?execute_mode=EXECUTE&xmlin=warehousecisnew.xml&project=FOCOR&project_password=focor&target_format=JSON";
|