summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update .gitreview for stable/icehouseicehouse-eolstable/icehouseDoug Hellmann2015-05-131-0/+1
| | | | Change-Id: Ie7fa5555d475b37ad7783ac40f91c6196668c3d5
* Merge "sync oslo"0.5.1Jenkins2014-05-2312-203/+377
|\
| * sync osloGordon Chung2014-05-2212-203/+377
| | | | | | | | | | | | sync to Ia1bfa1bd24989681db1d2f385defc12e69a01f8d Change-Id: Idbbbb9fcec8e8b0d1930956850b1a7371081b632
* | remove token from notifier middlewareGordon Chung2014-05-221-1/+1
|/ | | | | | | | notifier middleware is capturing token and sending it to MQ. this is not advisable so we should filter it out. Change-Id: I11d9f2f23fc3b60c945c33d4d02bd7640d88a083 Closes-Bug: #1321080
* Updated from global requirementsOpenStack Proposal Bot2014-04-302-2/+10
| | | | Change-Id: Ib667b02069ba68b4e33eae844caae6d33ba368c3
* reorder documentationGordon Chung2014-04-108-24/+105
| | | | | | | - reorder documentation so it's grouped logically. - add api docstring modules Change-Id: I47e49634fe7d8bb16a51f3045e7fe53683d56d1a
* import run_cross_tests.sh from incubatorDoug Hellmann2014-04-042-0/+92
| | | | Change-Id: I1605e828c4078d723862fa2b7e16a4916964a5ac
* Updated from global requirements0.5OpenStack Jenkins2014-03-241-2/+2
| | | | Change-Id: I7724427b68627853bbff368834a24a993ef723bf
* add OpenStack Foundation as authorGordon Chung2014-03-171-4/+4
| | | | | | add OpenStack Foundation as author Change-Id: Iac1b743fa4c0d0ead2badaee5f36451e91465bf0
* pycadf documentationGordon Chung2014-03-1731-2/+1639
| | | | | | | | add basic documentation on CADF spec. Closes-Bug: #1279951 Change-Id: Ie1703d9b5109d8275377857e5362e3b09385f647 Implements: blueprint document-pycadf
* Updated from global requirementsOpenStack Jenkins2014-03-112-2/+2
| | | | Change-Id: I84fe28d2e68378d89479d45aa98c17e50f7f687b
* add docstrings to functionsGordon Chung2014-03-1016-4/+155
| | | | | | | add docstrings to functions Change-Id: I112e297d20de5026784298e93b6ff05733639a1c Implements: blueprint document-pycadf
* catch empty json body0.4.1Gordon Chung2014-02-212-4/+19
| | | | | | add a catch for when json body is empty on action event. Change-Id: I25ae76162ace25bac700bbfb39fa1af83427f629
* add constant for security service0.4Gordon Chung2014-02-201-1/+2
| | | | | | add constant variable for resource 'service/security' Change-Id: I29a47920a6718a6695a9ca2187fcbe92bcf46ac9
* audit middleware in pycadfGordon Chung2014-02-2012-34/+443
| | | | | | | | move audit middleware to pyCADF and allow it to support oslo.messaging instead of openstack.common.notifier Partial-Bug: #1280327 Change-Id: I7f0b706a91a61111147bc2b3c682dfdac01c0b7d
* oslo common code sync and requirements cleanupGordon Chung2014-02-2019-9/+1695
| | | | | | | clean up requirements and pull in oslo code required for audit middleware Change-Id: Ia9c5bb9b6468e9d859d6b1f5a88798e72b3dc8ae
* Rollback change to that Install configs into /etcDavanum Srinivas2014-02-121-1/+1
| | | | | | | | | | | | | | We are getting failures in gate jobs Example: 2014-02-12 08:01:40.259 | creating /etc/pycadf 2014-02-12 08:01:40.259 | 2014-02-12 08:01:40.259 | error: could not create '/etc/pycadf': Permission denied from: http://logs.openstack.org/30/72330/1/check/check-requirements-integration-dsvm/10d26a8/console.html Change-Id: I828a352a89f08f1898635215a94273222100fdd8
* Merge "Install configs into /etc, not /usr/etc"Jenkins2014-02-111-1/+1
|\
| * Install configs into /etc, not /usr/etcSascha Peilicke2014-02-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Not providing an absolute path to data_files means that "setup.py install" will put it under whatever "--prefix" is specified. For most RPM-based distros this is /usr. For machine-local installations this is /usr/local. However, there's no such thing as /usr/etc or /usr/local/etc, there's just /etc. Distributions could either fix this manuall or work-around by using "python setup.py --install-data=/etc". But this isn't future-proof since all data would end up in the (potentially) wrong place. Change-Id: I844b33d1fdd87f2c255f72b30a78eeab677ec09d
* | Update .gitreview after repo renameDoug Hellmann2014-02-071-1/+1
|/ | | | Change-Id: I6b6e20a7884b47ade466fc38641a5ac1a5f3e146
* update audit_map0.3.1Gordon Chung2014-02-041-2/+3
| | | | | | update audit map to include os-availability-zone path Change-Id: I12f9127efed6b3dcba85c14c696e0bca66650659
* update build_typeURI to drop query stringGordon Chung2014-02-031-2/+2
| | | | | | | capture query string in requestPath attribute. use path sans query string to build typeURI Change-Id: Ia4ad4ada6172ad56d2f17665942fb7a767f97c3e
* Merge "mask token values"Jenkins2014-02-035-5/+66
|\
| * mask token valuesGordon Chung2014-02-035-5/+66
| | | | | | | | | | | | | | | | scramble a percentage of leading and trailing characters for a provided value to avoid security issues. Change-Id: I544e57be1b554a4fd92b634a57ae0ca63a2e7d09 Closes-Bug: #1262393
* | sync common code and requirementsGordon Chung2014-02-036-470/+276
| | | | | | | | | | | | sync up common code from oslo and requirements Change-Id: I3b7842e58ad12fe46cc6ac10ff7a0482be3a85ea
* | add path to eventGordon Chung2014-02-032-0/+2
| | | | | | | | | | | | | | add REST request URL path to event Change-Id: Iac825b43c8a61abfdbfaf98c23aff66f7ece0e27 Closes-Bug: #1267500
* | adjust typeURI to capture target betterGordon Chung2014-02-034-129/+237
|/ | | | | | | | | | update to fix nova audits. - change typeURI to record greater depth of api request. - add custom_actions to allow special case actions based on api path Change-Id: I2b33cf8cff796bdb135dd832c23f0e2ffdf90780 blueprint: audit-all-apis
* Python 3: update setup.cfg to advertise python 3 compatibilityCyril Roelandt2014-01-141-0/+1
| | | | | | | Now that pycadf is Python 3 compatible, Python 3.3 should be listed in the supported programming languges. Change-Id: I8209ee43d214bcd81a9dc14dd0f377b63e165eb0
* Python3: do not index a dict_keys object0.3Cyril Roelandt2014-01-091-1/+1
| | | | | | | | This avoids getting this error: TypeError: 'dict_keys' object does not support indexing Change-Id: I662d9e0206e7346069e30fa14182886e8865a61e
* Merge "Python3: use six.moves.urllib.parse instead of urlparse"Jenkins2014-01-081-1/+1
|\
| * Python3: use six.moves.urllib.parse instead of urlparseCyril Roelandt2014-01-071-1/+1
| | | | | | | | | | | | This makes the code compatible with both Python 2 and 3. Change-Id: Idd71d2041eea6de71209535e4aa4d3d43256c836
* | Python 3: the request body should be bytes in test_api.pyCyril Roelandt2014-01-071-2/+2
|/ | | | | | This works with Python 2 and 3. Change-Id: I567068695163064d163cbab7c63f8f9983cc0c04
* Merge "Python 3: use six.with_metaclass"Jenkins2014-01-071-2/+2
|\
| * 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
* | Merge "Python 3: replace 'basestring' by 'six.string_types'"Jenkins2014-01-0713-39/+69
|\ \
| * | Python 3: replace 'basestring' by 'six.string_types'Cyril Roelandt2014-01-0613-39/+69
| |/ | | | | | | | | | | | | 'basestring' will only work in Python 2. Using 'six.string_types' instead makes the code compatible with both Python 2 and 3. Change-Id: I572506ce6d0cc7570dc264711d19619746949d49
* | Python 3: Use six.moves.configparser rather than ConfigParserCyril Roelandt2014-01-061-7/+8
|/ | | | | | This makes the code compatible with both Python 2 and 3. Change-Id: Idfbfb26c9df4a55d2cfb3f1d020e2787239a61d4
* sync requirements and osloGordon Chung2013-12-166-31/+36
| | | | | | | - update common code - update requirements Change-Id: I1912dad4e61da7c14c5e3d9a38076829b09afe87
* Merge "add namespace to all ids"0.2.2Jenkins2013-10-293-8/+13
|\
| * add namespace to all idsGordon Chung2013-10-293-8/+13
| | | | | | | | | | | | add namespace to all ids, including those not generated by pycadf Change-Id: I9ba68a65524708c4f0749540ad25811f8cb3355f
* | improve model validationGordon Chung2013-10-2513-52/+135
|/ | | | | | | | | | | - 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
* Merge "update requirements"Jenkins2013-10-252-2/+2
|\
| * update requirementsGordon Chung2013-10-242-2/+2
| | | | | | | | | | | | sync with global requirements Change-Id: I7f7734317ca1dd2b366700aa5cf315c70522235e
* | update osloGordon Chung2013-10-244-40/+137
|/ | | | | | bring in latest oslo code Change-Id: Id05edcd9c23370fbba7610fb9de0ac7977bae717
* Updated from global requirementsGordon Chung2013-10-223-13/+8
| | | | Change-Id: I93b64953819fb83af78bd34a93c51419da599e90
* do not set typeURI in resource shortformGordon Chung2013-10-211-1/+3
| | | | | | | do not set typeURI if resource id is 'target' or 'initiator' Partial-Fix: Bug #1240067 Change-Id: I2aba379822989aab7e5dac4a4368682e22463f80
* Merge "support namespace prefix in id"0.2.1Jenkins2013-10-181-9/+11
|\
| * support namespace prefix in idGordon Chung2013-10-171-9/+11
| | | | | | | | | | | | prefix generated ids with namespace option Change-Id: I50776202dd5be1b9ab2cfc5e177eeb9a77d6a8f9
* | switch list action to read/listGordon Chung2013-10-182-4/+4
|/ | | | | | | CADF spec has changed 'list' action to 'read/list' action type. update library to reflect that. Change-Id: I5fe3b7d180f9a5b9117700e684bd659701da49b4
* observer and reporter should be valid ResourceGordon Chung2013-10-176-23/+44
| | | | | | | | | - fix observer and reporter attributes to be valid Resource type - add check that Resource id shortform for initiator and target do not reference themselves Fixes: Bug # 1240067 Change-Id: Iab5b6c129d512039073cc8c2ab7b75ac7c819624