The openstack eslint package is just really not needed at this
point. Use standardjs and run --fix on it.
Switch away from using node 8 to run linters and tests.
Change-Id: I51f68d4ec30c8da5d1601ef00045e53f90d0554b
Update to babel v7 and webpack v4
Remove runtime depend on corejs-2 which is
unsupported. Just switch to runtime which requires polyfills be
provided by the end user.
Remove NSP - the service is being shut down and the important bits
are built in to npm now.
istanbul has been replaced by the nyc runner. Update karma
to latest.
Update yaml-loader and json-loader
Disable browser testing for now - we'll bring it back in a followup.
Change-Id: I45d1f77bb43e5d67f4154c5149fac77b853e3686
This patch adds 'functional' tests that will be run by DSVM gate.
A 'cloudsConfig.js' file reads 'clouds.yaml' and converts it to json.
'clouds.yaml' file is searched from the following locations:
- current directory
- ~/.config/openstack
- /etc/openstack
The first file found wins.
For browser, webpack uses a 'yaml' loader and rewrites
'helper/cloudsConfig.js' requirement to 'json!yaml!clouds.yaml'.
A dummy test has been added to demonstrate use of devstack config.
Change-Id: I55909862c70a4cbe22b2820e51c2969d68d8154a
This commit allows to create js-openstack-lib build which can be
used in browsers. Webpack library is used to create the build.
Change-Id: I382244c9399cee83720858d0bb2768e9ce3b7c9a