CM API client + unit test harness [1/1]

CM API client + unit test harness.
chef/cookbooks/clouderamanager/libraries/cmapi
unittest/api_test_harness.rb



 .../clouderamanager/libraries/cmapi/api_client.rb  |  296 ++++++++
 .../libraries/cmapi/primitives/clusters.rb         |  256 +++++++
 .../libraries/cmapi/primitives/cms.rb              |  218 ++++++
 .../libraries/cmapi/primitives/events.rb           |   93 +++
 .../libraries/cmapi/primitives/hosts.rb            |  216 ++++++
 .../libraries/cmapi/primitives/roles.rb            |  285 ++++++++
 .../libraries/cmapi/primitives/services.rb         |  755 ++++++++++++++++++++
 .../libraries/cmapi/primitives/tools.rb            |   57 ++
 .../libraries/cmapi/primitives/types.rb            |  623 ++++++++++++++++
 .../libraries/cmapi/primitives/users.rb            |  164 +++++
 .../clouderamanager/libraries/cmapi/resource.rb    |  120 +++
 .../clouderamanager/libraries/cmapi/utils.rb       |   35 +
 unittest/api_test_harness.rb                       |  139 ++++
 13 files changed, 3257 insertions(+), 0 deletions(-)

Crowbar-Pull-ID: 5302e0e7ffcfd8b30309a04576f4a30f8f8d861f

Crowbar-Release: fred