Guest User

Untitled

a guest
Jul 18th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 106.48 KB | None | 0 0
  1. diff --git a/reco/.gitignore b/reco/.gitignore
  2. new file mode 100644
  3. index 0000000..ff7271f
  4. --- /dev/null
  5. +++ b/reco/.gitignore
  6. @@ -0,0 +1,2 @@
  7. +.idea/workspace.xml
  8. +buildforjetty/tmp
  9. \ No newline at end of file
  10. diff --git a/reco/.idea/ant.xml b/reco/.idea/ant.xml
  11. new file mode 100644
  12. index 0000000..1e0a221
  13. --- /dev/null
  14. +++ b/reco/.idea/ant.xml
  15. @@ -0,0 +1,6 @@
  16. +<?xml version="1.0" encoding="UTF-8"?>
  17. +<project version="4">
  18. + <component name="AntConfiguration">
  19. + <buildFile url="file://$PROJECT_DIR$/grrec/build.xml" />
  20. + </component>
  21. +</project>
  22. \ No newline at end of file
  23. diff --git a/reco/.idea/libraries/CSSBox.xml b/reco/.idea/libraries/CSSBox.xml
  24. new file mode 100644
  25. index 0000000..97f9193
  26. --- /dev/null
  27. +++ b/reco/.idea/libraries/CSSBox.xml
  28. @@ -0,0 +1,9 @@
  29. +<component name="libraryTable">
  30. + <library name="CSSBox">
  31. + <CLASSES>
  32. + <root url="jar://$PROJECT_DIR$/lib/cssbox/CSSBox.jar!/" />
  33. + </CLASSES>
  34. + <JAVADOC />
  35. + <SOURCES />
  36. + </library>
  37. +</component>
  38. \ No newline at end of file
  39. diff --git a/reco/.idea/libraries/Jama_1_0_2.xml b/reco/.idea/libraries/Jama_1_0_2.xml
  40. new file mode 100644
  41. index 0000000..6da441b
  42. --- /dev/null
  43. +++ b/reco/.idea/libraries/Jama_1_0_2.xml
  44. @@ -0,0 +1,9 @@
  45. +<component name="libraryTable">
  46. + <library name="Jama-1.0.2">
  47. + <CLASSES>
  48. + <root url="jar://$PROJECT_DIR$/lib/Jama-1.0.2.jar!/" />
  49. + </CLASSES>
  50. + <JAVADOC />
  51. + <SOURCES />
  52. + </library>
  53. +</component>
  54. \ No newline at end of file
  55. diff --git a/reco/.idea/libraries/Mesp.xml b/reco/.idea/libraries/Mesp.xml
  56. new file mode 100644
  57. index 0000000..ca2877d
  58. --- /dev/null
  59. +++ b/reco/.idea/libraries/Mesp.xml
  60. @@ -0,0 +1,9 @@
  61. +<component name="libraryTable">
  62. + <library name="Mesp">
  63. + <CLASSES>
  64. + <root url="jar://$PROJECT_DIR$/lib/Mesp.jar!/" />
  65. + </CLASSES>
  66. + <JAVADOC />
  67. + <SOURCES />
  68. + </library>
  69. +</component>
  70. \ No newline at end of file
  71. diff --git a/reco/.idea/libraries/Mespbulk.xml b/reco/.idea/libraries/Mespbulk.xml
  72. new file mode 100644
  73. index 0000000..b90b1ff
  74. --- /dev/null
  75. +++ b/reco/.idea/libraries/Mespbulk.xml
  76. @@ -0,0 +1,9 @@
  77. +<component name="libraryTable">
  78. + <library name="Mespbulk">
  79. + <CLASSES>
  80. + <root url="jar://$PROJECT_DIR$/lib/Mespbulk.jar!/" />
  81. + </CLASSES>
  82. + <JAVADOC />
  83. + <SOURCES />
  84. + </library>
  85. +</component>
  86. \ No newline at end of file
  87. diff --git a/reco/.idea/libraries/antlr4_4_2.xml b/reco/.idea/libraries/antlr4_4_2.xml
  88. new file mode 100644
  89. index 0000000..4d8ab7c
  90. --- /dev/null
  91. +++ b/reco/.idea/libraries/antlr4_4_2.xml
  92. @@ -0,0 +1,9 @@
  93. +<component name="libraryTable">
  94. + <library name="antlr4-4.2">
  95. + <CLASSES>
  96. + <root url="jar://$PROJECT_DIR$/lib/antlr4-4.2.jar!/" />
  97. + </CLASSES>
  98. + <JAVADOC />
  99. + <SOURCES />
  100. + </library>
  101. +</component>
  102. \ No newline at end of file
  103. diff --git a/reco/.idea/libraries/antlr4_annotations_4_2.xml b/reco/.idea/libraries/antlr4_annotations_4_2.xml
  104. new file mode 100644
  105. index 0000000..b1cac37
  106. --- /dev/null
  107. +++ b/reco/.idea/libraries/antlr4_annotations_4_2.xml
  108. @@ -0,0 +1,9 @@
  109. +<component name="libraryTable">
  110. + <library name="antlr4-annotations-4.2">
  111. + <CLASSES>
  112. + <root url="jar://$PROJECT_DIR$/lib/antlr4-annotations-4.2.jar!/" />
  113. + </CLASSES>
  114. + <JAVADOC />
  115. + <SOURCES />
  116. + </library>
  117. +</component>
  118. \ No newline at end of file
  119. diff --git a/reco/.idea/libraries/antlr4_runtime_4_2.xml b/reco/.idea/libraries/antlr4_runtime_4_2.xml
  120. new file mode 100644
  121. index 0000000..ccd3434
  122. --- /dev/null
  123. +++ b/reco/.idea/libraries/antlr4_runtime_4_2.xml
  124. @@ -0,0 +1,9 @@
  125. +<component name="libraryTable">
  126. + <library name="antlr4-runtime-4.2">
  127. + <CLASSES>
  128. + <root url="jar://$PROJECT_DIR$/lib/antlr4-runtime-4.2.jar!/" />
  129. + </CLASSES>
  130. + <JAVADOC />
  131. + <SOURCES />
  132. + </library>
  133. +</component>
  134. \ No newline at end of file
  135. diff --git a/reco/.idea/libraries/antlr_4_2_complete.xml b/reco/.idea/libraries/antlr_4_2_complete.xml
  136. new file mode 100644
  137. index 0000000..2837506
  138. --- /dev/null
  139. +++ b/reco/.idea/libraries/antlr_4_2_complete.xml
  140. @@ -0,0 +1,9 @@
  141. +<component name="libraryTable">
  142. + <library name="antlr-4.2-complete">
  143. + <CLASSES>
  144. + <root url="jar://$PROJECT_DIR$/lib/antlr-4.2-complete.jar!/" />
  145. + </CLASSES>
  146. + <JAVADOC />
  147. + <SOURCES />
  148. + </library>
  149. +</component>
  150. \ No newline at end of file
  151. diff --git a/reco/.idea/libraries/antlr_runtime_3_1.xml b/reco/.idea/libraries/antlr_runtime_3_1.xml
  152. new file mode 100644
  153. index 0000000..4856f82
  154. --- /dev/null
  155. +++ b/reco/.idea/libraries/antlr_runtime_3_1.xml
  156. @@ -0,0 +1,9 @@
  157. +<component name="libraryTable">
  158. + <library name="antlr-runtime-3.1">
  159. + <CLASSES>
  160. + <root url="jar://$PROJECT_DIR$/lib/cssbox/antlr-runtime-3.1.jar!/" />
  161. + </CLASSES>
  162. + <JAVADOC />
  163. + <SOURCES />
  164. + </library>
  165. +</component>
  166. \ No newline at end of file
  167. diff --git a/reco/.idea/libraries/base64decode.xml b/reco/.idea/libraries/base64decode.xml
  168. new file mode 100644
  169. index 0000000..70852b6
  170. --- /dev/null
  171. +++ b/reco/.idea/libraries/base64decode.xml
  172. @@ -0,0 +1,11 @@
  173. +<component name="libraryTable">
  174. + <library name="base64decode">
  175. + <CLASSES>
  176. + <root url="jar://$PROJECT_DIR$/lib/base64decode.jar!/" />
  177. + </CLASSES>
  178. + <JAVADOC />
  179. + <SOURCES>
  180. + <root url="jar://$PROJECT_DIR$/lib/base64decode.jar!/" />
  181. + </SOURCES>
  182. + </library>
  183. +</component>
  184. \ No newline at end of file
  185. diff --git a/reco/.idea/libraries/c3p0_0_9_2_1.xml b/reco/.idea/libraries/c3p0_0_9_2_1.xml
  186. new file mode 100644
  187. index 0000000..c19e70b
  188. --- /dev/null
  189. +++ b/reco/.idea/libraries/c3p0_0_9_2_1.xml
  190. @@ -0,0 +1,9 @@
  191. +<component name="libraryTable">
  192. + <library name="c3p0-0.9.2.1">
  193. + <CLASSES>
  194. + <root url="jar://$PROJECT_DIR$/lib/c3p0/c3p0-0.9.2.1.jar!/" />
  195. + </CLASSES>
  196. + <JAVADOC />
  197. + <SOURCES />
  198. + </library>
  199. +</component>
  200. \ No newline at end of file
  201. diff --git a/reco/.idea/libraries/cassandra_driver_core_3_0_0.xml b/reco/.idea/libraries/cassandra_driver_core_3_0_0.xml
  202. new file mode 100644
  203. index 0000000..eda6f80
  204. --- /dev/null
  205. +++ b/reco/.idea/libraries/cassandra_driver_core_3_0_0.xml
  206. @@ -0,0 +1,9 @@
  207. +<component name="libraryTable">
  208. + <library name="cassandra-driver-core-3.0.0">
  209. + <CLASSES>
  210. + <root url="jar://$PROJECT_DIR$/lib/cassandra_v7/cassandra-driver-core-3.0.0.jar!/" />
  211. + </CLASSES>
  212. + <JAVADOC />
  213. + <SOURCES />
  214. + </library>
  215. +</component>
  216. \ No newline at end of file
  217. diff --git a/reco/.idea/libraries/codecover.xml b/reco/.idea/libraries/codecover.xml
  218. new file mode 100644
  219. index 0000000..8383f4f
  220. --- /dev/null
  221. +++ b/reco/.idea/libraries/codecover.xml
  222. @@ -0,0 +1,9 @@
  223. +<component name="libraryTable">
  224. + <library name="codecover">
  225. + <CLASSES>
  226. + <root url="jar://$PROJECT_DIR$/lib/codecover.jar!/" />
  227. + </CLASSES>
  228. + <JAVADOC />
  229. + <SOURCES />
  230. + </library>
  231. +</component>
  232. \ No newline at end of file
  233. diff --git a/reco/.idea/libraries/commons_beanutils_1_7_0.xml b/reco/.idea/libraries/commons_beanutils_1_7_0.xml
  234. new file mode 100644
  235. index 0000000..3d2033f
  236. --- /dev/null
  237. +++ b/reco/.idea/libraries/commons_beanutils_1_7_0.xml
  238. @@ -0,0 +1,9 @@
  239. +<component name="libraryTable">
  240. + <library name="commons-beanutils-1.7.0">
  241. + <CLASSES>
  242. + <root url="jar://$PROJECT_DIR$/lib/solr_lib/commons-beanutils-1.7.0.jar!/" />
  243. + </CLASSES>
  244. + <JAVADOC />
  245. + <SOURCES />
  246. + </library>
  247. +</component>
  248. \ No newline at end of file
  249. diff --git a/reco/.idea/libraries/commons_cli_1_2.xml b/reco/.idea/libraries/commons_cli_1_2.xml
  250. new file mode 100644
  251. index 0000000..a8f4c09
  252. --- /dev/null
  253. +++ b/reco/.idea/libraries/commons_cli_1_2.xml
  254. @@ -0,0 +1,9 @@
  255. +<component name="libraryTable">
  256. + <library name="commons-cli-1.2">
  257. + <CLASSES>
  258. + <root url="jar://$PROJECT_DIR$/lib/commons-cli-1.2.jar!/" />
  259. + </CLASSES>
  260. + <JAVADOC />
  261. + <SOURCES />
  262. + </library>
  263. +</component>
  264. \ No newline at end of file
  265. diff --git a/reco/.idea/libraries/commons_codec_1_4.xml b/reco/.idea/libraries/commons_codec_1_4.xml
  266. new file mode 100644
  267. index 0000000..444338b
  268. --- /dev/null
  269. +++ b/reco/.idea/libraries/commons_codec_1_4.xml
  270. @@ -0,0 +1,9 @@
  271. +<component name="libraryTable">
  272. + <library name="commons-codec-1.4">
  273. + <CLASSES>
  274. + <root url="jar://$PROJECT_DIR$/lib/solr_lib/commons-codec-1.4.jar!/" />
  275. + </CLASSES>
  276. + <JAVADOC />
  277. + <SOURCES />
  278. + </library>
  279. +</component>
  280. \ No newline at end of file
  281. diff --git a/reco/.idea/libraries/commons_collections_3_2_1.xml b/reco/.idea/libraries/commons_collections_3_2_1.xml
  282. new file mode 100644
  283. index 0000000..d0131a5
  284. --- /dev/null
  285. +++ b/reco/.idea/libraries/commons_collections_3_2_1.xml
  286. @@ -0,0 +1,10 @@
  287. +<component name="libraryTable">
  288. + <library name="commons-collections-3.2.1">
  289. + <CLASSES>
  290. + <root url="jar://$PROJECT_DIR$/lib/commons-collections-3.2.1.jar!/" />
  291. + <root url="jar://$PROJECT_DIR$/lib/commons-compress-1.4.1.jar!/" />
  292. + </CLASSES>
  293. + <JAVADOC />
  294. + <SOURCES />
  295. + </library>
  296. +</component>
  297. \ No newline at end of file
  298. diff --git a/reco/.idea/libraries/commons_compress_1_4_1.xml b/reco/.idea/libraries/commons_compress_1_4_1.xml
  299. new file mode 100644
  300. index 0000000..59e6f1d
  301. --- /dev/null
  302. +++ b/reco/.idea/libraries/commons_compress_1_4_1.xml
  303. @@ -0,0 +1,9 @@
  304. +<component name="libraryTable">
  305. + <library name="commons-compress-1.4.1">
  306. + <CLASSES>
  307. + <root url="jar://$PROJECT_DIR$/lib/commons-compress-1.4.1.jar!/" />
  308. + </CLASSES>
  309. + <JAVADOC />
  310. + <SOURCES />
  311. + </library>
  312. +</component>
  313. \ No newline at end of file
  314. diff --git a/reco/.idea/libraries/commons_csv_1_0_SNAPSHOT_r966014.xml b/reco/.idea/libraries/commons_csv_1_0_SNAPSHOT_r966014.xml
  315. new file mode 100644
  316. index 0000000..891eec6
  317. --- /dev/null
  318. +++ b/reco/.idea/libraries/commons_csv_1_0_SNAPSHOT_r966014.xml
  319. @@ -0,0 +1,9 @@
  320. +<component name="libraryTable">
  321. + <library name="commons-csv-1.0-SNAPSHOT-r966014">
  322. + <CLASSES>
  323. + <root url="jar://$PROJECT_DIR$/lib/solr_lib/commons-csv-1.0-SNAPSHOT-r966014.jar!/" />
  324. + </CLASSES>
  325. + <JAVADOC />
  326. + <SOURCES />
  327. + </library>
  328. +</component>
  329. \ No newline at end of file
  330. diff --git a/reco/.idea/libraries/commons_fileupload_1_2_1.xml b/reco/.idea/libraries/commons_fileupload_1_2_1.xml
  331. new file mode 100644
  332. index 0000000..c624735
  333. --- /dev/null
  334. +++ b/reco/.idea/libraries/commons_fileupload_1_2_1.xml
  335. @@ -0,0 +1,9 @@
  336. +<component name="libraryTable">
  337. + <library name="commons-fileupload-1.2.1">
  338. + <CLASSES>
  339. + <root url="jar://$PROJECT_DIR$/lib/solr_lib/commons-fileupload-1.2.1.jar!/" />
  340. + </CLASSES>
  341. + <JAVADOC />
  342. + <SOURCES />
  343. + </library>
  344. +</component>
  345. \ No newline at end of file
  346. diff --git a/reco/.idea/libraries/commons_httpclient_3_1.xml b/reco/.idea/libraries/commons_httpclient_3_1.xml
  347. new file mode 100644
  348. index 0000000..8014385
  349. --- /dev/null
  350. +++ b/reco/.idea/libraries/commons_httpclient_3_1.xml
  351. @@ -0,0 +1,9 @@
  352. +<component name="libraryTable">
  353. + <library name="commons-httpclient-3.1">
  354. + <CLASSES>
  355. + <root url="jar://$PROJECT_DIR$/lib/solr_lib/commons-httpclient-3.1.jar!/" />
  356. + </CLASSES>
  357. + <JAVADOC />
  358. + <SOURCES />
  359. + </library>
  360. +</component>
  361. \ No newline at end of file
  362. diff --git a/reco/.idea/libraries/commons_io_2_4.xml b/reco/.idea/libraries/commons_io_2_4.xml
  363. new file mode 100644
  364. index 0000000..20a3a0c
  365. --- /dev/null
  366. +++ b/reco/.idea/libraries/commons_io_2_4.xml
  367. @@ -0,0 +1,9 @@
  368. +<component name="libraryTable">
  369. + <library name="commons-io-2.4">
  370. + <CLASSES>
  371. + <root url="jar://$PROJECT_DIR$/lib/commons-io-2.4.jar!/" />
  372. + </CLASSES>
  373. + <JAVADOC />
  374. + <SOURCES />
  375. + </library>
  376. +</component>
  377. \ No newline at end of file
  378. diff --git a/reco/.idea/libraries/commons_lang_2_4.xml b/reco/.idea/libraries/commons_lang_2_4.xml
  379. new file mode 100644
  380. index 0000000..c0b61e1
  381. --- /dev/null
  382. +++ b/reco/.idea/libraries/commons_lang_2_4.xml
  383. @@ -0,0 +1,9 @@
  384. +<component name="libraryTable">
  385. + <library name="commons-lang-2.4">
  386. + <CLASSES>
  387. + <root url="jar://$PROJECT_DIR$/lib/solr_lib/commons-lang-2.4.jar!/" />
  388. + </CLASSES>
  389. + <JAVADOC />
  390. + <SOURCES />
  391. + </library>
  392. +</component>
  393. \ No newline at end of file
  394. diff --git a/reco/.idea/libraries/commons_logging.xml b/reco/.idea/libraries/commons_logging.xml
  395. new file mode 100644
  396. index 0000000..f6c4ca7
  397. --- /dev/null
  398. +++ b/reco/.idea/libraries/commons_logging.xml
  399. @@ -0,0 +1,9 @@
  400. +<component name="libraryTable">
  401. + <library name="commons-logging">
  402. + <CLASSES>
  403. + <root url="jar://$PROJECT_DIR$/lib/commons-logging.jar!/" />
  404. + </CLASSES>
  405. + <JAVADOC />
  406. + <SOURCES />
  407. + </library>
  408. +</component>
  409. \ No newline at end of file
  410. diff --git a/reco/.idea/libraries/commons_net_2_2.xml b/reco/.idea/libraries/commons_net_2_2.xml
  411. new file mode 100644
  412. index 0000000..1c5fdbb
  413. --- /dev/null
  414. +++ b/reco/.idea/libraries/commons_net_2_2.xml
  415. @@ -0,0 +1,9 @@
  416. +<component name="libraryTable">
  417. + <library name="commons-net-2.2">
  418. + <CLASSES>
  419. + <root url="jar://$PROJECT_DIR$/lib/file/commons-net-2.2.jar!/" />
  420. + </CLASSES>
  421. + <JAVADOC />
  422. + <SOURCES />
  423. + </library>
  424. +</component>
  425. \ No newline at end of file
  426. diff --git a/reco/.idea/libraries/commons_pool_1_6.xml b/reco/.idea/libraries/commons_pool_1_6.xml
  427. new file mode 100644
  428. index 0000000..78f08db
  429. --- /dev/null
  430. +++ b/reco/.idea/libraries/commons_pool_1_6.xml
  431. @@ -0,0 +1,9 @@
  432. +<component name="libraryTable">
  433. + <library name="commons-pool-1.6">
  434. + <CLASSES>
  435. + <root url="jar://$PROJECT_DIR$/lib/commons-pool-1.6.jar!/" />
  436. + </CLASSES>
  437. + <JAVADOC />
  438. + <SOURCES />
  439. + </library>
  440. +</component>
  441. \ No newline at end of file
  442. diff --git a/reco/.idea/libraries/commons_vfs_2_0.xml b/reco/.idea/libraries/commons_vfs_2_0.xml
  443. new file mode 100644
  444. index 0000000..4757518
  445. --- /dev/null
  446. +++ b/reco/.idea/libraries/commons_vfs_2_0.xml
  447. @@ -0,0 +1,9 @@
  448. +<component name="libraryTable">
  449. + <library name="commons-vfs-2.0">
  450. + <CLASSES>
  451. + <root url="jar://$PROJECT_DIR$/lib/file/commons-vfs-2.0.jar!/" />
  452. + </CLASSES>
  453. + <JAVADOC />
  454. + <SOURCES />
  455. + </library>
  456. +</component>
  457. \ No newline at end of file
  458. diff --git a/reco/.idea/libraries/fastmultiply.xml b/reco/.idea/libraries/fastmultiply.xml
  459. new file mode 100644
  460. index 0000000..09abd49
  461. --- /dev/null
  462. +++ b/reco/.idea/libraries/fastmultiply.xml
  463. @@ -0,0 +1,13 @@
  464. +<component name="libraryTable">
  465. + <library name="fastmultiply">
  466. + <CLASSES>
  467. + <root url="file://$PROJECT_DIR$/lib/fastmultiply" />
  468. + </CLASSES>
  469. + <JAVADOC />
  470. + <NATIVE>
  471. + <root url="file://$PROJECT_DIR$/lib/fastmultiply" />
  472. + </NATIVE>
  473. + <SOURCES />
  474. + <jarDirectory url="file://$PROJECT_DIR$/lib/fastmultiply" recursive="false" />
  475. + </library>
  476. +</component>
  477. \ No newline at end of file
  478. diff --git a/reco/.idea/libraries/findbugs_annotations_2_0_2_rc2.xml b/reco/.idea/libraries/findbugs_annotations_2_0_2_rc2.xml
  479. new file mode 100644
  480. index 0000000..68400eb
  481. --- /dev/null
  482. +++ b/reco/.idea/libraries/findbugs_annotations_2_0_2_rc2.xml
  483. @@ -0,0 +1,11 @@
  484. +<component name="libraryTable">
  485. + <library name="findbugs-annotations-2.0.2-rc2">
  486. + <CLASSES>
  487. + <root url="jar://$PROJECT_DIR$/lib/findbugs-annotations-2.0.2-rc2.jar!/" />
  488. + </CLASSES>
  489. + <JAVADOC />
  490. + <SOURCES>
  491. + <root url="jar://$PROJECT_DIR$/lib/findbugs-annotations-2.0.2-rc2.jar!/" />
  492. + </SOURCES>
  493. + </library>
  494. +</component>
  495. \ No newline at end of file
  496. diff --git a/reco/.idea/libraries/freemarker.xml b/reco/.idea/libraries/freemarker.xml
  497. new file mode 100644
  498. index 0000000..75ec5f2
  499. --- /dev/null
  500. +++ b/reco/.idea/libraries/freemarker.xml
  501. @@ -0,0 +1,9 @@
  502. +<component name="libraryTable">
  503. + <library name="freemarker">
  504. + <CLASSES>
  505. + <root url="jar://$PROJECT_DIR$/lib/freemarker.jar!/" />
  506. + </CLASSES>
  507. + <JAVADOC />
  508. + <SOURCES />
  509. + </library>
  510. +</component>
  511. \ No newline at end of file
  512. diff --git a/reco/.idea/libraries/geronimo_stax_api_1_0_spec_1_0_1.xml b/reco/.idea/libraries/geronimo_stax_api_1_0_spec_1_0_1.xml
  513. new file mode 100644
  514. index 0000000..4db5077
  515. --- /dev/null
  516. +++ b/reco/.idea/libraries/geronimo_stax_api_1_0_spec_1_0_1.xml
  517. @@ -0,0 +1,9 @@
  518. +<component name="libraryTable">
  519. + <library name="geronimo-stax-api_1.0_spec-1.0.1">
  520. + <CLASSES>
  521. + <root url="jar://$PROJECT_DIR$/lib/solr_lib/geronimo-stax-api_1.0_spec-1.0.1.jar!/" />
  522. + </CLASSES>
  523. + <JAVADOC />
  524. + <SOURCES />
  525. + </library>
  526. +</component>
  527. \ No newline at end of file
  528. diff --git a/reco/.idea/libraries/getinstrumentationagent.xml b/reco/.idea/libraries/getinstrumentationagent.xml
  529. new file mode 100644
  530. index 0000000..161a385
  531. --- /dev/null
  532. +++ b/reco/.idea/libraries/getinstrumentationagent.xml
  533. @@ -0,0 +1,11 @@
  534. +<component name="libraryTable">
  535. + <library name="getinstrumentationagent">
  536. + <CLASSES>
  537. + <root url="jar://$PROJECT_DIR$/lib/getinstrumentationagent.jar!/" />
  538. + </CLASSES>
  539. + <JAVADOC />
  540. + <SOURCES>
  541. + <root url="jar://$PROJECT_DIR$/lib/getinstrumentationagent.jar!/" />
  542. + </SOURCES>
  543. + </library>
  544. +</component>
  545. \ No newline at end of file
  546. diff --git a/reco/.idea/libraries/guava_18_0.xml b/reco/.idea/libraries/guava_18_0.xml
  547. new file mode 100644
  548. index 0000000..c387291
  549. --- /dev/null
  550. +++ b/reco/.idea/libraries/guava_18_0.xml
  551. @@ -0,0 +1,9 @@
  552. +<component name="libraryTable">
  553. + <library name="guava-18.0">
  554. + <CLASSES>
  555. + <root url="jar://$PROJECT_DIR$/lib/guava-18.0.jar!/" />
  556. + </CLASSES>
  557. + <JAVADOC />
  558. + <SOURCES />
  559. + </library>
  560. +</component>
  561. \ No newline at end of file
  562. diff --git a/reco/.idea/libraries/gwt_api_checker.xml b/reco/.idea/libraries/gwt_api_checker.xml
  563. new file mode 100644
  564. index 0000000..30eb665
  565. --- /dev/null
  566. +++ b/reco/.idea/libraries/gwt_api_checker.xml
  567. @@ -0,0 +1,9 @@
  568. +<component name="libraryTable">
  569. + <library name="gwt-api-checker">
  570. + <CLASSES>
  571. + <root url="jar://$PROJECT_DIR$/lib/gwt-2.1.1/gwt-api-checker.jar!/" />
  572. + </CLASSES>
  573. + <JAVADOC />
  574. + <SOURCES />
  575. + </library>
  576. +</component>
  577. \ No newline at end of file
  578. diff --git a/reco/.idea/libraries/gwt_benchmark_viewer.xml b/reco/.idea/libraries/gwt_benchmark_viewer.xml
  579. new file mode 100644
  580. index 0000000..32ba3b6
  581. --- /dev/null
  582. +++ b/reco/.idea/libraries/gwt_benchmark_viewer.xml
  583. @@ -0,0 +1,9 @@
  584. +<component name="libraryTable">
  585. + <library name="gwt-benchmark-viewer">
  586. + <CLASSES>
  587. + <root url="jar://$PROJECT_DIR$/lib/gwt-2.1.1/gwt-benchmark-viewer.war!/" />
  588. + </CLASSES>
  589. + <JAVADOC />
  590. + <SOURCES />
  591. + </library>
  592. +</component>
  593. \ No newline at end of file
  594. diff --git a/reco/.idea/libraries/gwt_dev.xml b/reco/.idea/libraries/gwt_dev.xml
  595. new file mode 100644
  596. index 0000000..a961e8c
  597. --- /dev/null
  598. +++ b/reco/.idea/libraries/gwt_dev.xml
  599. @@ -0,0 +1,11 @@
  600. +<component name="libraryTable">
  601. + <library name="gwt-dev">
  602. + <CLASSES>
  603. + <root url="jar://$PROJECT_DIR$/lib/gwt-2.1.1/gwt-dev.jar!/" />
  604. + </CLASSES>
  605. + <JAVADOC />
  606. + <SOURCES>
  607. + <root url="jar://$PROJECT_DIR$/lib/gwt-2.1.1/gwt-dev.jar!/" />
  608. + </SOURCES>
  609. + </library>
  610. +</component>
  611. \ No newline at end of file
  612. diff --git a/reco/.idea/libraries/gwt_servlet.xml b/reco/.idea/libraries/gwt_servlet.xml
  613. new file mode 100644
  614. index 0000000..02a3b38
  615. --- /dev/null
  616. +++ b/reco/.idea/libraries/gwt_servlet.xml
  617. @@ -0,0 +1,9 @@
  618. +<component name="libraryTable">
  619. + <library name="gwt-servlet">
  620. + <CLASSES>
  621. + <root url="jar://$PROJECT_DIR$/lib/gwt-2.1.1/gwt-servlet.jar!/" />
  622. + </CLASSES>
  623. + <JAVADOC />
  624. + <SOURCES />
  625. + </library>
  626. +</component>
  627. \ No newline at end of file
  628. diff --git a/reco/.idea/libraries/gwt_servlet_deps.xml b/reco/.idea/libraries/gwt_servlet_deps.xml
  629. new file mode 100644
  630. index 0000000..1ceb5e5
  631. --- /dev/null
  632. +++ b/reco/.idea/libraries/gwt_servlet_deps.xml
  633. @@ -0,0 +1,9 @@
  634. +<component name="libraryTable">
  635. + <library name="gwt-servlet-deps">
  636. + <CLASSES>
  637. + <root url="jar://$PROJECT_DIR$/lib/gwt-2.1.1/gwt-servlet-deps.jar!/" />
  638. + </CLASSES>
  639. + <JAVADOC />
  640. + <SOURCES />
  641. + </library>
  642. +</component>
  643. \ No newline at end of file
  644. diff --git a/reco/.idea/libraries/gwt_soyc_vis.xml b/reco/.idea/libraries/gwt_soyc_vis.xml
  645. new file mode 100644
  646. index 0000000..301f49e
  647. --- /dev/null
  648. +++ b/reco/.idea/libraries/gwt_soyc_vis.xml
  649. @@ -0,0 +1,9 @@
  650. +<component name="libraryTable">
  651. + <library name="gwt-soyc-vis">
  652. + <CLASSES>
  653. + <root url="jar://$PROJECT_DIR$/lib/gwt-2.1.1/gwt-soyc-vis.jar!/" />
  654. + </CLASSES>
  655. + <JAVADOC />
  656. + <SOURCES />
  657. + </library>
  658. +</component>
  659. \ No newline at end of file
  660. diff --git a/reco/.idea/libraries/gwt_user.xml b/reco/.idea/libraries/gwt_user.xml
  661. new file mode 100644
  662. index 0000000..c24db92
  663. --- /dev/null
  664. +++ b/reco/.idea/libraries/gwt_user.xml
  665. @@ -0,0 +1,11 @@
  666. +<component name="libraryTable">
  667. + <library name="gwt-user">
  668. + <CLASSES>
  669. + <root url="jar://$PROJECT_DIR$/lib/gwt-2.1.1/gwt-user.jar!/" />
  670. + </CLASSES>
  671. + <JAVADOC />
  672. + <SOURCES>
  673. + <root url="jar://$PROJECT_DIR$/lib/gwt-2.1.1/gwt-user.jar!/" />
  674. + </SOURCES>
  675. + </library>
  676. +</component>
  677. \ No newline at end of file
  678. diff --git a/reco/.idea/libraries/jStyleParser_SNAPSHOT.xml b/reco/.idea/libraries/jStyleParser_SNAPSHOT.xml
  679. new file mode 100644
  680. index 0000000..aa703e8
  681. --- /dev/null
  682. +++ b/reco/.idea/libraries/jStyleParser_SNAPSHOT.xml
  683. @@ -0,0 +1,9 @@
  684. +<component name="libraryTable">
  685. + <library name="jStyleParser_SNAPSHOT">
  686. + <CLASSES>
  687. + <root url="jar://$PROJECT_DIR$/lib/cssbox/jStyleParser_SNAPSHOT.jar!/" />
  688. + </CLASSES>
  689. + <JAVADOC />
  690. + <SOURCES />
  691. + </library>
  692. +</component>
  693. \ No newline at end of file
  694. diff --git a/reco/.idea/libraries/jackson_annotations_2_3_0.xml b/reco/.idea/libraries/jackson_annotations_2_3_0.xml
  695. new file mode 100644
  696. index 0000000..d6bf042
  697. --- /dev/null
  698. +++ b/reco/.idea/libraries/jackson_annotations_2_3_0.xml
  699. @@ -0,0 +1,9 @@
  700. +<component name="libraryTable">
  701. + <library name="jackson-annotations-2.3.0">
  702. + <CLASSES>
  703. + <root url="jar://$PROJECT_DIR$/lib/jackson/jackson-annotations-2.3.0.jar!/" />
  704. + </CLASSES>
  705. + <JAVADOC />
  706. + <SOURCES />
  707. + </library>
  708. +</component>
  709. \ No newline at end of file
  710. diff --git a/reco/.idea/libraries/jackson_core_2_3_0.xml b/reco/.idea/libraries/jackson_core_2_3_0.xml
  711. new file mode 100644
  712. index 0000000..2d6d751
  713. --- /dev/null
  714. +++ b/reco/.idea/libraries/jackson_core_2_3_0.xml
  715. @@ -0,0 +1,9 @@
  716. +<component name="libraryTable">
  717. + <library name="jackson-core-2.3.0">
  718. + <CLASSES>
  719. + <root url="jar://$PROJECT_DIR$/lib/jackson/jackson-core-2.3.0.jar!/" />
  720. + </CLASSES>
  721. + <JAVADOC />
  722. + <SOURCES />
  723. + </library>
  724. +</component>
  725. \ No newline at end of file
  726. diff --git a/reco/.idea/libraries/jackson_databind_2_3_0.xml b/reco/.idea/libraries/jackson_databind_2_3_0.xml
  727. new file mode 100644
  728. index 0000000..f204ba1
  729. --- /dev/null
  730. +++ b/reco/.idea/libraries/jackson_databind_2_3_0.xml
  731. @@ -0,0 +1,9 @@
  732. +<component name="libraryTable">
  733. + <library name="jackson-databind-2.3.0">
  734. + <CLASSES>
  735. + <root url="jar://$PROJECT_DIR$/lib/jackson/jackson-databind-2.3.0.jar!/" />
  736. + </CLASSES>
  737. + <JAVADOC />
  738. + <SOURCES />
  739. + </library>
  740. +</component>
  741. \ No newline at end of file
  742. diff --git a/reco/.idea/libraries/jarjar_1_0.xml b/reco/.idea/libraries/jarjar_1_0.xml
  743. new file mode 100644
  744. index 0000000..2c1d3e4
  745. --- /dev/null
  746. +++ b/reco/.idea/libraries/jarjar_1_0.xml
  747. @@ -0,0 +1,9 @@
  748. +<component name="libraryTable">
  749. + <library name="jarjar-1.0">
  750. + <CLASSES>
  751. + <root url="jar://$PROJECT_DIR$/lib/jar/jarjar-1.0.jar!/" />
  752. + </CLASSES>
  753. + <JAVADOC />
  754. + <SOURCES />
  755. + </library>
  756. +</component>
  757. \ No newline at end of file
  758. diff --git a/reco/.idea/libraries/java_xmlbuilder_0_4.xml b/reco/.idea/libraries/java_xmlbuilder_0_4.xml
  759. new file mode 100644
  760. index 0000000..2d9c3a6
  761. --- /dev/null
  762. +++ b/reco/.idea/libraries/java_xmlbuilder_0_4.xml
  763. @@ -0,0 +1,9 @@
  764. +<component name="libraryTable">
  765. + <library name="java-xmlbuilder-0.4">
  766. + <CLASSES>
  767. + <root url="jar://$PROJECT_DIR$/lib/java-xmlbuilder-0.4.jar!/" />
  768. + </CLASSES>
  769. + <JAVADOC />
  770. + <SOURCES />
  771. + </library>
  772. +</component>
  773. \ No newline at end of file
  774. diff --git a/reco/.idea/libraries/javax_ejb.xml b/reco/.idea/libraries/javax_ejb.xml
  775. new file mode 100644
  776. index 0000000..ac68bd0
  777. --- /dev/null
  778. +++ b/reco/.idea/libraries/javax_ejb.xml
  779. @@ -0,0 +1,9 @@
  780. +<component name="libraryTable">
  781. + <library name="javax.ejb">
  782. + <CLASSES>
  783. + <root url="jar://$PROJECT_DIR$/lib/javax.ejb.jar!/" />
  784. + </CLASSES>
  785. + <JAVADOC />
  786. + <SOURCES />
  787. + </library>
  788. +</component>
  789. \ No newline at end of file
  790. diff --git a/reco/.idea/libraries/jboss_logging_log4j.xml b/reco/.idea/libraries/jboss_logging_log4j.xml
  791. new file mode 100644
  792. index 0000000..6eecbd2
  793. --- /dev/null
  794. +++ b/reco/.idea/libraries/jboss_logging_log4j.xml
  795. @@ -0,0 +1,9 @@
  796. +<component name="libraryTable">
  797. + <library name="jboss-logging-log4j">
  798. + <CLASSES>
  799. + <root url="jar://$PROJECT_DIR$/lib/jboss-logging-log4j.jar!/" />
  800. + </CLASSES>
  801. + <JAVADOC />
  802. + <SOURCES />
  803. + </library>
  804. +</component>
  805. \ No newline at end of file
  806. diff --git a/reco/.idea/libraries/jcl_over_slf4j_1_7_5_sources.xml b/reco/.idea/libraries/jcl_over_slf4j_1_7_5_sources.xml
  807. new file mode 100644
  808. index 0000000..b68a9bd
  809. --- /dev/null
  810. +++ b/reco/.idea/libraries/jcl_over_slf4j_1_7_5_sources.xml
  811. @@ -0,0 +1,9 @@
  812. +<component name="libraryTable">
  813. + <library name="jcl-over-slf4j-1.7.5-sources">
  814. + <CLASSES />
  815. + <JAVADOC />
  816. + <SOURCES>
  817. + <root url="jar://$PROJECT_DIR$/lib/slf4j/slf4j-1.7.5/jcl-over-slf4j-1.7.5-sources.jar!/" />
  818. + </SOURCES>
  819. + </library>
  820. +</component>
  821. \ No newline at end of file
  822. diff --git a/reco/.idea/libraries/joda_time_2_1.xml b/reco/.idea/libraries/joda_time_2_1.xml
  823. new file mode 100644
  824. index 0000000..9d8d4dc
  825. --- /dev/null
  826. +++ b/reco/.idea/libraries/joda_time_2_1.xml
  827. @@ -0,0 +1,9 @@
  828. +<component name="libraryTable">
  829. + <library name="joda-time-2.1">
  830. + <CLASSES>
  831. + <root url="jar://$PROJECT_DIR$/lib/joda-time/joda-time-2.1.jar!/" />
  832. + </CLASSES>
  833. + <JAVADOC />
  834. + <SOURCES />
  835. + </library>
  836. +</component>
  837. \ No newline at end of file
  838. diff --git a/reco/.idea/libraries/jopt_simple_3_2.xml b/reco/.idea/libraries/jopt_simple_3_2.xml
  839. new file mode 100644
  840. index 0000000..24b6ea9
  841. --- /dev/null
  842. +++ b/reco/.idea/libraries/jopt_simple_3_2.xml
  843. @@ -0,0 +1,9 @@
  844. +<component name="libraryTable">
  845. + <library name="jopt-simple-3.2">
  846. + <CLASSES>
  847. + <root url="jar://$PROJECT_DIR$/lib/kafka/jopt-simple-3.2.jar!/" />
  848. + </CLASSES>
  849. + <JAVADOC />
  850. + <SOURCES />
  851. + </library>
  852. +</component>
  853. \ No newline at end of file
  854. diff --git a/reco/.idea/libraries/jsch_0_1_45.xml b/reco/.idea/libraries/jsch_0_1_45.xml
  855. new file mode 100644
  856. index 0000000..8a2854c
  857. --- /dev/null
  858. +++ b/reco/.idea/libraries/jsch_0_1_45.xml
  859. @@ -0,0 +1,9 @@
  860. +<component name="libraryTable">
  861. + <library name="jsch-0.1.45">
  862. + <CLASSES>
  863. + <root url="jar://$PROJECT_DIR$/lib/file/jsch-0.1.45.jar!/" />
  864. + </CLASSES>
  865. + <JAVADOC />
  866. + <SOURCES />
  867. + </library>
  868. +</component>
  869. \ No newline at end of file
  870. diff --git a/reco/.idea/libraries/jsonrpc4j_1_0.xml b/reco/.idea/libraries/jsonrpc4j_1_0.xml
  871. new file mode 100644
  872. index 0000000..ba09734
  873. --- /dev/null
  874. +++ b/reco/.idea/libraries/jsonrpc4j_1_0.xml
  875. @@ -0,0 +1,9 @@
  876. +<component name="libraryTable">
  877. + <library name="jsonrpc4j-1.0">
  878. + <CLASSES>
  879. + <root url="jar://$PROJECT_DIR$/lib/jsonrpc4j/jsonrpc4j-1.0.jar!/" />
  880. + </CLASSES>
  881. + <JAVADOC />
  882. + <SOURCES />
  883. + </library>
  884. +</component>
  885. \ No newline at end of file
  886. diff --git a/reco/.idea/libraries/jsr305_0_1.xml b/reco/.idea/libraries/jsr305_0_1.xml
  887. new file mode 100644
  888. index 0000000..46dc2c7
  889. --- /dev/null
  890. +++ b/reco/.idea/libraries/jsr305_0_1.xml
  891. @@ -0,0 +1,9 @@
  892. +<component name="libraryTable">
  893. + <library name="jsr305-0.1">
  894. + <CLASSES>
  895. + <root url="jar://$PROJECT_DIR$/lib/annotation/jsr305-0.1.jar!/" />
  896. + </CLASSES>
  897. + <JAVADOC />
  898. + <SOURCES />
  899. + </library>
  900. +</component>
  901. \ No newline at end of file
  902. diff --git a/reco/.idea/libraries/jul_to_slf4j_1_7_5_sources.xml b/reco/.idea/libraries/jul_to_slf4j_1_7_5_sources.xml
  903. new file mode 100644
  904. index 0000000..68d5f82
  905. --- /dev/null
  906. +++ b/reco/.idea/libraries/jul_to_slf4j_1_7_5_sources.xml
  907. @@ -0,0 +1,9 @@
  908. +<component name="libraryTable">
  909. + <library name="jul-to-slf4j-1.7.5-sources">
  910. + <CLASSES />
  911. + <JAVADOC />
  912. + <SOURCES>
  913. + <root url="jar://$PROJECT_DIR$/lib/slf4j/slf4j-1.7.5/jul-to-slf4j-1.7.5-sources.jar!/" />
  914. + </SOURCES>
  915. + </library>
  916. +</component>
  917. \ No newline at end of file
  918. diff --git a/reco/.idea/libraries/junit_4_11.xml b/reco/.idea/libraries/junit_4_11.xml
  919. new file mode 100644
  920. index 0000000..8bc92e2
  921. --- /dev/null
  922. +++ b/reco/.idea/libraries/junit_4_11.xml
  923. @@ -0,0 +1,9 @@
  924. +<component name="libraryTable">
  925. + <library name="junit-4.11">
  926. + <CLASSES>
  927. + <root url="jar://$PROJECT_DIR$/lib/junit-4.11.jar!/" />
  928. + </CLASSES>
  929. + <JAVADOC />
  930. + <SOURCES />
  931. + </library>
  932. +</component>
  933. \ No newline at end of file
  934. diff --git a/reco/.idea/libraries/kafka_2_10_0_8_1.xml b/reco/.idea/libraries/kafka_2_10_0_8_1.xml
  935. new file mode 100644
  936. index 0000000..b5e1084
  937. --- /dev/null
  938. +++ b/reco/.idea/libraries/kafka_2_10_0_8_1.xml
  939. @@ -0,0 +1,9 @@
  940. +<component name="libraryTable">
  941. + <library name="kafka_2.10-0.8.1">
  942. + <CLASSES>
  943. + <root url="jar://$PROJECT_DIR$/lib/kafka/kafka_2.10-0.8.1.jar!/" />
  944. + </CLASSES>
  945. + <JAVADOC />
  946. + <SOURCES />
  947. + </library>
  948. +</component>
  949. \ No newline at end of file
  950. diff --git a/reco/.idea/libraries/kryo_2_22_all.xml b/reco/.idea/libraries/kryo_2_22_all.xml
  951. new file mode 100644
  952. index 0000000..13343ff
  953. --- /dev/null
  954. +++ b/reco/.idea/libraries/kryo_2_22_all.xml
  955. @@ -0,0 +1,9 @@
  956. +<component name="libraryTable">
  957. + <library name="kryo-2.22-all">
  958. + <CLASSES>
  959. + <root url="jar://$PROJECT_DIR$/lib/kryo-2.22-all.jar!/" />
  960. + </CLASSES>
  961. + <JAVADOC />
  962. + <SOURCES />
  963. + </library>
  964. +</component>
  965. \ No newline at end of file
  966. diff --git a/reco/.idea/libraries/log4j_1_2_16.xml b/reco/.idea/libraries/log4j_1_2_16.xml
  967. new file mode 100644
  968. index 0000000..09db861
  969. --- /dev/null
  970. +++ b/reco/.idea/libraries/log4j_1_2_16.xml
  971. @@ -0,0 +1,9 @@
  972. +<component name="libraryTable">
  973. + <library name="log4j-1.2.16">
  974. + <CLASSES>
  975. + <root url="jar://$PROJECT_DIR$/lib/log4j-1.2.16.jar!/" />
  976. + </CLASSES>
  977. + <JAVADOC />
  978. + <SOURCES />
  979. + </library>
  980. +</component>
  981. \ No newline at end of file
  982. diff --git a/reco/.idea/libraries/log4j_over_slf4j_1_7_5_sources.xml b/reco/.idea/libraries/log4j_over_slf4j_1_7_5_sources.xml
  983. new file mode 100644
  984. index 0000000..07bd5ba
  985. --- /dev/null
  986. +++ b/reco/.idea/libraries/log4j_over_slf4j_1_7_5_sources.xml
  987. @@ -0,0 +1,9 @@
  988. +<component name="libraryTable">
  989. + <library name="log4j-over-slf4j-1.7.5-sources">
  990. + <CLASSES />
  991. + <JAVADOC />
  992. + <SOURCES>
  993. + <root url="jar://$PROJECT_DIR$/lib/slf4j/slf4j-1.7.5/log4j-over-slf4j-1.7.5-sources.jar!/" />
  994. + </SOURCES>
  995. + </library>
  996. +</component>
  997. \ No newline at end of file
  998. diff --git a/reco/.idea/libraries/lucene_analyzers_common_4_3_0.xml b/reco/.idea/libraries/lucene_analyzers_common_4_3_0.xml
  999. new file mode 100644
  1000. index 0000000..eafe4c0
  1001. --- /dev/null
  1002. +++ b/reco/.idea/libraries/lucene_analyzers_common_4_3_0.xml
  1003. @@ -0,0 +1,9 @@
  1004. +<component name="libraryTable">
  1005. + <library name="lucene-analyzers-common-4.3.0">
  1006. + <CLASSES>
  1007. + <root url="jar://$PROJECT_DIR$/lib/solr_lib/lucene-analyzers-common-4.3.0.jar!/" />
  1008. + </CLASSES>
  1009. + <JAVADOC />
  1010. + <SOURCES />
  1011. + </library>
  1012. +</component>
  1013. \ No newline at end of file
  1014. diff --git a/reco/.idea/libraries/lucene_core_4_3_0.xml b/reco/.idea/libraries/lucene_core_4_3_0.xml
  1015. new file mode 100644
  1016. index 0000000..e7f9020
  1017. --- /dev/null
  1018. +++ b/reco/.idea/libraries/lucene_core_4_3_0.xml
  1019. @@ -0,0 +1,9 @@
  1020. +<component name="libraryTable">
  1021. + <library name="lucene-core-4.3.0">
  1022. + <CLASSES>
  1023. + <root url="jar://$PROJECT_DIR$/lib/solr_lib/lucene-core-4.3.0.jar!/" />
  1024. + </CLASSES>
  1025. + <JAVADOC />
  1026. + <SOURCES />
  1027. + </library>
  1028. +</component>
  1029. \ No newline at end of file
  1030. diff --git a/reco/.idea/libraries/lucene_grouping_4_3_0.xml b/reco/.idea/libraries/lucene_grouping_4_3_0.xml
  1031. new file mode 100644
  1032. index 0000000..eb69b3b
  1033. --- /dev/null
  1034. +++ b/reco/.idea/libraries/lucene_grouping_4_3_0.xml
  1035. @@ -0,0 +1,9 @@
  1036. +<component name="libraryTable">
  1037. + <library name="lucene-grouping-4.3.0">
  1038. + <CLASSES>
  1039. + <root url="jar://$PROJECT_DIR$/lib/solr_lib/lucene-grouping-4.3.0.jar!/" />
  1040. + </CLASSES>
  1041. + <JAVADOC />
  1042. + <SOURCES />
  1043. + </library>
  1044. +</component>
  1045. \ No newline at end of file
  1046. diff --git a/reco/.idea/libraries/lucene_queryparser_4_3_0.xml b/reco/.idea/libraries/lucene_queryparser_4_3_0.xml
  1047. new file mode 100644
  1048. index 0000000..c694d33
  1049. --- /dev/null
  1050. +++ b/reco/.idea/libraries/lucene_queryparser_4_3_0.xml
  1051. @@ -0,0 +1,9 @@
  1052. +<component name="libraryTable">
  1053. + <library name="lucene-queryparser-4.3.0">
  1054. + <CLASSES>
  1055. + <root url="jar://$PROJECT_DIR$/lib/solr_lib/lucene-queryparser-4.3.0.jar!/" />
  1056. + </CLASSES>
  1057. + <JAVADOC />
  1058. + <SOURCES />
  1059. + </library>
  1060. +</component>
  1061. \ No newline at end of file
  1062. diff --git a/reco/.idea/libraries/lucene_suggest_4_3_0.xml b/reco/.idea/libraries/lucene_suggest_4_3_0.xml
  1063. new file mode 100644
  1064. index 0000000..f0e1e25
  1065. --- /dev/null
  1066. +++ b/reco/.idea/libraries/lucene_suggest_4_3_0.xml
  1067. @@ -0,0 +1,9 @@
  1068. +<component name="libraryTable">
  1069. + <library name="lucene-suggest-4.3.0">
  1070. + <CLASSES>
  1071. + <root url="jar://$PROJECT_DIR$/lib/solr_lib/lucene-suggest-4.3.0.jar!/" />
  1072. + </CLASSES>
  1073. + <JAVADOC />
  1074. + <SOURCES />
  1075. + </library>
  1076. +</component>
  1077. \ No newline at end of file
  1078. diff --git a/reco/.idea/libraries/lzma_4_63_jio_0_94.xml b/reco/.idea/libraries/lzma_4_63_jio_0_94.xml
  1079. new file mode 100644
  1080. index 0000000..8e6cf99
  1081. --- /dev/null
  1082. +++ b/reco/.idea/libraries/lzma_4_63_jio_0_94.xml
  1083. @@ -0,0 +1,9 @@
  1084. +<component name="libraryTable">
  1085. + <library name="lzma-4.63-jio-0.94">
  1086. + <CLASSES>
  1087. + <root url="jar://$PROJECT_DIR$/lib/file/lzma-4.63-jio-0.94.jar!/" />
  1088. + </CLASSES>
  1089. + <JAVADOC />
  1090. + <SOURCES />
  1091. + </library>
  1092. +</component>
  1093. \ No newline at end of file
  1094. diff --git a/reco/.idea/libraries/mchange_commons_java_0_2_3_4.xml b/reco/.idea/libraries/mchange_commons_java_0_2_3_4.xml
  1095. new file mode 100644
  1096. index 0000000..058fc11
  1097. --- /dev/null
  1098. +++ b/reco/.idea/libraries/mchange_commons_java_0_2_3_4.xml
  1099. @@ -0,0 +1,9 @@
  1100. +<component name="libraryTable">
  1101. + <library name="mchange-commons-java-0.2.3.4">
  1102. + <CLASSES>
  1103. + <root url="jar://$PROJECT_DIR$/lib/c3p0/mchange-commons-java-0.2.3.4.jar!/" />
  1104. + </CLASSES>
  1105. + <JAVADOC />
  1106. + <SOURCES />
  1107. + </library>
  1108. +</component>
  1109. \ No newline at end of file
  1110. diff --git a/reco/.idea/libraries/metrics_annotation_2_2_0.xml b/reco/.idea/libraries/metrics_annotation_2_2_0.xml
  1111. new file mode 100644
  1112. index 0000000..c5fb10d
  1113. --- /dev/null
  1114. +++ b/reco/.idea/libraries/metrics_annotation_2_2_0.xml
  1115. @@ -0,0 +1,9 @@
  1116. +<component name="libraryTable">
  1117. + <library name="metrics-annotation-2.2.0">
  1118. + <CLASSES>
  1119. + <root url="jar://$PROJECT_DIR$/lib/kafka/metrics-annotation-2.2.0.jar!/" />
  1120. + </CLASSES>
  1121. + <JAVADOC />
  1122. + <SOURCES />
  1123. + </library>
  1124. +</component>
  1125. \ No newline at end of file
  1126. diff --git a/reco/.idea/libraries/metrics_core_3_0_1.xml b/reco/.idea/libraries/metrics_core_3_0_1.xml
  1127. new file mode 100644
  1128. index 0000000..abf193d
  1129. --- /dev/null
  1130. +++ b/reco/.idea/libraries/metrics_core_3_0_1.xml
  1131. @@ -0,0 +1,9 @@
  1132. +<component name="libraryTable">
  1133. + <library name="metrics-core-3.0.1">
  1134. + <CLASSES>
  1135. + <root url="jar://$PROJECT_DIR$/lib/metrics-core-3.0.1.jar!/" />
  1136. + </CLASSES>
  1137. + <JAVADOC />
  1138. + <SOURCES />
  1139. + </library>
  1140. +</component>
  1141. \ No newline at end of file
  1142. diff --git a/reco/.idea/libraries/mysql_connector_java_5_1_25_bin.xml b/reco/.idea/libraries/mysql_connector_java_5_1_25_bin.xml
  1143. new file mode 100644
  1144. index 0000000..adbf145
  1145. --- /dev/null
  1146. +++ b/reco/.idea/libraries/mysql_connector_java_5_1_25_bin.xml
  1147. @@ -0,0 +1,9 @@
  1148. +<component name="libraryTable">
  1149. + <library name="mysql-connector-java-5.1.25-bin">
  1150. + <CLASSES>
  1151. + <root url="jar://$PROJECT_DIR$/cmdline/additional_lib/mysql-connector-java-5.1.25-bin.jar!/" />
  1152. + </CLASSES>
  1153. + <JAVADOC />
  1154. + <SOURCES />
  1155. + </library>
  1156. +</component>
  1157. \ No newline at end of file
  1158. diff --git a/reco/.idea/libraries/nekohtml.xml b/reco/.idea/libraries/nekohtml.xml
  1159. new file mode 100644
  1160. index 0000000..20445ac
  1161. --- /dev/null
  1162. +++ b/reco/.idea/libraries/nekohtml.xml
  1163. @@ -0,0 +1,9 @@
  1164. +<component name="libraryTable">
  1165. + <library name="nekohtml">
  1166. + <CLASSES>
  1167. + <root url="jar://$PROJECT_DIR$/lib/cssbox/nekohtml.jar!/" />
  1168. + </CLASSES>
  1169. + <JAVADOC />
  1170. + <SOURCES />
  1171. + </library>
  1172. +</component>
  1173. \ No newline at end of file
  1174. diff --git a/reco/.idea/libraries/netty_all_4_0_33_Final.xml b/reco/.idea/libraries/netty_all_4_0_33_Final.xml
  1175. new file mode 100644
  1176. index 0000000..a9168a1
  1177. --- /dev/null
  1178. +++ b/reco/.idea/libraries/netty_all_4_0_33_Final.xml
  1179. @@ -0,0 +1,9 @@
  1180. +<component name="libraryTable">
  1181. + <library name="netty-all-4.0.33.Final">
  1182. + <CLASSES>
  1183. + <root url="jar://$PROJECT_DIR$/lib/netty-all-4.0.33.Final.jar!/" />
  1184. + </CLASSES>
  1185. + <JAVADOC />
  1186. + <SOURCES />
  1187. + </library>
  1188. +</component>
  1189. \ No newline at end of file
  1190. diff --git a/reco/.idea/libraries/ojdbc6.xml b/reco/.idea/libraries/ojdbc6.xml
  1191. new file mode 100644
  1192. index 0000000..78dfdcd
  1193. --- /dev/null
  1194. +++ b/reco/.idea/libraries/ojdbc6.xml
  1195. @@ -0,0 +1,9 @@
  1196. +<component name="libraryTable">
  1197. + <library name="ojdbc6">
  1198. + <CLASSES>
  1199. + <root url="jar://$PROJECT_DIR$/lib/ojdbc6.jar!/" />
  1200. + </CLASSES>
  1201. + <JAVADOC />
  1202. + <SOURCES />
  1203. + </library>
  1204. +</component>
  1205. \ No newline at end of file
  1206. diff --git a/reco/.idea/libraries/org_netbeans_modules_java_j2seproject_copylibstask.xml b/reco/.idea/libraries/org_netbeans_modules_java_j2seproject_copylibstask.xml
  1207. new file mode 100644
  1208. index 0000000..7e7482e
  1209. --- /dev/null
  1210. +++ b/reco/.idea/libraries/org_netbeans_modules_java_j2seproject_copylibstask.xml
  1211. @@ -0,0 +1,9 @@
  1212. +<component name="libraryTable">
  1213. + <library name="org-netbeans-modules-java-j2seproject-copylibstask">
  1214. + <CLASSES>
  1215. + <root url="jar://$PROJECT_DIR$/lib/netbeans/org-netbeans-modules-java-j2seproject-copylibstask.jar!/" />
  1216. + </CLASSES>
  1217. + <JAVADOC />
  1218. + <SOURCES />
  1219. + </library>
  1220. +</component>
  1221. \ No newline at end of file
  1222. diff --git a/reco/.idea/libraries/portlet_api_2_0_r12.xml b/reco/.idea/libraries/portlet_api_2_0_r12.xml
  1223. new file mode 100644
  1224. index 0000000..c9c207a
  1225. --- /dev/null
  1226. +++ b/reco/.idea/libraries/portlet_api_2_0_r12.xml
  1227. @@ -0,0 +1,9 @@
  1228. +<component name="libraryTable">
  1229. + <library name="portlet-api-2.0-r12">
  1230. + <CLASSES>
  1231. + <root url="jar://$PROJECT_DIR$/lib/jsonrpc4j/portlet-api-2.0-r12.jar!/" />
  1232. + </CLASSES>
  1233. + <JAVADOC />
  1234. + <SOURCES />
  1235. + </library>
  1236. +</component>
  1237. \ No newline at end of file
  1238. diff --git a/reco/.idea/libraries/sam_1_84.xml b/reco/.idea/libraries/sam_1_84.xml
  1239. new file mode 100644
  1240. index 0000000..f0f14d7
  1241. --- /dev/null
  1242. +++ b/reco/.idea/libraries/sam_1_84.xml
  1243. @@ -0,0 +1,9 @@
  1244. +<component name="libraryTable">
  1245. + <library name="sam-1.84">
  1246. + <CLASSES>
  1247. + <root url="jar://$PROJECT_DIR$/lib/sam-1.84.jar!/" />
  1248. + </CLASSES>
  1249. + <JAVADOC />
  1250. + <SOURCES />
  1251. + </library>
  1252. +</component>
  1253. \ No newline at end of file
  1254. diff --git a/reco/.idea/libraries/scala_library_2_10_1.xml b/reco/.idea/libraries/scala_library_2_10_1.xml
  1255. new file mode 100644
  1256. index 0000000..9c91469
  1257. --- /dev/null
  1258. +++ b/reco/.idea/libraries/scala_library_2_10_1.xml
  1259. @@ -0,0 +1,9 @@
  1260. +<component name="libraryTable">
  1261. + <library name="scala-library-2.10.1">
  1262. + <CLASSES>
  1263. + <root url="jar://$PROJECT_DIR$/lib/kafka/scala-library-2.10.1.jar!/" />
  1264. + </CLASSES>
  1265. + <JAVADOC />
  1266. + <SOURCES />
  1267. + </library>
  1268. +</component>
  1269. \ No newline at end of file
  1270. diff --git a/reco/.idea/libraries/serializer.xml b/reco/.idea/libraries/serializer.xml
  1271. new file mode 100644
  1272. index 0000000..d0f026b
  1273. --- /dev/null
  1274. +++ b/reco/.idea/libraries/serializer.xml
  1275. @@ -0,0 +1,9 @@
  1276. +<component name="libraryTable">
  1277. + <library name="serializer">
  1278. + <CLASSES>
  1279. + <root url="jar://$PROJECT_DIR$/lib/serializer.jar!/" />
  1280. + </CLASSES>
  1281. + <JAVADOC />
  1282. + <SOURCES />
  1283. + </library>
  1284. +</component>
  1285. \ No newline at end of file
  1286. diff --git a/reco/.idea/libraries/slf4j_api_1_7_5_sources.xml b/reco/.idea/libraries/slf4j_api_1_7_5_sources.xml
  1287. new file mode 100644
  1288. index 0000000..adeb24b
  1289. --- /dev/null
  1290. +++ b/reco/.idea/libraries/slf4j_api_1_7_5_sources.xml
  1291. @@ -0,0 +1,9 @@
  1292. +<component name="libraryTable">
  1293. + <library name="slf4j-api-1.7.5-sources">
  1294. + <CLASSES />
  1295. + <JAVADOC />
  1296. + <SOURCES>
  1297. + <root url="jar://$PROJECT_DIR$/lib/slf4j/slf4j-1.7.5/slf4j-api-1.7.5-sources.jar!/" />
  1298. + </SOURCES>
  1299. + </library>
  1300. +</component>
  1301. \ No newline at end of file
  1302. diff --git a/reco/.idea/libraries/slf4j_ext_1_7_5_sources.xml b/reco/.idea/libraries/slf4j_ext_1_7_5_sources.xml
  1303. new file mode 100644
  1304. index 0000000..0eabaff
  1305. --- /dev/null
  1306. +++ b/reco/.idea/libraries/slf4j_ext_1_7_5_sources.xml
  1307. @@ -0,0 +1,9 @@
  1308. +<component name="libraryTable">
  1309. + <library name="slf4j-ext-1.7.5-sources">
  1310. + <CLASSES />
  1311. + <JAVADOC />
  1312. + <SOURCES>
  1313. + <root url="jar://$PROJECT_DIR$/lib/slf4j/slf4j-1.7.5/slf4j-ext-1.7.5-sources.jar!/" />
  1314. + </SOURCES>
  1315. + </library>
  1316. +</component>
  1317. \ No newline at end of file
  1318. diff --git a/reco/.idea/libraries/slf4j_jcl_1_7_5_sources.xml b/reco/.idea/libraries/slf4j_jcl_1_7_5_sources.xml
  1319. new file mode 100644
  1320. index 0000000..828d10b
  1321. --- /dev/null
  1322. +++ b/reco/.idea/libraries/slf4j_jcl_1_7_5_sources.xml
  1323. @@ -0,0 +1,9 @@
  1324. +<component name="libraryTable">
  1325. + <library name="slf4j-jcl-1.7.5-sources">
  1326. + <CLASSES />
  1327. + <JAVADOC />
  1328. + <SOURCES>
  1329. + <root url="jar://$PROJECT_DIR$/lib/slf4j/slf4j-1.7.5/slf4j-jcl-1.7.5-sources.jar!/" />
  1330. + </SOURCES>
  1331. + </library>
  1332. +</component>
  1333. \ No newline at end of file
  1334. diff --git a/reco/.idea/libraries/slf4j_jdk14_1_7_5_sources.xml b/reco/.idea/libraries/slf4j_jdk14_1_7_5_sources.xml
  1335. new file mode 100644
  1336. index 0000000..85ebef3
  1337. --- /dev/null
  1338. +++ b/reco/.idea/libraries/slf4j_jdk14_1_7_5_sources.xml
  1339. @@ -0,0 +1,9 @@
  1340. +<component name="libraryTable">
  1341. + <library name="slf4j-jdk14-1.7.5-sources">
  1342. + <CLASSES />
  1343. + <JAVADOC />
  1344. + <SOURCES>
  1345. + <root url="jar://$PROJECT_DIR$/lib/slf4j/slf4j-1.7.5/slf4j-jdk14-1.7.5-sources.jar!/" />
  1346. + </SOURCES>
  1347. + </library>
  1348. +</component>
  1349. \ No newline at end of file
  1350. diff --git a/reco/.idea/libraries/slf4j_log4j12_1_7_5_sources.xml b/reco/.idea/libraries/slf4j_log4j12_1_7_5_sources.xml
  1351. new file mode 100644
  1352. index 0000000..3ca1a7d
  1353. --- /dev/null
  1354. +++ b/reco/.idea/libraries/slf4j_log4j12_1_7_5_sources.xml
  1355. @@ -0,0 +1,9 @@
  1356. +<component name="libraryTable">
  1357. + <library name="slf4j-log4j12-1.7.5-sources">
  1358. + <CLASSES />
  1359. + <JAVADOC />
  1360. + <SOURCES>
  1361. + <root url="jar://$PROJECT_DIR$/lib/slf4j/slf4j-1.7.5/slf4j-log4j12-1.7.5-sources.jar!/" />
  1362. + </SOURCES>
  1363. + </library>
  1364. +</component>
  1365. \ No newline at end of file
  1366. diff --git a/reco/.idea/libraries/slf4j_migrator_1_7_5.xml b/reco/.idea/libraries/slf4j_migrator_1_7_5.xml
  1367. new file mode 100644
  1368. index 0000000..0f40644
  1369. --- /dev/null
  1370. +++ b/reco/.idea/libraries/slf4j_migrator_1_7_5.xml
  1371. @@ -0,0 +1,9 @@
  1372. +<component name="libraryTable">
  1373. + <library name="slf4j-migrator-1.7.5">
  1374. + <CLASSES>
  1375. + <root url="jar://$PROJECT_DIR$/lib/slf4j/slf4j-1.7.5/slf4j-migrator-1.7.5.jar!/" />
  1376. + </CLASSES>
  1377. + <JAVADOC />
  1378. + <SOURCES />
  1379. + </library>
  1380. +</component>
  1381. \ No newline at end of file
  1382. diff --git a/reco/.idea/libraries/slf4j_nop_1_7_5_sources.xml b/reco/.idea/libraries/slf4j_nop_1_7_5_sources.xml
  1383. new file mode 100644
  1384. index 0000000..46d2cec
  1385. --- /dev/null
  1386. +++ b/reco/.idea/libraries/slf4j_nop_1_7_5_sources.xml
  1387. @@ -0,0 +1,9 @@
  1388. +<component name="libraryTable">
  1389. + <library name="slf4j-nop-1.7.5-sources">
  1390. + <CLASSES />
  1391. + <JAVADOC />
  1392. + <SOURCES>
  1393. + <root url="jar://$PROJECT_DIR$/lib/slf4j/slf4j-1.7.5/slf4j-nop-1.7.5-sources.jar!/" />
  1394. + </SOURCES>
  1395. + </library>
  1396. +</component>
  1397. \ No newline at end of file
  1398. diff --git a/reco/.idea/libraries/slf4j_simple_1_7_5_sources.xml b/reco/.idea/libraries/slf4j_simple_1_7_5_sources.xml
  1399. new file mode 100644
  1400. index 0000000..dce1a74
  1401. --- /dev/null
  1402. +++ b/reco/.idea/libraries/slf4j_simple_1_7_5_sources.xml
  1403. @@ -0,0 +1,9 @@
  1404. +<component name="libraryTable">
  1405. + <library name="slf4j-simple-1.7.5-sources">
  1406. + <CLASSES />
  1407. + <JAVADOC />
  1408. + <SOURCES>
  1409. + <root url="jar://$PROJECT_DIR$/lib/slf4j/slf4j-1.7.5/slf4j-simple-1.7.5-sources.jar!/" />
  1410. + </SOURCES>
  1411. + </library>
  1412. +</component>
  1413. \ No newline at end of file
  1414. diff --git a/reco/.idea/libraries/snappy_java_1_1_0_1.xml b/reco/.idea/libraries/snappy_java_1_1_0_1.xml
  1415. new file mode 100644
  1416. index 0000000..c01e4c9
  1417. --- /dev/null
  1418. +++ b/reco/.idea/libraries/snappy_java_1_1_0_1.xml
  1419. @@ -0,0 +1,9 @@
  1420. +<component name="libraryTable">
  1421. + <library name="snappy-java-1.1.0.1">
  1422. + <CLASSES>
  1423. + <root url="jar://$PROJECT_DIR$/lib/snappy-java-1.1.0.1.jar!/" />
  1424. + </CLASSES>
  1425. + <JAVADOC />
  1426. + <SOURCES />
  1427. + </library>
  1428. +</component>
  1429. \ No newline at end of file
  1430. diff --git a/reco/.idea/libraries/stax_utils.xml b/reco/.idea/libraries/stax_utils.xml
  1431. new file mode 100644
  1432. index 0000000..8ad73de
  1433. --- /dev/null
  1434. +++ b/reco/.idea/libraries/stax_utils.xml
  1435. @@ -0,0 +1,9 @@
  1436. +<component name="libraryTable">
  1437. + <library name="stax-utils">
  1438. + <CLASSES>
  1439. + <root url="jar://$PROJECT_DIR$/lib/stax-utils.jar!/" />
  1440. + </CLASSES>
  1441. + <JAVADOC />
  1442. + <SOURCES />
  1443. + </library>
  1444. +</component>
  1445. \ No newline at end of file
  1446. diff --git a/reco/.idea/libraries/trove.xml b/reco/.idea/libraries/trove.xml
  1447. new file mode 100644
  1448. index 0000000..f7e68e9
  1449. --- /dev/null
  1450. +++ b/reco/.idea/libraries/trove.xml
  1451. @@ -0,0 +1,9 @@
  1452. +<component name="libraryTable">
  1453. + <library name="trove">
  1454. + <CLASSES>
  1455. + <root url="jar://$PROJECT_DIR$/lib/trove.jar!/" />
  1456. + </CLASSES>
  1457. + <JAVADOC />
  1458. + <SOURCES />
  1459. + </library>
  1460. +</component>
  1461. \ No newline at end of file
  1462. diff --git a/reco/.idea/libraries/trove_3_0_3.xml b/reco/.idea/libraries/trove_3_0_3.xml
  1463. new file mode 100644
  1464. index 0000000..6f7c208
  1465. --- /dev/null
  1466. +++ b/reco/.idea/libraries/trove_3_0_3.xml
  1467. @@ -0,0 +1,9 @@
  1468. +<component name="libraryTable">
  1469. + <library name="trove-3.0.3">
  1470. + <CLASSES>
  1471. + <root url="jar://$PROJECT_DIR$/lib/trove-3.0.3.jar!/" />
  1472. + </CLASSES>
  1473. + <JAVADOC />
  1474. + <SOURCES />
  1475. + </library>
  1476. +</component>
  1477. \ No newline at end of file
  1478. diff --git a/reco/.idea/libraries/velocity_1_6_1.xml b/reco/.idea/libraries/velocity_1_6_1.xml
  1479. new file mode 100644
  1480. index 0000000..fd9bf01
  1481. --- /dev/null
  1482. +++ b/reco/.idea/libraries/velocity_1_6_1.xml
  1483. @@ -0,0 +1,9 @@
  1484. +<component name="libraryTable">
  1485. + <library name="velocity-1.6.1">
  1486. + <CLASSES>
  1487. + <root url="jar://$PROJECT_DIR$/lib/solr_lib/velocity-1.6.1.jar!/" />
  1488. + </CLASSES>
  1489. + <JAVADOC />
  1490. + <SOURCES />
  1491. + </library>
  1492. +</component>
  1493. \ No newline at end of file
  1494. diff --git a/reco/.idea/libraries/velocity_tools_2_0_beta3.xml b/reco/.idea/libraries/velocity_tools_2_0_beta3.xml
  1495. new file mode 100644
  1496. index 0000000..359fdcc
  1497. --- /dev/null
  1498. +++ b/reco/.idea/libraries/velocity_tools_2_0_beta3.xml
  1499. @@ -0,0 +1,9 @@
  1500. +<component name="libraryTable">
  1501. + <library name="velocity-tools-2.0-beta3">
  1502. + <CLASSES>
  1503. + <root url="jar://$PROJECT_DIR$/lib/solr_lib/velocity-tools-2.0-beta3.jar!/" />
  1504. + </CLASSES>
  1505. + <JAVADOC />
  1506. + <SOURCES />
  1507. + </library>
  1508. +</component>
  1509. \ No newline at end of file
  1510. diff --git a/reco/.idea/libraries/wstx_asl_3_2_7.xml b/reco/.idea/libraries/wstx_asl_3_2_7.xml
  1511. new file mode 100644
  1512. index 0000000..b5841da
  1513. --- /dev/null
  1514. +++ b/reco/.idea/libraries/wstx_asl_3_2_7.xml
  1515. @@ -0,0 +1,9 @@
  1516. +<component name="libraryTable">
  1517. + <library name="wstx-asl-3.2.7">
  1518. + <CLASSES>
  1519. + <root url="jar://$PROJECT_DIR$/lib/solr_lib/wstx-asl-3.2.7.jar!/" />
  1520. + </CLASSES>
  1521. + <JAVADOC />
  1522. + <SOURCES />
  1523. + </library>
  1524. +</component>
  1525. \ No newline at end of file
  1526. diff --git a/reco/.idea/libraries/xercesImpl.xml b/reco/.idea/libraries/xercesImpl.xml
  1527. new file mode 100644
  1528. index 0000000..ad6226c
  1529. --- /dev/null
  1530. +++ b/reco/.idea/libraries/xercesImpl.xml
  1531. @@ -0,0 +1,9 @@
  1532. +<component name="libraryTable">
  1533. + <library name="xercesImpl">
  1534. + <CLASSES>
  1535. + <root url="jar://$PROJECT_DIR$/lib/cssbox/xercesImpl.jar!/" />
  1536. + </CLASSES>
  1537. + <JAVADOC />
  1538. + <SOURCES />
  1539. + </library>
  1540. +</component>
  1541. \ No newline at end of file
  1542. diff --git a/reco/.idea/libraries/xmemcached_1_4_3.xml b/reco/.idea/libraries/xmemcached_1_4_3.xml
  1543. new file mode 100644
  1544. index 0000000..f6014b1
  1545. --- /dev/null
  1546. +++ b/reco/.idea/libraries/xmemcached_1_4_3.xml
  1547. @@ -0,0 +1,9 @@
  1548. +<component name="libraryTable">
  1549. + <library name="xmemcached-1.4.3">
  1550. + <CLASSES>
  1551. + <root url="jar://$PROJECT_DIR$/lib/xmemcached-1.4.3.jar!/" />
  1552. + </CLASSES>
  1553. + <JAVADOC />
  1554. + <SOURCES />
  1555. + </library>
  1556. +</component>
  1557. \ No newline at end of file
  1558. diff --git a/reco/.idea/libraries/xml_apis.xml b/reco/.idea/libraries/xml_apis.xml
  1559. new file mode 100644
  1560. index 0000000..7edd46e
  1561. --- /dev/null
  1562. +++ b/reco/.idea/libraries/xml_apis.xml
  1563. @@ -0,0 +1,9 @@
  1564. +<component name="libraryTable">
  1565. + <library name="xml-apis">
  1566. + <CLASSES>
  1567. + <root url="jar://$PROJECT_DIR$/lib/cssbox/xml-apis.jar!/" />
  1568. + </CLASSES>
  1569. + <JAVADOC />
  1570. + <SOURCES />
  1571. + </library>
  1572. +</component>
  1573. \ No newline at end of file
  1574. diff --git a/reco/.idea/libraries/zkclient_0_3.xml b/reco/.idea/libraries/zkclient_0_3.xml
  1575. new file mode 100644
  1576. index 0000000..b910be2
  1577. --- /dev/null
  1578. +++ b/reco/.idea/libraries/zkclient_0_3.xml
  1579. @@ -0,0 +1,9 @@
  1580. +<component name="libraryTable">
  1581. + <library name="zkclient-0.3">
  1582. + <CLASSES>
  1583. + <root url="jar://$PROJECT_DIR$/lib/kafka/zkclient-0.3.jar!/" />
  1584. + </CLASSES>
  1585. + <JAVADOC />
  1586. + <SOURCES />
  1587. + </library>
  1588. +</component>
  1589. \ No newline at end of file
  1590. diff --git a/reco/.idea/libraries/zookeeper_3_3_4.xml b/reco/.idea/libraries/zookeeper_3_3_4.xml
  1591. new file mode 100644
  1592. index 0000000..201b74c
  1593. --- /dev/null
  1594. +++ b/reco/.idea/libraries/zookeeper_3_3_4.xml
  1595. @@ -0,0 +1,9 @@
  1596. +<component name="libraryTable">
  1597. + <library name="zookeeper-3.3.4">
  1598. + <CLASSES>
  1599. + <root url="jar://$PROJECT_DIR$/lib/kafka/zookeeper-3.3.4.jar!/" />
  1600. + </CLASSES>
  1601. + <JAVADOC />
  1602. + <SOURCES />
  1603. + </library>
  1604. +</component>
  1605. \ No newline at end of file
  1606. diff --git a/reco/.idea/misc.xml b/reco/.idea/misc.xml
  1607. new file mode 100644
  1608. index 0000000..0501769
  1609. --- /dev/null
  1610. +++ b/reco/.idea/misc.xml
  1611. @@ -0,0 +1,9 @@
  1612. +<?xml version="1.0" encoding="UTF-8"?>
  1613. +<project version="4">
  1614. + <component name="JavaScriptSettings">
  1615. + <option name="languageLevel" value="ES6" />
  1616. + </component>
  1617. + <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK">
  1618. + <output url="file://$PROJECT_DIR$/grrec/build" />
  1619. + </component>
  1620. +</project>
  1621. \ No newline at end of file
  1622. diff --git a/reco/.idea/modules.xml b/reco/.idea/modules.xml
  1623. new file mode 100644
  1624. index 0000000..b2ea706
  1625. --- /dev/null
  1626. +++ b/reco/.idea/modules.xml
  1627. @@ -0,0 +1,8 @@
  1628. +<?xml version="1.0" encoding="UTF-8"?>
  1629. +<project version="4">
  1630. + <component name="ProjectModuleManager">
  1631. + <modules>
  1632. + <module fileurl="file://$PROJECT_DIR$/.idea/reco.iml" filepath="$PROJECT_DIR$/.idea/reco.iml" />
  1633. + </modules>
  1634. + </component>
  1635. +</project>
  1636. \ No newline at end of file
  1637. diff --git a/reco/.idea/vcs.xml b/reco/.idea/vcs.xml
  1638. new file mode 100644
  1639. index 0000000..6c0b863
  1640. --- /dev/null
  1641. +++ b/reco/.idea/vcs.xml
  1642. @@ -0,0 +1,6 @@
  1643. +<?xml version="1.0" encoding="UTF-8"?>
  1644. +<project version="4">
  1645. + <component name="VcsDirectoryMappings">
  1646. + <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
  1647. + </component>
  1648. +</project>
  1649. \ No newline at end of file
  1650. diff --git a/reco/buildforjetty/build_war.sh b/reco/buildforjetty/build_war.sh
  1651. old mode 100644
  1652. new mode 100755
  1653. diff --git a/reco/buildforjetty/createLocalForCustomer.sh b/reco/buildforjetty/createLocalForCustomer.sh
  1654. old mode 100644
  1655. new mode 100755
  1656. diff --git a/reco/buildforjetty/ear2war.sh b/reco/buildforjetty/ear2war.sh
  1657. old mode 100644
  1658. new mode 100755
  1659. diff --git a/reco/buildforjetty/hotswap_exploded_localhost.sh b/reco/buildforjetty/hotswap_exploded_localhost.sh
  1660. old mode 100644
  1661. new mode 100755
  1662. diff --git a/reco/buildforjetty/install_jetty.sh b/reco/buildforjetty/install_jetty.sh
  1663. old mode 100644
  1664. new mode 100755
  1665. diff --git a/reco/buildforjetty/jetty_functions.sh b/reco/buildforjetty/jetty_functions.sh
  1666. old mode 100644
  1667. new mode 100755
  1668. index 59c16b7..9899322
  1669. --- a/reco/buildforjetty/jetty_functions.sh
  1670. +++ b/reco/buildforjetty/jetty_functions.sh
  1671. @@ -4,14 +4,12 @@
  1672. # If not, then asks for permission and then downloads and extracts it.
  1673.  
  1674. #export url=http://download.eclipse.org/jetty/8.1.5.v20120716/dist/jetty-distribution-8.1.5.v20120716.zip #http://download.eclipse.org/jetty/stable-8/dist/jetty-distribution-8.1.5.v20120716.zip
  1675. -export url=http://devserver1/pila/jetty/jetty-distribution-8.1.5.v20120716.zip
  1676. -export md5value=8e208fdf5d2c7b114cfe0fdbd1247d76 # md5sum for the above url
  1677. +export url=https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-distribution/8.1.5.v20120716/jetty-distribution-8.1.5.v20120716.zip
  1678. export d="$(basename "$url" .zip)"
  1679.  
  1680. function install_jetty {
  1681. rm -f "$d.zip"
  1682. wget "$url" || return
  1683. - if [ "$(md5sum jetty-distribution-8.1.5.v20120716.zip | awk '{print $1}')" != "$md5value" ]; then echo "ERROR: md5sum of jetty-distribution-8.1.5.v20120716.zip is not $md5value; exiting"; fi
  1684. unzip "$d.zip" || return
  1685. }
  1686.  
  1687. diff --git a/reco/buildforjetty/lib.sh b/reco/buildforjetty/lib.sh
  1688. old mode 100644
  1689. new mode 100755
  1690. diff --git a/reco/buildforjetty/lib_win.sh b/reco/buildforjetty/lib_win.sh
  1691. old mode 100644
  1692. new mode 100755
  1693. diff --git a/reco/buildforjetty/run_ear.sh b/reco/buildforjetty/run_ear.sh
  1694. old mode 100644
  1695. new mode 100755
  1696. diff --git a/reco/buildforjetty/run_exploded.sh b/reco/buildforjetty/run_exploded.sh
  1697. old mode 100644
  1698. new mode 100755
  1699. diff --git a/reco/buildforjetty/run_exploded_ant.sh b/reco/buildforjetty/run_exploded_ant.sh
  1700. old mode 100644
  1701. new mode 100755
  1702. diff --git a/reco/buildforjetty/run_exploded_win.sh b/reco/buildforjetty/run_exploded_win.sh
  1703. old mode 100644
  1704. new mode 100755
  1705. diff --git a/reco/buildforjetty/run_main.sh b/reco/buildforjetty/run_main.sh
  1706. old mode 100644
  1707. new mode 100755
  1708. diff --git a/reco/buildforjetty/run_main_ant.sh b/reco/buildforjetty/run_main_ant.sh
  1709. old mode 100644
  1710. new mode 100755
  1711. diff --git a/reco/buildforjetty/run_war.sh b/reco/buildforjetty/run_war.sh
  1712. old mode 100644
  1713. new mode 100755
  1714. diff --git a/reco/src/test/com/gravityrd/test/unittest/importer/ImporterCpTest.java b/reco/src/test/com/gravityrd/test/unittest/importer/ImporterCpTest.java
  1715. deleted file mode 100644
  1716. index 1db1aa1..0000000
  1717. --- a/reco/src/test/com/gravityrd/test/unittest/importer/ImporterCpTest.java
  1718. +++ /dev/null
  1719. @@ -1,515 +0,0 @@
  1720. -package com.gravityrd.test.unittest.importer;
  1721. -
  1722. -import com.gravityrd.receng.client.rpc.importer.EntityType;
  1723. -import com.gravityrd.receng.client.rpc.importer.ImportParam;
  1724. -import com.gravityrd.receng.client.rpc.importer.ImportSource;
  1725. -import com.gravityrd.receng.main.Settings;
  1726. -import com.gravityrd.receng.main.importer.ImportProcess;
  1727. -import com.gravityrd.receng.main.schema.Schema;
  1728. -import com.gravityrd.receng.main.util.StringUtil;
  1729. -import com.gravityrd.receng.main.validation.Validators;
  1730. -import com.gravityrd.recenginterface.main.FaultCode;
  1731. -import com.gravityrd.recenginterface.main.FaultTrace;
  1732. -import com.gravityrd.test.unittest.UnitTest;
  1733. -import com.gravityrd.test.unittest.main.MyLog4jTestLogger;
  1734. -import com.gravityrd.test.unittest.main.MyLoggingEvent;
  1735. -import com.gravityrd.test.unittest.main.filesystem.IServer;
  1736. -import com.gravityrd.test.unittest.main.filesystem.MyFtpServer;
  1737. -import com.gravityrd.test.unittest.main.filesystem.MyHttpServer;
  1738. -
  1739. -import java.io.File;
  1740. -import java.io.PrintWriter;
  1741. -import java.util.ArrayList;
  1742. -import java.util.Arrays;
  1743. -import java.util.List;
  1744. -
  1745. -import org.apache.log4j.Level;
  1746. -
  1747. -import static org.junit.Assert.assertEquals;
  1748. -
  1749. -import org.junit.After;
  1750. -import org.junit.Before;
  1751. -import org.junit.Test;
  1752. -
  1753. -public class ImporterCpTest extends UnitTest {
  1754. -
  1755. - static {
  1756. - Schema.init();
  1757. - Validators.init();
  1758. - com.gravityrd.receng.main.ConfigureLogging2.configureLogging();
  1759. - MyLog4jTestLogger.setFilter("org\\.apache\\.ftpserver.*|org\\.apache\\.commons\\.httpclient.*");
  1760. - }
  1761. -
  1762. - IServer[] testServers;
  1763. - MyHttpServer testHttpServer;
  1764. -
  1765. - private int HTTP_PORT = 8998;
  1766. - private int FTP_PORT = 8997;
  1767. -
  1768. - @Override
  1769. - @Before
  1770. - public void before() {
  1771. - super.before();
  1772. -
  1773. - try {
  1774. - IServer ftpServer = new MyFtpServer(unitTestBaseFolder);
  1775. - IServer httpServer = new MyHttpServer(false);
  1776. - testHttpServer = (MyHttpServer)httpServer;
  1777. - testServers = new IServer[] { ftpServer.start(FTP_PORT), httpServer.start(HTTP_PORT) };
  1778. - ((MyHttpServer) httpServer).setHomeDirectory(new java.io.File(unitTestBaseFolder, "importer/ImporterCpTest/inputs").getAbsolutePath());
  1779. - logger.info("Http server home directory is " + ((MyHttpServer) httpServer).getHomeDirectory());
  1780. - } catch (Exception ex) {
  1781. - throw new RuntimeException("Server could not be started.", ex);
  1782. - }
  1783. - }
  1784. -
  1785. - @Override
  1786. - @After
  1787. - public void after() {
  1788. - super.after();
  1789. - try {
  1790. - for (IServer server : testServers) {
  1791. - server.stop();
  1792. - }
  1793. - } catch (Exception re) {
  1794. - throw new RuntimeException("Server could not be stopped.", re);
  1795. - }
  1796. - }
  1797. -
  1798. -
  1799. - private String[] userInputs = {
  1800. - "UserId Country Zip Hidden UserType\n" +
  1801. - "User001 HU 9225 0 CUSTOMER\n" +
  1802. - "User002 HU 9225 1 CUSTOMER\n" +
  1803. - "User003 HU 9225 true CUSTOMER \n" +
  1804. - "User004 HU 9225 false CUSTOMER"
  1805. - , //unknown element
  1806. - "UserId Country Zip Hidden UserType Unknown\n" +
  1807. - "User001 HU 9225 0 CUSTOMER\n" +
  1808. - "User002 HU 9225 1 CUSTOMER\n" +
  1809. - "User003 HU 9225 true CUSTOMER \n" +
  1810. - "User004 HU 9225 false CUSTOMER"
  1811. - , //unique id
  1812. - "UserId Country Zip Hidden UserType\n" +
  1813. - "User001 HU 9225 0 CUSTOMER\n" +
  1814. - "User002 HU 9225 1 CUSTOMER\n" +
  1815. - "User003 HU 9225 true CUSTOMER \n" +
  1816. - "User002 HU 9225 false CUSTOMER"
  1817. - , //constant value
  1818. - "UserId Country Zip Hidden UserType\n" +
  1819. - "User001 HU 9225 0 CUSTOMER\n" +
  1820. - "User002 HU 9225 1 CUSTOMER\n" +
  1821. - "User003 HU 9223 true CUSTOMER \n" +
  1822. - "User004 HU 9225 false CUSTOMER"
  1823. - , //Hidden
  1824. - "UserId Country Zip Hidden UserType\n" +
  1825. - "User001 HU 9225 0 CUSTOMER\n" +
  1826. - "User002 HU 9225 1 CUSTOMER\n" +
  1827. - "User003 HU 9225 True CUSTOMER \n" +
  1828. - "User0041 HU 9225 false1 CUSTOMER"
  1829. - , //Hidden
  1830. - "UserId Country Zip Hidden UserType\n" +
  1831. - "User001 HU 9225 0 CUSTOMER\n" +
  1832. - "AUser0022 HU 9225 1 CUSTOMER\n" +
  1833. - "User003 HU 9225 true CUSTOMER \n" +
  1834. - "User004 HU 9225 false CUSTOMER"
  1835. - ,
  1836. - "UserId Country Zip Hidden UserType\n" +
  1837. - "User001 HU 9225 0 CUSTOMER\n" +
  1838. - "User002 HU 9225 1 CUSTOMER\n" +
  1839. - "User003 HU 9225 true CUSTOMER \n" +
  1840. - "User004 HU 9225 false CUSTOMER"
  1841. - ,
  1842. - "UserId Country Zip Hidden UserType\n" +
  1843. - "User001 HU 9225 false CUSTOMER\n" +
  1844. - "User002 HU 9225 false CUSTOMER\n" +
  1845. - "User003 HU 9225 false CUSTOMER\n" +
  1846. - "User004 HU 9225 false CUSTOMER NotSpecified Value\n" +
  1847. - "User005 HU 9225 true CUSTOMER\n" +
  1848. - "User006 HU 9225 true1 CUSTOMER"
  1849. - };
  1850. -
  1851. -
  1852. - @Test
  1853. - public void testImporter1() throws Exception {
  1854. - MyLoggingEvent[][] expectedEvents = new MyLoggingEvent[][]
  1855. - {
  1856. - new MyLoggingEvent[] { $(Level.INFO, "Opening input file as uncompressed stream."), $(Level.INFO, "MD5 hash value") },
  1857. - new MyLoggingEvent[] { $(Level.INFO, "Opening input file as uncompressed stream."), $(Level.ERROR, FaultCode.FAULT_UNKNOWN_HEADER, new FaultTrace("header", (String[])null )), $(Level.INFO, "MD5 hash value") },
  1858. - new MyLoggingEvent[] { $(Level.INFO, "Opening input file as uncompressed stream."), $(Level.WARN, FaultCode.VIOLATION_DUPLICATED_ID, new FaultTrace("Line 5", new String[] {"UserId"} )), $(Level.INFO, "MD5 hash value"), $(Level.INFO, "Validating completed, starting real import.") },
  1859. - new MyLoggingEvent[] { $(Level.INFO, "Opening input file as uncompressed stream."), $(Level.FATAL, FaultCode.VIOLATION_CONSTANT_FIELD, new FaultTrace("Line 4", new String[] {"Zip"} )) },
  1860. - new MyLoggingEvent[] { $(Level.INFO, "Opening input file as uncompressed stream."), $(Level.ERROR, FaultCode.VIOLATION_BOOL_VALUE, new FaultTrace("Line 4", new String[] {"Hidden"})), $(Level.ERROR, FaultCode.VIOLATION_BOOL_VALUE, new FaultTrace("Line 5", new String[] {"Hidden"})), $(Level.INFO, "MD5 hash value"), $(Level.INFO, "Validating completed, starting real import.") },
  1861. - new MyLoggingEvent[] { $(Level.INFO, "Opening input file as uncompressed stream."), $(Level.ERROR, FaultCode.VIOLATION_PATTERN, new FaultTrace("Line 3", new String[] { "UserId"} )), $(Level.INFO, "MD5 hash value"), $(Level.INFO, "Validating completed, starting real import.") },
  1862. - new MyLoggingEvent[] { $(Level.INFO, "Opening input file as uncompressed stream."), $(Level.INFO, "MD5 hash value"), $(Level.INFO, "Validating completed, starting real import.") },
  1863. - new MyLoggingEvent[] { $(Level.INFO, "Opening input file as uncompressed stream."), $(Level.ERROR, FaultCode.FAULT_UNKNOWN_PROPERTY, new FaultTrace("Line 5", new String[] {"NotSpecified"})), $(Level.ERROR, FaultCode.VIOLATION_BOOL_VALUE, new FaultTrace("Line 7", new String[] {"Hidden"})), $(Level.INFO, "MD5 hash value"), $(Level.INFO, "Validating completed, starting real import.") },
  1864. - };
  1865. -
  1866. - MyLoggingEvent[] expcectedStopEvents = new MyLoggingEvent[] {
  1867. - $(Level.INFO, "Validating completed, starting real import."),
  1868. - $(Level.FATAL, "No items could be validated, aborting import."),
  1869. - $(Level.INFO, "Import finished with 1 warnings and 0 errors."),
  1870. - $(Level.INFO, "Finishing state state=VALIDATING_FAILED, validation accepted entries=2, validation skipped entries=1, imported entries=0."),
  1871. - $(Level.INFO, "Import finished with 0 warnings and 2 errors."),
  1872. - $(Level.INFO, "Import finished with 0 warnings and 1 errors."),
  1873. - $(Level.INFO, "Import finished without warnings and errors."),
  1874. - $(Level.INFO, "Import finished with 0 warnings and 2 errors."),
  1875. - };
  1876. -
  1877. - testImporter("testImporter1", "users-test.csv", com.gravityrd.receng.client.rpc.importer.EntityType.USER, $(Level.INFO, "Validating input."), expcectedStopEvents, expectedEvents, userInputs);
  1878. - }
  1879. -
  1880. -
  1881. - private String[] userInputs2 = {
  1882. - "UserId Country Zip Hidden UserType EventType Simple\n" +
  1883. - "User001 HU 9225 0 CUSTOMER BUY OK\n" +
  1884. - "User002 HU 9225 1 CUSTOMER BUY OK\n" +
  1885. - "User003 HU 9225 true CUSTOMER BUY OK \n" +
  1886. - "User004 HU 9225 false CUSTOMER BUY OK"
  1887. - ,
  1888. - "UserId Country Zip Hidden UserType EventType Simple\n" +
  1889. - "User001 HU 9225 0 CUSTOMER BUY2 OK\n" +
  1890. - "User002 HU 9225 1 CUSTOMER BUY OK\n" +
  1891. - "User003 HU 9225 true CUSTOMER BUY OK \n" +
  1892. - "User004 HU 9225 false CUSTOMER BUY"
  1893. - ,
  1894. - "UserId Country Zip Hidden UserType Ts UserZip City\n" +
  1895. - "User001 NZ 9225 0 CUSTOMER 1230123023 100 Mudapest\n" +
  1896. - "User002 NZ 9225 1 CUSTOMER 1230123023 100 Mudapest\n" +
  1897. - "User003 NZ 9225 true CUSTOMER 1230123023 100 Mudapest\n" +
  1898. - "User004 NZ 9225 false CUSTOMER 1230123023 100 Mudapest"
  1899. - };
  1900. -
  1901. - @Test
  1902. - public void testImporter2() throws Exception {
  1903. - MyLoggingEvent[][] expectedEvents = new MyLoggingEvent[][]
  1904. - {
  1905. - new MyLoggingEvent[] { $(Level.INFO, "Opening input file as uncompressed stream."), $(Level.INFO, "Parsing input stream as tab delimited file."), $(Level.INFO, "MD5 hash value") },
  1906. - new MyLoggingEvent[] { $(Level.INFO, "Opening input file as uncompressed stream."), $(Level.INFO, "Parsing input stream as tab delimited file."), $(Level.ERROR, FaultCode.VIOLATION_ENUM_CONTAINS, new FaultTrace("Line 2", new String[] { "EventType" } )), $(Level.ERROR, FaultCode.FAULT_MISSING_MANDATORY_PROPERTY, new FaultTrace("Line 5", (String[])null )), $(Level.INFO, "MD5 hash value") },
  1907. - new MyLoggingEvent[] { $(Level.INFO, "Opening input file as uncompressed stream."), $(Level.INFO, "Parsing input stream as tab delimited file."), $(Level.INFO, "MD5 hash value") },
  1908. - };
  1909. -
  1910. - MyLoggingEvent[] expcectedStopEvents = new MyLoggingEvent[] {
  1911. - $(Level.INFO, "Validating completed, starting real import."),
  1912. - $(Level.INFO, "Validating completed, starting real import."),
  1913. - $(Level.INFO, "Validating completed, starting real import."),
  1914. - };
  1915. -
  1916. - testImporter("testImporter2", "items-test.csv", EntityType.ITEM, $(Level.INFO, "Validating input"), expcectedStopEvents, expectedEvents, userInputs2);
  1917. - }
  1918. -
  1919. -
  1920. - private String[] eventInputs = {
  1921. - "UserId ItemId EventId KeyValuesPacked\n" +
  1922. - "User001 Item001 001 Nothing\n"
  1923. - ,
  1924. - "UserId ItemId EventId KeyValuesPacked\n" +
  1925. - "User001 Item001 001 Nothing\n" +
  1926. - "User002 Item002 Event001 Nothing\n"
  1927. - };
  1928. -
  1929. - @Test
  1930. - public void testImporter3() throws Exception {
  1931. - MyLoggingEvent[][] expectedEvents = new MyLoggingEvent[][]
  1932. - {
  1933. - new MyLoggingEvent[] { $(Level.INFO, "Opening input file as uncompressed stream."), $(Level.INFO, "MD5 hash value"), $(Level.INFO, "Validating completed, starting real import.") },
  1934. - new MyLoggingEvent[] { $(Level.INFO, "Opening input file as uncompressed stream."), $(Level.ERROR, FaultCode.VIOLATION_LONG_VALUE, new FaultTrace("Line 3", new String[] { "EventId" } )), $(Level.INFO, "MD5 hash value"), $(Level.INFO, "Validating completed, starting real import.") },
  1935. - };
  1936. -
  1937. - MyLoggingEvent[] expcectedStopEvents = new MyLoggingEvent[] {
  1938. - $(Level.INFO, "Import finished without warnings and errors."),
  1939. - $(Level.INFO, "Import finished with 0 warnings and 1 errors."),
  1940. - };
  1941. -
  1942. - testImporter("testImporter3", "events-test.csv", EntityType.EVENT, $(Level.INFO, "Validating input"), expcectedStopEvents, expectedEvents, eventInputs);
  1943. - }
  1944. -
  1945. -
  1946. - private String[] metaInputs = {
  1947. - "MetaId MetaKey MetaType\n" +
  1948. - "Meta001 Key1 T2\n" +
  1949. - "Meta002 Key2 T2\n"
  1950. - ,
  1951. - "MetaId MetaKey MetaType\n" +
  1952. - "Meta001 Key1 T2\n" +
  1953. - "Meta002 K T2\n"
  1954. -
  1955. - };
  1956. -
  1957. - //meta
  1958. - @Test
  1959. - public void testImporter4() throws Exception {
  1960. -
  1961. - String oldValue = Settings.getString(null, "validator.importerCp.meta");
  1962. -
  1963. - try {
  1964. -
  1965. - Settings.put("validator.importerCp.meta", "metametaInputValidator");
  1966. -
  1967. - MyLoggingEvent[][] expectedEvents = new MyLoggingEvent[][]
  1968. - {
  1969. - new MyLoggingEvent[] { $(Level.INFO, "Opening input file as uncompressed stream."), $(Level.INFO, "MD5 hash value"), $(Level.INFO, "Validating completed, starting real import.") },
  1970. - new MyLoggingEvent[] { $(Level.INFO, "Opening input file as uncompressed stream."), $(Level.ERROR, FaultCode.VIOLATION_STRING_MIN, new FaultTrace("Line 3", new String[] { "MetaKey" } )), $(Level.INFO, "MD5 hash value"), $(Level.INFO, "Validating completed, starting real import.") },
  1971. - };
  1972. -
  1973. - MyLoggingEvent[] expcectedStopEvents = new MyLoggingEvent[] {
  1974. - $(Level.INFO, "Import finished without warnings and errors."),
  1975. - $(Level.INFO, "Import finished with 0 warnings and 1 errors."),
  1976. - };
  1977. -
  1978. - testImporter("testImporter4", "meta-test.csv", EntityType.METAMETADATA, $(Level.INFO, "Validating input"), expcectedStopEvents, expectedEvents, metaInputs);
  1979. -
  1980. - } finally {
  1981. - Settings.remove("validation");
  1982. - if (oldValue != null) Settings.put("validator.importerCp.meta", oldValue);
  1983. - }
  1984. - }
  1985. -
  1986. - @Test
  1987. - public void testImporter5() throws Exception {
  1988. - String oldValue = Settings.getString(null, "validation");
  1989. - logger.info("old value is : " + oldValue);
  1990. - try {
  1991. - Settings.put("validation", "importer.item");
  1992. - Settings.refresh_Local();
  1993. - MyLoggingEvent[][] expectedEvents = new MyLoggingEvent[][]
  1994. - {
  1995. - new MyLoggingEvent[] { $(Level.INFO, "Starting real import"), $(Level.INFO, "MD5 hash value") },
  1996. - new MyLoggingEvent[] { $(Level.INFO, "Starting real import"), $(Level.INFO, "MD5 hash value") }
  1997. - };
  1998. -
  1999. - MyLoggingEvent[] expcectedStopEvents = new MyLoggingEvent[] {
  2000. - $(Level.INFO, "Import finished without warnings and errors."),
  2001. - $(Level.INFO, "Import finished without warnings and errors."),
  2002. - };
  2003. -
  2004. - testImporter("testImporter5", "events-test.csv", EntityType.EVENT, $(Level.INFO, "Skip validation, because validation!=all and does not contain [importerCp|importerCp.event]"), expcectedStopEvents, expectedEvents, eventInputs);
  2005. -
  2006. - } finally {
  2007. - Settings.remove("validation");
  2008. - if (oldValue != null) Settings.put("validation", oldValue);
  2009. - }
  2010. - }
  2011. -
  2012. - private String[] itemXmlInputs = {
  2013. -
  2014. - "<rss xmlns:g=\"http://base.google.com/ns/1.0\" xmlns:c=\"http://base.google.com/cns/1.0\" version=\"2.0\">" +
  2015. - " <channel>" +
  2016. - " <title>Bonuszbrigad item catalog</title>" +
  2017. - " <link>http://www.bonuszbrigad.hu</link>" +
  2018. - " <description>List of items to purchase at Bonuszbrigad Webshop</description>" +
  2019. - " <item>" +
  2020. - " <c:UserId>3627</c:UserId>" +
  2021. - " <c:UserType>CUSTOMER</c:UserType>" +
  2022. - " <c:hidden>0</c:hidden>" +
  2023. - " <c:Country>HU</c:Country>" +
  2024. - " <c:Zip>9225</c:Zip>" +
  2025. - " <c:EventType>BUY</c:EventType>" +
  2026. - " <c:Simple>OK</c:Simple>" +
  2027. - " </item>" +
  2028. - " <item>" +
  2029. - " <c:UserId>3628</c:UserId>" +
  2030. - " <c:UserType>CUSTOMER</c:UserType>" +
  2031. - " <c:hidden>0</c:hidden>" +
  2032. - " <c:Country>HU</c:Country>" +
  2033. - " <c:Zip>9225</c:Zip>" +
  2034. - " <c:EventType>BUY</c:EventType>" +
  2035. - " <c:Simple>OK</c:Simple>" +
  2036. - " </item>" +
  2037. - " </channel>" +
  2038. - "</rss>"
  2039. - ,
  2040. - "<rss xmlns:g=\"http://base.google.com/ns/1.0\" xmlns:c=\"http://base.google.com/cns/1.0\" version=\"2.0\">" +
  2041. - " <channel>" +
  2042. - " <title>Bonuszbrigad item catalog</title>" +
  2043. - " <link>http://www.bonuszbrigad.hu</link>" +
  2044. - " <description>List of items to purchase at Bonuszbrigad Webshop</description>" +
  2045. - " <item>" +
  2046. - " <c:UserId>3627</c:UserId>" +
  2047. - " <c:UserType>CUSTOMER</c:UserType>" +
  2048. - " <c:hidden>0</c:hidden>" +
  2049. - " <c:Country>HU</c:Country>" +
  2050. - " <c:Zip>9225</c:Zip>" +
  2051. - " <c:EventType>BUY</c:EventType>" +
  2052. - " <c:Simple>OK</c:Simple>" +
  2053. - " </item>" +
  2054. - " <item>" +
  2055. - " <c:UserId>3628</c:UserId>" +
  2056. - " <c:UserType>CUSTOMER</c:UserType>" +
  2057. - " <c:hidden>0</c:hidden>" +
  2058. - " <c:Country>HU</c:Country>" +
  2059. - " <c:Zip>9223</c:Zip>" +
  2060. - " <c:EventType>BUY</c:EventType>" +
  2061. - " <c:Simple>OK</c:Simple>" +
  2062. - " </item>" +
  2063. - " </channel>" +
  2064. - "</rss>"
  2065. - };
  2066. -
  2067. - @Test
  2068. - public void testImporterXml() throws Exception {
  2069. - String oldValue = Settings.getString(null, "validation");
  2070. - logger.info("old value is : " + oldValue);
  2071. - try {
  2072. - Settings.put("validation", "importerCp");
  2073. - Settings.refresh_Local();
  2074. - MyLoggingEvent[][] expectedEvents = new MyLoggingEvent[][]
  2075. - {
  2076. - new MyLoggingEvent[] { $(Level.INFO, "Opening input file as uncompressed stream."), $(Level.INFO, "Parsing input stream as xml.") ,$(Level.INFO, "MD5 hash value") },
  2077. - new MyLoggingEvent[] { $(Level.INFO, "Opening input file as uncompressed stream."), $(Level.INFO, "Parsing input stream as xml.") ,$(Level.FATAL, FaultCode.VIOLATION_CONSTANT_FIELD, new FaultTrace("Item starting at line 1, index of item: 3", new String[] { "Zip" } )) },
  2078. - };
  2079. -
  2080. - MyLoggingEvent[] expcectedStopEvents = new MyLoggingEvent[] {
  2081. - $(Level.INFO, "Validating completed, starting real import."),
  2082. - $(Level.INFO, "Finishing state state=VALIDATING_FAILED"),
  2083. - };
  2084. -
  2085. - testImporter("testImporterXml", "items-test.xml", EntityType.ITEM, $(Level.INFO, "Validating input"), expcectedStopEvents, expectedEvents, itemXmlInputs);
  2086. - } finally {
  2087. - Settings.remove("validation");
  2088. - if (oldValue != null) Settings.put("validation", oldValue);
  2089. - }
  2090. - }
  2091. -
  2092. -
  2093. - @Test
  2094. - public void testImporterBadXml() throws Exception {
  2095. - String oldValue = Settings.getString(null, "validation");
  2096. - logger.info("old value is : " + oldValue);
  2097. - try {
  2098. -
  2099. - testHttpServer.addMaxContentLength(-1);
  2100. - testHttpServer.addMaxContentLength(-1);
  2101. - testHttpServer.addMaxContentLength(700);
  2102. - testHttpServer.addMaxContentLength(700);
  2103. -
  2104. -
  2105. - Settings.put("validation", "importerCp");
  2106. - Settings.refresh_Local();
  2107. - MyLoggingEvent[][] expectedEvents = new MyLoggingEvent[][]
  2108. - {
  2109. - new MyLoggingEvent[] { $(Level.INFO, "Opening input file as uncompressed stream."), $(Level.INFO, "Parsing input stream as xml.") ,$(Level.INFO, "MD5 hash value") },
  2110. - new MyLoggingEvent[] { $(Level.INFO, "Opening input file as uncompressed stream."), $(Level.INFO, "Parsing input stream as xml.") ,$(Level.FATAL, FaultCode.VIOLATION_CONSTANT_FIELD, new FaultTrace("Item starting at line 1, index of item: 3", new String[] { "Zip" } )) },
  2111. - };
  2112. -
  2113. - MyLoggingEvent[] expcectedStopEvents = new MyLoggingEvent[] {
  2114. - $(Level.INFO, "Validating completed, starting real import."),
  2115. - $(Level.INFO, "Finishing state state=VALIDATING_FAILED"),
  2116. - };
  2117. -
  2118. - testImporter("testImporterBadXml", "items-test-bad.xml", EntityType.ITEM, $(Level.INFO, "Validating input"), expcectedStopEvents, expectedEvents, itemXmlInputs);
  2119. - } finally {
  2120. - Settings.remove("validation");
  2121. - if (oldValue != null) Settings.put("validation", oldValue);
  2122. - }
  2123. - }
  2124. -
  2125. -
  2126. - public void testImporter(String testCase, String fileName, EntityType entityType, MyLoggingEvent startEvent, MyLoggingEvent[] stopEvents, MyLoggingEvent[][] expectedEvents, String[] inputs) throws Exception {
  2127. - testImporter(testCase, fileName, entityType, startEvent, stopEvents, expectedEvents, inputs, 3, 3, new ImportSource.SourceType[] { ImportSource.SourceType.TEMP_FILE, ImportSource.SourceType.FTP, ImportSource.SourceType.URL } );
  2128. - }
  2129. -
  2130. - public void testImporter(String testCase, String fileName, EntityType entityType, MyLoggingEvent startEvent, MyLoggingEvent[] stopEvents, MyLoggingEvent[][] expectedEvents, String[] inputs, int warningLimit, int errorLimit, ImportSource.SourceType[] sources) throws Exception {
  2131. -
  2132. - logger.info("----------------------------------------");
  2133. - logger.info(" Running " + testCase);
  2134. - logger.info("----------------------------------------");
  2135. -
  2136. - String filePath = new File(testFolder, "inputs/" + fileName).getAbsolutePath();
  2137. -
  2138. - for (int index = 0; index < inputs.length; index++) {
  2139. - logger.info("Index : " + index);
  2140. - logger.info("----------------------------------------");
  2141. -
  2142. -
  2143. - PrintWriter pw = null;
  2144. - try {
  2145. - pw = new PrintWriter(filePath);
  2146. - pw.println(inputs[index]);
  2147. - } finally {
  2148. - if (pw != null) pw.close();
  2149. - }
  2150. -
  2151. - //same code as in DummyImportManager.startImport(ImportParam importParam)
  2152. -
  2153. -
  2154. - for (ImportSource.SourceType sourceType : sources) {
  2155. -
  2156. - MyLog4jTestLogger.clearLoggingEvents();
  2157. -
  2158. - ImportSource source = null;
  2159. -
  2160. - if (ImportSource.SourceType.TEMP_FILE == sourceType) {
  2161. - source = new ImportSource(filePath, ImportSource.SourceType.TEMP_FILE);
  2162. - } else if (ImportSource.SourceType.FTP == sourceType) {
  2163. - source = new ImportSource("ftp://localhost:8997/" + fileName, ImportSource.SourceType.URL);
  2164. - source.setUserName("testuser");
  2165. - source.setPassword("grav1t1");
  2166. - } else if (ImportSource.SourceType.URL == sourceType) {
  2167. - source = new ImportSource("http://localhost:8998/" + fileName, ImportSource.SourceType.URL);
  2168. - source.setUserName("testuser");
  2169. - source.setPassword("grav1t1");
  2170. - }
  2171. - logger.info("Import source is " + sourceType);
  2172. - logger.info("----------------------------------------");
  2173. -
  2174. - //EntityType type, ImportSource source, boolean validateOnly, boolean deleteTempFileAfterImport
  2175. - ImportParam importParam = new ImportParam(entityType, source, false, false);
  2176. - EntityType type = importParam.getType();
  2177. - ImportSource importSource = importParam.getSource();
  2178. - boolean validateOnly = importParam.isValidateOnly();
  2179. - boolean incItemImport = importParam.isIncItemImport();
  2180. - final ImportProcess importProcess = new ImportProcess(type, importSource, false);
  2181. - importProcess.setJobId(1);
  2182. -
  2183. - importProcess.setValidateOnly(validateOnly);
  2184. - importProcess.setIncItemImport(incItemImport);
  2185. -
  2186. - //FIXME: from config
  2187. - importProcess.setWarningLimit(warningLimit);
  2188. - importProcess.setErrorLimit(errorLimit);
  2189. -
  2190. - importProcess.setDeleteTempFileAfterImport(importParam.isDeleteTempFileAfterImport());
  2191. - importProcess.startImport();
  2192. -
  2193. -
  2194. - List<MyLoggingEvent> events = MyLog4jTestLogger.getLoggingEvents();
  2195. - List<MyLoggingEvent> innerEvents = new ArrayList<MyLoggingEvent>();
  2196. -
  2197. - boolean add = false;
  2198. - int nr = 1;
  2199. - for (MyLoggingEvent e : events) {
  2200. -
  2201. - if (stopEvents[index].equals(e)) { add = false; break; }
  2202. -
  2203. - if (add) innerEvents.add(e);
  2204. - if (startEvent.equals(e)) add = true;
  2205. - nr++;
  2206. - }
  2207. -
  2208. - StringBuilder sb = new java.lang.StringBuilder();
  2209. - sb.append(String.format("Index : %1$s, sourceType = %2$s expected.size = %3$s and innerEvents.size = %4$s\n", index, sourceType, expectedEvents[index].length, innerEvents.size()));
  2210. - sb.append("Expected:\n");
  2211. - sb.append(StringUtil.join(Arrays.asList(expectedEvents[index]), "\n"));
  2212. - sb.append("\nGot:\n");
  2213. - sb.append(StringUtil.join(innerEvents, "\n"));
  2214. - assertEquals(sb.toString(), expectedEvents[index].length, innerEvents.size());
  2215. -
  2216. -
  2217. - int eIndex = 0;
  2218. -
  2219. - for (MyLoggingEvent i : innerEvents) {
  2220. - String message = "Index : " + index + " Inner index : " + eIndex;
  2221. - assertEquals(message, expectedEvents[index][eIndex], i);
  2222. - eIndex++;
  2223. - }
  2224. - } //end of sources
  2225. -
  2226. - index++;
  2227. - }
  2228. - }
  2229. -
  2230. - public MyLoggingEvent $(Level level, FaultCode faultCode, FaultTrace faultTrace) { return new MyLoggingEvent(level, faultCode, faultTrace); }
  2231. - public MyLoggingEvent $(Level level, String message, Throwable t) { return new MyLoggingEvent(level, message, t); }
  2232. - public MyLoggingEvent $(Level level, String message) { return new MyLoggingEvent(level, message); }
  2233. -
  2234. -}
  2235. diff --git a/reco/src/test/com/gravityrd/test/unittest/main/filesystem/FtpTest.java b/reco/src/test/com/gravityrd/test/unittest/main/filesystem/FtpTest.java
  2236. deleted file mode 100644
  2237. index d110f94..0000000
  2238. --- a/reco/src/test/com/gravityrd/test/unittest/main/filesystem/FtpTest.java
  2239. +++ /dev/null
  2240. @@ -1,92 +0,0 @@
  2241. -package com.gravityrd.test.unittest.main.filesystem;
  2242. -
  2243. -import com.gravityrd.test.unittest.*;
  2244. -import com.gravityrd.test.unittest.main.*;
  2245. -import com.gravityrd.receng.main.util.filesystem.*;
  2246. -
  2247. -import org.apache.commons.vfs2.FileSystemException;
  2248. -import org.apache.commons.vfs2.FileObject;
  2249. -
  2250. -import static org.junit.Assert.assertEquals;
  2251. -import static org.junit.Assert.assertTrue;
  2252. -
  2253. -import org.junit.After;
  2254. -import org.junit.Before;
  2255. -import org.junit.Test;
  2256. -
  2257. -import java.io.BufferedReader;
  2258. -import java.io.InputStreamReader;
  2259. -
  2260. -/**
  2261. -* Test for FTPFileSystem class.
  2262. -* The Ftp server is hosted in the same Java process using the MyFtpServer class which is based on Apache Mina FtpServer. The username and password is configured in the <git>/scripts/unittest/resources/ftp/conf/user.properties file.
  2263. -* Please note that the value of the password property is the MD5 hash of the original password. The home folder of the "admin" user is <git>/scripts/unittest/resources/ftp/home where 2 file is located with name "file" and "content".
  2264. -* The first line is "Hello world" in each file.
  2265. -*/
  2266. -public class FtpTest extends FileSystemTest {
  2267. -
  2268. -
  2269. - private static int FTP_PORT = 8999;
  2270. - private String FTP_PASS = "admin";
  2271. - private String FTP_USER = "admin";
  2272. - private int FTP_READ_TIMEOUT = 7000;
  2273. - private int FTP_CONNECT_TIMEOUT = 7000;
  2274. -
  2275. - public FtpTest() {
  2276. - super(new MyFtpServer(), FTP_PORT);
  2277. - }
  2278. -
  2279. - // Connect to Ftp server many times. If the FTPFileSystem class or the VFS library contains connection bugs the max connection limit is reached.
  2280. - // Passive mode
  2281. - @Test
  2282. - public void testManyPassiveFtpConnections() throws Exception {
  2283. - for (int i = 0; i < 100; i++) {
  2284. - doJobs(new IJob[] { new ListAndCompare() }, false);
  2285. - }
  2286. - }
  2287. -
  2288. - // Connect to Ftp server many times. If the FTPFileSystem class or the VFS library contains connection bugs the max connection limit is reached.
  2289. - // Active mode
  2290. - @Test
  2291. - public void testManyActiveFtpConnections() throws Exception {
  2292. - for (int i = 0; i < 100; i++) {
  2293. - doJobs(new IJob[] { new ListAndCompare() }, true);
  2294. - }
  2295. - }
  2296. -
  2297. - @Test
  2298. - public void testConnectTimeoutOrRefused() throws Exception {
  2299. - //Not really good scenario because of the in process ftp server. We should test with a separate ftp server which we can stop on demand with 'kill -STOP pid'
  2300. - server.stop();
  2301. - logger.info("Ftp server stopped.");
  2302. - try {
  2303. - doJobs(new IJob[] { new ReadToTheEnd() }, false);
  2304. - assertTrue("We expect exception.", false);
  2305. - } catch (FileSystemException fsex) {
  2306. - logger.error("Connection error.", fsex);
  2307. - assertTrue(true);
  2308. - }
  2309. - server.start(FTP_PORT);
  2310. - logger.info("Ftp server started.");
  2311. - }
  2312. -
  2313. -
  2314. - // Test file operations (create, delete, list)
  2315. - @Test
  2316. - public void testFileOperations() throws Exception {
  2317. - doJobs(new IJob[] { new ListAndCompare() , new CreateFile(), new DeleteFile(), new ListAndCompare() , new ReadToTheEnd()}, false);
  2318. - }
  2319. -
  2320. - private void doJobs(IJob[] jobs, boolean activeFtp) throws Exception {
  2321. -
  2322. - FileSystem fs = FileSystemFactory.createFtpFileSystem("localhost", FTP_PORT, ".", FTP_USER, FTP_PASS, activeFtp, FTP_CONNECT_TIMEOUT, FTP_READ_TIMEOUT);
  2323. - fs.mount();
  2324. - for (IJob job : jobs) {
  2325. - logger.info("----------------------------------------------------------------");
  2326. - logger.info(" job : " + job.getClass().getName());
  2327. - logger.info("----------------------------------------------------------------");
  2328. - job.doIt(fs);
  2329. - }
  2330. - fs.umount();
  2331. - }
  2332. -}
  2333. diff --git a/reco/src/test/com/gravityrd/test/unittest/main/filesystem/HttpTest.java b/reco/src/test/com/gravityrd/test/unittest/main/filesystem/HttpTest.java
  2334. deleted file mode 100644
  2335. index 98f5d2e..0000000
  2336. --- a/reco/src/test/com/gravityrd/test/unittest/main/filesystem/HttpTest.java
  2337. +++ /dev/null
  2338. @@ -1,94 +0,0 @@
  2339. -package com.gravityrd.test.unittest.main.filesystem;
  2340. -
  2341. -import com.gravityrd.test.unittest.*;
  2342. -import com.gravityrd.test.unittest.main.*;
  2343. -import com.gravityrd.receng.main.util.filesystem.*;
  2344. -
  2345. -import org.apache.commons.vfs2.FileObject;
  2346. -
  2347. -import static org.junit.Assert.assertEquals;
  2348. -import static org.junit.Assert.assertTrue;
  2349. -
  2350. -import org.junit.After;
  2351. -import org.junit.Before;
  2352. -import org.junit.Test;
  2353. -
  2354. -import org.apache.commons.vfs2.FileSystemException;
  2355. -
  2356. -import java.io.BufferedReader;
  2357. -import java.io.InputStreamReader;
  2358. -
  2359. -/**
  2360. -* Test for HTTPFileSystem class.
  2361. -*/
  2362. -public class HttpTest extends FileSystemTest {
  2363. -
  2364. - private static int HTTP_PORT = 8999;
  2365. - private String HTTP_PASS = "admin";
  2366. - private String HTTP_USER = "admin";
  2367. - private int HTTP_READ_TIMEOUT = 7000;
  2368. - private int HTTP_CONNECT_TIMEOUT = 7000;
  2369. -
  2370. - public HttpTest() {
  2371. - super(new MyHttpServer(false), HTTP_PORT);
  2372. - }
  2373. -
  2374. - // Connect to Http server many times.
  2375. - @Test
  2376. - public void testManyHttpConnections() throws Exception {
  2377. - logger.info("----------------------------------------------------------------");
  2378. - logger.info("testManyHttpConnections");
  2379. - logger.info("----------------------------------------------------------------");
  2380. - for (int i = 0; i < 100; i++) {
  2381. - doJobs(new IJob[] { new GetAndCompare() }, null, null);
  2382. - }
  2383. - }
  2384. -
  2385. - @Test
  2386. - public void testBasicAuthentication() throws Exception {
  2387. - logger.info("----------------------------------------------------------------");
  2388. - logger.info("testBasicAuthentication");
  2389. - logger.info("----------------------------------------------------------------");
  2390. - ((MyHttpServer) server).setUserName(HTTP_USER);
  2391. - ((MyHttpServer) server).setPassword(HTTP_PASS);
  2392. -
  2393. - for (int i = 0; i < 10; i++) {
  2394. - doJobs(new IJob[] { new GetAndCompare() }, HTTP_USER, HTTP_PASS);
  2395. - }
  2396. -
  2397. - ((MyHttpServer) server).setUserName(null);
  2398. - ((MyHttpServer) server).setPassword(null);
  2399. - }
  2400. -
  2401. - @Test
  2402. - public void testConnectTimeoutOrRefused() throws Exception {
  2403. - //Not really good scenario because of the in process ftp server. We should test with a separate ftp server which we can stop on demand with 'kill -STOP pid'
  2404. - logger.info("----------------------------------------------------------------");
  2405. - logger.info("testConnectTimeoutOrRefused");
  2406. - logger.info("----------------------------------------------------------------");
  2407. - server.stop();
  2408. - try {
  2409. - doJobs(new IJob[] { new ReadToTheEnd() }, null, null);
  2410. - assertTrue("We expect exception.", false);
  2411. - } catch (FileSystemException fsex) {
  2412. - logger.error("Connection error.", fsex);
  2413. - assertTrue(true);
  2414. - }
  2415. - server.start(HTTP_PORT);
  2416. -
  2417. - }
  2418. -
  2419. -
  2420. - private void doJobs(IJob[] jobs, String userName, String password) throws Exception {
  2421. - FileSystem fs = FileSystemFactory.createHttpFileSystem("localhost", HTTP_PORT, userName, password, HTTP_CONNECT_TIMEOUT, HTTP_READ_TIMEOUT);
  2422. - fs.mount();
  2423. - assertTrue("Connected", true);
  2424. - for (IJob job : jobs) {
  2425. - logger.info("----------------------------------------------------------------");
  2426. - logger.info(" job : " + job.getClass().getName());
  2427. - logger.info("----------------------------------------------------------------");
  2428. - job.doIt(fs);
  2429. - }
  2430. - fs.umount();
  2431. - }
  2432. -}
  2433. diff --git a/reco/src/test/com/gravityrd/test/unittest/main/filesystem/HttpsTest.java b/reco/src/test/com/gravityrd/test/unittest/main/filesystem/HttpsTest.java
  2434. deleted file mode 100644
  2435. index 2d02ac3..0000000
  2436. --- a/reco/src/test/com/gravityrd/test/unittest/main/filesystem/HttpsTest.java
  2437. +++ /dev/null
  2438. @@ -1,88 +0,0 @@
  2439. -package com.gravityrd.test.unittest.main.filesystem;
  2440. -
  2441. -import com.gravityrd.test.unittest.*;
  2442. -import com.gravityrd.test.unittest.main.*;
  2443. -import com.gravityrd.receng.main.util.filesystem.*;
  2444. -
  2445. -import org.apache.commons.vfs2.FileObject;
  2446. -
  2447. -import static org.junit.Assert.assertEquals;
  2448. -import static org.junit.Assert.assertTrue;
  2449. -
  2450. -import org.apache.commons.vfs2.FileSystemException;
  2451. -
  2452. -import org.junit.After;
  2453. -import org.junit.Before;
  2454. -import org.junit.Test;
  2455. -
  2456. -import java.io.BufferedReader;
  2457. -import java.io.InputStreamReader;
  2458. -
  2459. -/**
  2460. -* Test for HTTPSFileSystem class.
  2461. -*/
  2462. -public class HttpsTest extends FileSystemTest {
  2463. -
  2464. - private static int HTTPS_PORT = 8999;
  2465. - private String HTTPS_PASS = "admin";
  2466. - private String HTTPS_USER = "admin";
  2467. - private int HTTPS_READ_TIMEOUT = 7000;
  2468. - private int HTTPS_CONNECT_TIMEOUT = 7000;
  2469. -
  2470. - public HttpsTest() {
  2471. - super(new MyHttpServer(true), HTTPS_PORT);
  2472. - }
  2473. -
  2474. - // Connect to Http server many times.
  2475. - @Test
  2476. - public void testManyHttpConnections() throws Exception {
  2477. - logger.info("testManyHttpConnections");
  2478. - for (int i = 0; i < 1; i++) {
  2479. - doJobs(new IJob[] { new ReadToTheEnd() }, null, null);
  2480. - }
  2481. - }
  2482. -
  2483. - @Test
  2484. - public void testBasicAuthentication() throws Exception {
  2485. -
  2486. - logger.info("testBasicAuthentication");
  2487. - ((MyHttpServer) server).setUserName(HTTPS_USER);
  2488. - ((MyHttpServer) server).setPassword(HTTPS_PASS);
  2489. -
  2490. - for (int i = 0; i < 10; i++) {
  2491. - doJobs(new IJob[] { new GetAndCompare() }, HTTPS_USER, HTTPS_PASS);
  2492. - }
  2493. -
  2494. - ((MyHttpServer) server).setUserName(null);
  2495. - ((MyHttpServer) server).setPassword(null);
  2496. - }
  2497. -
  2498. - @Test
  2499. - public void testConnectTimeoutOrRefused() throws Exception {
  2500. - //Not really good scenario because of the in process ftp server. We should test with a separate ftp server which we can stop on demand with 'kill -STOP pid'
  2501. - server.stop();
  2502. - try {
  2503. - doJobs(new IJob[] { new ReadToTheEnd() }, null, null);
  2504. - assertTrue("We expect exception.", false);
  2505. - } catch (FileSystemException fsex) {
  2506. - logger.error("Connection error.", fsex);
  2507. - assertTrue(true);
  2508. - }
  2509. - server.start(HTTPS_PORT);
  2510. -
  2511. - }
  2512. -
  2513. - private void doJobs(IJob[] jobs, String userName, String password) throws Exception {
  2514. -
  2515. - FileSystem fs = FileSystemFactory.createHttpsFileSystem("localhost", HTTPS_PORT, userName, password, HTTPS_CONNECT_TIMEOUT, HTTPS_READ_TIMEOUT);
  2516. - fs.mount();
  2517. - for (IJob job : jobs) {
  2518. - logger.info("----------------------------------------------------------------");
  2519. - logger.info(" job : " + job.getClass().getName());
  2520. - logger.info("----------------------------------------------------------------");
  2521. - job.doIt(fs);
  2522. - }
  2523. -
  2524. - fs.umount();
  2525. - }
  2526. -}
  2527. diff --git a/reco/src/test/com/gravityrd/test/unittest/main/filesystem/MyFtpServer.java b/reco/src/test/com/gravityrd/test/unittest/main/filesystem/MyFtpServer.java
  2528. deleted file mode 100644
  2529. index d0da681..0000000
  2530. --- a/reco/src/test/com/gravityrd/test/unittest/main/filesystem/MyFtpServer.java
  2531. +++ /dev/null
  2532. @@ -1,60 +0,0 @@
  2533. -package com.gravityrd.test.unittest.main.filesystem;
  2534. -
  2535. -import java.io.File;
  2536. -
  2537. -import org.apache.ftpserver.FtpServer;
  2538. -import org.apache.ftpserver.FtpServerFactory;
  2539. -import org.apache.ftpserver.listener.ListenerFactory;
  2540. -import org.apache.ftpserver.ssl.SslConfigurationFactory;
  2541. -import org.apache.ftpserver.usermanager.PropertiesUserManagerFactory;
  2542. -
  2543. -import org.apache.log4j.Logger;
  2544. -import org.apache.log4j.Level;
  2545. -/**
  2546. -* @author joe
  2547. -*/
  2548. -//Lightweight Ftp server based on Apache Mina.
  2549. -public class MyFtpServer implements IServer {
  2550. -
  2551. - private FtpServer server = null;
  2552. - private String unitTestBaseFolder = null;
  2553. - protected static Logger logger = Logger.getLogger(MyFtpServer.class);
  2554. -
  2555. - public MyFtpServer(String baseFolder) {
  2556. - this.unitTestBaseFolder = baseFolder;
  2557. - }
  2558. -
  2559. - public MyFtpServer() {
  2560. -
  2561. - }
  2562. -
  2563. - @Override
  2564. - public IServer start(int port) throws Exception {
  2565. - FtpServerFactory serverFactory = new FtpServerFactory();
  2566. - ListenerFactory factory = new ListenerFactory();
  2567. - // set the port of the listener
  2568. - factory.setPort(port);
  2569. - // replace the default listener
  2570. - serverFactory.addListener("default", factory.createListener());
  2571. - PropertiesUserManagerFactory userManagerFactory = new PropertiesUserManagerFactory();
  2572. - File userFile = new File(unitTestBaseFolder, "resources/ftp/conf/users.properties");
  2573. - logger.info("Loading user file from : " + userFile.getAbsolutePath());
  2574. - userManagerFactory.setFile(userFile);
  2575. - serverFactory.setUserManager(userManagerFactory.createUserManager());
  2576. - // start the server
  2577. - server = serverFactory.createServer();
  2578. - server.start();
  2579. - logger.info("Ftp server started");
  2580. - return this;
  2581. - }
  2582. -
  2583. - @Override
  2584. - public void stop() throws Exception {
  2585. - server.stop();
  2586. - }
  2587. -
  2588. - @Override
  2589. - public void setRoot(String value) {
  2590. - this.unitTestBaseFolder = value;
  2591. - }
  2592. -}
  2593. \ No newline at end of file
  2594. diff --git a/reco/src/test/com/gravityrd/test/unittest/main/filesystem/MyHttpServer.java b/reco/src/test/com/gravityrd/test/unittest/main/filesystem/MyHttpServer.java
  2595. deleted file mode 100644
  2596. index 10127e5..0000000
  2597. --- a/reco/src/test/com/gravityrd/test/unittest/main/filesystem/MyHttpServer.java
  2598. +++ /dev/null
  2599. @@ -1,237 +0,0 @@
  2600. -package com.gravityrd.test.unittest.main.filesystem;
  2601. -
  2602. -import org.simpleframework.http.core.Container;
  2603. -import org.simpleframework.transport.connect.Connection;
  2604. -import org.simpleframework.transport.connect.SocketConnection;
  2605. -import org.simpleframework.http.Response;
  2606. -import org.simpleframework.http.Request;
  2607. -import org.simpleframework.http.Path;
  2608. -
  2609. -import javax.net.ssl.*;
  2610. -import java.io.FileInputStream;
  2611. -import java.security.KeyStore;
  2612. -import java.net.InetSocketAddress;
  2613. -import java.net.SocketAddress;
  2614. -import java.io.PrintStream;
  2615. -import java.util.StringTokenizer;
  2616. -import java.util.Properties;
  2617. -import java.io.File;
  2618. -import java.util.LinkedList;
  2619. -import org.apache.commons.codec.binary.Base64;
  2620. -import org.apache.log4j.Logger;
  2621. -import org.apache.log4j.Level;
  2622. -
  2623. -
  2624. -public class MyHttpServer implements IServer, Container {
  2625. -
  2626. - private boolean withSSL = false;
  2627. - private String unitTestBaseFolder = null;
  2628. - private String homeDir = null;
  2629. - Properties prop = new Properties();
  2630. - private String userName = null;
  2631. - private String password = null;
  2632. - private LinkedList<Integer> maxContentLengths = new LinkedList<Integer>();
  2633. - protected static Logger logger = Logger.getLogger(MyHttpServer.class);
  2634. -
  2635. - private Connection connection = null;
  2636. -
  2637. - public MyHttpServer(boolean withSSL) {
  2638. - this.withSSL = withSSL;
  2639. - }
  2640. -
  2641. - public void handle(Request request, Response response) {
  2642. - PrintStream body = null;
  2643. - Path path = request.getPath();
  2644. - String pathStr = path.getPath();
  2645. - String name = path.getName();
  2646. - String dir = path.getDirectory();
  2647. - logger.debug("HTTP request: " + path);
  2648. -
  2649. - boolean contentRequired = !pathStr.equals("/");
  2650. - logger.debug("Content required : " + contentRequired);
  2651. - try {
  2652. -
  2653. - body = response.getPrintStream();
  2654. - long time = System.currentTimeMillis();
  2655. -
  2656. - response.setDate("Date", time);
  2657. - response.setDate("Last-Modified", time);
  2658. - response.set("Server", "Gravity test server/1.0");
  2659. -
  2660. - if (!contentRequired) {
  2661. - response.set("Content-Type", "text/plain");
  2662. - } else {
  2663. - response.set("Content-Type", "application/octet-stream");
  2664. - }
  2665. -
  2666. - String lusername = (userName == null ? prop.getProperty("httpserver.username") : userName);
  2667. - String lpassword = (password == null ? prop.getProperty("httpserver.password") : password);
  2668. -
  2669. - if (lusername != null && lpassword != null && lpassword.length() > 0 && lusername.length() > 0) {
  2670. - logger.debug("Authorization started. UserName = " + lusername + " Password = " + lpassword);
  2671. - boolean valid = false;
  2672. - String authHeader = request.getValue("Authorization");
  2673. - logger.debug("Authorization header : " + authHeader);
  2674. - if (authHeader != null) {
  2675. - StringTokenizer st = new StringTokenizer(authHeader);
  2676. - if (st.hasMoreTokens()) {
  2677. - String basic = st.nextToken();
  2678. - if (basic.equalsIgnoreCase("Basic")) {
  2679. - String credentials = st.nextToken();
  2680. - String userPass = base64decode(credentials);
  2681. - int p = userPass.indexOf(":");
  2682. - if (p != -1) {
  2683. - String userID = userPass.substring(0, p);
  2684. - String pw = userPass.substring(p + 1);
  2685. - logger.debug("Probe : UserName = '" + userID + "' Password = '" + pw + "'.");
  2686. - if (userID.equals(lusername) && pw.equals(lpassword)) {
  2687. - valid = true;
  2688. - }
  2689. - }
  2690. - }
  2691. - }
  2692. - }
  2693. -
  2694. - if (!valid) {
  2695. - logger.error("Authorization failed.");
  2696. - String s = "Basic realm=\"SimpleLogin\"";
  2697. - response.add("WWW-Authenticate", s);
  2698. - response.setCode(401);
  2699. - body.println("Unauthorized.");
  2700. - return;
  2701. - } else {
  2702. - logger.debug("Authorization finished.");
  2703. - }
  2704. - }
  2705. -
  2706. - if (contentRequired) {
  2707. -
  2708. - Integer maxContentLength = maxContentLengths.poll();
  2709. -
  2710. - File resource = new File(homeDir, pathStr);
  2711. - logger.debug("Read content from file : " + resource.getAbsolutePath());
  2712. - if (!resource.exists()) {
  2713. - response.setCode(404);
  2714. - body.println("Not found.");
  2715. - return;
  2716. - }
  2717. -
  2718. - FileInputStream fis = new FileInputStream (resource);
  2719. - //write file to the stream
  2720. - long size = resource.length();
  2721. - response.set("Content-Length", String.valueOf(size));
  2722. - long totalBytes = 0;
  2723. -
  2724. - try {
  2725. - int readBytes;
  2726. - byte[] buffer = new byte[100];
  2727. - if (maxContentLength != null) logger.info("Maximum content length is : " + maxContentLength);
  2728. - while ((readBytes = fis.read(buffer, 0, buffer.length)) > 0) {
  2729. - if (maxContentLength != null && maxContentLength != -1 && (totalBytes + readBytes) > maxContentLength) break;
  2730. - body.write(buffer, 0, readBytes);
  2731. - totalBytes += readBytes;
  2732. -
  2733. - }
  2734. - } finally {
  2735. - fis.close();
  2736. - }
  2737. -
  2738. - } else {
  2739. - logger.info("Hello world to the client");
  2740. - body.println("Hello world.");
  2741. - }
  2742. -
  2743. - } catch (Exception ex) {
  2744. - throw new RuntimeException("Request error.", ex);
  2745. - } finally {
  2746. - body.close();
  2747. - }
  2748. - }
  2749. -
  2750. - public String base64decode(String s) {
  2751. - if (s == null) return null;
  2752. -
  2753. - try {
  2754. - String charset = "ISO-8859-1";
  2755. - return new String(Base64.decodeBase64(s.getBytes(charset)), charset);
  2756. - } catch (Exception e) {
  2757. - logger.error("Decode error.", e);
  2758. - return null;
  2759. - }
  2760. - }
  2761. -
  2762. -
  2763. -
  2764. -
  2765. - @Override
  2766. - public IServer start(int port) throws Exception {
  2767. -
  2768. - Container container = this;
  2769. - connection = new SocketConnection(container);
  2770. -
  2771. - SSLContext sslContext = null;
  2772. -
  2773. - if (withSSL) {
  2774. - logger.info("Initialize server with TLS");
  2775. - sslContext = SSLContext.getInstance ( "TLS" );
  2776. -
  2777. - // initialise the keystore
  2778. - char[] password = "simulator".toCharArray ();
  2779. - KeyStore ks = KeyStore.getInstance ( "JKS" );
  2780. - FileInputStream fis = new FileInputStream ( "resources/http/test.keystore" );
  2781. - ks.load ( fis, password );
  2782. -
  2783. - // setup the key manager factory
  2784. - KeyManagerFactory kmf = KeyManagerFactory.getInstance ( "SunX509" );
  2785. - kmf.init ( ks, password );
  2786. -
  2787. - // setup the trust manager factory
  2788. - TrustManagerFactory tmf = TrustManagerFactory.getInstance ( "SunX509" );
  2789. - tmf.init ( ks );
  2790. -
  2791. - // setup the HTTPS context and parameters
  2792. - sslContext.init ( kmf.getKeyManagers (), tmf.getTrustManagers (), null );
  2793. - logger.info("Security context created.");
  2794. - }
  2795. -
  2796. - SocketAddress address = new InetSocketAddress(port);
  2797. -
  2798. - //loadin properties
  2799. -
  2800. - prop.load(new FileInputStream("resources/http/conf/http.conf"));
  2801. - File hDir = new File(prop.getProperty("httpserver.homedirectory"));
  2802. - if (!hDir.exists()) {
  2803. - throw new java.io.FileNotFoundException("Home directory " + prop.getProperty("httpserver.homedirectory") + " not exist.");
  2804. - }
  2805. -
  2806. - homeDir = hDir.getAbsolutePath();
  2807. - logger.info("Http home direytory : " + homeDir);
  2808. -
  2809. -
  2810. - if (!withSSL) connection.connect(address);
  2811. - else connection.connect(address, sslContext);
  2812. - return this;
  2813. - }
  2814. -
  2815. - @Override
  2816. - public void stop() throws Exception {
  2817. - connection.close();
  2818. - }
  2819. -
  2820. - @Override
  2821. - public void setRoot(String value) { this.unitTestBaseFolder = value; }
  2822. -
  2823. - public void setUserName(String value) { this.userName = value; }
  2824. -
  2825. - public String getUserName() { return this.userName; }
  2826. -
  2827. - public void setPassword(String value) { this.password = value; }
  2828. -
  2829. - public String getPassword() { return this.password; }
  2830. -
  2831. - public void setHomeDirectory(String value) { this.homeDir = value; }
  2832. -
  2833. - public String getHomeDirectory() { return this.homeDir; }
  2834. -
  2835. - public void addMaxContentLength(int value) { maxContentLengths.add(value); }
  2836. -}
  2837. \ No newline at end of file
  2838. diff --git a/reco/src/test/com/gravityrd/test/unittest/main/filesystem/MySshServer.java b/reco/src/test/com/gravityrd/test/unittest/main/filesystem/MySshServer.java
  2839. deleted file mode 100644
  2840. index 05c45f9..0000000
  2841. --- a/reco/src/test/com/gravityrd/test/unittest/main/filesystem/MySshServer.java
  2842. +++ /dev/null
  2843. @@ -1,64 +0,0 @@
  2844. -package com.gravityrd.test.unittest.main.filesystem;
  2845. -
  2846. -import java.util.ArrayList;
  2847. -import java.util.List;
  2848. -
  2849. -import org.apache.sshd.SshServer;
  2850. -import org.apache.sshd.common.NamedFactory;
  2851. -import org.apache.sshd.server.Command;
  2852. -import org.apache.sshd.server.CommandFactory;
  2853. -import org.apache.sshd.server.PasswordAuthenticator;
  2854. -import org.apache.sshd.server.command.ScpCommandFactory;
  2855. -import org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider;
  2856. -import org.apache.sshd.server.session.ServerSession;
  2857. -import org.apache.sshd.server.sftp.SftpSubsystem;
  2858. -
  2859. -//Lightweight Ssh server based on Apache Mina.
  2860. -public class MySshServer implements IServer {
  2861. -
  2862. - SshServer sshd = null;
  2863. - private String unitTestBaseFolder = null;
  2864. -
  2865. - @Override
  2866. - public IServer start(int port) throws Exception {
  2867. -
  2868. - sshd = SshServer.setUpDefaultServer();
  2869. - sshd.setPort(port);
  2870. - sshd.setKeyPairProvider(new SimpleGeneratorHostKeyProvider("hostkey.ser"));
  2871. - sshd.setPasswordAuthenticator(new PasswordAuthenticator() {
  2872. -
  2873. - public boolean authenticate(String username, String password,
  2874. - ServerSession session) {
  2875. -
  2876. - return true;
  2877. - }
  2878. - });
  2879. -
  2880. - CommandFactory myCommandFactory = new CommandFactory() {
  2881. -
  2882. - public Command createCommand(String command) {
  2883. - System.out.println("Command: " + command);
  2884. - return null;
  2885. - }
  2886. - };
  2887. -
  2888. - sshd.setCommandFactory(new ScpCommandFactory(myCommandFactory));
  2889. - List<NamedFactory<Command>> namedFactoryList = new ArrayList<NamedFactory<Command>>();
  2890. - namedFactoryList.add(new SftpSubsystem.Factory());
  2891. - sshd.setSubsystemFactories(namedFactoryList);
  2892. -
  2893. - sshd.start();
  2894. - return this;
  2895. - }
  2896. -
  2897. - @Override
  2898. - public void stop() throws Exception {
  2899. - sshd.stop();
  2900. - }
  2901. -
  2902. - @Override
  2903. - public void setRoot(String value) {
  2904. - this.unitTestBaseFolder = value;
  2905. - }
  2906. -
  2907. -}
  2908. \ No newline at end of file
  2909. diff --git a/reco/src/test/com/gravityrd/test/unittest/main/filesystem/SftpTest.java b/reco/src/test/com/gravityrd/test/unittest/main/filesystem/SftpTest.java
  2910. deleted file mode 100644
  2911. index 51af6ff..0000000
  2912. --- a/reco/src/test/com/gravityrd/test/unittest/main/filesystem/SftpTest.java
  2913. +++ /dev/null
  2914. @@ -1,66 +0,0 @@
  2915. -package com.gravityrd.test.unittest.main.filesystem;
  2916. -
  2917. -import com.gravityrd.test.unittest.*;
  2918. -import com.gravityrd.test.unittest.main.*;
  2919. -import com.gravityrd.receng.main.util.filesystem.*;
  2920. -
  2921. -import org.apache.commons.vfs2.FileObject;
  2922. -
  2923. -import static org.junit.Assert.assertEquals;
  2924. -import static org.junit.Assert.assertTrue;
  2925. -import static org.junit.Assert.assertArrayEquals;
  2926. -
  2927. -
  2928. -import org.junit.Test;
  2929. -
  2930. -import java.io.BufferedReader;
  2931. -import java.io.InputStreamReader;
  2932. -import java.io.PrintWriter;
  2933. -import java.io.OutputStream;
  2934. -import java.util.ArrayList;
  2935. -
  2936. -/**
  2937. -* Test for SFTPFileSystem class.
  2938. -* The Ssh server is hosted in the same Java process using the MySshServer class which is based on Apache Mina SSHD. The username and password is not used, every user is authenticated.
  2939. -* The home folder of the "admin" user is <git>/scripts/unittest/resources/sftp where 2 file is located with name "file" and "content".
  2940. -* The first line is "Hello world" in each file.
  2941. -*/
  2942. -public class SftpTest extends FileSystemTest {
  2943. -
  2944. - private static int SSH_PORT = 8998;
  2945. - private String SSH_PASS = "admin";
  2946. - private String SSH_USER = "admin";
  2947. - private int SSH_CONNECT_TIMEOUT = 7000;
  2948. - private int SSH_READ_TIMEOUT = 7000;
  2949. -
  2950. - public SftpTest() {
  2951. - super(new MySshServer(), SSH_PORT);
  2952. - }
  2953. -
  2954. - // Connect to Sssh server many times. If the SFTPFileSystem class or the VFS library contains connection bugs the max connection limit is reached.
  2955. - @Test
  2956. - public void testManySshConnections() throws Exception {
  2957. - for (int i = 0; i < 100; i++) {
  2958. - doJobs(new IJob[] { new ListAndCompare() });
  2959. - }
  2960. - }
  2961. -
  2962. - // Test file operations (create, delete, list)
  2963. - @Test
  2964. - public void testFileOperations() throws Exception {
  2965. - doJobs(new IJob[] { new ListAndCompare() , new CreateFile(), new DeleteFile(), new ListAndCompare() });
  2966. - }
  2967. -
  2968. - private void doJobs(IJob[] jobs) throws Exception {
  2969. -
  2970. - FileSystem fs = FileSystemFactory.createSftpFileSystem("localhost", SSH_PORT, "resources/sftp", SSH_USER, SSH_PASS, SSH_CONNECT_TIMEOUT, SSH_READ_TIMEOUT);
  2971. - fs.mount();
  2972. - for (IJob job : jobs) {
  2973. - logger.info("----------------------------------------------------------------");
  2974. - logger.info(" job : " + job.getClass().getName());
  2975. - logger.info("----------------------------------------------------------------");
  2976. - job.doIt(fs);
  2977. - }
  2978. - fs.umount();
  2979. - }
  2980. -}
  2981. diff --git a/reco/src/test/com/gravityrd/test/unittest/web/WebInterceptorTest.java b/reco/src/test/com/gravityrd/test/unittest/web/WebInterceptorTest.java
  2982. index 6bd03f7..30ff244 100644
  2983. --- a/reco/src/test/com/gravityrd/test/unittest/web/WebInterceptorTest.java
  2984. +++ b/reco/src/test/com/gravityrd/test/unittest/web/WebInterceptorTest.java
  2985. @@ -144,7 +144,7 @@ public class WebInterceptorTest {
  2986. this.remoteAddr = remoteAddr;
  2987. }
  2988.  
  2989. - @Override
  2990. +
  2991. public AsyncContext getAsyncContext() {
  2992. throw new RuntimeException("Not implemented");
  2993. }
  2994. @@ -174,7 +174,7 @@ public class WebInterceptorTest {
  2995. throw new RuntimeException("Not implemented");
  2996. }
  2997.  
  2998. - @Override
  2999. +
  3000. public DispatcherType getDispatcherType() {
  3001. throw new RuntimeException("Not implemented");
  3002. }
  3003. @@ -279,17 +279,17 @@ public class WebInterceptorTest {
  3004. throw new RuntimeException("Not implemented");
  3005. }
  3006.  
  3007. - @Override
  3008. +
  3009. public ServletContext getServletContext() {
  3010. throw new RuntimeException("Not implemented");
  3011. }
  3012.  
  3013. - @Override
  3014. +
  3015. public boolean isAsyncStarted() {
  3016. throw new RuntimeException("Not implemented");
  3017. }
  3018.  
  3019. - @Override
  3020. +
  3021. public boolean isAsyncSupported() {
  3022. throw new RuntimeException("Not implemented");
  3023. }
  3024. @@ -314,17 +314,16 @@ public class WebInterceptorTest {
  3025. throw new RuntimeException("Not implemented");
  3026. }
  3027.  
  3028. - @Override
  3029. +
  3030. public AsyncContext startAsync() throws IllegalStateException {
  3031. throw new RuntimeException("Not implemented");
  3032. }
  3033.  
  3034. - @Override
  3035. +
  3036. public AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse) throws IllegalStateException {
  3037. throw new RuntimeException("Not implemented");
  3038. }
  3039.  
  3040. - @Override
  3041. public boolean authenticate(HttpServletResponse response) throws IOException, ServletException {
  3042. throw new RuntimeException("Not implemented");
  3043. }
  3044. @@ -377,12 +376,10 @@ public class WebInterceptorTest {
  3045. throw new RuntimeException("Not implemented");
  3046. }
  3047.  
  3048. - @Override
  3049. public Part getPart(String name) throws IOException, ServletException {
  3050. throw new RuntimeException("Not implemented");
  3051. }
  3052.  
  3053. - @Override
  3054. public Collection<Part> getParts() throws IOException, ServletException {
  3055. throw new RuntimeException("Not implemented");
  3056. }
  3057. @@ -467,12 +464,12 @@ public class WebInterceptorTest {
  3058. throw new RuntimeException("Not implemented");
  3059. }
  3060.  
  3061. - @Override
  3062. +
  3063. public void login(String username, String password) throws ServletException {
  3064. throw new RuntimeException("Not implemented");
  3065. }
  3066.  
  3067. - @Override
  3068. +
  3069. public void logout() throws ServletException {
  3070. throw new RuntimeException("Not implemented");
  3071. }
  3072. diff --git a/reco/src/war/com/gravityrd/receng/web/webshop/WebshopServlet.java b/reco/src/war/com/gravityrd/receng/web/webshop/WebshopServlet.java
  3073. index 875a3ef..774fc9c 100644
  3074. --- a/reco/src/war/com/gravityrd/receng/web/webshop/WebshopServlet.java
  3075. +++ b/reco/src/war/com/gravityrd/receng/web/webshop/WebshopServlet.java
  3076. @@ -325,9 +325,9 @@ public class WebshopServlet extends HttpServlet {
  3077. StringBuilder sb = new StringBuilder();
  3078. String s;
  3079. sb.append("{");
  3080. - for (Entry<String, String[]> e : request.getParameterMap().entrySet()) {
  3081. + /*for (Entry<String, String[]> e : request.getParameterMap().entrySet()) {
  3082. sb.append(e.getKey()).append("=").append(Util.stringArrayToOneLine(e.getValue())).append(", ");
  3083. - }
  3084. + }*/
  3085. if (sb.length() > 1) {
  3086. s = sb.substring(0, sb.length() - 2);
  3087. } else {
Add Comment
Please, Sign In to add comment