Commit Graph

15 Commits

Author SHA1 Message Date
Akihiro Motoki eac3e7032a Drop Heat related code from horizon
Orchestration tab in the admin info panel needs a discussion.
It seems not to be covered by heat-dashboard yet.

blueprint heat-dashboard-split-out

Change-Id: I56e6edb1f2ac72e2f42d0e9f3291308e67f24cad
2017-12-05 07:38:55 +00:00
Akihiro Motoki baa4ca8dce hacking: noqa cleanup in openstack_dashboard
attribute-level imports are not checked by hacking module now.
most noqa is used to disable warnings on attribute-level imports.
This commit drops noqa for this purpose.

After this, there are only 3 noqa under openstack_dashboard/ :)

Change-Id: I4a449802f5dbd6e44e4b8b5c378a555d47d9a99f
2017-03-17 19:38:47 +00:00
Tatiana Ovchinnikova c259d66569 Horizon support for Heat template versions
This patch set adds "template_version_list" and
"template_function_list" methods.

Partially implements blueprint: heat-template-versions

Change-Id: Id9718bb5d1c2b70664a9c27c67e91436e5489dd6
2016-03-14 12:40:35 +03:00
David Lyle dcc838128e Fixing heatclient release compat issues
The new release of python-heatclient broke tests that were using
hardcoded sample templates. For the json based templates, the new
line was escaped. For yaml templates, a comment section was added to the
templates.

My working theory is that the exception handling changed and we were
missing an error before that is being exposed now. That is to say, our
hardcoded templates were wrong before, we just weren't seeing it.

Tested with latest version of python-heatclient 1.0.0 and last version
0.9.0.

Closes-Bug: #1552400
Change-Id: Ibdf985654ebfa60205068b167a37600f7ed4c1f4
2016-03-02 18:19:40 -07:00
zhaozhilong 25267e1f7f Add some new heat-snapshot-api.
Currently we do not integrate heat-snapshot operation API in horizon.
However,heat has provided these API for a long time.

blueprint: #add-heat-api
Change-Id: I062a6a4126c01f89e2c1cb190a0a28e3c1fb5f3c
2016-02-21 17:46:46 +08:00
dixiaoli d1c3b4787b Add handle get_file when launch stack from horizon
when get_file is contained in template, the stack create/update/preview
will fail due to No content found in the "files" section.
So added handle get_file code.

Change-Id: I6f125f9e5f3f53f630ab0d4f3f00631e6850e905
Closes-Bug: #1512564
2015-12-17 23:11:07 -06:00
Ladislav Smola 01f5d1e718 Stack update call needs password
Stack update call needs password otherwise it fails.
Added missing tests.

Change-Id: I99b0ce460c772862b22fa0216466589893948178
Closes-bug: #1394505
2014-11-25 15:04:51 +01:00
Akihiro Motoki 832a741c88 Fix E128 errors in remaining openstack_dashboard/
E128 continuation line under-indented for visual indent

Closes-Bug: #1375929
Change-Id: I2a72313d359bdfe2e2667eba5d3bf9744ec8f60a
2014-10-16 16:53:52 +09:00
ChenZheng c7d5371b47 Fix order of arguments in assertEqual
Some tests used incorrect order assertEqual(observed, expected).

The correct order expected by testtools is
assertEqual(expected, observed).

Change-Id: Iabf6e55146412b57b6a6544f312f9510f762566a
Partial-Bug: #1259292
2014-09-01 10:41:52 +08:00
Cindy Lu 1bde43d1c7 add Previous link to Project > Stacks table
Stack list API supports a sort direction and sort key which we can
use to paginate back

Following same convention as merged patch:
https://review.openstack.org/#/c/91111/

Change-Id: I511d7d27a6234e1510c7fa3c7f84c007599f3721
Partially-implements: blueprint pagination-add-prev-link
2014-08-05 15:00:48 -07:00
He Yongli e790ac070e Remove extraneous vim configuration comments
Remove vim setting:
comment - # vim: tabstop=4 shiftwidth=4 softtabstop=4

at the top of source code files, except for files in
openstack/common.

Change-Id: I9a5c6b17c6ef7ecec601f4503dfc7b31fc72e90a
Close-bug: #1229324
2014-05-06 15:30:10 +08:00
Jordan OMara c9befb3327 Add pagination to stack list
Implements: blueprint heat-stack-list-paging
Change-Id: I87ebd7feaeddcfe7fe76c92b075c53de7016846b
2014-04-04 10:05:12 -04:00
Jordan OMara 015aff2630 Heat Stack update view/form
2 Part view for updating Heat Templates. The first page allows you to
select a new template for your stack. The second allows you to set new
template parameters for your stack. Like the launch stack workflow, this
is not a horizon workflow, but two separate forms.

Implements: blueprint heat-stack-update

Change-Id: I2854e9e4bb578be5187ef962808b93f11ac6b1f1
2014-03-04 12:06:31 -05:00
Matthias Runge 4ac70a732a remove unused imports
In the move to make flake8 tests stricter, we need a code
cleanup earlier.
This removes all unused imports and also enables tests to prevent
them for the future.

This patch also includes the checks on __init__.py files.

Change-Id: I34055803f7c4726682ac6fb95cc5b50ba761fec8
Fixes: bug 1188134
2013-06-13 07:51:10 +02:00
Steve Baker 53d2d9352b Preparing for Heat tests
Required for blueprint: heat-ui

Change-Id: Ibac4ab7d238ab946a096767218faf9e222699cb6
2013-05-22 16:11:30 +12:00