Commit Graph

90 Commits

Author SHA1 Message Date
Monty Taylor 684ea5353d Retire stackforge/bufunfa 2015-10-17 16:02:36 -04:00
Endre Karlson 50c8d61801 Multiple changes to Recorder
- Add start_periodic - start and return a periodic task
- Make it possible to run multiple engines pr Recorder.
- Remove self.config and use cfg.CONF[self.name] instead
- Pass record service down to the engine

Change-Id: I62cc54cca51bf11eda0acc55f418e56af23c3f04
2012-11-23 09:42:18 +01:00
Endre Karlson 9c5e39402b This is now done via ep.map() from stevedore
Change-Id: Ia854851a02d713f81f7764e04fa7989d7c586451
2012-11-23 09:07:25 +01:00
Endre Karlson 46174c85e0 Docstrings for PeriodicService
Change-Id: Ib5c000e6549d69c6d9df872cfa360871abd73307
2012-11-23 08:59:50 +01:00
Endre Karlson 6bbae39887 Use a search_offset of polling_interval / 60 + 1 for get_resources()
Change-Id: I395525a627bc62949c3abe29f0b8e885f3df732c
2012-11-22 22:46:45 +01:00
Endre Karlson f4c23eb0fa Add review file
Change-Id: Id97d56d1513315bec9cbfd8964aee881e9139e14
2012-11-22 22:26:42 +01:00
Endre Karlson a69b12e620 Sync up plugin code from Moniker
Use the get_plugin of StorageEngine instead
Add get_plugin() to Plugin

Change-Id: Icc52b65d7ce98d19da54ffaac523d729feffdeb6
2012-11-22 22:21:27 +01:00
Endre Karlson 1ad51d967a Pass end_timestamp down to geT_resources()
Change-Id: Ia0a37c6b825a03f97efc4467a1c235e635ff93f5
2012-11-21 14:05:09 +01:00
Endre Karlson 21e61516f4 Add ceilometerclient and keystoneclient
Change-Id: I03eb8894c62abe011b3c220483753629f7d9942f
2012-11-19 12:11:57 +01:00
Endre Karlson 0e9834636b Fixup pyflakes, pep8 and broken things
Change-Id: Ia1878234632ef57cf5e74072d42ff8aa526583ff
2012-11-19 10:59:19 +01:00
Endre Karlson 29c4dde737 Plugin architecture for everything 2012-11-15 13:52:37 +01:00
Endre Karlson 637dd90812 PEP8 2012-11-14 14:28:31 +01:00
Endre Karlson 10c2c8de78 Fix tox and test stuff 2012-11-14 14:22:13 +01:00
Endre Karlson aa64836104 Fixup tox.ini 2012-11-13 15:32:46 +01:00
Endre Karlson 84684d5fcd Try to fix image links 2012-11-12 11:07:24 +01:00
Endre Karlson c33eeca105 Update docs a bit with some diagrams 2012-11-12 11:01:50 +01:00
Endre Karlson 4414ac101c Add nose stuff 2012-11-08 23:33:33 +01:00
Endre Karlson 7606e71920 Times as strings. 2012-11-08 14:54:51 +01:00
Endre Karlson f340ffd6d2 Multiples
Add support for storing when the account was last polled - used as the
starting time for the next poll if it exists.
Change id to id_ in _get_id.
Move the self.admin_context into the base RecorderEngine
2012-11-08 01:30:35 +01:00
Endre Karlson 7cb8c8766f Add more methods and tests 2012-11-07 11:34:36 +01:00
Endre Karlson 0b0915a327 Split up record processing 2012-11-06 09:55:31 +01:00
Endre Karlson 405eb763f6 Fix api and add process_record(s) 2012-11-06 09:38:16 +01:00
Endre Karlson 682264286e Remove utils 2012-11-04 23:17:36 +01:00
Endre Karlson a79482fa2d Batch process records and fixups 2012-11-04 21:45:35 +01:00
Endre Karlson 7d324da36c Change system > system_account and override ID over SystemAccount to be the ID of the System that's sending the record 2012-11-04 21:44:09 +01:00
Endre Karlson ec43422775 Change Customer to Account and add get_system_by_account 2012-11-04 19:40:15 +01:00
Endre Karlson a4a44578d2 Update rpc stuff 2012-11-03 23:17:27 +01:00
Endre Karlson 7bc2c010e9 Fix documentation 2012-11-03 00:46:29 +01:00
Endre Karlson 61bc365d60 Update docs 2012-11-03 00:16:14 +01:00
Endre Karlson a78cb9ab95 Move the actual folder also :) 2012-11-03 00:07:19 +01:00
Endre Karlson 9984ec9d35 Meet Bufunfa 2012-11-03 00:06:45 +01:00
Endre Karlson b7c47526f6 Re-amp recorder and only get stuff that's a day back from current time as default 2012-11-02 23:14:02 +01:00
Endre Karlson 29208f6012 Forgot to rename and add License header. 2012-11-02 11:27:00 +01:00
Endre Karlson 3175537f27 https://review.openstack.org/#/c/15266/ 2012-11-02 11:23:40 +01:00
Endre Karlson cc36b7c57b Update service based on Ceilometer code / common 2012-11-02 09:11:07 +01:00
Endre Karlson e0afcc425f Update common again..
Previous sync borked RPC code
And general update to tip of trunk
2012-11-02 08:59:30 +01:00
Endre Karlson 946f05c513 Add classifiers 2012-11-02 08:54:16 +01:00
Endre Karlson cbb8835ca6 Add some ignores and sync up version stuff with moniker 2012-11-02 08:52:05 +01:00
Endre Karlson bec210c9be Copy the periodic service from Ceilometer 2012-11-02 08:46:38 +01:00
Endre Karlson bcd0982dbf Forgot version 2012-11-02 08:45:02 +01:00
Endre Karlson aa4b7123c9 Sync common 2012-11-02 08:43:33 +01:00
Endre Karlson 5eeddfc1d1 Update pep and sphinx 2012-11-01 22:59:55 +01:00
Endre Karlson 4f545c0afd Add some requires 2012-11-01 10:36:34 +01:00
Endre Karlson 10458b75a8 Add utils 2012-11-01 10:05:24 +01:00
Endre Karlson 1034819ad8 Update bin files like in Moniker 2012-11-01 10:03:13 +01:00
Endre Karlson 7311b6a5f5 Update tests 2012-11-01 09:57:21 +01:00
Endre Karlson c2e55a8fcc Fix get_id calls 2012-11-01 09:20:08 +01:00
Endre Karlson 737d25a9e4 Update readme 2012-10-31 20:00:31 +01:00
Endre Karlson 16263fd56e Add a few files... 2012-10-31 18:36:26 +01:00
Endre Karlson cab63fa848 Fix up license headers I hope. 2012-10-31 18:26:52 +01:00