Commit Graph

16 Commits

Author SHA1 Message Date
Ghanshyam Mann 1ac6e2bcb2 Retire Murano: remove repo content
Murano project is retiring
- https://review.opendev.org/c/openstack/governance/+/919358

this commit remove the content of this project repo

Depends-On: https://review.opendev.org/c/openstack/project-config/+/919359/
Change-Id: Ifef553e4438244b3f356312c5c9787c2cb7d18c2
2024-05-10 15:56:47 -07:00
zhurong 9f47209f66 Remove the unused paste
Change-Id: I1c7949349b8871d8476205468cfd943ac08dfaf6
2022-01-17 08:29:06 +00:00
melissaml 1bfac0e16a Update the URL in doc
Change-Id: Ic531565c7c836188ab5f457289a64d74d95b0b64
2018-09-24 21:32:18 +08:00
shashi.kant 02ec8d03ed Updated murano-apste.ini with http_proxy_to_wsgi
Murano used to have a custom, always-enabled ssl middleware, to parse
X-Forwarded-Proto header, to let murano work correctly behind an SSL
proxy. There is now an oslo middleware, that does the
same thing, but more thoroughly.
This commit replaces custom implementation with oslo one.

Co-Authored-By: Kirill Zaitsev <k.zaitsev@me.com>
Change-Id: I5444542b878434fb656e19b12d0f6e71df1ab95f
2017-05-25 15:01:40 +03:00
zhurong 3d8d5a0b0e Use devstack for service broker use separate paste and db
1.Add the devstack support for new cfapi
2.service broker use separate paste file
3.service broker use separate db

Closes-Bug: #1500777
Closes-Bug: #1500827
Change-Id: I2842828fe14878e6ff5ac194473f2ffa619370df
partial-implement: bp separate-service-broker-from-murano
2016-07-25 10:05:58 +00:00
zhurong 176379f601 Move service broker api to the top level
Create separate murano-cfapi-paste.ini for service broker,
Change service broker start command to:
`murano-cfapi --config-file etc/murano/murano-cfapi.conf`

And move service broker api to the top level.

Change-Id: Id56786f31c16da11019a2064cc4285bdd266f538
partial-implement: bp separate-service-broker-from-murano
2016-05-31 21:33:06 -04:00
Tin Lam 151d8cfe30 Moved CORS middleware configuration into oslo-config-generator
The default values needed for murano'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 initialization procedure. This ensures
that if a value remains unset in the configuration file, it will
fallback to using sane defaults. It also ensures that an operator
modifying the configuration will be presented with that same
set of defaults.

Change-Id: I50a204e27a43991d94cfb5f39c1dd3e904eb5696
Closes-Bug: #1551836
2016-03-04 17:00:44 -06:00
Michael Krotscheck 76d617287c Added CORS support to Murano
This adds the CORS support middleware to Murano, allowing a deployer
to optionally configure rules under which a javascript client may
break the single-origin policy and access the API directly. Included
are Murano's custom headers, so that anyone activating this
middleware does not have to explicitly enable them.

The paste.ini method of deploying the middleware was
chosen, because it needs to be able to annotate responses created
by other middleware.

OpenStack CrossProject Spec:
   http://specs.openstack.org/openstack/openstack-specs/specs/cors-support.html
Oslo_Middleware Docs:
   http://docs.openstack.org/developer/oslo.middleware/cors.html
OpenStack Cloud Admin Guide:
   http://docs.openstack.org/admin-guide-cloud/cross_project_cors.html

Change-Id: If9eff9a4bcf272eebe9fd9d4e13dec64decb4997
2015-12-09 08:24:10 -08:00
Nikolay Starodubtsev c508be37a2 Rework service broker authorization process
Now we can use keystonemiddleware and murano context middleware for requests
from outside OpenStack so we don't need to recreate keystoneclient for each
request and can easily get token from the request headers. That makes
authorization proccess a lot easier in terms of source code.

Change-Id: If937501074b85d43921fdb108f8af3babeded828
Closes-Bug: #1512254
2015-11-12 12:05:57 +03:00
Nikolay Starodubtsev b985627eaa Add middleware for external requests
New middleware will solve the problem with non-Openstack requests by
adding some minimal required headers.

Change-Id: I49986e73d0eb3da1ce13d22771c6bcb5a28ba846
Implements: bp external-request-middleware
2015-11-11 12:31:30 +03:00
Nikolay Starodubtsev 8e01d101c7 New middleware to handle ssl termination proxies
Murano doesn't handle request properly if it is behind an SSL
termination proxy. In this case HTTP redirection and returned URLs
use http instead of https.

New middleware helps to handle the situation below properly. The purpose of the
SSLMiddleware is to update the wsgi.url_scheme environment variable of
the request with the value contained in an HTTP header that can be
configured in the configuration file (by default: 'X-Forwarded-Proto')

Closes-Bug: #1504610
Change-Id: Id7cfa1bce00c965b618a4f3e4ca2c915a57bbe52
2015-10-14 14:27:37 +03:00
Nikolay Starodubtsev 5e3b37aac8 Cloud Foundry Service Broker API initial commit
In this commit we added new murano service called murano-cfapi.
It's Cloud Foundry Service Broker API implementation for OpenStack.

* add new entrypoint for murano-cfapi
* add provision/deprovision operations for Cloud Foundry.

partial-implement: bp cloudfoundry-api-support

Change-Id: I5cdb612774f5e46ec7fc787f961e5c7e16ed8501
2015-09-02 21:17:16 +03:00
Kirill Zaitsev 741ee084b6 Return x-openstack-request-id header to the caller
This commit adds request-id filter to paste config and adds support for
request_id to the ContextMiddleware. This would mean, that request-id,
generated for each particular request to api would be returned to the
caller in the form of 'x-openstack-request-id' header

Targets blueprint: murano-x-openstack-request-id-support

Change-Id: Id3d593c33fd31bae7226052b908750e5c000f730
2015-08-13 15:13:59 +03:00
Stan Lagun dfcd1188f8 keystoneclient.middleware -> keystonemiddleware
Switch from  keystoneclient.middleware.auth_token
to keystonemiddleware.auth_token

Change-Id: Ifd72477dcdbe5e4c5da55a413c4d0c4be625632e
2014-09-17 04:51:26 +04:00
Ekaterina Fedorova 4ba60da712 Apply fault middleware
* Provide exceptions details in the response body
* Decode package exception message to keep correct formatting

Partly-Closes-Bug: #1328662
Change-Id: I28000ec42db644d5db75f92d968955f7dd620091
2014-08-31 11:33:50 +04:00
Ruslan Kamaldinov 86a4c4710d Rename muranoapi to murano
Partially-implements blueprint: rename-murano-api-to-murano

Change-Id: I2d7f52ef4073bce800cedc77f81f5d242c4d5d98
2014-05-27 15:14:44 +04:00