]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Port policy from oslo and refactor heat policy
authorguohliu <guohliu@cn.ibm.com>
Wed, 31 Jul 2013 16:28:56 +0000 (00:28 +0800)
committerguohliu <guohliu@cn.ibm.com>
Mon, 12 Aug 2013 05:19:55 +0000 (13:19 +0800)
commiteca7fdae8c61cce8b9be8d7c4d95664ff2c02694
treec6f121126a1f6ae7f5fc638054e0fe75834420f1
parent872fcf8a311292aedb16bb21e74e37bc32bebee9
Port policy from oslo and refactor heat policy

This patch is to refactor Heat's usage to allow bringing the
policy code from oslo up to the current version to address
many fixed bugs which affect Heat.

    1. Refactor the heat wrapper policy.
    2. Add netaddr in requirement.txt.
    3. Add necessary unit test to cover the refactor part code.

Oslo commit: 3626b6db91ce1e897d1993fb4e13ac4237d04b7f
Fixes bug #1192551

Change-Id: Ia71d14b2cfde9110216ba38a515fee16d0f0c35e
12 files changed:
etc/heat/heat.conf.sample
heat/common/policy.py
heat/openstack/common/excutils.py
heat/openstack/common/fileutils.py [new file with mode: 0644]
heat/openstack/common/jsonutils.py
heat/openstack/common/log.py
heat/openstack/common/policy.py
heat/openstack/common/timeutils.py
heat/tests/test_api_cfn_v1.py
heat/tests/test_api_cloudwatch.py
heat/tests/test_common_policy.py
requirements.txt