RETIRED, JavaScript API library for OpenStack.
Go to file
Monty Taylor 7f843d7ecb Update babel, webpack, karma, jasmine and istanbul
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
2020-06-12 12:35:09 -05:00
doc Use https instead of http for git.openstack.org 2017-02-12 23:12:19 +00:00
playbooks CI: New jobs 2020-06-12 17:06:24 +00:00
src CI: New jobs 2020-06-12 17:06:24 +00:00
test Update babel, webpack, karma, jasmine and istanbul 2020-06-12 12:35:09 -05:00
zuul.d CI: New jobs 2020-06-12 17:06:24 +00:00
.babelrc Update babel, webpack, karma, jasmine and istanbul 2020-06-12 12:35:09 -05:00
.editorconfig Initial commit of project. 2016-05-20 12:12:21 -07:00
.eslintignore Added jasmine-based testing harness. 2016-07-14 13:12:09 +03:00
.eslintrc Updates linting rules 2016-09-23 13:46:04 -04:00
.gitignore Ignore compiling output 2016-11-03 13:49:20 +08:00
.gitreview OpenDev Migration Patch 2019-04-19 19:43:08 +00:00
.istanbul.yml Created Version Class 2016-08-15 13:25:38 -07:00
.nsprc Added node-security-project checks 2016-06-23 12:53:07 +00:00
LICENSE Initial commit of project. 2016-05-20 12:12:21 -07:00
README.rst Typo fix: constistent => consistent 2017-01-24 13:22:35 +07:00
Vagrantfile Added vagrant file for devstack bootstrap 2016-07-24 07:46:14 -07:00
bindep.txt Update OpenStack documentation template 2016-10-25 20:20:54 +02:00
configure-devstack.js Created Nova service with flavorList method. 2016-12-02 17:49:37 -05:00
karma.conf.babel.js Update babel, webpack, karma, jasmine and istanbul 2020-06-12 12:35:09 -05:00
karma.conf.js Update babel, webpack, karma, jasmine and istanbul 2020-06-12 12:35:09 -05:00
package.json Update babel, webpack, karma, jasmine and istanbul 2020-06-12 12:35:09 -05:00
vagrant.sh Created Nova service with flavorList method. 2016-12-02 17:49:37 -05:00
webpack.config.babel.js Update babel, webpack, karma, jasmine and istanbul 2020-06-12 12:35:09 -05:00

README.rst

Team and repository tags

image

JS-OpenStack-lib

JS-OpenStack-lib is a Javascript library for interacting with OpenStack clouds. The project aims to provide a consistent and complete set of interactions with OpenStack's many services, along with documentations, examples, and tools. This library is compatible with both browser and server side Javascript.

Example

The following example simply connects to an OpenStack cloud and list flavors in the Compute service:

import OpenStack from 'js-openstack-lib';

// Initialize cloud
// cloudConfig is a JSON object corresponding to clouds.yaml
// (It is your responsibility to load and parse it)
const openStack = new OpenStack({
  region_name: 'Region1',
  auth: {
    username: 'user',
    password: 'pass',
    project_name: 'js-openstack-lib',
    auth_url: 'http://192.168.99.99/'
  }
});
// List all flavors
openStack.networkList()
  .then((networks) => {
    console.log(networks);
  });

Documentation

Coming soon

Contributing

If you're interested in contributing, the following will help you get started:

Bug Tracker

https://storyboard.openstack.org/#!/project/844

Code Hosting

https://git.openstack.org/cgit/openstack/js-openstack-lib

Code Review

https://review.openstack.org/#/q/status:open+project:openstack/js-openstack-lib,n,z

Please read Developer's Guide before sending your first patch for review

License

Apache 2.0