Commit Graph

357 Commits

Author SHA1 Message Date
Jeremy Long
3b4a65deaa updated to work with the new zip file and folder structure
Former-commit-id: 4ab18e5d93a71124aaf57d1d0b6945c7516e4463
2013-08-31 07:35:20 -04:00
Jeremy Long
2ec5ec78a9 removed unused imports
Former-commit-id: fee44850bba2b1af19989bc14aef99a38e725185
2013-08-31 07:04:17 -04:00
Jeremy Long
6b416b8494 added a test case to test batch update without a modified url
Former-commit-id: 5d10d888c927f86a76f983011cab47d4c2725333
2013-08-31 06:48:59 -04:00
Jeremy Long
eac470e081 updates to batch update mode to allow batch updates without a modified URL
Former-commit-id: 5e8ff7c0d9c880f2421f020f2891a6f7a794570a
2013-08-31 06:48:10 -04:00
Jeremy Long
34ce50b7b5 removed duplicate code by adding a public getPropertiesFile method to obtain the File
Former-commit-id: cd3c7fdad8907eb28704e1e8342dfe41e08d9da3
2013-08-31 06:46:26 -04:00
Jeremy Long
6d85e7cdf7 added test case for removeProperty
Former-commit-id: 7ae029f35b6f1aadd20abac560ae62d377b5557d
2013-08-29 17:01:47 -04:00
Jeremy Long
23a47a6f63 added ability to remove a property (for test cases)
Former-commit-id: b2388ddb516b2f5b32f54398c11fc0c00990c9c8
2013-08-29 16:56:00 -04:00
Jeremy Long
d2bfcc6f0e fixed broken test case
Former-commit-id: b4f434d0d19a24938b2e795d1773c551fba70474
2013-08-29 16:50:21 -04:00
Jeremy Long
7495392aa2 fixed bug due caused by moving properties from cve to data directory
Former-commit-id: 508894a061b40bb80fb294835021e3ba8f34037b
2013-08-29 16:49:09 -04:00
Jeremy Long
c4ddf84ba8 removed duplicate test case
Former-commit-id: 8fd1309deb179486d6042a2b5119caca70437b19
2013-08-29 16:41:41 -04:00
Jeremy Long
aad6c28e4d fixed broken test case
Former-commit-id: 84d34cf826fc4eda8fa72592d9f3f959e9bf4cea
2013-08-29 16:38:08 -04:00
Jeremy Long
2bd03dada4 code reorganization, moved files around to better seperate functionality
Former-commit-id: da6b75d818d67b0c1c695860504aacc00991effa
2013-08-29 06:42:16 -04:00
Jeremy Long
5fab16ad06 temporarily commented out broken tests
Former-commit-id: 1ce099712487d7f1a3e13f3444fe2493181c08cf
2013-08-29 06:41:03 -04:00
Jeremy Long
6a4d1ed44d temporarily commented out broken tests
Former-commit-id: e05b064c6b076bb218b500b7a0feb26044f43d7a
2013-08-29 06:40:37 -04:00
Jeremy Long
db22159a89 added to externalize the meta info about the data used
Former-commit-id: 1fb0bf0594245fc7095c085faf18a000bf76d7f8
2013-08-29 06:15:20 -04:00
Jeremy Long
029e0e5044 updated test for getFile to return the DATA_DIRECTORY
Former-commit-id: f16d34a12416999c28597261b409c997ebc0c3ad
2013-08-29 06:14:25 -04:00
Jeremy Long
3f1ee0b1b8 new test data
Former-commit-id: 7b2bc59faf30d9bdc700bd4f2f5073de738c2b48
2013-08-29 06:13:20 -04:00
Jeremy Long
8009794cca Updated to externalize the data properties file
Former-commit-id: 729b2181f3cfcb7aa2862c1874b8aaacb154d46b
2013-08-29 06:12:55 -04:00
Jeremy Long
12ce96d802 updated getFile to correctly get the main data directory
Former-commit-id: 4c175b6c218c264c8255614858545224c0c597f7
2013-08-28 06:15:24 -04:00
Jeremy Long
53bd62b236 updated data
Former-commit-id: 4fd690df0f94e241f01ce49708117e45932175f3
2013-08-24 20:16:32 -04:00
Jeremy Long
cd7362c654 updated how initial test data is updated
Former-commit-id: dd94b61a39efdd619c23beddf25f683dc1fe5791
2013-08-24 20:00:09 -04:00
Jeremy Long
788b5633cb minor update to test class
Former-commit-id: c4e38c8f5f3ed154216aad0b023176c74e5fa4a4
2013-08-24 19:59:31 -04:00
Jeremy Long
46d106e6e2 updated how initial test data is updated
Former-commit-id: c63f49d89c63446c9ed73800e8cdd17f0a977986
2013-08-24 19:58:54 -04:00
Jeremy Long
8ffb91022e minor update of annotations
Former-commit-id: b29855c5afc64d91c2931aef5debb410b5f457c8
2013-08-24 19:57:55 -04:00
Jeremy Long
57c09d1772 updated how initial test data is updated
Former-commit-id: 7fac5faf5a82bedc6f323f85cee2cd47c984fb74
2013-08-24 19:57:14 -04:00
Jeremy Long
0731ed2c7a updated database schema version so the fix to the lucene index is enforced on clients
Former-commit-id: b743deca9949b67ce5e94c52fff6125e65bf340b
2013-08-24 19:56:13 -04:00
Jeremy Long
19ecb67f2d updates as the CPEAnalyzer was moved
Former-commit-id: d3c21f1c0187a94e56aeff55fd0874273cc65faf
2013-08-24 17:02:27 -04:00
Jeremy Long
d16123c276 updates to ensure backward compatability with 1.6
Former-commit-id: b98e3caf316ea880b6c0adb25f62338e8d16f40e
2013-08-24 17:01:39 -04:00
Jeremy Long
f90b168fdd commiting deletions and no-ops
Former-commit-id: 920f16fc7fb20d5536c62e1ccc180fa248f76802
2013-08-24 16:23:57 -04:00
Jeremy Long
09f416efdf modified CPE Index to seperate writer/reader in prep for adding locking
Former-commit-id: baa48c8e70b36b9b14591d581bc1180b6d30d686
2013-08-24 16:21:32 -04:00
Jeremy Long
05f40f3451 updated javadoc
Former-commit-id: 21268a3107bf50b84d02f8ed68dd567bba7d6de9
2013-08-18 05:55:31 -04:00
Jeremy Long
d81206fe2e Added an implementation of a spin lock that can be used to lock a directory.
Former-commit-id: 121a3d5d026f524698762b377c3582fbc9303bf2
2013-08-18 05:54:11 -04:00
Jeremy Long
09f07902ef updated batch update functionality
Former-commit-id: f62347bd25b61f048f18fb8cb23b8de7c053659e
2013-08-06 19:34:11 -04:00
Jeremy Long
43583bbc2e updated tests
Former-commit-id: f290ba61239a0a5beee9522e036100753ddef2f7
2013-08-06 19:33:37 -04:00
Jeremy Long
2ebc713cbb added new test data in zip archive
Former-commit-id: 941e6cff1ecd034d3450f81fd986c3c245cb42e1
2013-08-06 19:32:37 -04:00
Jeremy Long
65ecc0f3bb removed
Former-commit-id: 312a48623f9b1d9ecd9950a2a8d719ad28ce82f9
2013-08-06 19:31:45 -04:00
Jeremy Long
ebabc1117e added additional tests
Former-commit-id: b377007cf39b3f828fb336e336804b7db56ff923
2013-08-04 14:48:21 -04:00
Jeremy Long
672e59e657 commiting initial (and likely broken) version including batch updates - commiting as I need tests done with more OSes
Former-commit-id: 38f07a64633e0762623cdb5a00478a5bafd159b3
2013-08-04 14:47:54 -04:00
Jeremy Long
882e11f558 attempting fix for Windows file:/// URI
Former-commit-id: 38a26b41aa2ebed8e043ec4dd5a0096a353b650d
2013-08-04 14:44:53 -04:00
Jeremy Long
1cd5acb972 updated fetchFile test to remove un-needed argument
Former-commit-id: fab441c8cb525226f8e246e258e6705ed7167bbf
2013-08-04 10:48:10 -04:00
Jeremy Long
464a6efd28 removed some un-needed functions relating to downloading files
Former-commit-id: 95735c796df1ae95be5273c66722a5cbfbc81c36
2013-08-04 10:46:06 -04:00
Jeremy Long
18c3c1f475 added new exception
Former-commit-id: 919a3a7beaf09c6bd98c48c94d7712f51cd7624a
2013-08-04 10:34:20 -04:00
Jeremy Long
52de46aeb3 moved unzip functionality to FileUtils
Former-commit-id: 3f791cb94b5ec94d17118d25cb08598c1769edda
2013-08-04 10:33:28 -04:00
Jeremy Long
b80d088254 added a file.delete that will delete the file on JVM exit if the original delete fails
Former-commit-id: 6007a325a0796b8ad881df6c8f3568fe131a764b
2013-08-04 10:32:53 -04:00
Jeremy Long
7d0d85aeb7 removed unused properties and added BATCH_UPDATE_URL
Former-commit-id: ef80d9a274071342026a619b88183bfca4988074
2013-08-03 12:12:59 -04:00
Jeremy Long
d19ef8322e removed unused property in test case
Former-commit-id: 608279aaf7e507621454065a9f62f25883c61002
2013-08-03 12:11:46 -04:00
Jeremy Long
840b4d7619 updated comments
Former-commit-id: 93c3f238c44a604e25ac8706f0efbc70d6158c9b
2013-08-03 12:10:50 -04:00
Jeremy Long
e4a36545d7 updated getLastModified() to support the file:// protocol
Former-commit-id: e23b72db0070c2ecf22a725cc936451440ad530f
2013-08-03 12:09:44 -04:00
Jeremy Long
31fbc7389b made getDataDirectory static
Former-commit-id: b347a95eb968ae49fb7a904c4a8ed5d7a00e85dd
2013-08-03 12:07:05 -04:00
Jeremy Long
19ec936d38 added application name and version properties
Former-commit-id: d99340e153b1548b9483b346a3aa488462f5689e
2013-08-03 12:06:24 -04:00