Commit Graph

70 Commits

Author SHA1 Message Date
Andreas Jaeger 0cc8ef23ef Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: I4826eed959974ba95b6f25d9ca8c6dd98f4c8a1c
2019-12-18 09:51:03 +01:00
ekhomyakova 90f92f0dd6 Add tests for NICs feature, adapt as plugin-tests
Change-Id: I299d857ce74e5f2373e1b8a8a2e2c69c7e350d28
2016-12-21 09:55:53 +00:00
Jenkins 1f986b39bb Merge "Add tests for component registry suite for vCenter" 2016-08-11 16:24:21 +00:00
Ekaterina Khomyakova 07eab5f5a6 Add tests for component registry suite for vCenter
With component registry mechanism plugins can set compatibility,
incompatibility and requires between components.

Current tests implement automatization to verify UI representation of
components relations. They have to be run regularly on CI.

To run tests you need to export variables PLUGIN_RPM (path to
example-plugin rpm) and VENV (path to virtual env). Run with
`npm run component-tests`.

Closes-Bug: #1597710
Change-Id: I5d929da714a4c44515094df4e6edd3a7d93f4aa0
2016-08-11 17:07:04 +03:00
Vitaly Kramskikh 1184ed7896 Fix UI functional tests in Firefox 47+
Firefox since version 47 requires use of Marionette driver
to work with Selenium. Updated selenium-standalone downloads
and utilizes this driver by default.

Change-Id: I9659cee48491f4de9484c23fb9a4f59f69797d29
2016-08-10 13:22:17 +03:00
Vitaly Kramskikh ea7282f0ff Update JS dependencies
* Added moment.js
* Added react-virtualized
* Added react-addons-shallow-compare needed for react-virtualized

Implements blueprint ui-deployment-history

Change-Id: I9da54d23912f60ee5e70ec9cf80ab8fe95a6470e
2016-08-09 18:57:20 +03:00
Vitaly Kramskikh 9a544650f1 Upgrade JS libraries
* React to 15.3.0
* Bootstrap to 3.3.7
* Added FileSaver 1.3.2

Implements blueprint ui-custom-graph

Change-Id: I900bda0818f47d36eb5c22af8fe3048d426f595b
2016-08-01 18:17:06 +03:00
Vitaly Kramskikh 7a6b32b3db Update JS dependencies
* React from 15.1.0 to 15.2.1
* LoDash from 4.13.0 to 4.13.1
* jQuery 3.0.0 to 3.1.0
* React-router from 2.4.1 to 2.5.2
* Added async-props 0.3.2
* Added react-slider 0.6.1

Implements blueprint react-router

Change-Id: I6374dc12c3b616bb5251ba60ea065f3d45af798f
2016-07-15 16:10:39 +03:00
Kate Pimenova aed713873c Gulp tasks replaced with npm scripts
* Replaced linspaces with lintspaces-cli 0.3.0
* Removed gulp-lintspaces and gulp-eslint

Change-Id: I6e1388f06766f916dd5b03d9a33712cf6999f5c5
2016-06-15 18:13:44 +03:00
Vitaly Kramskikh a35e38bff4 Upgrade JS dependencies
* jQuery to 3.0.0
* Less to 2.6.1
* selenium-standalone to 5.1.1
* Added react-router 2.4.1
* Added lintspaces 0.5.0

Change-Id: I40481284b106549e613dd3af19d8210ac95e03f8
2016-06-14 18:18:34 +03:00
Jenkins a7e44caa09 Merge "Upgrade JS dependencies" 2016-06-06 20:07:47 +00:00
Kate Pimenova e02c4a4627 Upgrade JS dependencies
* i18next 1.11.1 -> 3.1.0
* React 15.0.1 -> 15.1.0
* Added gulp-help

Change-Id: Ifa984f2a0a62d67469709bd5b8bb25876580cf02
2016-06-06 18:07:10 +03:00
Vitaly Kramskikh f4b400805e Upgrade to ESLint 2
Change-Id: If70c6d076842cfb3c55cb617e00e10f737991880
2016-06-03 17:20:22 +03:00
Nikolay Bogdanov b2fcad75b6 Upgrade JS libraries
LoDash 3.10.1 to 4.13.0
Backbone 1.2 to 1.3.3
Babel modules to 6.9.0 or latest available
Webpack from 0.12 to 0.13

Change-Id: Id77c6cb2f32ada94dba7a0cd3b61d33eeccf90aa
2016-05-23 18:30:28 +03:00
Vitaly Kramskikh 996088b2c0 Upgrade Intern to 3.2.0
Change-Id: I5c5371c0c912c0e15814898f51f672c55b869d4b
2016-05-10 16:03:12 +00:00
Vitaly Kramskikh 0c4900946f Use ES6 modules for Intern tests
Intern uses AMD notation for its tests, so there is need
to specify Babel Simple AMD plugin for proper transformation.
It cannot properly generate AMD modules with exports,
so Intern config now has to be constructed manually.

Change-Id: I55d881acc8cb8a72ca401f5fdf6a47455e41b12e
2016-04-15 20:03:21 +03:00
Vitaly Kramskikh b06ce77f7f Update JS dependencies
* Babel to latest 6.x
* React to latest 15.x
* LoDash to latest 3.x version
* selenium-standalone to 5.1.0
* gulp to 3.9.1
* js-cookie to 2.1.0
* karma-webdriver-launcher to 1.0.4
* added whatwg-fetch polyfill
* switched to backbone.routerfilter from NPM

Change-Id: I9517f89c24a053ecf137f27ed297aaa578efb012
2016-04-14 14:01:31 +03:00
Vitaly Kramskikh fc9bea6dc0 Add a command to run nightly functional tests
Change-Id: I4a78f75749429950e3a1766a170f65546cf1ca31
2016-03-17 13:53:33 +03:00
Vitaly Kramskikh 2c78028b52 Fix node-ip dependency declaration
node-ip 1.1.1 has been released, so we can avoid using direct
link to github in package.json

Change-Id: I12509db007af159a7470bf0a457e18a2b2579fd6
2016-03-03 14:10:44 +07:00
Vitaly Kramskikh 2c044d1ca6 Update repo path in package.json and shrinkwrap
Change-Id: Ib8d5893bcaef8925c74abd7e6ba6b15141edf1b1
Implements: blueprint separate-fuel-ui-repo
2016-03-01 19:21:26 +07:00
Vitaly Kramskikh d94c2dc29b Move UI-related testing logic to a separate file
Implements: blueprint separate-fuel-ui-repo

Change-Id: I509b336785f39066f5673f17af3c97b61e7f3be2
2016-02-25 10:53:19 +00:00
Nick Bogdanov 3ebcaa39eb Upgrades Intern to 3.0.6
This change updates Intern testing framework from 2.2.2
to 3.0.6 version and updates ScreenshotOnFailReporter
to use newer API.

Change-Id: I368cb18756c9d27a95c1b615d4473d8486ada184
2016-01-19 17:39:25 +03:00
Vitaly Kramskikh 51eec66c9d Use eslint-config-openstack as a base
This commit modifies fuel-ui .eslintrc to use
eslint-config-openstack as a base with overrides of some rules.
No code was changed, but some FIXMEs were added to be changed
in future.

Also, ESLint and React plugin were updated.

Change-Id: I4ba51878705e89fd86369420c50590f5623206e5
2016-01-14 23:59:36 +03:00
Vitaly Kramskikh 0f013ad3aa Use sinon for mocking server response in UI func tests for logs
Closes-Bug: #1519752

Change-Id: I62859dca7fa5c138b012d4c5fd4e184c941fb992
2016-01-02 17:25:04 +03:00
Vitaly Kramskikh f8b75591e7 Update React to 0.14.3
Minimal update is done - deprecation fixes will go in separate
patches. React-DnD is also updated to support React 0.14.3.

Change-Id: I0a798ea5e849a1f2d9cefb67f0f7e1d563a4327a
2015-12-26 15:41:32 +03:00
Vitaly Kramskikh c7a865c2c8 Update JS dependencies to fix various bugs
- Update 'ip' to fix issue with Safari
- Update webpack to fix sourcemaps generation with uglifyjs
- Remove uglifyjs - it's a webpack dependency and shouldn't
  be used directly

Change-Id: I01a0afbaeb00dfa67bcdca33764744428dc6cc52
Closes-Bug: #1519784
Partial-Bug: #1517028
2015-12-07 17:57:05 +03:00
Julia Aranovich 7cf906b160 Use 'ip' library to process network data
Closes-Bug: #1514493

Change-Id: I8afff721aff7fb9aebbe1fe61653befade43a99a
2015-11-23 21:15:39 +07:00
Vitaly Kramskikh 234371f92b Use i18next-client instead of i18next
Change-Id: I1a6c02407948d99c3b91fc11f9826e45e367e205
2015-11-23 21:11:42 +07:00
Vitaly Kramskikh 4c8e87d2ad Add 'gulp license' task for checking dependencies licences
Change-Id: Icd3f4f49068c114b502081274832c43a89ebb316
2015-11-23 12:21:33 +00:00
Vitaly Kramskikh fbf404cede Add npm scripts to comply with Javascript CTI
More info: https://github.com/openstack/governance/blob/master/reference/cti/javascript-cti.rst

Change-Id: I0050d71328c2265a0256c93a2faf47ec5f9b42b0
2015-11-21 21:34:51 +07:00
Vitaly Kramskikh a53216bc87 Add more JSX style rules
Change-Id: Ib8ae6729da4cd0720e04299c7beb9695319ef859
2015-11-18 20:23:21 +07:00
Jenkins 58c88f7732 Merge "Substitute copypasted natural sorting algorithm with a library" 2015-11-17 11:25:31 +00:00
Vitaly Kramskikh b8138ae0d7 Update gulp-lintspaces to 0.3.2
gulp-lintspaces@0.3.1 was unpublished. Also remove
backbone.stickit library as we don't use it anymore.

Change-Id: I15730f8501a33c5887f447afb2d57b0628724882
2015-11-13 17:29:07 +07:00
Vitaly Kramskikh 30af28be67 Substitute copypasted natural sorting algorithm with a library
"javascript-natural-sort" NPM package provides the same
algorithm, but in a form of a reusable library.

Change-Id: Ie3f18bc87a66d25be28f18ce81701f1720231a41
2015-11-09 23:27:15 +07:00
Vitaly Kramskikh a7e7f05e12 Remove JSCS
ESLint evolved and become mature enough to completely replace
JSCS. This commit translates JSCS rules into ESLint ones and
fixes the code accordingly.

Also, ESLint config converted to YAML for readability

Change-Id: I2bea5b48284c68ecacd3ec3ac67c5852345f29e3
2015-11-09 17:59:30 +07:00
Vitaly Kramskikh ac33818194 Replace require.js loader/r.js builder with webpack
Webpack is much more powerful than r.js and opens path
to further improvements in testing, build speed,
developer convenience, ES2015, etc.

Implements blueprint webpack

Change-Id: I18a3b74db243f29e5dacb004569d66463f4ab16d
2015-11-02 16:59:42 +07:00
Vitaly Kramskikh 2344124b11 Update gulp-lintspaces to 0.3.1 to prevent random install errors
Change-Id: I7af45baa3fddc0894a6ec78dc8988695b78592a4
2015-10-23 15:48:24 +07:00
Aleksandra Fedorova 4c2b436838 Update paths due to stackforge migration
All repositories have been moved from stackforge/ to openstack/ namespace.

Paths in docs/ subfolder will be fixed via separate patch.

Change-Id: I78a4b159a29c119d37d48ad141626d4b6074c8c7
2015-10-18 00:34:11 +03:00
Vitaly Kramskikh ff70616c82 Remove casperjs and phantomjs from dependencies
Casperjs is not used anymore; phantomjs won't be used by
default and 100% optional, but supported: it is still possible
to run

  gulp unit-tests --browser phantomjs

but globally installed phantomjs will be used

Related to blueprint webpack

Change-Id: I9761cd7dcc4c5ff07f737cabbe4c46f6741ae408
2015-10-04 20:49:33 +07:00
Vitaly Kramskikh 2e82b1933f Remove bower
All JS dependencies management moved to NPM

Change-Id: I444b9d06477737cc1e8c19fea202cfb1d693b658
2015-09-22 11:34:27 +00:00
Vitaly Kramskikh 4c07aa9e6a Move to ESLint from JSHint
Rules with "1" value generate warnings and are going to be fixed
in the next commit by fixing the code.

Rules with "0" value represent validation rules which I'd really
like to have, but they require large amount of fixes.

Closes-Bug: #1469127

Change-Id: Ie8c10c5d16627c008c9ce5760396226381116a43
2015-08-05 22:35:25 +03:00
Nick Bogdanov 9a23663c74 Intern-based functional tests
This commit makes it possible to execute UI
functional tests either based on Casper or on Intern/Selenium

Change-Id: I21d342093f142a1bbe7b8ae4f2c96fad1c125a0b
2015-07-13 12:36:00 +00:00
Vitaly Kramskikh 3910016172 Update lodash-node to 3.9.3
To match bower-managed lodash version

Change-Id: If1a5ed9752d0ccc014b76c499fd546f0081eaaaf
2015-06-17 17:09:15 +03:00
Vitaly Kramskikh 23969b8bb1 JSCS Autofixing
Run via `gulp jscs:fix`

Also change disallowMultipleSpaces to allow multiple spaces
before one-line comments

Change-Id: Ic99566d9fcd9b321407cfbacc41eaaa2c8dcefbc
2015-06-08 17:50:40 +03:00
Vitaly Kramskikh 81d56c1e07 Intern-based unit tests
This commit adds unit-tests runner for UI and 1 test suite for
the expression parser. It also makes --webui flag for run_tests.sh
run all the UI tests: lint checks, unit tests, functional tests.

Change-Id: I6176dc01cdd6d2bcf7a99185e92cc498c7b2b899
2015-06-08 13:27:31 +00:00
Vitaly Kramskikh 28b32874ab Twitter Bootstrap 3 Markup
Change-Id: Ib7d4f90355af5d53618ae56f7fdce858d44bfcef
2015-06-03 13:58:43 +02:00
Vitaly Kramskikh 1e268419cf Set disallowMultipleSpaces to true in JSCS config
Change-Id: Icb1e3f421f209b2d60ccb420e1a4afc0c3d01be9
2015-03-29 18:38:36 +03:00
Vitaly Kramskikh 508b66ccbd Replace Grunt with Gulp
Also bump some libraries to the latest versions

Implements blueprint move-to-gulp
Related to blueprint ui-plugins

Change-Id: Iffcd5c2371a01969746ce4d18a88181246d674fd
2015-03-23 13:47:55 +03:00
Vitaly Kramskikh 613e1414d0 Bump CasperJS to 1.1-beta3 and simplify installation process
Now casperjs is managed by npm. Nothing seems to be broken.

Change-Id: I16684cd44376dfdaf4c683cdf2c93e1ff4903c3c
2015-03-20 19:33:36 +00:00
Vitaly Kramskikh 345f5f5422 React 0.13.1
- all dialogs must be rendered using show() method instead of utils.showDialog
- React.addon.classSet is deprecated, use utils.classNames instead
- component._owner is unavailable now

Change-Id: I290e0053976b27eb43eeb3b4ecfeebaf1088b457
2015-03-17 19:32:17 +03:00