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
Richard Jones 672b6ae003 Add Swift REST API
Adding the REST API needed to support the new angular Swift UI.

Co-Author: Neill Cox <neill@ingenious.com.au>
Change-Id: Ife1073cf6aa481bdbd89f09805ac76fe7106d5df
Partially-Implements: blueprint angularize-swift
2016-02-25 12:12:14 -08:00
Bo Wang f94463bb53 Switch to use "# noqa" correctly
"# flake8: noqa" option disables all checks for the whole file.
To disable one line we should use "# noqa".
switch to use "# noqa" and fix the hidden hacking issues.

Change-Id: I1fe747da7a9ab345d0c84a8cb82a8243bf1ee761
Closes-Bug: #1540254
2016-02-09 23:43:37 +08:00
Kevin Fox bc9e63bafc Javascript Heat API
This patch adds the start of a Javascript Heat API similar
to the rest of the existing OpenStack ones. The app-catalog
needs this to check if a given template will work on a
specific cloud.

Change-Id: I5c245614f747ade8a91a6ac73ca39c6f99ab54bf
Partial-Bug: 1481518
2015-08-25 17:51:13 -07:00
Victor Stinner 634685a1c2 Use relative imports
On Python 3, imports are absolute by default. Use explicitly relative
imports.

Partial-Implements: blueprint porting-python3
Change-Id: I99a15adcfee10e06ecd893c3c686d2fd25d9743c
2015-07-15 10:51:02 +02:00
Mike Hagedorn 255340c596 REST API to support create instance angular (Neutron).
In this update:
- fixed tests
- fixed exception handling, params on ports
- fixed to_dict for a number of cases
- replaced use of request.DATA with request.GET for GET methods
- added handling of HTTP error raised with no status/code attr
- removed check for network_id in subnets as it's not required
- fix to_dict for Network with Subnets

Supercedes
https://review.openstack.org/#/c/152243
https://review.openstack.org/#/c/151313

Partially Implements: blueprint launch-instance-redesign
Co-Authored-By: Aaron Sahlin <asahlin@us.ibm.com>
Co-Authored-By: Michael Hagedorn <mike.hagedorn@hp.com>
Co-Authored-By: Richard Jones <r1chardj0n3s@gmail.com>

Change-Id: Ia40fde6d66720a03a531b516a6a53a2e86ec0d8f
2015-03-04 07:20:43 -05:00
David Lyle 6aa7024e61 Adding policy rest endpoint for angular
Providing an endpoint for angular code to make policy checks
on the horizon server. There currently is no clientside cache
of the calls, that will be a follow-on work.

Implements blueprint: policy-for-angular
Change-Id: Ieacbc502440c2e3a2e32ec6bcaa002310e82a681
2015-02-27 14:43:38 -07:00
Thai Tran 12a7f1d3fc Read access to config via REST
We have a lot of new angular widgets and panels coming, and some of them
will need access to configs stored in settings. Right now, the default way to
get them is through _conf.html or _script.html. We should really fetch them
through the new REST layer instead. This ensures we are following the same
pattern already set up for angular panels and services.

This version:
- add localstorage for caching config front-end

Change-Id: I94ce8ef3e8367be99bbba2f6ddd7e4529d819d58
Co-Authored-By: Richard Jones <r1chardj0n3s@gmail.com>
Implements: blueprint config-restful
2015-02-23 17:36:55 -08:00
Travis Tripp c7a3e891fe Network Rest API for Angular Front End
This is the API which abstracts Nova vs Neutron calls
for the angular front end.

This initial patch will only implement the APIs needed to
support the launch instance work.

Partially Implements: blueprint launch-instance-redesign

Change-Id: I6967fbae472e6aa944994d94ab327c4fb594b1d0
Co-Authored-By: Richard Jones <r1chardj0n3s@gmail.com>
2015-02-20 16:40:36 -07:00
Cindy Lu 468ce38418 Cinder REST API for angular front end
This is a very early cut at the REST API needed to
support the create instance wizard work.

Partially Implements: blueprint launch-instance-redesign
Co-Authored-By: Michael Hagedorn <mike.hagedorn@hp.com>
Co-Authored-By: Richard Jones <r1chardj0n3s@gmail.com>
Co-Authored-By: Travis Tripp <travis.tripp@hp.com>

Change-Id: I0c37474e81f5ee9893768974e47a20532c535b91
2015-02-20 09:47:15 -08:00
Cindy Lu d227402f56 Nova REST API for angular front end
This the nova service REST API needed to support the create instance
wizard work.

This patch now follows the new verb usage patterns.

Partially Implements: blueprint launch-instance-redesign
Co-Authored-By: Michael Hagedorn <mike.hagedorn@hp.com>
Co-Authored-By: Richard Jones <r1chardj0n3s@gmail.com>
Co-Authored-By: Travis Tripp <travis.tripp@hp.com>
Change-Id: I0096665aed325addafdcc985d7460ac8b21cb902
2015-02-19 14:09:56 +11:00
Travis Tripp 1126054cf3 Glance Rest API for Angular Front End
This is the glance direct / non-abstracted rest API
for the angular front end.

This initial patch will only implement the APIs needed to
support the launch instance work.

This was refactored out of change: 141273
All v1 / v2 work is being done separately in change: 150084

Based on the work done for Keystone here:
https://review.openstack.org/#/c/150636

Partially Implements: blueprint launch-instance-redesign
Co-Authored-By: Richard Jones <r1chardj0n3s@gmail.com>
Change-Id: I28735e242d610235695b1070a15f739e0d50b696
2015-02-18 15:30:38 -07:00
Richard Jones fd99a0bd7f Keystone REST API for angular front end.
This change implements the REST API for keystone required for the
identity angular front end.

Changes in this patch:

- fix PUT so it actually works
- move to using new test util module
- address TODO in tests

Partially Implemenents: blueprint angularize-identity-tables
Change-Id: I5b8cdc44250fcc5afdb41a5a33fb34dc8ea7d6c0
2015-01-23 00:59:44 +00:00
Richard Jones cd735d44f3 REST API for angular front end.
This is the start of the API to support the angular front end.

It is missing endpoints not immediately used by angular WIPs other
than the identity re-work, but is enough to start with.

Changes:
- handle additional HTTP status code attribute
- move common helpers from test modules to here

Partially Implements: blueprint angularize-identity-tables

Change-Id: I7495f772be80125fdf52b02883a5b9942db34610
2015-01-13 13:41:49 +13:00