863 Commits

Author SHA1 Message Date
Jenkins
7ae7eeebdc Merge "Subsequent stack updates for Heat have proper set of parameters" 2014-06-04 14:52:34 +00:00
Jenkins
89de34c063 Merge "New instances can now join Networks created in previous deployments" 2014-06-04 14:52:29 +00:00
Jenkins
fb9026accc Merge "Correct property accessibility for classes in Instance hierarchy" 2014-06-04 14:52:23 +00:00
Alexander Tivelkov
66eed1adf4 Correct property accessibility for classes in Instance hierarchy
`environment` and `resources` properties are no longer used in classes which
inherit `Instance` (local vars are used instead)

Change-Id: I2f3eb64157d2754fedffa66b814f26aa62081456
Closes-Bug: #1326369
2014-06-04 17:31:35 +04:00
Alexander Tivelkov
f8687fdc52 Declare a Runtime property for StatusReporter in Environment
`reporter` field is initialized in Environment's `initialize` method, 
however it was not declared.
This caused the property to private, i.e. unaccessible from other 
classes.
Declaring it with `Runtime` usage solves the problem

Change-Id: Iee74139bb143bd3891bce8e317ef7c047ecf2517
Closes-bug: #1326363
2014-06-04 11:59:55 +00:00
Jenkins
59a4a7e71e Merge "Reorganize documentation index page" 2014-06-04 10:23:04 +00:00
Jenkins
d6efb79c51 Merge "Make environment name unique within a tenant" 2014-06-04 10:09:54 +00:00
Ekaterina Fedorova
78dc8c748f Reorganize documentation index page
Add information about adding heat templates as applications to the catalog

Implements blueprint add-article-about-heat-templates-as-app-def

Change-Id: I64ff68ea29b02f3a0c82958f8113a07723708832
2014-06-04 12:47:46 +04:00
Jenkins
3e7e780be1 Merge "Add support for actions in engine" 2014-06-04 08:34:10 +00:00
Jenkins
15c947f257 Merge "Make packages API work on Windows" 2014-06-03 23:42:47 +00:00
Steve McLellan
d8dacef34f Make environment name unique within a tenant
Duplicate environment names cause all kinds of problems because of
naming conventions used. There's no real reason to allow them (heat
allows duplicate stack names but there was a lot of discussion about
it, and the reason for having them was nobody wanted to remove them).
In our case, duplicate environment names cause trouble and there is
no advantage to them.

Server will return a 409 Conflict in this instance.

Change-Id: Ibe694c3dab19d77f6de3aa31844ff3e3cc0d9eb4
Closes-Bug: 1314106
2014-06-03 11:22:48 -05:00
Alexander Tivelkov
b447864eaf Subsequent stack updates for Heat have proper set of parameters
Parameters retrieved from the existing heat stack and re-applied into the updated stack do not include special parameters
such as OS::stack_id and OS::stack_name, which cannot be accepted as input params

Change-Id: Ic42bead15267822c43ecf703e4128015c89ec6de
Closes-Bug: #1324094
2014-06-03 15:24:39 +04:00
Alexander Tivelkov
bca587e407 New instances can now join Networks created in previous deployments
Names of the Network and Subnet Heat resources were placed in the Runtime fields of NewNetwork class,
so they were lost between the redeploymnet.
Now they are re-generated before each use based on the persisted information (names and ids)

Change-Id: I4dcb9915fac04590105b6ec284b4b0274c722b3f
Partial-Bug: #1324094
2014-06-03 15:23:59 +04:00
Jenkins
b1d9660156 Merge "Update dynamic ui fields docs, fix some indents" 2014-06-03 10:16:37 +00:00
Serg Melikyan
8c91052b47 Add support for actions in engine
Methods in MuranoPL now can be marked with Usage attribute
to specify whether particular method available for remote
call or not. By default usage is Runtime (not available for
remote call).

Workflow:
  migrateVm:
    Usage: Action
    Arguments:
      - killExisting:
          Contract: $.bool()
          Default: True

Change-Id: If3da3c6bf67aa79d522d82abbf3b5378f72e87ae
Partially-Implements: blueprint application-actions
2014-06-03 14:01:41 +04:00
Jenkins
80efe502c6 Merge "Cleanup tox.ini" 2014-06-03 09:57:43 +00:00
Jenkins
7042420415 Merge "Restore identity of upcasted MPL object on method call" 2014-06-03 09:57:37 +00:00
Jenkins
852a21ae4e Merge "Preliminary support for HOT packages" 2014-06-03 09:57:34 +00:00
Jenkins
55e29c9805 Merge "Add default for getAttr" 2014-06-02 22:15:15 +00:00
Jenkins
4e79208c08 Merge "Drop unused dependencies" 2014-06-02 14:30:35 +00:00
Serg Melikyan
744eee2a84 Fix issue with package loader
Pagination for Catalog API was introduced in change
If71da70fa835a1ee7a271ebf7238c0a4c64d4123
but package loader was not updated to handle changed
result type for call to GET /catalog/packages

Change-Id: If79efe560801bb33a36e2b0032a71cdbe191fb03
Closes-bug: #1325365
2014-06-01 17:47:38 +04:00
Stan Lagun
95eccc19e4 Make packages API work on Windows
API didn't work on Windows because eventlet patched os module with
non-blocking IO which is not available on Windows

Change-Id: I1dfca3f36fe08b76b36c1686ae412d20bb5bf6a8
2014-05-30 18:51:29 +04:00
Stan Lagun
c6b5887c75 Restore identity of upcasted MPL object on method call
When base class method was invoked using case/super method
polymorphic method resolution mechanism didn't worked as
expected. Now object identity is restored after DSL finds
base class method and polymorphic calls work as they should

Change-Id: I670ffaf5b28a60a3d269e85d25e0dfc7e164ee15
Closes-Bug: #1314618
2014-05-30 18:02:01 +04:00
Dmitry Teselkin
5aaadf1e50 Add default for getAttr
Change-Id: Ia36eb5e92007d372504a372beadf197d0b7d01ff
2014-05-30 14:55:10 +04:00
Stan Lagun
35979b1e02 Preliminary support for HOT packages
Adds support for packages consisting of single HOT template.
Most of HOT features are supported with exception of
environments, attachments and JSON parameter type.

Implements: blueprint hot-packages

Change-Id: I927af0e96f1613e8843ac47844e9c19fa00fdaa6
2014-05-30 12:27:01 +04:00
Ruslan Kamaldinov
fa3e6d746f Drop unused dependencies
Change-Id: I040a0a2cedb6d63accea531d244ac16185d466c6
2014-05-29 19:24:42 +04:00
Ruslan Kamaldinov
9b8296101d Cleanup tox.ini
Removed unused tox entries from tox.ini

Change-Id: I0e79e4738bf7efe2a4384f6e3c73a010d9554e3d
2014-05-29 19:22:57 +04:00
Steve McLellan
da7fda4832 Allow package_get by name
If package lookup by id fails, filter by fully_qualified_name
and choose the first (and what will be only) result. Also allows
delete and update to use FQN as well as ID.

This may need revisiting to allow non-unique FQNs.

Change-Id: I84fb8e155b5aa4bc036f8b598101b6b969962325
Implements: blueprint id-fqn-equivalence
2014-05-29 09:32:43 -05:00
Jenkins
84bff3be68 Merge "Make DELETE request return 404 for nonexistant package" 2014-05-29 14:28:33 +00:00
Jenkins
ea5ac78aae Merge "Refactor api.catalog.search() method to provide 'next_marker' value" 2014-05-29 13:44:13 +00:00
Jenkins
9694d1b3c9 Merge "Import networking library with devstack" 2014-05-29 10:21:25 +00:00
Timur Sufiev
f0fad150ee Refactor api.catalog.search() method to provide 'next_marker' value
That way it works like Glance (see http://tinyurl.com/jwqtj23) and
allows for complex query pagination (to cycle through pages filtered
by some criteria, muranoclient uses 'next_marker' pointer).

Implements: blueprint app-catalog-pagination
Change-Id: If71da70fa835a1ee7a271ebf7238c0a4c64d4123
2014-05-29 13:44:40 +04:00
Ryan Peters
449e525179 Make DELETE request return 404 for nonexistant package
Change the package_delete function to use the _package_get helper
function which will correctly raise the right exception for a
package not existing.

Change-Id: I1e83067b9769221dc5531d2de891960ce7846b6e
Closes-Bug: #1309413
2014-05-28 10:45:00 -05:00
Timur Sufiev
d0f4e7e5c2 Update dynamic ui fields docs, fix some indents
Also temporarily drop mentioning 'table' type of field, because
* nobody uses it now
* it is currently broken
* it should be refactored

Change-Id: Ie6b54b98f589dc64dad578040cbb9636a432318e
2014-05-28 19:32:34 +04:00
Jenkins
efbc3a2097 Merge "Fix incorrect import after rename" 2014-05-27 13:43:15 +00:00
Ruslan Kamaldinov
c04d47fe29 Fix incorrect import after rename
Partially-implements blueprint: rename-murano-api-to-murano

Change-Id: I5927a545c13a57bfcbea40438d515ddbc2b40e74
2014-05-27 17:07:59 +04:00
Dmitry Teselkin
a27e33f726 Import networking library with devstack
Change-Id: Ibc362f321fe1b11bf7740dcbe2b859e355a37d8e
2014-05-27 16:51:50 +04:00
Sergey Murashov
ab330be463 Add initial tests for application deployments
* Tests for telnet application deployemts
* Tests for apache application deployemts

Change-Id: I6c36e39194cad2fc3e00f7636f4836b869646ab6
2014-05-27 12:33:20 +00:00
Jenkins
3091373b59 Merge "Rename muranoapi to murano" 2014-05-27 12:15:02 +00: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
Igor Yozhikov
2897c09874 Code update
* Add ubuntu 14.04 handling and icehouse repos
* Updated dpkg apt params
* Disabled exit on pip 1.5 detection
* Add packages from icehouse repo, because of build packages from pip, fails  on CentOS 6.5 and Ubuntu

Change-Id: I4fac0e0f84166d6411787a93a134e9d1a3506468
2014-05-27 13:31:40 +04:00
Jenkins
27d00bd7f7 Merge "Add rmq message logging" 2014-05-27 08:55:19 +00:00
Jenkins
da7a54a190 Merge "Adds an explanation of the engine workflow" 2014-05-27 07:35:07 +00:00
Jenkins
ba9a0b3d92 Merge "Update gitreview to match repo rename" 2014-05-26 23:08:33 +00:00
Jenkins
fb48d25a4b Merge "Renamed the PublicIp and set it to addresses in instance snippet" 2014-05-26 14:40:18 +00:00
Jenkins
28eb89a786 Merge "Add rabbitmq section config" 2014-05-26 13:22:55 +00:00
Monty Taylor
b26dabc367 Update gitreview to match repo rename
Change-Id: Ia30c3e11c609df5cbd7dc9774faf65ce4058b862
2014-05-23 18:21:12 -04:00
Alexander Tivelkov
79e07eeac4 Renamed the PublicIp and set it to addresses in instance snippet
As the heat format of the Instance has been changed from AWS to HOT,
the PublicIp attribute is not longer available. A "address" should
be used instead.

Also, the resource name has to be renamed from PublicIp to the
assigned-ip, as it is not necessary public

Change-Id: I9a4e99680939b6e31d47a1f181b92d1878f65a5e
Closes-Bug: #1319135
2014-05-23 21:13:37 +04:00
Serg Melikyan
9beefcc4b2 Send message_id as property
message_id field should be sent as message property, not as
field in message headers

Change-Id: I2eaa705673408b4cdacf8571072312ddbf8efd69
Closes-Bug: #1322078
2014-05-23 13:24:44 +04:00
Jenkins
453c707a06 Merge "Removed version prefix from the endpoint urls" 2014-05-22 11:02:22 +00:00