47 Commits

Author SHA1 Message Date
Manali Latkar
25fa31ffc5 Added tenant_id in verification of instanceexists and instanceusages 2013-05-17 02:05:53 +05:30
Andrew Melton
76b5953cde Merge pull request #83 from ramielrowe/message_acking_2
Only ack message if successfully processed
2013-04-26 10:17:25 -07:00
Andrew Melton
8118fb8fab Only ack message if successfully processed 2013-04-26 13:14:08 -04:00
Andrew Melton
60a298bfca Min/Max When param on stacky timings api call 2013-04-22 17:05:20 -04:00
Andrew Melton
f200e2b560 Mocking out django transactions in dbapi tests 2013-04-22 16:09:20 -04:00
Andrew Melton
b008492b14 Only set delete field when deleted_at set on notification 2013-04-10 16:49:27 -04:00
Andrew Melton
fb4a07ff78 Set launched_at at start of action if not set in DB
This is just in-case the action goes past the audit period. It is also
    important to make sure we are not overwriting launched_at if it is
    already set because the end event could have already been recieved.
2013-04-09 14:16:54 -04:00
Andrew Melton
81fe1c3255 Changing default order_by to ascending 2013-04-08 17:44:08 -04:00
Andrew Melton
32bef7714e Using Exist's audit_period_ending in verifier instead of RawData's when 2013-04-08 17:06:57 -04:00
Andrew Melton
265512bcd6 Default and Hard Limits on dbapi 2013-04-08 16:54:09 -04:00
Andrew Melton
00c54c9f79 Using audit_period_ending in _verify_for_delete
The previous logic used the raw's timestamp, which could end up
    slightly outside of the audit period. This would give us a
    small window where a delete could happen outside of the
    audit period, but we'd still detect it. The new logic uses
    the exact end of the audit period.
2013-04-01 16:33:04 -04:00
Andrew Melton
fe27375b82 Adding audit_period_beginning/ending to exists table 2013-04-01 14:16:35 -04:00
Andrew Melton
619ca0ecc7 send_status on exists records 2013-04-01 14:11:49 -04:00
Andrew Melton
4db9e256cf MIT LA to Rackspace Header, Configurable Routing Key for Verified Notifiactions 2013-03-26 13:34:31 -04:00
Andrew Melton
45ae991f66 Updating migrations to work with optimized usage parsing 2013-03-21 16:18:37 -04:00
Andrew Melton
a9c5ce87df Merge branch 'usage_json_body' of github.com:ramielrowe/stacktach into opt_migr_verif 2013-03-21 16:05:25 -04:00
Andrew Melton
9fdd521f74 Merge branch 'rebuild_usage' of github.com:ramielrowe/stacktach into migrations_verifications 2013-03-21 16:00:06 -04:00
Andrew Melton
0def04b4ca Adding fail_reason to exists table, tweaking verifier 2013-03-21 14:12:20 -04:00
Andrew Melton
8dba9e2e8b Providing json dict to usage parsing 2013-03-19 14:33:53 -04:00
Andrew Melton
57fd911b27 Merge branch 'verified_notifications' of github.com:ramielrowe/stacktach into rebuild_usage 2013-03-14 15:56:41 -04:00
Andrew Melton
78c7ca47c6 Adding rebuild notifications to usage parsing 2013-03-14 15:55:08 -04:00
Andrew Melton
5b40312752 Sending notification on verified exists 2013-03-14 12:58:52 -04:00
Andrew Melton
1d8ee6d016 Rackspace Copyright 2013-03-13 14:26:38 -04:00
Andrew Melton
a2400d5542 Nova exists event verifier 2013-03-12 17:26:02 -04:00
Andrew Melton
5b1c3b4c60 Adding received filter on exists api call 2013-02-27 14:26:50 -05:00
Andrew Melton
adc7693eeb Validating uuids on api calls 2013-02-26 16:42:32 -05:00
Andrew Melton
07dcb5685a Cutting do_kpi short if no raw's for provided tenant 2013-02-26 15:47:43 -05:00
Andrew Melton
6b8b2fb197 Cutting do_kpi short if no raw's for provided tenant 2013-02-26 15:39:33 -05:00
Andrew Melton
5df346da89 Testing and refactoring stacky_server 2013-02-26 15:35:52 -05:00
Andrew Melton
924f320128 Merge branch 'master' of git://github.com/rackspace/stacktach into limit_offet_args 2013-02-25 14:33:06 -05:00
Andrew Melton
e426aa5e84 Adding dbapi query limit and offset 2013-02-25 13:56:58 -05:00
Andrew Melton
4931704070 Validating model has range field 2013-02-22 12:30:19 -05:00
Andrew Melton
e125aab2e1 Adding range query args 2013-02-15 16:46:45 -05:00
Andrew Melton
0df411bdce Handling deletes without launches 2013-02-14 18:15:32 -05:00
Andrew Melton
05b4cb38dd Finishing unordered-deletes, modifying db queries for low resolution timestamps from Nova 2013-02-01 11:07:13 -05:00
Andrew Melton
57c696d627 Allowing for delete events before launches 2013-01-31 13:46:04 -05:00
Andrew Melton
f8b939fbcd Handling of late starts for usage parsing 2013-01-30 15:29:25 -05:00
Andrew Melton
3700927559 Checking actual service in start_kpi_service 2013-01-30 13:33:50 -05:00
Andrew Melton
da5e6765af Refactoring worker and tests 2013-01-29 16:33:30 -05:00
Andrew Melton
5243cbc24e Queue args in deployment config, worker tests 2013-01-28 17:44:54 -05:00
Andrew Melton
b788ebafa2 Worker unit tests 2013-01-25 18:17:18 -05:00
Andrew Melton
9117fd408c Moving test sys.path/env setup 2013-01-25 16:39:38 -05:00
Andrew Melton
44e0ac2aaf Removing backup file and correcting spelling 2013-01-25 16:04:29 -05:00
Andrew Melton
a30725a46d Unit tests for RawData parsing 2013-01-25 16:04:21 -05:00
Andrew Melton
f8005284c6 Adding usage parsing unit tests, refactoring 2013-01-25 16:04:09 -05:00
Andrew Melton
61a6bda63c More lifecycle/KPI unit tests and some cleanup 2013-01-25 16:03:58 -05:00
Andrew Melton
57fea75478 Better lifecycle unit tests
Also, refactoring some DB calls for easier testing.
2013-01-25 16:03:55 -05:00