Commit Graph

12 Commits

Author SHA1 Message Date
Hervé Beraud c17eef90da Always reset CONF when starting the wsgi app
This ensures that options loaded during any prior run of the
application are dropped before being added again during init_application.

Change-Id: I968cbe6091856c3090840511e8006af518b99f3a
2020-11-17 15:26:52 +00:00
Zuul 38eb2e5389 Merge "fix logger names" 2019-10-07 19:30:55 +00:00
rabi 9c421a6725 Remove unnecessary shebangs from service scripts
These are just python files.

Also removes internal .gitignore in heat_integrationtests

Change-Id: Ibea3253cd89f905e61b655861274c61ab48a7ea0
2018-08-01 10:53:51 +05:30
Matthew Edmonds 12fb92ce87 fix logger names
Most files are using getLogger(__name__) so that logging statements
are associated with the file they came from, but there are several
places where this practice has not been followed. This changes to
use __name__ consistently for most code. Per review comments,
commands and wsgi apps are instead updated to use the command/app
name.

Change-Id: Ic2594b88dd818df5486800e4759848d43edc24d1
2018-03-20 13:29:15 +00:00
rabi 6d55417f80 Remove CloudWatch API
This patch removes the API, the next set of patches in the
series would remove stack watch service and related
WatchRule implementation.

Change-Id: I8b0472be862907298c8da51f435b5d8b19610ec3
Partial-Bug: #1743707
2018-01-28 09:11:17 +05:30
rabi bcd8c814b7 Add httpd documentation and sample configs
This adds uwsgi sample configs and documentation for
deploying api services with httpd.

This moves the existing mod_wsgi sample configs from devtsack
folder as they are not specific to devstack.

Change-Id: I91fd64d9deba3371b62c00ba8b01a7aca21b2393
2017-07-07 11:00:06 +05:30
liyi 8f10215ffd Remove log translations
Log messages are no longer being translated. This removes all use of
the _LE, _LI, and _LW translation markers to simplify logging and to
avoid confusion with new contributions.

See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html

Change-Id: Ieec8028305099422e1b0f8fc84bc90c9ca6c694f
2017-03-25 17:11:50 +08:00
Michael Krotscheck 59ccb2f751 Moved CORS middleware configuration into oslo-config-generator
The default values needed for heat's implementation of cors
middleware have been moved from paste.ini into the configuration
hooks provided by oslo.config. Furthermore, these values have been
added to the default configuration parsing. This ensures
that if a value remains unset in heat.conf, it will be set
to use sane defaults, and that an operator modifying the
configuration file will be presented with a default set of
necessary sane headers.

Change-Id: Ie3791007b33788829417ce508a3c719ae626bbce
Closes-Bug: 1551836
2016-03-14 08:19:29 -07:00
Oleksii Chuprykov be613de636 Use pbr for installing wsgi scripts
Change-Id: Ia4f6536336d860b62be6fd42465cf63d59fe2760
Closes-Bug: #1500569
2015-11-03 09:53:19 +00:00
Peter Razumovsky 62485c7a7b Fix [H405] pep rule in heat/httpd
Implements bp docstring-improvements

Change-Id: I76f60bb743de8950328dfbad2a3d687d38b0b751
2015-09-24 16:22:25 +03:00
ricolin 2251af415b unify REST word
Representational State Transfer, by official definition the abbreviation
should be *REST* not *ReST*. We should make it unified.

Change-Id: Ia1e5c5145ab0db22fd9ff1393bf507648a31112b
2015-08-26 09:33:17 +08:00
Oleksii Chuprykov be020179ae Add apache2 support for heat API services
Add scripts for running API serces via apache2
This patch is needed for
I1bdd678c44ddfa616a9db7db85ff6f490ff08947

Implements bp: run-heat-api-under-apache2
Change-Id: Ibef2d1f6bcedc8f58368b7752a4acc36c4296a1f
2015-06-17 08:08:51 -04:00