crowbar/barclamp-clouderamanager — pull request #99 by Paul-Webster (2013-04-05 19:50:35+00:00)
Title: Hadoop 2.3 - CM API dev [1/1]

Hadoop 2.3 - CM API dev
* Added 2 API calls - cluster_exists? & host_exists? to aid in implementation Idempotentancy.
* Added a new script in unittests called create_cluster.rb so I can exercise
Hadoop cluster deployment before actually binding it to barclamp execution.
* Added a to_array method to the ApiCluster object.
* Refactored ApiBaseObject.setattr(k,v) and ApiBaseObject.getattr(k) methods in types.rb.

.../clouderamanager/libraries/api_client.rb | 28 +++++++
chef/cookbooks/clouderamanager/libraries/events.rb | 6 +-
chef/cookbooks/clouderamanager/libraries/types.rb | 58 ++++++++------
unittest/api_test_harness.rb | 2 +-
unittest/create_cluster.rb | 86 ++++++++++++++++++++
5 files changed, 151 insertions(+), 29 deletions(-)

Crowbar-Pull-ID: 908d361f7c1a898eae347f85f12e1f01165f1313

Crowbar-Release: fred