Commit Graph

57 Commits

Author SHA1 Message Date
OpenDev Sysadmins e56799eb1b OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:50:40 +00:00
Jenkins 792b0fb25d Merge "Update .gitreview for new namespace" 2015-12-13 11:42:54 +00:00
Jeremy Stanley 8d254df4fa Update .gitreview for new namespace
Change-Id: Ic0c9ce5bc1ed16aae4ce3f72b829bafd1103ee20
2015-10-17 22:39:38 +00:00
Levi Blackstone 3b7e69c972 Add PEP8 check and fix related issues
- Add PEP8 section to tox.ini
- Add hacking to requirements to enforce OpenStack style requirements
- Fix formatting issues flagged by flake8 check
- Add copyright notices to all remaining files
- Update .gitignore file

Change-Id: I7e9a0203ddf2002c08ac96800fe30c1c46ebba88
2015-05-05 07:43:17 -05:00
Sandy Walsh 542545468b Fix integration test directory setup.
Don't assume the directory is already there.

Change-Id: I771068027e58ea95e341d79ad3c925e4840ecfaf
2015-04-27 13:27:40 -07:00
Sandy Walsh 8fc4b88519 Skip tarball and just gzip the archive file.
It's just a single file, so it makes sense to just gzip it.

Change-Id: I0103269a9e365fdbcb30c1389cf6f3eabfce1a23
2015-04-15 13:40:31 -07:00
Sandy Walsh 7a600792db One notification per file line in tarball.
JsonRollManager also now rotates after time (15min default).
The contents of the tarball are a single file that contains
one notification per file line.

The tarball is created after reaching a certain size or after
a fixed amount of time. Any working files are also tarball'ed
when the service restarts.

Change-Id: I6e9d620086cf24bc1468b638e7b148af7230e2ac
2015-04-10 09:31:45 -07:00
Sandy Walsh 2be257bbfd Remove Swift handler (for now)
Pyrax is deprecated and causing installation problems.
Nuclear option.

Change-Id: I2d27a541e6617e468862fd13c473ea0ce7bc774b
2015-03-27 09:42:17 -07:00
Sandy Walsh 346fd39d24 Only compute directory size when delete is done.
Gah. Was doing this on every delete operation.

Change-Id: Ie207fd94b713c550265676716a7d206fc20763de
2015-03-26 13:14:11 -07:00
Sandy Walsh aecc00d485 use in-memory count for directory size.
Only check the directory size when we first start the
RollManager. From then on, incrementally add the payload
size. This will result in a difference between on-disk size
vs. file sizes. But, it's much faster than checking every N
times ... those stats() checks are very expensive.

Change-Id: I71b1455db0ea073a4f563f115a693027de50638b
2015-03-19 12:28:55 -07:00
Sandy Walsh 5f91c87739 Tarball archiving of JSON messages.
Changed the JSON RollManager to write JSON payloads
to a working directory until a certain directory
size is met. Then the directory is tar/gzipped and
moved into a destination directory.

No CRC is available for the tarball.

Change-Id: I119da646104eeaea86f7153a9bcf123d3143a0ba
2015-02-24 11:28:20 -08:00
Sandy Walsh 852c1853e5 Simple per-event file output.
Records the event as a json payload in a file that
may include a CRC of the payload. This is typically used
when storing events in something like HDFS.

Change-Id: Iaecca2397afa3501e437e27d698f3573760f1ac0
2015-02-17 07:14:02 -08:00
Sandy Walsh a3e80502f6 Get tox tests working again.
Had to upgrade to using template-based notigen. Unfortunately this
means copy-pasting the templates from notigen (for now).

Also bump version and change repo to stackforge.

Change-Id: Idfd97ec5c6d2cf43c842e001946d8fa8801c8dfb
2014-10-22 11:32:26 -07:00
Sandy Walsh 01cdd7ab7d create container 2014-06-03 03:33:48 +00:00
Sandy Walsh c23ce35c85 specific simport version 2014-06-03 03:10:43 +00:00
Sandy Walsh 3f9fcf1388 version fixup 2014-06-03 02:56:13 +00:00
Sandy Walsh 0868134d3c Merge pull request #1 from StackTach/swift
Swift
2014-06-02 23:19:18 -03:00
Sandy Walsh 29ec822b67 CloudFiles upload handler and setup.cfg tweak 2014-06-03 02:15:48 +00:00
Sandy Walsh 1ef14d82bf Start of swift support 2014-05-30 19:33:46 +00:00
Sandy Walsh 40c3ac1920 Proper unicode support for metadata. Json doesn't need it 2014-05-29 20:13:51 +00:00
Sandy Walsh 90b6a5baef fixup for new notigen library 2014-05-29 18:56:08 +00:00
Sandy Walsh 0726ff52a5 fix docs to reflect kwargs constructors 2014-05-27 01:45:13 +00:00
Sandy Walsh fbb9bdf7ff missed the file :) 2014-05-27 01:25:42 +00:00
Sandy Walsh a180835028 CallbackList now correctly uses objects, not classes 2014-05-27 01:00:05 +00:00
Sandy Walsh 8facfff750 Chain of callback support using simport 2014-05-26 19:04:27 +00:00
Sandy Walsh 3b65cab8c2 Moved utils to notification_utils project 2014-05-21 12:11:50 +00:00
Sandy Walsh b77eebdabe removed gen_events 2014-05-16 01:33:01 +00:00
Sandy Walsh 6753b9baba Some play callback handlers. Now uses notigen 2014-05-16 00:31:04 +00:00
Sandy Walsh 0a3ead169a test_rolling link 2014-05-14 22:07:13 +00:00
Sandy Walsh b3b9ce4261 updated docs 2014-05-14 22:03:49 +00:00
Sandy Walsh 801eaf268e one more sanity check 2014-05-14 21:14:16 +00:00
Sandy Walsh 065b63f407 missing __init__ files 2014-05-14 21:00:45 +00:00
Sandy Walsh 12878c8ce3 reading works and integration end-to-end tests in place 2014-05-14 20:59:48 +00:00
Sandy Walsh 2bb11b0d31 added ArchiveCallback, WritingRollManager working 2014-05-14 14:08:39 +00:00
Sandy Walsh 331c9e0caa pulled in datetime/decimal code, fixed up json encoding, started tying into disk_storage in rolling test 2014-05-14 03:50:12 +00:00
Sandy Walsh 1c6fae4b3e Started on integration testing.
Brought over and refactored event generator code from TwoBillion.
Now supports real-time and fast-time event generation.
Also in an easier-to-use library now.
2014-05-13 19:52:07 +00:00
Sandy Walsh 159054a53d 100% coverage 2014-05-13 14:15:05 +00:00
Sandy Walsh e69b617a24 working on tests for disk_storage 2014-05-13 14:02:27 +00:00
Sandy Walsh 2a2bd5e54c tests work again and no temp files 2014-05-13 02:48:47 +00:00
Sandy Walsh 2dee06e43d split out shoebox into smaller files 2014-05-13 01:42:46 +00:00
Sandy Walsh 72a603e58b moved experiment into shoebox code 2014-05-12 21:23:42 +00:00
Sandy Walsh 8b0f265a9e version support with peek-ahead functionality 2014-05-12 21:19:11 +00:00
Sandy Walsh be6dee825c started repackaging 2014-05-12 20:48:07 +00:00
Sandy Walsh 0c898146a0 metadata reading and writing 2014-05-12 19:18:36 +00:00
Sandy Walsh 9c6dc549e0 remove pytables and look at bson 2014-05-12 00:57:06 +00:00
Sandy Walsh ef8fc4237e Back to looking at raw binary 2014-03-22 01:56:47 -03:00
Sandy Walsh d4be446cf5 append in wrong place 2014-03-21 00:39:26 -03:00
Sandy Walsh c31b354bf1 need to figure out variable length strings 2014-03-20 22:35:50 -03:00
Sandy Walsh 366e84d2fd finish tests. Starting on writing 2014-03-12 15:09:29 -03:00
Sandy Walsh 4c0e33229a more tests 2014-01-13 19:58:44 +00:00