This module is for development purposes only. Do not use it on a production Islandora instance.
## Overview
Drush script to randomize the timestamp and IP address of entries in the `islandora_usage_stats_object_access_log` table. The principle use of this script is to simulate the traffic to a public-facing Islandora for development and testing purposes.
It does this by hitting an object's URL with an HTTP request and then updating the resulting row in the `islandora_usage_stats_object_access_log` table with a random timestamp and random IP address.
Pull requests are welcome, as are use cases and suggestions.
## License
*[GPLv3](http://www.gnu.org/licenses/gpl-3.0.txt)
* The sample metadata in includes/sample_metadata.tsv is distriubuted under the [Creative Commons Attribution-NonCommercial 3.0 Unported](http://creativecommons.org/licenses/by-nc/3.0/legalcode) license.
@@ -28,15 +28,18 @@ function islandora_usage_stats_generate_test_access_data_drush_command() {
'updated_db_ids_file'=>array(
'description'=>'Path to a file where IDs of the updated rows in the db are saved. Defaults to "updated_db_ids.txt".',
),
'time_range'=>array(
'description'=>'Earliest and latest Unix timestamps defining the randomly selected time data. Separate by a "-". Defaults to "1452384000-1544572800".',