2005 Commits

Author SHA1 Message Date
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
Jenkins
7e07bafb7f Merge "Add new dsl exception for better error reporting" 2015-11-09 14:23:22 +00:00
Jenkins
667fbdcb16 Merge "Initial commit for service broker tests in tempest plugin" 2015-11-09 10:57:41 +00:00
Jenkins
9228231b78 Merge "remove default=None for config options" 2015-11-09 10:40:45 +00:00
Jenkins
95c39d4e08 Merge "Add functional api tests for categories" 2015-11-09 10:03:35 +00:00
Nikolay Starodubtsev
eaccaf8a83 Add new dsl exception for better error reporting
Extend NoClassFound exception for the case when we have parent and child
MuranoPL classes in different packages and "parent" package is not
present in the requirements section of the "child" package.

Change-Id: I41b8033f7e987564ab804d9219eb5063b9e8320b
Closes-Bug: #1504334
2015-11-09 12:56:06 +03:00
Anastasia Kuznetsova
f140845470 Add functional api tests for categories
- Added positive and negative tempest api tests for work with
categories
- Change inheritance: made separate class for authorisation, made
separate class that will contain methods for object creation (and
cleanup for them). Lately all methods for object creation will be
moved to this class and will use right cleanup mechanism (instead of
current implementation when objects save in array). This change was
made in this commit to avoid using incorrect solution in new tests.

Implements: blueprint tempest-tests-for-categories-management

Change-Id: I1fe71e385ab62c1d9fb9a9d90dd44f453aa953a9
2015-11-06 13:38:53 +03:00
Victor Ryzhenkin
77d6185d0d Initial commit for service broker tests in tempest plugin
- Add tempest plugin structure
- Add basic functional for tempest service broker REST client
- Add config opts for application catalog and service broker API services
- Add base for service broker tests
- Add service broker test for list applications
- Add tempest plugin configure function into devstack murano plugin

Change-Id: If4c8f95a9d69fccf6f261510b6e02eb67c738ee5
Targets: blueprint murano-cfapi-func-tests
2015-11-06 00:48:40 +03:00
Jenkins
a4e34b832d Merge "Improved reporting for EADDRINUSE error" 2015-11-05 10:44:23 +00:00
Akanksha
6b280a1779 Improved reporting for EADDRINUSE error
In murano/common/wsgi.py, the EADDRINUSE error was going unreported.
Improved the error message.

Closes-Bug: 1511449
Change-Id: Iccd393a9f219f631e645bb7f952d26d8445ec45d
2015-11-05 02:22:54 +05:30
Jenkins
fb273e513f Merge "Remove obsolete names checks" 2015-11-04 11:17:05 +00:00
Jenkins
1f2f6a8d14 Merge "[test-runner] Show help on error" 2015-11-04 11:17:03 +00:00
Jenkins
ad0ee799e0 Merge "[documentation] Deletion of the articles rewritten" 2015-11-04 11:16:51 +00:00
zhu.rong
c4d07caf2f Set the port to use oslo_config PortOpt
Since oslo_config has already supported PortOpt,
let's use the new type for port options.

And add help for file_server.

Change-Id: Id03c33e6200fe8bddce2e754df35e74e82e60b1e
Depends-On: Ida294b05a85f5bef587b761fcd03c28c7a3474d8
Closes-Bug: #1508792
2015-11-04 01:40:20 +00:00
zhu.rong
50f206d22c remove default=None for config options
In the cfg module default=None is set as the default value.
It's not necessary to set it again when defining config options.

Change-Id: I1da2192df37b7e460e63bb59cd7d691aa9be00f4
Closes-bug: #1323975
2015-11-03 10:55:51 -05:00
Jenkins
93db3555ca Merge "Drop types module usage" 2015-11-03 13:07:17 +00:00
Jenkins
0992b2c3ba Merge "Adding Cloudify apps library and Example App" 2015-11-03 07:31:51 +00:00
Jenkins
ab7e53620b Merge "Adding the Cloudify Plugin Files" 2015-11-03 07:31:26 +00:00
Jenkins
9dc4f97ae5 Merge "Use assertIsNone instead of assertEqual(None, ***)" 2015-11-02 19:02:17 +00:00
Kirill Zaitsev
fe15769b27 Use detail instead of explanation for 415 errors
As of webob 1.5.1 415 exception does not have explanation in it's
template. 'detail' is present in both versions templates.
Also adds CONTENT_TYPE to test-requests environment, to allow tests to
run correctly.

Change-Id: I52f2686ee838eef38ea9c5f48fe5f9e093e82412
Partial-Bug: #1512390
2015-11-02 18:36:58 +03:00
earthmant
9e05008d2d Adding Cloudify apps library and Example App
Cloudify Application library package required for all Cloudify applications.
Example Application is for people to try it out in their murano instance.

Partially-Implements: Blueprint support-tosca-cloudify-format
Change-Id: I877423e53d93e3062ed34f7de4d0a33f9093ac0a
2015-11-02 15:29:47 +00:00
earthmant
44778cfc14 Adding the Cloudify Plugin Files
This plugin allows murano to deploy TOSCA applications using Cloudify.

Partially-Implements: Blueprint support-tosca-cloudify-format
Change-Id: I9eee5546016cea6503383b39536aee956597ed36
2015-11-02 15:29:36 +00:00
enthurohini
f49bdb6218 Drop types module usage
Since python 2.2, use of types module is not prefered way to
access the type hence it is replaced by using names of built-in
factory functions.

Change-Id: Ibdcc1ae75204f67076edab5edcffe94a9f1f1d8e
Implements: blueprint replace-types-module-with-new-style-classes
2015-11-02 18:39:24 +05:30
Nikolay Starodubtsev
ac2b523302 Remove obsolete names checks
Since we don't use environments and environment templates names during
deployment process we don't need to check what is the name of the
environment. Now we should only keep it human-readable and check that
it exists.

Partial-Bug: #1405788
Change-Id: I88b447e0dbe9fde07602d4ce1e746c1ccfa62637
2015-11-02 14:26:26 +03:00
OlgaGusarenko
bc788e8edc [documentation] Deletion of the articles rewritten
Deletes the following files:
1. articles/app_pkg.rst (reworked to Step by Step)
2. heat_support.rst (reworked to HOT packages)
3. troubleshooting.rst (as decided to have the only troubleshooting
section for admin and user guides)

Removed them from index.

Change-Id: I2efb841b16c2ae1c1ba3e671012d52e64c813476
2015-11-02 11:12:39 +00:00
Ekaterina Chernova
7ee2339eb1 [test-runner] Show help on error
Help is shown if no arguments are provided.
Also additional formatting was added.

Closes-bug: #1508420
Closes-Bug: #1508422

Change-Id: Idf3b2bf0d5cbbc134795bcd2d1b24cf694f1975e
2015-10-30 15:10:06 +03:00
Jenkins
5bdb77491f Merge "Move variables from plugin.sh to settings" 2015-10-30 10:13:53 +00:00
Lin Yang
d483f70f55 Use assertIsNone instead of assertEqual(None, ***)
Instead of using assertEqual(None, ***), developers should
use assertIsNone(***).

Change-Id: I49d8e0387a68a545c72a50e4b3aab423479d65ca
Related-Bug: #1510006
2015-10-30 16:11:38 +08:00
Jenkins
905aef1848 Merge "Fix test execution result status" 2015-10-29 13:22:01 +00:00
Jenkins
2984b17516 Merge "Banish all 'witches' in murano repository." 2015-10-29 09:10:50 +00:00
Jenkins
b4af82ba1d Merge "Update default devstack MURANO_REPO_URL" 2015-10-29 05:41:45 +00:00
Alexey Galkin
5591b77161 Banish all 'witches' in murano repository.
Fix typos in murano documentation.

Change-Id: I88fca0ab037d054fdbb08c6842c8be81d311664c
2015-10-28 20:49:59 +03:00
Victor Ryzhenkin
3984c1ba46 Move variables from plugin.sh to settings
Global variables are the same as settings and should be
in plugin settings file.
This patch moves variables from plugin.sh to settings file.
Also add a few comments for variables groups for better understanding
for what specific variable is responsible.

Change-Id: I47aef3b047ce11a5729643353e801eee963e4e76
Closes-Bug: #1510744
2015-10-28 04:12:20 +03:00
Jenkins
8ee1335b5e Merge "Move cfapi opts to global variables view" 2015-10-27 15:26:03 +00:00
Jenkins
c6bc4cc2e8 Merge "Add murano-cfapi endpoint during devstack installation" 2015-10-27 15:15:39 +00:00
Kirill Zaitsev
db0059471a Update default devstack MURANO_REPO_URL
Updating plugin and libs to point to
http://apps.openstack.org/api/v1/murano_repo/liberty/

Change-Id: Ie24f91730143c85bb6604126ce226953e89dbe4e
Closes-Bug: #1506920
2015-10-27 14:37:14 +00:00
Ekaterina Chernova
13901c07f4 Fix test execution result status
Previously, if failures occured, command finishes with 0 exit code.

Change-Id: I99740884777eb48b94e4c31b38bb83782738320f
Closes-Bug: #1508425
2015-10-27 14:07:13 +03:00
Victor Ryzhenkin
73c1c0c180 Move cfapi opts to global variables view
Now cfapi opts hardcoded in devstack plugin.
This patch adds corresponding global variables.

Change-Id: I2a960bab1a09469194e29c8557ce128c339f8b1b
Closes-Bug: #1510241
2015-10-26 22:20:23 +03:00
Victor Ryzhenkin
f8fae21f84 Add murano-cfapi endpoint during devstack installation
- Add murano-cfapi endpoint into keystone service-catalog during
devstack installation.

Change-Id: I974be60991dfd8d668327e8bf6d79ade8ee0d389
Targets: blueprint murano-cfapi-func-tests
2015-10-26 18:07:54 +03:00
Jenkins
b0be10346e Merge "Move enabling services to plugin settings" 2015-10-26 12:29:11 +00:00
Jenkins
451d870ab5 Merge "Updated from global requirements" 2015-10-25 11:29:37 +00:00
Jenkins
4678cc8324 Merge "[Murano Docs] Deployment logs" 2015-10-25 07:43:14 +00:00
OpenStack Proposal Bot
48eb99ba72 Updated from global requirements
Change-Id: Ie49d3c847fe3b45c5184e0418b24e7a609c025e4
2015-10-23 18:45:54 +00:00
Jenkins
6ef0adf16e Merge "Return 403 instead of 401 HTTP Response" 2015-10-23 15:22:55 +00:00
Maria Zlatkova
578798b0e5 [Murano Docs] Deployment logs
Adds a HowTo instruction into the "Deployment logs"
section of the End User Guide.

Change-Id: I88bac2a21ddae52c4faac10021f4bd4fdf956a73
2015-10-23 18:04:09 +03:00
Akanksha
1ca86fd418 Return 403 instead of 401 HTTP Response
401 Unauthorized is the HTTP status code used for authentication
errors for eg. Missing or Bad Authentication. 403 Forbidden
response is used for denying permission to access resources
for a correctly authenticated user.
This fix corrects the mistake in the api.

Change-Id: I0903b226cfe32a7aed69d265a27ca21d7cc9b98e
Closes-Bug:1477013
2015-10-23 19:21:27 +05:30
Victor Ryzhenkin
1ab0d98574 Move enabling services to plugin settings
- Move enabling heat and neutron services into plugin settings

Change-Id: Ie3f0c2e8236cf8c594b710ae4460624c3105368b
2015-10-23 16:05:55 +03:00
Jenkins
198ddddca2 Merge "Import packages from murano-apps in Devstack" 2015-10-23 11:12:59 +00:00
Jenkins
6ffbf7ab93 Merge "[documentation] Introduction and User Guide publishing" 2015-10-23 10:31:10 +00:00