3 Commits

Author SHA1 Message Date
Anup Navare
c73492c877 Allow selecting interfaces while enrolling nodes
Adds support for selecting from the enabled interfaces for the
underlying driver while creating nodes. A new tab is added in the
enroll node modal.

Also enhanced "package.json" and "karma.conf.js" to widen the
range of accepted versions and jasmine capabilities.

Change-Id: Ie1b24cbf147b849a1d57fcdcbd735429ea7c9e34
Partial-Bug: #1672729
2017-10-22 20:21:09 -04:00
Ramamani Yeleswarapu
5cf54f0426 Add support for editing node's resource_class
This patch adds support to edit/update a node's 'resource_class'
info when enrolling/updating a node.

Change-Id: I3dbbcac05c29aef27443441365651c8f8d9ccafa
Closes-Bug: #1672709
2017-06-21 14:17:08 -07:00
Peter Piela
b55a1004ff Unit test framework for Ironic-UI API service
This commit is a first step in the development of a unit test framework for
the Ironic-UI API service. The approach being used is to provide an emulation
of the Ironic backend using a mock that utilizes Angular $httpbackend
handlers to intercept requests targeted at the Ironic-UI server side REST
endpoints.

In addition to demonstrating the mock I have coded some basic tests to
show how it is used. At this point I would like to get feedback from the team,
and consensus on whether we should continue the process of building
additional tests.

Change-Id: Iaec83b0e19b5051ebf1257ddc56efcc6f11ee39d
2017-06-20 13:07:13 -04:00