summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRakesh H S <rh-s@hpe.com>2016-01-20 19:34:46 +0530
committerRakesh H S <rh-s@hpe.com>2016-01-21 15:04:31 +0530
commitd9340d89887f1e01027d73b0076b577223c4b325 (patch)
treee8723b7e9e3b37e74cf77e6774584e99c2eb2f89
parent2c9084ebb1a088958b5e387d28e47e9ab509c59f (diff)
downloadpycadf-d9340d89887f1e01027d73b0076b577223c4b325.tar.gz
Enable cadf support for Heat
Adds heat_api_audit_map.conf to enable cadf support for Heat. Closes-Bug: #1536483 Change-Id: Ic3e68748ab5440d2d21554b6cdf0d793fdbf38a9
-rw-r--r--doc/source/audit_maps.rst2
-rw-r--r--etc/pycadf/heat_api_audit_map.conf32
2 files changed, 34 insertions, 0 deletions
diff --git a/doc/source/audit_maps.rst b/doc/source/audit_maps.rst
index e567a4e..8cadb57 100644
--- a/doc/source/audit_maps.rst
+++ b/doc/source/audit_maps.rst
@@ -27,6 +27,7 @@ services. Currently, pyCADF supplies the following audit mapping files:
* `neutron_api_audit_map.conf`_
* `nova_api_audit_map.conf`_
* `trove_api_audit_map.conf`_
+* `heat_api_audit_map.conf`_
These files are hosted under the `etc/pycadf`_ directory of pyCADF. For more
information on how to use these mapping files, refer to the `Audit middleware`_
@@ -40,3 +41,4 @@ section of the `keystonemiddleware`_ project.
.. _`neutron_api_audit_map.conf`: https://github.com/openstack/pycadf/blob/master/etc/pycadf/neutron_api_audit_map.conf
.. _`nova_api_audit_map.conf`: https://github.com/openstack/pycadf/blob/master/etc/pycadf/nova_api_audit_map.conf
.. _`trove_api_audit_map.conf`: https://github.com/openstack/pycadf/blob/master/etc/pycadf/trove_api_audit_map.conf
+.. _`heat_api_audit_map.conf`: https://github.com/openstack/pycadf/blob/master/etc/pycadf/heat_api_audit_map.conf \ No newline at end of file
diff --git a/etc/pycadf/heat_api_audit_map.conf b/etc/pycadf/heat_api_audit_map.conf
new file mode 100644
index 0000000..8c0e8e7
--- /dev/null
+++ b/etc/pycadf/heat_api_audit_map.conf
@@ -0,0 +1,32 @@
+[DEFAULT]
+# default target endpoint type
+# should match the endpoint type defined in service catalog
+target_endpoint_type = None
+
+# possible end path of api requests
+[path_keywords]
+stacks = stack
+resources = resource
+preview = None
+detail = None
+abandon = None
+snapshots = snapshot
+restore = None
+outputs = output
+metadata = server
+signal = None
+events = event
+template = None
+template_versions = template_version
+functions = None
+validate = None
+resource_types = resource_type
+build_info = None
+actions = None
+software_configs = software_config
+software_deployments = software_deployment
+services = None
+
+# map endpoint type defined in service catalog to CADF typeURI
+[service_endpoints]
+orchestration = service/orchestration \ No newline at end of file