ea9c34e5ed
This patch adds controls necessary to remove nodes from Ironic. Included are: - NodeActionController, a generic, initializable controller that handles actions on nodes. - RemoveNodeModalController, a controller for a modal window that permits the deletion of _multiple_ nodes. - Test coverage for the above, with an updated coverage threshold. Note that at this time, the code path to batch delete nodes is not yet surfaced in the user interface. Change-Id: I325d43fead7c63bb527307a6ee608ca36a59ab83 |
||
---|---|---|
app | ||
test | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc | ||
.gitignore | ||
.gitreview | ||
LICENSE | ||
README.md | ||
bower.json | ||
gulpfile.js | ||
karma.conf.js | ||
package.json |
README.md
ironic-webclient
A webclient for OpenStack Ironic.
Important Things
It is imperative that the design and infrastructure of this project makes it easy to package for various linux distributions. As such, the following decisions have been made:
#####The project must be fully functional directly from source.
- ECMAScript 5 only, no transpiled languages such as TypeScript or CoffeeScript.
- All javascript libraries used at runtime (in the browser) must be committed to source.
Note that we do not guarantee performance if running in this mode. Certain things, such as in-browser CSS compilation will severely degrade the performance of this application.
The project must be easy to develop on.
- We use common javascript tooling to assist in development (npm, gulp, eslint, bower, etc).
- These tools are supportive, but not required, as such they are considered to be environmental, and thus not committed to source.
#####The project must be compatible with the OpenStack License.
- All runtime dependencies and development tools must use licenses compatible with the Apache2.0 license.
Development Server
- Check out the code.
- Run
npm install
- Realize that you don't have node installed. Install node, and npm.
- If using a Debian/Ubuntu system, also install node.js and nodejs-legacy.
- Then try again.
- Run
npm start
Other options
// Will resolve all the runtime dependencies. Remember to commit them.
npm run update_dependencies
// Will package the site.
npm pack
// Will spin up a local server and host the raw, unpackaged application.
npm start