Add API and UI for snapshot, cycle, node-role, role and deployment-role [1/1]



 BDD/bdd_restrat.erl                                |   46 +++--
 BDD/bdd_utils.erl                                  |    2 +-
 BDD/cycle.erl                                      |   60 ++++++
 BDD/deployment.erl                                 |    4 +-
 BDD/deployment_role.erl                            |   60 ++++++
 BDD/features/cycle.feature                         |   14 ++
 BDD/features/deployment_role.feature               |   13 ++
 BDD/features/node_role.feature                     |   15 ++
 BDD/features/role.feature                          |   18 ++
 BDD/features/snapshot.feature                      |   18 ++
 BDD/node.erl                                       |    2 +-
 BDD/node_role.erl                                  |   60 ++++++
 BDD/role.erl                                       |   68 +++++++
 BDD/snapshot.erl                                   |   43 ++---
 .../app/controllers/cycles_controller.rb           |   41 +++++
 .../app/controllers/deployment_roles_controller.rb |   40 ++++
 .../app/controllers/jigs_controller.rb             |    8 +-
 .../app/controllers/node_roles_controller.rb       |   40 ++++
 .../app/controllers/roles_controller.rb            |   34 +++-
 .../app/controllers/snapshots_controller.rb        |   40 +++-
 crowbar_framework/app/models/node_role.rb          |   29 +--
 crowbar_framework/app/models/snapshot.rb           |  192 ++++++++++----------
 crowbar_framework/app/views/cycles/index.html.haml |    9 +
 .../app/views/deployment_roles/index.html.haml     |    6 +
 .../app/views/node_roles/index.html.haml           |    9 +
 .../app/views/snapshots/index.html.haml            |   10 +
 crowbar_framework/config/locales/crowbar/en.yml    |   21 ++-
 crowbar_framework/config/routes.rb                 |    6 +
 28 files changed, 739 insertions(+), 169 deletions(-)

Crowbar-Pull-ID: 74a697a26e92b4803e782a060b804cf0f9497f61

Crowbar-Release: development