crowbar/barclamp-crowbar — pull request #339 by VictorLowther (2013-01-11 15:29:01+00:00)
Title: Epic rename of CMDB to Jig [1/6]

CMDB as a name is confusing and does not fit with our tool-related
naming scheme. Jig, on the other hand, is an awesome fit for what
CMDB does and it fits the naming scheme.

crowbar_framework/BDD/barclamp.erl | 2 +-
crowbar_framework/BDD/cmdb.erl | 103 ----------------
crowbar_framework/BDD/features/cmdb.feature | 28 -----
crowbar_framework/BDD/features/jig.feature | 28 +++++
crowbar_framework/BDD/jig.erl | 103 ++++++++++++++++
.../app/controllers/barclamp_controller.rb | 2 +-
.../app/controllers/cmdb_controller.rb | 21 ----
.../app/controllers/crowbar_controller.rb | 30 ++---
.../app/controllers/jig_controller.rb | 21 ++++
.../app/controllers/machines_controller.rb | 2 +-
.../app/controllers/nodes_controller.rb | 4 +-
crowbar_framework/app/models/barclamp.rb | 6 +-
crowbar_framework/app/models/barclamp_instance.rb | 2 +-
crowbar_framework/app/models/cmdb.rb | 98 ---------------
crowbar_framework/app/models/cmdb_event.rb | 65 ----------
crowbar_framework/app/models/cmdb_event_test.rb | 36 ------
crowbar_framework/app/models/cmdb_map.rb | 26 ----
crowbar_framework/app/models/cmdb_run.rb | 80 ------------
crowbar_framework/app/models/cmdb_run_chef.rb | 54 --------
crowbar_framework/app/models/cmdb_run_test.rb | 44 -------
crowbar_framework/app/models/cmdb_test.rb | 52 --------
crowbar_framework/app/models/crowbar_service.rb | 10 +-
crowbar_framework/app/models/jig.rb | 98 +++++++++++++++
crowbar_framework/app/models/jig_event.rb | 65 ++++++++++
crowbar_framework/app/models/jig_event_test.rb | 36 ++++++
crowbar_framework/app/models/jig_map.rb | 26 ++++
crowbar_framework/app/models/jig_run.rb | 80 ++++++++++++
crowbar_framework/app/models/jig_run_chef.rb | 54 ++++++++
crowbar_framework/app/models/jig_run_test.rb | 44 +++++++
crowbar_framework/app/models/jig_test.rb | 52 ++++++++
crowbar_framework/app/models/node.rb | 60 ++++-----
crowbar_framework/app/models/node_attrib.rb | 2 +-
crowbar_framework/app/models/proposal_config.rb | 2 +-
crowbar_framework/config/locales/crowbar/en.yml | 2 +-
crowbar_framework/db/crowbar_cmdb_classes.dia | Bin 5867 -> 0 bytes
crowbar_framework/db/crowbar_cmdb_classes.png | Bin 57948 -> 0 bytes
crowbar_framework/db/crowbar_jig_classes.dia | Bin 0 -> 5867 bytes
crowbar_framework/db/crowbar_jig_classes.png | Bin 0 -> 57948 bytes
.../db/migrate/20120725023017_create_cmdb_maps.rb | 31 -----
.../db/migrate/20120725023017_create_jig_maps.rb | 31 +++++
.../db/migrate/20120730225300_create_cmdbs.rb | 32 -----
.../db/migrate/20120730225300_create_jigs.rb | 32 +++++
.../migrate/20120730230713_create_cmdb_events.rb | 30 -----
.../db/migrate/20120730230713_create_jig_events.rb | 30 +++++
.../db/migrate/20120730230714_create_cmdb_runs.rb | 31 -----
.../db/migrate/20120730230714_create_jig_runs.rb | 31 +++++
.../db/migrate/20120731225405_create_barclamps.rb | 2 +-
.../migrate/20120731225600_create_node_attribs.rb | 2 +-
.../doc/default/crowbar/devguide/api/attrib.md | 2 +-
.../doc/default/crowbar/devguide/api/cmdb.md | 130 --------------------
.../doc/default/crowbar/devguide/api/jig.md | 130 ++++++++++++++++++++
.../doc/default/crowbar/devguide/api/node.md | 2 +-
.../default/crowbar/devguide/barclamps/metadata.md | 2 +-
.../doc/default/crowbar/devguide/testing/bdd.md | 4 +-
.../crowbar/devguide/testing/bdd/steps_rest.md | 60 ++++-----
crowbar_framework/spec/models/cmdb_spec.rb | 99 ---------------
crowbar_framework/spec/models/jig_spec.rb | 99 +++++++++++++++
.../test/unit/cmdb_event_model_test.rb | 74 -----------
crowbar_framework/test/unit/cmdb_map_model_test.rb | 49 --------
crowbar_framework/test/unit/cmdb_model_test.rb | 74 -----------
crowbar_framework/test/unit/cmdb_run_model_test.rb | 78 ------------
.../test/unit/jig_event_model_test.rb | 74 +++++++++++
crowbar_framework/test/unit/jig_map_model_test.rb | 49 ++++++++
crowbar_framework/test/unit/jig_model_test.rb | 74 +++++++++++
crowbar_framework/test/unit/jig_run_model_test.rb | 78 ++++++++++++
.../test/unit/node_attrib_model_test.rb | 2 +-
66 files changed, 1335 insertions(+), 1335 deletions(-)

Crowbar-Pull-ID: 902f781dd496ff9c1ed7cfa95126b038e665e7c9

Crowbar-Release: development