30 Commits

Author SHA1 Message Date
manchandavishal
a232649ab3 Use Horizon project template for django jobs
Horizon defined a project template 'horizon-non-primary-django-jobs'
for django jobs. This patch use that template to run django jobs
here. For information please refer [1]

Explicit testenv definitions (py27, py36, py37) are dropped
as tox handles them automatically and they are unnecessary.

[1] https://review.opendev.org/#/c/681969/

Change-Id: Iff4bb3e088bb522ee336b324b0756efe84e2fde4
2019-10-30 23:59:06 +09:00
43e557c5b3 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.

Change-Id: I0bd5e80168e82868994c15f93b209dd322f93f64
Sem-Ver: feature
2019-09-27 17:41:32 +00:00
Corey Bryant
51c88683a4 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Co-Authored-By: gujin <gu.jin@99cloud.net>
Change-Id: Ic6c96405113b7b95425f04902e13a6f85735a69e
Story: #2005924
Task: #34221
1.0.0 1.0.0.0rc1
2019-08-23 11:07:36 +08:00
OpenDev Sysadmins
2ddff13580 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:37:12 +00:00
niraj singh
e05a1822db Implement real time data for recovery workflow details
Implemented real time data for notification recovery workflow details.

Change-Id: I8d8c909b0844af54c492fe046892e9e188d5460a
0.3.0
2019-03-13 08:22:02 +00:00
niraj singh
58989c3f41 Render progress details for notification
Added a new tab "Progress Details" on notification details page
to display status of the notification.

Depends-On: I9ba787bc8ef9528a7cff5b4c1411dffa454b66d2
Change-Id: I9807bfe3c61f455bf4d34d9da49b0f4945ca9d5a
2019-03-11 13:22:24 +00:00
openstack
d3b34063a1 Run all jobs by default using python3
This patch implements the community wide goal to run all jobs by
default using python3.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I4e62491ac9a9996cfd910e7d69897b92072bb1eb
2019-03-05 08:59:44 +00:00
openstack
3680bb9023 Fix tox for releasenotes
tox -e releasenotes fails with error:
ImportError: No module named 'masakaridashboard'.

Since release notes are version independent, no need to set version
and release so removed importing version from masakaridashboard.

Change-Id: I2ef95fa2c938e2a8115c0602b53c5af6329a1bac
2019-03-05 07:23:13 +00:00
Zuul
aa512a8d59 Merge "fix tox python3 overrides" 2018-12-18 07:43:49 +00:00
Zuul
10fe799cd7 Merge "Django 2.0 support" 2018-12-18 06:36:11 +00:00
Zuul
b5e80c2164 Merge "Change openstack-dev to openstack-discuss" 2018-12-18 04:11:41 +00:00
sunjia
963c95f498 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I93a4bba1a1c16e2cbf1e33a99ff162dbb954a293
2018-12-03 22:24:34 -05:00
Akihiro Motoki
4052bde700 Django 2.0 support
Horizon and most horizon plugins support Django 2.0 in Rocky.
This commit focuses on passing the unit tests with Django 2.0.
It would be nice if masakari-dashboard team tests it in
real environments.

Replace django.core.urlresolves with django.urls

(In Django 2.0) The django.core.urlresolvers module is removed
in favor of its new location, django.urls.
It was deprecated in Django 1.10:
https://docs.djangoproject.com/en/2.0/releases/1.10/#id3

Drops older Django unit tests from tox.ini
as horizon dropped Django <=1.10 support in Rocky.

Change-Id: I67907a2460f8472e5a6222210d74b3eed71be064
2018-09-30 20:10:29 +09:00
Akihiro Motoki
253294f0b5 Drop nose dependencies
Horizon test setting no longer depends on nose and related stuffs.
This commit cleans up nose related dependencies.

The change was made in horizon Rocky-3,
so horizon 14.0.0.0b3 is required at least.

The command line to invoke UT in tox.ini is updated accordingly:
* --ignore-files=masakaridashboard/test/uuidsentinel.py is unnecessary
  as this file does not include test cases.
* --verbosity 2 is added to watch the test progress.
* Duplicated {posargs} in 'coverage' env is fixed.
* --exclude-dir in 'coverage' env is dropped as the corresponding
  directory does not exist.

Change-Id: I28b97f49ba480d2cbada36026e5bc6932213c689
2018-09-30 20:10:29 +09:00
Nguyen Hai
d89b82ce76 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Idfe602f9e94ae0adf4643f475a42b4681afb53e5
Story: #2002586
Task: #24310
2018-09-17 05:17:04 +00:00
huang.zhiping
3e54e0a06e fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I9dc46eef025a128244e54f580c4d67974657e74d
2018-08-15 06:58:55 +00:00
Zuul
894abebf4a Merge "Update reno for stable/rocky" 2018-08-13 17:08:04 +00:00
d161bde3ac Update reno for stable/rocky
Change-Id: Ib4c9a71b12cfa9a0b7dda6d91a5772fe457d2bf7
2018-08-09 21:32:18 +00:00
nitesh.vanarase
5ce36facc5 Fix incorrect message for host update
For host update it is showing incorrect message as "Successfully
updated segment". Modified the message as "Successfully updated
host".

Change-Id: Ib0c323a2b16b67ca73d0a0e5333ae69800e0203d
2018-08-07 12:07:52 +05:30
nirajsingh
f53bdbb031 Added notification panel
Implemented notification list.

Implements: blueprint masakari-dashboard

Change-Id: I9a2558025fe3e49632016ce69b426aefb4975b51
0.2.0 rocky-em
2018-07-27 10:15:55 +00:00
nirajsingh
f463ab19f8 Implement update host
Implemented update host functionality.
Also added test case for update host.

Partial-Implements: blueprint masakari-dashboard

Change-Id: I197440d069a1b5b49a234da8f05a01d45f222f2e
2018-07-26 08:40:43 +00:00
nirajsingh
bef761d1d9 Implement host detail
Implemented host detail functionality.
Also Added test case for host detail.

Partial-Implements: blueprint masakari-dashboard

Change-Id: I7e62e4a2b1e15ddeb2a592670518d8358f4a6b1c
2018-07-26 08:38:47 +00:00
nirajsingh
9ae3efef6b Implement delete host
Implemented delete host functionality.
Also added test case for delete host.

Partial-Implements: blueprint masakari-dashboard

Change-Id: I8265b4f1af7bb61d15d005ee3785895f678f7d10
2018-07-26 08:38:18 +00:00
nirajsingh
a83abbd2b5 Add host panel
Added host panel and implemented add and list host functionality.
Also added test cases that actually not covering the line of code
but tested the add and list host functionally.

Partial-Implements: blueprint masakari-dashboard

Change-Id: I756ab397bd9c84a4520c4ed12a576832784ab41f
2018-07-25 06:32:33 +00:00
nirajsingh
b18ad52f0e Implement update segment
Added update segment functionality.
Also added test cases that actually not covering
the line of code but tested the update segment functionally.

Partial-Implements: blueprint masakari-dashboard

Change-Id: Ib0424ee076ff0e8cc8c3ea898d986d32cc195ed2
0.1.0
2018-07-12 11:07:35 +00:00
nirajsingh
4996c377ad Implement segment detail tab
Implemented segment detail functionality.
Added test cases that actually not covering the line of code
but tested the detail segment functionally.

Partial-Implements: blueprint masakari-dashboard

Change-Id: I214c9df87af3c4ff29abc2e2b30b287b81cd603c
2018-07-12 11:07:02 +00:00
nirajsingh
30d318803f Implement delete segment
Added delete segment functionality.
Also added test cases that actually not covering
the line of code but tested the delete segment functionally.

Partial-Implements: blueprint masakari-dashboard

Change-Id: Iabf59e92be9de09d2d2fde48fea403b7cd2bcd26
2018-07-12 11:04:17 +00:00
nirajsingh
c429554def Add segment panel
Added segment panel and implemented list and create segment
functionality.Added test cases that actually not covering the
line of code but tested the list and create functionally.

Partial-Implements: blueprint masakari-dashboard

Change-Id: I1366bfdc188f4e0d53fa46f2a6ea3790c9f295fc
2018-07-05 12:34:31 +05:30
nirajsingh
b09b094a2b Initial UI-Cookiecutter commit
Added required project files to the repository.

Change-Id: I869b9f2cf04ec00d8bbf00e2720e64175e55eaee
2018-03-16 10:02:55 +05:30
OpenStack Project Creator
3ba35deadc Added .gitreview 2017-12-01 10:38:17 +00:00