Commit Graph

26 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
liaozd 372f1ee084 We intend to add 10 stack_snapshot to the test data but only got 1
the same snapshot 'id' being added to the TestDataContainer in the iteration,
    so we only got 1 finally. Make the 'id' different for each add() method.

Change-Id: Ie62b08c4e898d6ca7c4f75808fcb4119cd92d9ec
2017-02-15 22:20:54 +08:00
Rob Cresswell b98a3a7f0c Remove log level adjustment in heat test data
This was a temporary workaround for an issue in heatclient which has now
been fixed. The workaround can now be removed.

Change-Id: I325c6e1e192cf7323a2f0ded8e62e1e050e829b2
Closes-Bug: 1653975
2017-01-25 13:14:29 +00:00
Rob Cresswell a167c3719a Hide heatclient spam
Update the log handler in heat tests to reduce test output spam. When
the bug is fixed in heatclient, this can be removed.

Change-Id: Ib13d6f3badd81b6de382d4f4da1c52b28e187dc1
Partial-bug: 1653975
2017-01-04 14:29:16 +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
Richard Jones d8c0a7fac6 Disable unnecessary warnings from heatclient about object comparisons
A recent heatclient release included a warning on comparison of
Resource objects which is triggered in the Horizon test suite
*a lot*.

This patch raises the logging threshold to ERROR for the
heatclient.openstack.common.apiclient.base module.

Change-Id: I63c6a8475996d214eea712620d528a978e38a594
Fixes-Bug: 1536892
2016-01-23 08:02:10 +11:00
eric d69fe09bc7 Correcting heat resource drill down
Previous commit broken heat resource drill down:
f38ddf2032 (diff-15e3003726d7b90816528ee8248b000f)

This patch fixes the ID attribute, correctly specifies the template,
alters the page to match other detail page styles, and adds a UT to
prevent regression.

Change-Id: Ie3f76d6666f4e3154fbcb5808c8f8b841e650a02
Co-Authored-By: Rob Cresswell <robert.cresswell@outlook.com>
Closes-bug: #1531341
2016-01-07 14:42:29 -07:00
Jenkins cdf9406f3a Merge "Generate a drop down field for custom heat parameters" 2015-03-02 23:55:23 +00:00
George Peristerakis 221739e1f0 Generate a drop down field for custom heat parameters
If the heat template parameter has a custom constraint of
'nova.flavor', 'nova.keypair', 'glance.image' or 'neutron.network',
the form will generate a drop down field with a list of all
possible options the current user has access to.

Change-Id: I17f99eca364f1123a950cf712225ce751728239e
blueprint: heat-template-choices
Co-Authored-By: Cédric Soulas <cedric.soulas@cloudwatt.com>
2015-02-27 15:08:05 -05:00
Kanagaraj Manickam d34fe26cf8 Add orchestration service status reporting
System Information panel is updated with new tab called
Orchestration Services to report the heat engines status.

Implements blueprint heat-engine-status-report

Change-Id: Ibb6985c74dfb0b23a5ef94febde127a673ab0e38
2015-02-25 00:23:36 +05:30
Tatiana Ovchinnikova 36273e917b Orchestration Resource types panel
This patch set adds 'Resources' panel to 'Orchestration' to
provide user with a list of all available resource types.

Partially implements blueprint: heat-ui-improvement

Change-Id: I0e26a1009500cc4fa78ef27ca06553cdc987fd48
2015-01-21 14:31:21 +03:00
Radomir Dopieralski 0eca7449cc Fix Flake8 style warnings in openstack_dashboard/
Warnings H904, H307 and H405 are new or considerably changed, and will
be fixed in a separate patch.

Closes-bug: #1349820
Partial-bug: #1347472

Change-Id: I4fd28990dacf16f03a4eaa6074ef59c37f1a2c14
2014-07-30 14:13:24 +02: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
Julie Pichon ff7049432b Handle "null" time values for Stacks
The timesince filter expects a date or datetime object, and would fail
when receiving an empty string. Create a new filter that returns the
string value "Never" under these circumstances.

Change-Id: I73f4dbb608fc143c3ac60d753e9e222762579e51
Closes-Bug: #1286959
2014-03-26 12:00:53 +00:00
Jordan OMara 11eebb8aa3 Additional optional Environment data to heat template selection
Change-Id: I4e0d32e7e032d5c0ec93595c14134e780fa21d66
Implements: blueprint heat-environment-file
2014-03-06 17:25:35 -05: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
Dirk Mueller 234c49d88d Consolidate user visible spelling of keypair vs Key Pair
"Key Pair" wins the Google popularity contest (880k vs 300k),
and "Keypair" is not listed in Webster. Ispell autocorrects
it to "Key Pair" (or Key-Pair)

Change-Id: I4710b194dfd3c53f21fc99ce53db94cc5af0c158
Related-Bug: #1210533
2014-01-13 13:58:24 +01:00
Tatiana Mazur 17f18f6316 Small cleanup in "test_data"
This patch set replaces a few method imports with
module imports in "openstack_dashboard/test/test_data".

Fixes bug 1215996

Change-Id: I3268d61044f31e7adca5ae752b4768df0e7fbbec
2013-08-23 19:31:09 +04:00
Tatiana Mazur 953d1b9793 Enable H302 check
This patch replaces some method imports with module imports and
makes H302 test enabled.

Fixes bug 1188531

Change-Id: Ibfbddeaa19cbbb244da58ffd5c918c41f03a0c65
2013-08-22 17:39:09 +04:00
Tatiana Mazur 3087c3486b Enable H304 check
This patch replaces relative imports with full paths and
makes H304 test enabled.

Fixes bug 1188535

Change-Id: I47254cf9a790727102f7993d0fd107da514983df
2013-07-16 18:49:56 +04:00
Steve Baker 1f71152b4b Implementation of a Heat stacks UI.
This change implements a UI to launch, manage and delete Heat stacks.

The launch screens are implemented with a set of chained forms where
the second form is dynamically built from the template in the first step.

A significant portion of this change was derived from
the work Dan Radez <dradez@redhat.com> did on thermal:
https://github.com/steveb/heat-horizon

UX flow revisions and basic test cases by Gabriel Hurley.

Implements blueprint: heat-ui

Change-Id: I294e93bed6da9dd3553e8b4a6a1c09b7c165a555
2013-07-03 03:48:31 -07:00
Matthias Runge cea720e793 Sort imports alphabetically
This patch also re-organizes imports to import one per line.

Change-Id: Ia958e3a30a48d4308d08d51df243c1272425c316
Fixes: bug 1188529
Fixes: bug 1188537
2013-06-14 12:05:55 +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