summaryrefslogtreecommitdiff
path: root/pycadf/cadftype.py
Commit message (Collapse)AuthorAgeFilesLines
* Use oslo namespacesSteve Martinelli2015-02-041-1/+1
| | | | | | | | | | Instead of using imports like: import oslo.config we should be using: import oslo_config Change-Id: I11fe1dbb0d638b9cc6d65fcdb1c1482cdf0c40b9
* upgrade hacking to 0.10.0Steve Martinelli2015-01-121-1/+2
| | | | Change-Id: If646a99435c9f5e1d227ee30fc25909f6fcdaae6
* Use oslo.serializationSteve Martinelli2014-10-201-2/+1
| | | | | | | Move to olso.serialization and update requirements and common.conf appropriately. Change-Id: If1abff0e8cf7c24a451c8d758e99bf143aa7a59f
* clean up license headersDolph Mathews2014-07-291-9/+6
| | | | | | | | | | This removes extraneous whitespace, applies a consistent licensing header to all files, removes "all rights reserved" lines attributed to the OpenStack Foundation, removes authorship lines for Matt Rutkowski (which the git commit history much more accurately conveys) and follows all licenses with a blank line before the code/docstr begins. Change-Id: Idcfefd923e5ddb574087265c998dd50ebfe70a79
* Enabled hacking checks H305 and H307Christian Berendt2014-07-171-0/+1
| | | | | | | * H305 imports not grouped correctly * H307 like imports should be grouped together Change-Id: Ied0e83b9b37dcb7a7a60a653093c3fa0d8e56226
* Expand © and remove unnecessary encoding linesMartin Geisler2014-06-151-2/+1
| | | | | | | | | | | | | | | | | | The word "Copyright" alone is sufficient to claim copyright, the © symbol need not be present.[1] This allows us to expand the "©" symbol into "(c)" to avoid introducing non-ASCII characters. As per PEP 263, a Python file with non-ASCII characters must have a line with "coding: <some-encoding>". Python files containing only 7-bit ASCII characters need no such line.[2] This commit expands the non-ASCII Unicode copyright symbols and removes the now unnecessary encoding lines. [1]: http://www.copyright.gov/circs/circ03.pdf [2]: http://legacy.python.org/dev/peps/pep-0263/ Change-Id: Ibbb282224bccbea383947b4e09a619f94d5c24b1
* Python 3: use six.with_metaclassCyril Roelandt2014-01-061-2/+2
| | | | | | | | | | | | | | | | Instead of using (Python 2): __metaclass__ = ... or (Pyhon 3): class Foo(metaclass=...): we use six.with_metaclass (Python 2 and 3): class Foo(six.with_metaclass(Meta, Base)): Change-Id: Ie934cd14dfb81a018f838294b768e69dff16af5b
* improve model validationGordon Chung2013-10-251-0/+9
| | | | | | | | | | | - add isset to check "real" attribute and not descriptor - verify only id is set in shortform - verify either resource or resourceId value is set, not both. blueprint improve-validation related-bug: #1242830 Change-Id: Ie9e3f26c5d30cd36e6013a1f0b77c8fe466cb3f7
* append cadf event to req.environ0.1.2Gordon Chung2013-08-141-1/+2
| | | | | | append cadf event to req.environ to work with middlware.notifier Change-Id: I0ebfd2ed436a7fed88b0ef12ea2e3cccd350cc98
* DMTF CADF formatGordon Chung2013-08-061-0/+93
Adding support for the DMTF Cloud Audit (CADF) format which will be used along with a generic notification filter to audit 'core' component APIs. initial code drop blueprint support-standard-audit-formats Change-Id: I3b27ceae8faa6427e4be1290c1406102e790e2e3