Commit Graph

16 Commits

Author SHA1 Message Date
Qian Min Chen d9a205c7cd Modify the '.gitignore' file
Since the horizon remove the 'run_tests.sh' file,
so there should remove '.venv' from the '.gitignore' file.
See the patch 'https://review.openstack.org/#/c/399842/'

Change-Id: I575481aa39a2f750f64a534e8021d9dfaf71bb98
2017-08-18 17:23:24 +08:00
zhurong 3ab6c00a50 Add cover dir to gitignore
When we using tox -ecover, there will auto generate reports to cover dir,
We should ignore this.

Change-Id: Ic803063cb9ef5de2adcdd5cdc80199ccf16fe7c0
2016-08-17 16:21:37 +00:00
zhurong 39831c1f0c Update the gitignore for i18n compiled files
Update the gitignore for i18n compiled files

Change-Id: If5a4e899a02ae1b021b43ea07e89c1a0a6d08329
2016-03-23 08:58:39 +00:00
Kirill Zaitsev feab925b40 Add reno for RElease NOtes
Change-Id: Icd3e165b18a5d61a059b308c1593e093e06fb16c
2015-11-26 00:20:39 +03:00
zhu.rong 3dabdd42c6 Fix the test config.conf and doc wrong path in gitingore
Fix the test config.conf and doc wrong path in gitingore

Change-Id: I58c25bb0465065b6611d5ba9a866e90e2d7a25b5
2015-09-22 09:25:37 +08:00
zhu.rong d30b0619bb Update the gitignore file to ignore .tox
Now the gitignore file do not ignore .tox, this patch fix it

Change-Id: I1409a0b66d103a1d96622dd4add32b03478df043
2015-08-06 10:53:02 +08:00
zhu.rong bbee0d65e8 Update the gitignore file to ignore *.egg*
Now the gitignore file do not ignore *.egg*, this patch fix it

Change-Id: I4137315aec8f68538d98d9c394497b1dedf8d840
2015-07-31 21:28:37 -04:00
Kirill Zaitsev 886807c337 Add eslint javascript checker
This commit adds a eslint tox environment, that installs eslint and
checks muranodashboard js code against it.

Eslint is the current linter of choice for horizon, because it is
capable of detecting both style and syntax errors (and does not have
license limitations of jshint).

To run: tox -e eslint
Partially implements: blueprint add-js-lint-jobs

Change-Id: I645f279ab6ac45b7d1d872ded803c126dd0a10e7
2015-07-13 13:57:50 +03:00
Ekaterina Chernova 4bef4532d5 Add horizon plugin configuration file
Implements blueprint murano-as-horizon-plugin
* Use prepare_murano.sh to add murano to the horizon automatically
* Or add _50_murano.py manually under openstack_dashboard/enabled directory
* settings.py is no longer tracked and needed to be syncronized
with current horizon version
* Murano panel order can be changed by renaming prefix _50 to the desired positon

Change-Id: I26e15bae5d62fba2f83d8792e888897674cab8e1
2014-11-25 16:02:17 +03:00
Ekaterina Fedorova e71f2fc841 Use sample config for functional tests
Change-Id: Ie1abb0b5d955e0e708701944f71c5ac8021be3bf
2014-08-27 13:14:47 +00:00
Ekaterina Fedorova 97c7c806ef Move functional tests under muranodashboard/tests
This patch allows to run functional tests under devstack
Rename muranodashboard/test to muranodashboard/tests

Partly-Closes-Bug: #1349383
Change-Id: I70ac476cce9e037b8f36872dde3c1825ca6e3a04
2014-07-29 19:28:26 +04:00
Ekaterina Fedorova 5fa17222ae Refactor functional tests
* Reduce amount of time waiting for element that doesn't exist
* Improve some xpaths
* Fix screenshot taking to happen only on fail
* Add config file to .gitignore
* Testcase for checking integer field was removed since
  it checks library code, not Murano
* Generates test package archive with different fqns
* Use muranoclient insted of request module
* Maximaze browser window before test execution
* Use consts.py instead of common.ini to keep xpaths

After this patch app-incubator is not needed for test run

Closes-Bug: #1343210
Change-Id: Ied6390b5aed6421182a2f2e3a825e079cfef4591
2014-07-28 12:26:22 +04:00
Timur Sufiev 9c9b9d7778 Implement dynamic UI for all current service creation forms.
1. Show only selected service description in Create Service step0
form.

2. Move template names and params postprocessing into service forms.

3. Move all forms post-processing (before passing to api) into
declarative specs. All post-processing is actually performed in
extract_attributes form functions according to attributeNames
attr. for each field in each form.

4. Support generation of multiple forms (steps) from one service
definition.

5. Dynamic forms UI use services yaml-description.

6. Use predefined field types instead of eval-ing python object
names. Also use camelCased names instead of pythonic_ones.

7. Localize string values for predefined keys and do not use string
prefix.

8. Add verify password fields automatically for each password field.

9. Use attributeNames for each field description instead. Value of
attributeNames can be:
* list - field value will propagated to multiple attributes;
* omitted - field value will be propagated to attribute with same
  name;
* false - field value won't be propagated to any attribute;
* string - field value will be propagated to attribute whose name is
 specified by the string, with one note: `attributeNames: domain.x'
 for field `A' will produce attribute value `domain: {x: A.value}'

10. Remove django template from service description. Use per-field
descriptions. If the field in service's description has attribute
`description', it is automatically inserted into appropriate form
description. If `descriptionTitle' attribute is present, it becomes
the title of field description, else `label' attribute is used.

11. Also in addition to an existing regexp literal (quoted string) add
new one: quoted string with slashes: '/some-regexp/flags'. Flags is
split into list of 1-letter strings <flag>, each of them is uppercased
to <FLAG> and sent to re.compile as getattr(re, <FLAG>).

Change-Id: I76c25cbbd682823cbef2693b51ccd69ffe83b6d4
2013-08-13 19:11:21 +04:00
Ekaterina Fedorova c262bf85ee Adding some packeges to pip requirements
Updated .gitignore
Added .gitreview, tox.ini
Change-Id: Ief3ab14f47e1ace57cdaa5f60018b302fda56564
2013-05-16 16:59:06 +04:00
Stan Lagun 36d0141cc8 KEERO-318 - Fix all occurrences of old names (keero, glazier) in Dashboard 2013-04-26 16:25:58 +04:00
Serg Melikyan 4c36d11381 Removed all projects except Glazier Dashboard 2013-04-09 14:52:04 +04:00