Project

General

Profile

Statistics
| Branch: | Tag: | Revision:
Name Size
bmc_api_shell_test.rb 736 Bytes
bmc_api_ssh_test.rb 1.28 KB
bmc_api_test.rb 20.9 KB
bmc_test.rb 1.93 KB

Latest revisions

# Date Author Comment
c896ba33 11/08/2016 06:08 AM Dominic Cleal

fixes #17262 - verify the JSON request body contains a hash

The json 2.x gem now parses strings and other non-hash root nodes, so
the data type need to be checked when parsing JSON bodies.

d9599426 10/03/2016 06:40 AM Lukas Zapletal

Fixes #10250 - simple SSH BMC provider

342eeda9 05/11/2016 03:30 AM Dmitri Dolguikh

Fixes #14618 - refactored module initialization

to allow for:
- support for multiple simultaneous providers
- programmatically defined settings
- custom validators
- ability to customize module loading
Also includes support for constructor-based dependency injection
91d4aa69 01/25/2016 06:59 AM Lukas Zapletal

Fixes #12715 - simple log buffer and API

6ebc1ccd 04/30/2015 03:26 AM Corey Osman

Fixes #10116 - BMC is not able to use parameters passed in through body

  • adds new helper method to parse body as json and return hash
  • protects against bad data being passed into options hash
f4f52e0f 04/08/2015 07:50 AM Corey Osman

Fixes #7543 - allow additional rubyipmi connection options to be passed
through

  • replaces some stubs with mock in other tests
46cf1703 04/07/2015 08:21 AM Corey Osman

Fixes #9852 - REST API violation in BMC smart proxy API * authentication errors now return 401 and proper message

e9171900 03/20/2015 07:15 AM Corey Osman

Fixes #9840 - BMC providers should return 501 error code when they don't implement the api call

  • catches the NotImplementedError properely and returns 501 http code
  • fixes rubocop warnings
3fba6e10 03/20/2015 07:15 AM Corey Osman

Fixes #9711 - bmc module does not full implement its api * adds additional logic around providers * implements /providers, /providers/installed, /host, / * the / returns a list of resources to use to help the user * catches a case where if the provider is nil, we can default to a provider and warn the user...

ec00558c 03/20/2015 07:15 AM Corey Osman

Fixes #9710 - add rubyipmi test_connection api call

  • updates rubyipmi to 0.9.1
  • adds new bmc api call /bmc/:host/test that tests the connection
  • adds test method to shell provider

View revisions

Also available in: Atom