updates to cloud/inputParameters rest call. Added a unit test

Signed-off-by: nigel <nigel.cook@hp.com>