hammer_cli_foreman 0.11.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (325) hide show
  1. checksums.yaml +4 -4
  2. data/doc/configuration.md +2 -2
  3. data/doc/name_id_resolution.md +26 -1
  4. data/doc/release_notes.md +24 -0
  5. data/lib/hammer_cli_foreman.rb +30 -29
  6. data/lib/hammer_cli_foreman/api/connection.rb +1 -1
  7. data/lib/hammer_cli_foreman/api/interactive_basic_auth.rb +3 -3
  8. data/lib/hammer_cli_foreman/api/session_authenticator_wrapper.rb +9 -8
  9. data/lib/hammer_cli_foreman/api/void_auth.rb +7 -0
  10. data/lib/hammer_cli_foreman/architecture.rb +3 -5
  11. data/lib/hammer_cli_foreman/associating_commands.rb +32 -32
  12. data/lib/hammer_cli_foreman/auth.rb +2 -2
  13. data/lib/hammer_cli_foreman/auth_source_ldap.rb +4 -4
  14. data/lib/hammer_cli_foreman/commands.rb +23 -55
  15. data/lib/hammer_cli_foreman/common_parameter.rb +5 -5
  16. data/lib/hammer_cli_foreman/compute_resource.rb +17 -7
  17. data/lib/hammer_cli_foreman/config_group.rb +3 -3
  18. data/lib/hammer_cli_foreman/domain.rb +6 -8
  19. data/lib/hammer_cli_foreman/environment.rb +3 -3
  20. data/lib/hammer_cli_foreman/exception_handler.rb +27 -4
  21. data/lib/hammer_cli_foreman/external_usergroup.rb +3 -4
  22. data/lib/hammer_cli_foreman/filter.rb +20 -21
  23. data/lib/hammer_cli_foreman/host.rb +43 -18
  24. data/lib/hammer_cli_foreman/hostgroup.rb +24 -19
  25. data/lib/hammer_cli_foreman/hosts/common_update_options.rb +4 -6
  26. data/lib/hammer_cli_foreman/id_resolver.rb +86 -50
  27. data/lib/hammer_cli_foreman/image.rb +3 -4
  28. data/lib/hammer_cli_foreman/interface.rb +7 -9
  29. data/lib/hammer_cli_foreman/location.rb +6 -9
  30. data/lib/hammer_cli_foreman/media.rb +3 -6
  31. data/lib/hammer_cli_foreman/model.rb +3 -6
  32. data/lib/hammer_cli_foreman/operating_system.rb +11 -12
  33. data/lib/hammer_cli_foreman/option_sources.rb +4 -0
  34. data/lib/hammer_cli_foreman/option_sources/id_params.rb +51 -0
  35. data/lib/hammer_cli_foreman/option_sources/ids_params.rb +30 -0
  36. data/lib/hammer_cli_foreman/option_sources/self_param.rb +16 -0
  37. data/lib/hammer_cli_foreman/option_sources/user_params.rb +59 -0
  38. data/lib/hammer_cli_foreman/organization.rb +6 -9
  39. data/lib/hammer_cli_foreman/output/formatters.rb +1 -1
  40. data/lib/hammer_cli_foreman/parameter.rb +3 -5
  41. data/lib/hammer_cli_foreman/partition_table.rb +5 -6
  42. data/lib/hammer_cli_foreman/realm.rb +3 -3
  43. data/lib/hammer_cli_foreman/report.rb +1 -4
  44. data/lib/hammer_cli_foreman/role.rb +4 -7
  45. data/lib/hammer_cli_foreman/settings.rb +1 -1
  46. data/lib/hammer_cli_foreman/smart_class_parameter.rb +24 -14
  47. data/lib/hammer_cli_foreman/smart_proxy.rb +5 -7
  48. data/lib/hammer_cli_foreman/smart_variable.rb +24 -12
  49. data/lib/hammer_cli_foreman/ssh_keys.rb +56 -0
  50. data/lib/hammer_cli_foreman/subnet.rb +6 -9
  51. data/lib/hammer_cli_foreman/template.rb +16 -9
  52. data/lib/hammer_cli_foreman/user.rb +10 -52
  53. data/lib/hammer_cli_foreman/usergroup.rb +3 -3
  54. data/lib/hammer_cli_foreman/version.rb +1 -1
  55. data/test/data/1.15/foreman_api.json +1 -1
  56. data/test/data/1.16/foreman_api.json +1 -0
  57. data/test/functional/compute_resource_test.rb +117 -0
  58. data/test/functional/filter_test.rb +2 -2
  59. data/test/functional/host_test.rb +61 -10
  60. data/test/functional/location_test.rb +5 -5
  61. data/test/functional/organization_test.rb +7 -7
  62. data/test/functional/role_test.rb +3 -3
  63. data/test/functional/smart_class_parameter_test.rb +5 -5
  64. data/test/functional/smart_variable_test.rb +1 -1
  65. data/test/functional/ssh_keys_test.rb +105 -0
  66. data/test/functional/template_test.rb +30 -4
  67. data/test/functional/user_test.rb +5 -5
  68. data/test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand-parameters.xml +11 -0
  69. data/test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand.xml +7 -0
  70. data/test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand-parameters.xml +13 -0
  71. data/test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand.xml +7 -0
  72. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-output.xml +13 -0
  73. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-parameters.xml +13 -0
  74. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand.xml +7 -0
  75. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-output.xml +13 -0
  76. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-parameters.xml +17 -0
  77. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand.xml +7 -0
  78. data/test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand-parameters.xml +15 -0
  79. data/test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand.xml +7 -0
  80. data/test/reports/TEST-HammerCLIForeman-Architecture.xml +7 -0
  81. data/test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand-parameters.xml +11 -0
  82. data/test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand.xml +7 -0
  83. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-output.xml +13 -0
  84. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-parameters.xml +17 -0
  85. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand.xml +7 -0
  86. data/test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand-parameters.xml +13 -0
  87. data/test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand.xml +7 -0
  88. data/test/reports/TEST-HammerCLIForeman-CommonParameter.xml +7 -0
  89. data/test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand-parameters.xml +15 -0
  90. data/test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand.xml +7 -0
  91. data/test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand-parameters.xml +13 -0
  92. data/test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand.xml +7 -0
  93. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-output.xml +17 -0
  94. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-parameters.xml +13 -0
  95. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand.xml +7 -0
  96. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-output.xml +15 -0
  97. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-parameters.xml +17 -0
  98. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand.xml +7 -0
  99. data/test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand-parameters.xml +15 -0
  100. data/test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand.xml +7 -0
  101. data/test/reports/TEST-HammerCLIForeman-ComputeResource.xml +7 -0
  102. data/test/reports/TEST-HammerCLIForeman-Domain-CreateCommand-parameters.xml +11 -0
  103. data/test/reports/TEST-HammerCLIForeman-Domain-CreateCommand.xml +7 -0
  104. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand-parameters.xml +13 -0
  105. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand.xml +7 -0
  106. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand-parameters.xml +15 -0
  107. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand.xml +7 -0
  108. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-output.xml +21 -0
  109. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-parameters.xml +13 -0
  110. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand.xml +7 -0
  111. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand-output.xml +13 -0
  112. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand-parameters.xml +17 -0
  113. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand.xml +7 -0
  114. data/test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand-parameters.xml +17 -0
  115. data/test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand.xml +7 -0
  116. data/test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand-parameters.xml +15 -0
  117. data/test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand.xml +7 -0
  118. data/test/reports/TEST-HammerCLIForeman-Domain.xml +7 -0
  119. data/test/reports/TEST-HammerCLIForeman-Environment-CreateCommand-parameters.xml +11 -0
  120. data/test/reports/TEST-HammerCLIForeman-Environment-CreateCommand.xml +7 -0
  121. data/test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand-parameters.xml +13 -0
  122. data/test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand.xml +7 -0
  123. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-output.xml +17 -0
  124. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-parameters.xml +13 -0
  125. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand.xml +7 -0
  126. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand-output.xml +13 -0
  127. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand-parameters.xml +17 -0
  128. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand.xml +7 -0
  129. data/test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand-parameters.xml +15 -0
  130. data/test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand.xml +7 -0
  131. data/test/reports/TEST-HammerCLIForeman-Environment.xml +7 -0
  132. data/test/reports/TEST-HammerCLIForeman-ExceptionHandler.xml +13 -0
  133. data/test/reports/TEST-HammerCLIForeman-Host-CreateCommand-parameters.xml +46 -0
  134. data/test/reports/TEST-HammerCLIForeman-Host-CreateCommand.xml +7 -0
  135. data/test/reports/TEST-HammerCLIForeman-Host-DeleteCommand-parameters.xml +13 -0
  136. data/test/reports/TEST-HammerCLIForeman-Host-DeleteCommand.xml +7 -0
  137. data/test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand-parameters.xml +15 -0
  138. data/test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand.xml +7 -0
  139. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand-output.xml +85 -0
  140. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand-parameters.xml +13 -0
  141. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand.xml +7 -0
  142. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand-output.xml +21 -0
  143. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand-parameters.xml +17 -0
  144. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand.xml +7 -0
  145. data/test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand-output.xml +9 -0
  146. data/test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand.xml +7 -0
  147. data/test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand-parameters.xml +17 -0
  148. data/test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand.xml +7 -0
  149. data/test/reports/TEST-HammerCLIForeman-Host-StatusCommand-output.xml +9 -0
  150. data/test/reports/TEST-HammerCLIForeman-Host-StatusCommand.xml +7 -0
  151. data/test/reports/TEST-HammerCLIForeman-Host-UpdateCommand-parameters.xml +40 -0
  152. data/test/reports/TEST-HammerCLIForeman-Host-UpdateCommand.xml +7 -0
  153. data/test/reports/TEST-HammerCLIForeman-Host.xml +7 -0
  154. data/test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand-parameters.xml +11 -0
  155. data/test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand.xml +7 -0
  156. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand-parameters.xml +11 -0
  157. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand.xml +7 -0
  158. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand-parameters.xml +13 -0
  159. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand.xml +7 -0
  160. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-output.xml +29 -0
  161. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-parameters.xml +11 -0
  162. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand.xml +7 -0
  163. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-output.xml +27 -0
  164. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-parameters.xml +17 -0
  165. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand.xml +7 -0
  166. data/test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand-parameters.xml +15 -0
  167. data/test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand.xml +7 -0
  168. data/test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand-parameters.xml +13 -0
  169. data/test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand.xml +7 -0
  170. data/test/reports/TEST-HammerCLIForeman-Hostgroup.xml +7 -0
  171. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand-parameters.xml +11 -0
  172. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand-resource-disabled.xml +11 -0
  173. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand.xml +7 -0
  174. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-parameters.xml +13 -0
  175. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-resource-disabled.xml +11 -0
  176. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand.xml +7 -0
  177. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-output.xml +17 -0
  178. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-parameters.xml +13 -0
  179. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-resource-disabled.xml +11 -0
  180. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand.xml +7 -0
  181. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-output.xml +13 -0
  182. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-parameters.xml +17 -0
  183. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-resource-disabled.xml +11 -0
  184. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand.xml +7 -0
  185. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-parameters.xml +15 -0
  186. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-resource-disabled.xml +11 -0
  187. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand.xml +7 -0
  188. data/test/reports/TEST-HammerCLIForeman-Location.xml +7 -0
  189. data/test/reports/TEST-HammerCLIForeman-Medium-CreateCommand-parameters.xml +13 -0
  190. data/test/reports/TEST-HammerCLIForeman-Medium-CreateCommand.xml +7 -0
  191. data/test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand-parameters.xml +13 -0
  192. data/test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand.xml +7 -0
  193. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-output.xml +23 -0
  194. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-parameters.xml +13 -0
  195. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand.xml +7 -0
  196. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand-output.xml +15 -0
  197. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand-parameters.xml +17 -0
  198. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand.xml +7 -0
  199. data/test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand-parameters.xml +17 -0
  200. data/test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand.xml +7 -0
  201. data/test/reports/TEST-HammerCLIForeman-Medium.xml +7 -0
  202. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand-parameters.xml +11 -0
  203. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand.xml +7 -0
  204. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand-parameters.xml +13 -0
  205. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand.xml +7 -0
  206. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand-parameters.xml +13 -0
  207. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand.xml +7 -0
  208. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-output.xml +27 -0
  209. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-parameters.xml +13 -0
  210. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand.xml +7 -0
  211. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-output.xml +17 -0
  212. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-parameters.xml +17 -0
  213. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand.xml +7 -0
  214. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand-parameters.xml +15 -0
  215. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand.xml +7 -0
  216. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand-parameters.xml +17 -0
  217. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand.xml +7 -0
  218. data/test/reports/TEST-HammerCLIForeman-OperatingSystem.xml +7 -0
  219. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-parameters.xml +11 -0
  220. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-resource-disabled.xml +11 -0
  221. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand.xml +7 -0
  222. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-parameters.xml +13 -0
  223. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-resource-disabled.xml +11 -0
  224. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand.xml +7 -0
  225. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-output.xml +17 -0
  226. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-parameters.xml +13 -0
  227. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-resource-disabled.xml +11 -0
  228. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand.xml +7 -0
  229. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-output.xml +13 -0
  230. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-parameters.xml +17 -0
  231. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-resource-disabled.xml +11 -0
  232. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand.xml +7 -0
  233. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-parameters.xml +15 -0
  234. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-resource-disabled.xml +11 -0
  235. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand.xml +7 -0
  236. data/test/reports/TEST-HammerCLIForeman-Organization.xml +7 -0
  237. data/test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand-parameters.xml +13 -0
  238. data/test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand.xml +7 -0
  239. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand-parameters.xml +13 -0
  240. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand.xml +7 -0
  241. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand-parameters.xml +15 -0
  242. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand.xml +7 -0
  243. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-output.xml +19 -0
  244. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-parameters.xml +13 -0
  245. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand.xml +7 -0
  246. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-output.xml +15 -0
  247. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-parameters.xml +17 -0
  248. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand.xml +7 -0
  249. data/test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand-parameters.xml +13 -0
  250. data/test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand.xml +7 -0
  251. data/test/reports/TEST-HammerCLIForeman-PartitionTable.xml +7 -0
  252. data/test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand-parameters.xml +13 -0
  253. data/test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand.xml +7 -0
  254. data/test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand-parameters.xml +13 -0
  255. data/test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand.xml +7 -0
  256. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-output.xml +21 -0
  257. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-parameters.xml +13 -0
  258. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand.xml +7 -0
  259. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-output.xml +15 -0
  260. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-parameters.xml +11 -0
  261. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand.xml +7 -0
  262. data/test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand-parameters.xml +15 -0
  263. data/test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand.xml +7 -0
  264. data/test/reports/TEST-HammerCLIForeman-SmartProxy.xml +7 -0
  265. data/test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand-parameters.xml +15 -0
  266. data/test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand.xml +7 -0
  267. data/test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand-parameters.xml +13 -0
  268. data/test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand.xml +7 -0
  269. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-output.xml +43 -0
  270. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-parameters.xml +13 -0
  271. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand.xml +7 -0
  272. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-output.xml +17 -0
  273. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-parameters.xml +17 -0
  274. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand.xml +7 -0
  275. data/test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand-parameters.xml +15 -0
  276. data/test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand.xml +7 -0
  277. data/test/reports/TEST-HammerCLIForeman-Subnet.xml +7 -0
  278. data/test/reports/TEST-HammerCLIForeman-Template-CreateCommand-parameters.xml +15 -0
  279. data/test/reports/TEST-HammerCLIForeman-Template-CreateCommand.xml +7 -0
  280. data/test/reports/TEST-HammerCLIForeman-Template-DeleteCommand-parameters.xml +11 -0
  281. data/test/reports/TEST-HammerCLIForeman-Template-DeleteCommand.xml +7 -0
  282. data/test/reports/TEST-HammerCLIForeman-Template-DumpCommand-parameters.xml +12 -0
  283. data/test/reports/TEST-HammerCLIForeman-Template-DumpCommand.xml +7 -0
  284. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand-output.xml +17 -0
  285. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand-parameters.xml +11 -0
  286. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand.xml +7 -0
  287. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand-output.xml +15 -0
  288. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand-parameters.xml +17 -0
  289. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand.xml +7 -0
  290. data/test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand-parameters.xml +9 -0
  291. data/test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand.xml +7 -0
  292. data/test/reports/TEST-HammerCLIForeman-Template-UpdateCommand-parameters.xml +11 -0
  293. data/test/reports/TEST-HammerCLIForeman-Template-UpdateCommand.xml +7 -0
  294. data/test/reports/TEST-HammerCLIForeman-Template.xml +7 -0
  295. data/test/reports/TEST-HammerCLIForeman-User-CreateCommand-parameters.xml +19 -0
  296. data/test/reports/TEST-HammerCLIForeman-User-CreateCommand.xml +7 -0
  297. data/test/reports/TEST-HammerCLIForeman-User-DeleteCommand-parameters.xml +11 -0
  298. data/test/reports/TEST-HammerCLIForeman-User-DeleteCommand.xml +7 -0
  299. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand-output.xml +23 -0
  300. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand-parameters.xml +11 -0
  301. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand.xml +7 -0
  302. data/test/reports/TEST-HammerCLIForeman-User-ListCommand-output.xml +17 -0
  303. data/test/reports/TEST-HammerCLIForeman-User-ListCommand-parameters.xml +17 -0
  304. data/test/reports/TEST-HammerCLIForeman-User-ListCommand.xml +7 -0
  305. data/test/reports/TEST-HammerCLIForeman-User-UpdateCommand-parameters.xml +11 -0
  306. data/test/reports/TEST-HammerCLIForeman-User-UpdateCommand.xml +7 -0
  307. data/test/reports/TEST-HammerCLIForeman-User.xml +7 -0
  308. data/test/reports/TEST-MiniTest-Spec.xml +7 -0
  309. data/test/unit/api/interactive_basic_auth_test.rb +20 -1
  310. data/test/unit/api/session_authenticator_wrapper_test.rb +23 -8
  311. data/test/unit/api/void_auth_test.rb +11 -0
  312. data/test/unit/commands_test.rb +1 -1
  313. data/test/unit/exception_handler_test.rb +24 -3
  314. data/test/unit/helpers/command.rb +6 -2
  315. data/test/unit/host_test.rb +2 -2
  316. data/test/unit/hostgroup_test.rb +5 -3
  317. data/test/unit/id_resolver_test.rb +53 -5
  318. data/test/unit/media_test.rb +2 -2
  319. data/test/unit/option_sources/id_params_test.rb +30 -0
  320. data/test/unit/option_sources/ids_params_test.rb +30 -0
  321. data/test/unit/output/formatters_test.rb +4 -0
  322. data/test/unit/smart_class_parameter_test.rb +4 -4
  323. data/test/unit/smart_variable_test.rb +2 -2
  324. data/test/unit/user_test.rb +1 -2
  325. metadata +569 -69
@@ -24,7 +24,7 @@ describe HammerCLIForeman::Hostgroup do
24
24
 
25
25
  it_should_print_n_records
26
26
  it_should_print_columns ["Id", "Name", "Title", "Operating System"]
27
- it_should_print_columns ["Environment", "Model"]
27
+ it_should_print_columns ["Puppet Environment", "Model"]
28
28
  end
29
29
 
30
30
  end
@@ -41,9 +41,11 @@ describe HammerCLIForeman::Hostgroup do
41
41
  context "output" do
42
42
  with_params ["--id=1"] do
43
43
  it_should_print_n_records 1
44
- it_should_print_columns ["Id", "Name", "Title", "Operating System", "Subnet"]
45
- it_should_print_columns ["Domain", "Environment", "Puppetclasses", "Parent Id"]
44
+ it_should_print_columns ["Id", "Name", "Title", "Operating System"]
45
+ it_should_print_columns ["Puppet Environment", "Puppetclasses", "Parent"]
46
+ it_should_print_columns ["Puppet CA Proxy", "Puppet Master Proxy"]
46
47
  it_should_print_columns ["Parameters", "Description"]
48
+ it_should_print_columns ["Network", "Operating system"]
47
49
  end
48
50
  end
49
51
 
@@ -46,6 +46,38 @@ describe HammerCLIForeman::IdResolver do
46
46
  resolver.scoped_options("organization", scoped).must_equal(unscoped)
47
47
  end
48
48
 
49
+ let(:scoped_multi) {{
50
+ "option_id" => 1,
51
+ "option_organization_id" => 2,
52
+ "option_organization_ids" => 3,
53
+ "option_organization_name" => "ACME",
54
+ "option_organization_names" => "Corp",
55
+ "option_a" => :value
56
+ }}
57
+
58
+ it "unscopes the right options in single mode" do
59
+ unscoped = {
60
+ "option_id" => 2,
61
+ "option_organization_ids" => 3,
62
+ "option_organization_names" => "Corp",
63
+ "option_name" => "ACME",
64
+ "option_a" => :value
65
+ }
66
+ resolver.scoped_options("organization", scoped_multi, :single).must_equal(unscoped)
67
+ end
68
+
69
+ it "unscopes the right options in multi mode" do
70
+ unscoped = {
71
+ "option_id" => 1,
72
+ "option_organization_id" => 2,
73
+ "option_ids" => 3,
74
+ "option_organization_name" => "ACME",
75
+ "option_names" => "Corp",
76
+ "option_a" => :value
77
+ }
78
+ resolver.scoped_options("organization", scoped_multi, :multi).must_equal(unscoped)
79
+ end
80
+
49
81
  it "does not change the original options" do
50
82
  scoped = {
51
83
  "option_id" => 1,
@@ -82,7 +114,7 @@ describe HammerCLIForeman::IdResolver do
82
114
 
83
115
  it "builds correct error message" do
84
116
  err = resolver_run.must_raise HammerCLIForeman::MissingSearchOptions
85
- err.message.must_equal "Missing options to search comment"
117
+ err.message.must_equal "Missing options to search comment."
86
118
  end
87
119
  end
88
120
 
@@ -93,14 +125,14 @@ describe HammerCLIForeman::IdResolver do
93
125
  ResourceMocks.mock_action_call(:users, :index, [])
94
126
 
95
127
  err = resolver_run.must_raise HammerCLIForeman::ResolverError
96
- err.message.must_equal "user not found"
128
+ err.message.must_equal "user not found."
97
129
  end
98
130
 
99
131
  it "raises exception when multiple resources are found" do
100
132
  ResourceMocks.mock_action_call(:users, :index, [john, jane])
101
133
 
102
134
  err = resolver_run.must_raise HammerCLIForeman::ResolverError
103
- err.message.must_equal "found more than one user"
135
+ err.message.must_equal "Found more than one user."
104
136
  end
105
137
 
106
138
  it "calls index action with appropriate search params" do
@@ -119,6 +151,10 @@ describe HammerCLIForeman::IdResolver do
119
151
  resolver.user_id({"option_id" => 83, "option_name" => "John Doe"}).must_equal 83
120
152
  end
121
153
 
154
+ it "returns NIL when the search name is NIL" do
155
+ resolver.user_id({"option_name" => HammerCLI::NilValue}).must_equal HammerCLI::NilValue
156
+ end
157
+
122
158
  it "returns id of the resource" do
123
159
  ResourceMocks.mock_action_call(:users, :index, [john])
124
160
 
@@ -135,7 +171,7 @@ describe HammerCLIForeman::IdResolver do
135
171
  ResourceMocks.mock_action_call(:users, :index, [])
136
172
 
137
173
  err = resolver_run.must_raise HammerCLIForeman::ResolverError
138
- err.message.must_equal "user not found"
174
+ err.message.must_equal "user not found."
139
175
  end
140
176
 
141
177
  it "raises exception when multiple resources are found" do
@@ -143,7 +179,7 @@ describe HammerCLIForeman::IdResolver do
143
179
  ResourceMocks.mock_action_call(:users, :index, [john, jane])
144
180
 
145
181
  err = resolver_run.must_raise HammerCLIForeman::ResolverError
146
- err.message.must_equal "found more than one user"
182
+ err.message.must_equal "Found more than one user."
147
183
  end
148
184
 
149
185
  it "calls index action with appropriate search params" do
@@ -225,11 +261,23 @@ describe HammerCLIForeman::IdResolver do
225
261
  end
226
262
  end
227
263
 
264
+ it "raises exception when no search options were set" do
265
+ ResourceMocks.mock_action_call(:users, :index, [john])
266
+
267
+ assert_raises HammerCLIForeman::MissingSearchOptions do
268
+ resolver.user_ids({})
269
+ end
270
+ end
271
+
228
272
  it "returns empty array for empty input" do
229
273
  ResourceMocks.mock_action_call(:users, :index, [john, jane])
230
274
 
231
275
  assert_equal [], resolver.user_ids({"option_names" => []})
232
276
  end
277
+
278
+ it "returns NilValue when the search name is NilValue" do
279
+ resolver.user_ids({"option_names" => HammerCLI::NilValue}).must_equal HammerCLI::NilValue
280
+ end
233
281
  end
234
282
  end
235
283
  end
@@ -66,7 +66,7 @@ describe HammerCLIForeman::Medium do
66
66
  end
67
67
 
68
68
  with_params ["--name=medium_x", "--path=http://some.path/", "--operatingsystem-ids=1,2"] do
69
- it_should_call_action :create, {'medium' => {'name' => 'medium_x', 'path' => 'http://some.path/', 'operatingsystem_ids' => [1]}}
69
+ it_should_call_action :create, {'medium' => {'name' => 'medium_x', 'path' => 'http://some.path/', 'operatingsystem_ids' => ['1','2']}}
70
70
  end
71
71
  end
72
72
 
@@ -95,7 +95,7 @@ describe HammerCLIForeman::Medium do
95
95
  end
96
96
 
97
97
  with_params ["--id=1", "--new-name=medium_x", "--path=http://some.path/", "--operatingsystem-ids=1,2"] do
98
- it_should_call_action :update, {'id' => '1', 'name' => 'medium_x', 'medium' => {'name' => 'medium_x', 'path' => 'http://some.path/', 'operatingsystem_ids' => [1]}}
98
+ it_should_call_action :update, {'id' => '1', 'name' => 'medium_x', 'medium' => {'name' => 'medium_x', 'path' => 'http://some.path/', 'operatingsystem_ids' => ['1','2']}}
99
99
  end
100
100
 
101
101
  end
@@ -0,0 +1,30 @@
1
+ require File.join(File.dirname(__FILE__), '../test_helper')
2
+
3
+ describe HammerCLIForeman::OptionSources::IdParams do
4
+ describe "get_options" do
5
+ class IdParamsTestCommand < HammerCLIForeman::CreateCommand
6
+ resource :hostgroups
7
+ build_options
8
+ end
9
+
10
+ let(:hg_cmd) { IdParamsTestCommand.new("", { :adapter => :csv, :interactive => false }) }
11
+ let(:id_params_source) { HammerCLIForeman::OptionSources::IdParams.new(hg_cmd) }
12
+
13
+ it "skips param when set" do
14
+ hg_cmd.stubs(:get_resource_id).returns(nil)
15
+ hg_cmd.expects(:get_resource_id).with { |res| res.name == :domains }.never
16
+ option_data = { 'option_domain_id' => 3, 'option_domain_name' => 'test' }
17
+ params = id_params_source.get_options([], option_data)
18
+ params.must_equal option_data
19
+ end
20
+
21
+ it "resolves param when unset" do
22
+ hg_cmd.stubs(:get_resource_id).returns(nil)
23
+ hg_cmd.expects(:get_resource_id).with { |res| res.name == :domains }.returns(1)
24
+ option_data = { 'option_domain_id' => nil, 'option_domain_name' => 'test' }
25
+ expected_data = { 'option_domain_id' => 1, 'option_domain_name' => 'test' }
26
+ params = id_params_source.get_options([], option_data)
27
+ params.must_equal expected_data
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,30 @@
1
+ require File.join(File.dirname(__FILE__), '../test_helper')
2
+
3
+ describe HammerCLIForeman::OptionSources::IdsParams do
4
+ describe "get_options" do
5
+ class IdsParamsTestCommand < HammerCLIForeman::CreateCommand
6
+ resource :users
7
+ build_options
8
+ end
9
+
10
+ let(:cmd) { IdsParamsTestCommand.new("", { :adapter => :csv, :interactive => false }) }
11
+ let(:ids_params_source) { HammerCLIForeman::OptionSources::IdsParams.new(cmd) }
12
+
13
+ it "skips param when set" do
14
+ cmd.stubs(:get_resource_ids).returns(nil)
15
+ cmd.expects(:get_resource_ids).with { |res| res.name == :locations }.never
16
+ option_data = { 'option_location_ids' => [3], 'option_location_names' => 'test' }
17
+ params = ids_params_source.get_options([], option_data)
18
+ params.must_equal option_data
19
+ end
20
+
21
+ it "resolves param when unset" do
22
+ cmd.stubs(:get_resource_ids).returns(nil)
23
+ cmd.expects(:get_resource_ids).with { |res| res.name == :locations }.returns([1])
24
+ option_data = { 'option_location_ids' => nil, 'option_location_names' => 'test' }
25
+ expected_data = { 'option_location_ids' => [1], 'option_location_names' => 'test' }
26
+ params = ids_params_source.get_options([], option_data)
27
+ params.must_equal expected_data
28
+ end
29
+ end
30
+ end
@@ -100,6 +100,10 @@ describe HammerCLIForeman::Output::Formatters::ReferenceFormatter do
100
100
  options = {:context => {:show_ids => true}, :details => [:url, :desc]}
101
101
  formatter.format(reference_sym_keys, options).must_equal 'Server (URL, Description, id: 1)'
102
102
  end
103
+
104
+ it "handles empty string properly" do
105
+ formatter.format("", {}).must_equal ""
106
+ end
103
107
  end
104
108
 
105
109
  context "with string keys" do
@@ -88,9 +88,9 @@ describe HammerCLIForeman::SmartClassParameter do
88
88
 
89
89
  end
90
90
 
91
- context "AddOverrideValueCommand" do
91
+ context "AddMatcherCommand" do
92
92
 
93
- let(:cmd) { HammerCLIForeman::SmartClassParameter::AddOverrideValueCommand.new("", ctx) }
93
+ let(:cmd) { HammerCLIForeman::SmartClassParameter::AddMatcherCommand.new("", ctx) }
94
94
 
95
95
  context "parameters" do
96
96
  it_should_accept "smart-class-parametr-id, match, value", ["--smart-class-parameter-id=1", "--match='domain=my.lan'", "--value=1"]
@@ -99,9 +99,9 @@ describe HammerCLIForeman::SmartClassParameter do
99
99
  end
100
100
  end
101
101
 
102
- context "RemoveOverrideValueCommand" do
102
+ context "RemoveMatcherCommand" do
103
103
 
104
- let(:cmd) { HammerCLIForeman::SmartClassParameter::RemoveOverrideValueCommand.new("", ctx) }
104
+ let(:cmd) { HammerCLIForeman::SmartClassParameter::RemoveMatcherCommand.new("", ctx) }
105
105
 
106
106
  context "parameters" do
107
107
  it_should_accept "smart-class-parametr-id, id", ["--smart-class-parameter-id=1", "--id=1"]
@@ -107,7 +107,7 @@ describe HammerCLIForeman::SmartVariable do
107
107
 
108
108
  context "AddOverrideValueCommand" do
109
109
 
110
- let(:cmd) { HammerCLIForeman::SmartVariable::AddOverrideValueCommand.new("", ctx) }
110
+ let(:cmd) { HammerCLIForeman::SmartVariable::AddMatcherCommand.new("", ctx) }
111
111
 
112
112
  context "parameters" do
113
113
  it_should_accept "match, value and smart-variable-id", ["--match='environment=Dev'","--value=5","--smart-variable-id=1"]
@@ -119,7 +119,7 @@ describe HammerCLIForeman::SmartVariable do
119
119
 
120
120
  context "RemoveOverrideValueCommand" do
121
121
 
122
- let(:cmd) { HammerCLIForeman::SmartVariable::RemoveOverrideValueCommand.new("", ctx) }
122
+ let(:cmd) { HammerCLIForeman::SmartVariable::RemoveMatcherCommand.new("", ctx) }
123
123
 
124
124
  context "parameters" do
125
125
  it_should_accept "id and smart-variable-id", ["--id=1","--smart-variable-id=1"]
@@ -89,12 +89,11 @@ describe HammerCLIForeman::User do
89
89
  let(:cmd) { cmd_module::UpdateCommand.new("", ctx) }
90
90
 
91
91
  before :each do
92
- HammerCLIForeman::User::CommonUpdateOptions.stubs(:ask_password).returns("password")
92
+ HammerCLIForeman::OptionSources::UserParams.any_instance.stubs(:ask_password).returns("password")
93
93
  end
94
94
 
95
95
  context "parameters" do
96
96
  it_should_accept "password and current password interactively", ["--login=jane", "--ask-password=true"]
97
- it_should_fail_with "password change interactively with wrong current password", ["--login=jane","--ask-password=true", "--current-password=wrongpassword" ]
98
97
  it_should_accept "id", ["--id=1"]
99
98
  it_should_accept "login", ["--login=admin"]
100
99
  # it_should_fail_with "no params", [] # TODO: temporarily disabled, parameters are checked in the id resolver
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_foreman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomáš Strachota
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-01 00:00:00.000000000 Z
12
+ date: 2018-02-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hammer_cli
@@ -17,28 +17,28 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 0.11.0
20
+ version: 0.12.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: 0.11.0
27
+ version: 0.12.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: apipie-bindings
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: 0.2.0
34
+ version: 0.2.2
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: 0.2.0
41
+ version: 0.2.2
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rest-client
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -66,14 +66,14 @@ email: tstracho@redhat.com
66
66
  executables: []
67
67
  extensions: []
68
68
  extra_rdoc_files:
69
- - doc/name_id_resolution.md
70
- - doc/option_builder.md
71
- - doc/using_hammer_cli_foreman_command.md
72
- - doc/host_create.md
73
69
  - doc/configuration.md
74
- - doc/developer_docs.md
75
70
  - doc/release_notes.md
71
+ - doc/developer_docs.md
72
+ - doc/using_hammer_cli_foreman_command.md
73
+ - doc/option_builder.md
74
+ - doc/name_id_resolution.md
76
75
  - doc/testing.md
76
+ - doc/host_create.md
77
77
  - README.md
78
78
  files:
79
79
  - LICENSE
@@ -139,6 +139,11 @@ files:
139
139
  - lib/hammer_cli_foreman/model.rb
140
140
  - lib/hammer_cli_foreman/operating_system.rb
141
141
  - lib/hammer_cli_foreman/option_builders.rb
142
+ - lib/hammer_cli_foreman/option_sources.rb
143
+ - lib/hammer_cli_foreman/option_sources/id_params.rb
144
+ - lib/hammer_cli_foreman/option_sources/ids_params.rb
145
+ - lib/hammer_cli_foreman/option_sources/self_param.rb
146
+ - lib/hammer_cli_foreman/option_sources/user_params.rb
142
147
  - lib/hammer_cli_foreman/organization.rb
143
148
  - lib/hammer_cli_foreman/output.rb
144
149
  - lib/hammer_cli_foreman/output/fields.rb
@@ -156,6 +161,7 @@ files:
156
161
  - lib/hammer_cli_foreman/smart_class_parameter.rb
157
162
  - lib/hammer_cli_foreman/smart_proxy.rb
158
163
  - lib/hammer_cli_foreman/smart_variable.rb
164
+ - lib/hammer_cli_foreman/ssh_keys.rb
159
165
  - lib/hammer_cli_foreman/subnet.rb
160
166
  - lib/hammer_cli_foreman/template.rb
161
167
  - lib/hammer_cli_foreman/testing/api_expectations.rb
@@ -180,8 +186,10 @@ files:
180
186
  - test/data/1.14/_foreman_api.json
181
187
  - test/data/1.14/foreman_api.json
182
188
  - test/data/1.15/foreman_api.json
189
+ - test/data/1.16/foreman_api.json
183
190
  - test/data/README.md
184
191
  - test/functional/commands/list_test.rb
192
+ - test/functional/compute_resource_test.rb
185
193
  - test/functional/filter_test.rb
186
194
  - test/functional/host_test.rb
187
195
  - test/functional/hostgroup/create_test.rb
@@ -191,12 +199,255 @@ files:
191
199
  - test/functional/role_test.rb
192
200
  - test/functional/smart_class_parameter_test.rb
193
201
  - test/functional/smart_variable_test.rb
202
+ - test/functional/ssh_keys_test.rb
194
203
  - test/functional/template_test.rb
195
204
  - test/functional/test_helper.rb
196
205
  - test/functional/user_test.rb
206
+ - test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand-parameters.xml
207
+ - test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand.xml
208
+ - test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand-parameters.xml
209
+ - test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand.xml
210
+ - test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-output.xml
211
+ - test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-parameters.xml
212
+ - test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand.xml
213
+ - test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-output.xml
214
+ - test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-parameters.xml
215
+ - test/reports/TEST-HammerCLIForeman-Architecture-ListCommand.xml
216
+ - test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand-parameters.xml
217
+ - test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand.xml
218
+ - test/reports/TEST-HammerCLIForeman-Architecture.xml
219
+ - test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand-parameters.xml
220
+ - test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand.xml
221
+ - test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-output.xml
222
+ - test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-parameters.xml
223
+ - test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand.xml
224
+ - test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand-parameters.xml
225
+ - test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand.xml
226
+ - test/reports/TEST-HammerCLIForeman-CommonParameter.xml
227
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand-parameters.xml
228
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand.xml
229
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand-parameters.xml
230
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand.xml
231
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-output.xml
232
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-parameters.xml
233
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand.xml
234
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-output.xml
235
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-parameters.xml
236
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand.xml
237
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand-parameters.xml
238
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand.xml
239
+ - test/reports/TEST-HammerCLIForeman-ComputeResource.xml
240
+ - test/reports/TEST-HammerCLIForeman-Domain-CreateCommand-parameters.xml
241
+ - test/reports/TEST-HammerCLIForeman-Domain-CreateCommand.xml
242
+ - test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand-parameters.xml
243
+ - test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand.xml
244
+ - test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand-parameters.xml
245
+ - test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand.xml
246
+ - test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-output.xml
247
+ - test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-parameters.xml
248
+ - test/reports/TEST-HammerCLIForeman-Domain-InfoCommand.xml
249
+ - test/reports/TEST-HammerCLIForeman-Domain-ListCommand-output.xml
250
+ - test/reports/TEST-HammerCLIForeman-Domain-ListCommand-parameters.xml
251
+ - test/reports/TEST-HammerCLIForeman-Domain-ListCommand.xml
252
+ - test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand-parameters.xml
253
+ - test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand.xml
254
+ - test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand-parameters.xml
255
+ - test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand.xml
256
+ - test/reports/TEST-HammerCLIForeman-Domain.xml
257
+ - test/reports/TEST-HammerCLIForeman-Environment-CreateCommand-parameters.xml
258
+ - test/reports/TEST-HammerCLIForeman-Environment-CreateCommand.xml
259
+ - test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand-parameters.xml
260
+ - test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand.xml
261
+ - test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-output.xml
262
+ - test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-parameters.xml
263
+ - test/reports/TEST-HammerCLIForeman-Environment-InfoCommand.xml
264
+ - test/reports/TEST-HammerCLIForeman-Environment-ListCommand-output.xml
265
+ - test/reports/TEST-HammerCLIForeman-Environment-ListCommand-parameters.xml
266
+ - test/reports/TEST-HammerCLIForeman-Environment-ListCommand.xml
267
+ - test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand-parameters.xml
268
+ - test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand.xml
269
+ - test/reports/TEST-HammerCLIForeman-Environment.xml
270
+ - test/reports/TEST-HammerCLIForeman-ExceptionHandler.xml
271
+ - test/reports/TEST-HammerCLIForeman-Host-CreateCommand-parameters.xml
272
+ - test/reports/TEST-HammerCLIForeman-Host-CreateCommand.xml
273
+ - test/reports/TEST-HammerCLIForeman-Host-DeleteCommand-parameters.xml
274
+ - test/reports/TEST-HammerCLIForeman-Host-DeleteCommand.xml
275
+ - test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand-parameters.xml
276
+ - test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand.xml
277
+ - test/reports/TEST-HammerCLIForeman-Host-InfoCommand-output.xml
278
+ - test/reports/TEST-HammerCLIForeman-Host-InfoCommand-parameters.xml
279
+ - test/reports/TEST-HammerCLIForeman-Host-InfoCommand.xml
280
+ - test/reports/TEST-HammerCLIForeman-Host-ListCommand-output.xml
281
+ - test/reports/TEST-HammerCLIForeman-Host-ListCommand-parameters.xml
282
+ - test/reports/TEST-HammerCLIForeman-Host-ListCommand.xml
283
+ - test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand-output.xml
284
+ - test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand.xml
285
+ - test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand-parameters.xml
286
+ - test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand.xml
287
+ - test/reports/TEST-HammerCLIForeman-Host-StatusCommand-output.xml
288
+ - test/reports/TEST-HammerCLIForeman-Host-StatusCommand.xml
289
+ - test/reports/TEST-HammerCLIForeman-Host-UpdateCommand-parameters.xml
290
+ - test/reports/TEST-HammerCLIForeman-Host-UpdateCommand.xml
291
+ - test/reports/TEST-HammerCLIForeman-Host.xml
292
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand-parameters.xml
293
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand.xml
294
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand-parameters.xml
295
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand.xml
296
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand-parameters.xml
297
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand.xml
298
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-output.xml
299
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-parameters.xml
300
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand.xml
301
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-output.xml
302
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-parameters.xml
303
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand.xml
304
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand-parameters.xml
305
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand.xml
306
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand-parameters.xml
307
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand.xml
308
+ - test/reports/TEST-HammerCLIForeman-Hostgroup.xml
309
+ - test/reports/TEST-HammerCLIForeman-Location-CreateCommand-parameters.xml
310
+ - test/reports/TEST-HammerCLIForeman-Location-CreateCommand-resource-disabled.xml
311
+ - test/reports/TEST-HammerCLIForeman-Location-CreateCommand.xml
312
+ - test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-parameters.xml
313
+ - test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-resource-disabled.xml
314
+ - test/reports/TEST-HammerCLIForeman-Location-DeleteCommand.xml
315
+ - test/reports/TEST-HammerCLIForeman-Location-InfoCommand-output.xml
316
+ - test/reports/TEST-HammerCLIForeman-Location-InfoCommand-parameters.xml
317
+ - test/reports/TEST-HammerCLIForeman-Location-InfoCommand-resource-disabled.xml
318
+ - test/reports/TEST-HammerCLIForeman-Location-InfoCommand.xml
319
+ - test/reports/TEST-HammerCLIForeman-Location-ListCommand-output.xml
320
+ - test/reports/TEST-HammerCLIForeman-Location-ListCommand-parameters.xml
321
+ - test/reports/TEST-HammerCLIForeman-Location-ListCommand-resource-disabled.xml
322
+ - test/reports/TEST-HammerCLIForeman-Location-ListCommand.xml
323
+ - test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-parameters.xml
324
+ - test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-resource-disabled.xml
325
+ - test/reports/TEST-HammerCLIForeman-Location-UpdateCommand.xml
326
+ - test/reports/TEST-HammerCLIForeman-Location.xml
327
+ - test/reports/TEST-HammerCLIForeman-Medium-CreateCommand-parameters.xml
328
+ - test/reports/TEST-HammerCLIForeman-Medium-CreateCommand.xml
329
+ - test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand-parameters.xml
330
+ - test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand.xml
331
+ - test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-output.xml
332
+ - test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-parameters.xml
333
+ - test/reports/TEST-HammerCLIForeman-Medium-InfoCommand.xml
334
+ - test/reports/TEST-HammerCLIForeman-Medium-ListCommand-output.xml
335
+ - test/reports/TEST-HammerCLIForeman-Medium-ListCommand-parameters.xml
336
+ - test/reports/TEST-HammerCLIForeman-Medium-ListCommand.xml
337
+ - test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand-parameters.xml
338
+ - test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand.xml
339
+ - test/reports/TEST-HammerCLIForeman-Medium.xml
340
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand-parameters.xml
341
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand.xml
342
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand-parameters.xml
343
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand.xml
344
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand-parameters.xml
345
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand.xml
346
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-output.xml
347
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-parameters.xml
348
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand.xml
349
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-output.xml
350
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-parameters.xml
351
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand.xml
352
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand-parameters.xml
353
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand.xml
354
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand-parameters.xml
355
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand.xml
356
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem.xml
357
+ - test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-parameters.xml
358
+ - test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-resource-disabled.xml
359
+ - test/reports/TEST-HammerCLIForeman-Organization-CreateCommand.xml
360
+ - test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-parameters.xml
361
+ - test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-resource-disabled.xml
362
+ - test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand.xml
363
+ - test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-output.xml
364
+ - test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-parameters.xml
365
+ - test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-resource-disabled.xml
366
+ - test/reports/TEST-HammerCLIForeman-Organization-InfoCommand.xml
367
+ - test/reports/TEST-HammerCLIForeman-Organization-ListCommand-output.xml
368
+ - test/reports/TEST-HammerCLIForeman-Organization-ListCommand-parameters.xml
369
+ - test/reports/TEST-HammerCLIForeman-Organization-ListCommand-resource-disabled.xml
370
+ - test/reports/TEST-HammerCLIForeman-Organization-ListCommand.xml
371
+ - test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-parameters.xml
372
+ - test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-resource-disabled.xml
373
+ - test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand.xml
374
+ - test/reports/TEST-HammerCLIForeman-Organization.xml
375
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand-parameters.xml
376
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand.xml
377
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand-parameters.xml
378
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand.xml
379
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand-parameters.xml
380
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand.xml
381
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-output.xml
382
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-parameters.xml
383
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand.xml
384
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-output.xml
385
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-parameters.xml
386
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand.xml
387
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand-parameters.xml
388
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand.xml
389
+ - test/reports/TEST-HammerCLIForeman-PartitionTable.xml
390
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand-parameters.xml
391
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand.xml
392
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand-parameters.xml
393
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand.xml
394
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-output.xml
395
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-parameters.xml
396
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand.xml
397
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-output.xml
398
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-parameters.xml
399
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand.xml
400
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand-parameters.xml
401
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand.xml
402
+ - test/reports/TEST-HammerCLIForeman-SmartProxy.xml
403
+ - test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand-parameters.xml
404
+ - test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand.xml
405
+ - test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand-parameters.xml
406
+ - test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand.xml
407
+ - test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-output.xml
408
+ - test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-parameters.xml
409
+ - test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand.xml
410
+ - test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-output.xml
411
+ - test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-parameters.xml
412
+ - test/reports/TEST-HammerCLIForeman-Subnet-ListCommand.xml
413
+ - test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand-parameters.xml
414
+ - test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand.xml
415
+ - test/reports/TEST-HammerCLIForeman-Subnet.xml
416
+ - test/reports/TEST-HammerCLIForeman-Template-CreateCommand-parameters.xml
417
+ - test/reports/TEST-HammerCLIForeman-Template-CreateCommand.xml
418
+ - test/reports/TEST-HammerCLIForeman-Template-DeleteCommand-parameters.xml
419
+ - test/reports/TEST-HammerCLIForeman-Template-DeleteCommand.xml
420
+ - test/reports/TEST-HammerCLIForeman-Template-DumpCommand-parameters.xml
421
+ - test/reports/TEST-HammerCLIForeman-Template-DumpCommand.xml
422
+ - test/reports/TEST-HammerCLIForeman-Template-InfoCommand-output.xml
423
+ - test/reports/TEST-HammerCLIForeman-Template-InfoCommand-parameters.xml
424
+ - test/reports/TEST-HammerCLIForeman-Template-InfoCommand.xml
425
+ - test/reports/TEST-HammerCLIForeman-Template-ListCommand-output.xml
426
+ - test/reports/TEST-HammerCLIForeman-Template-ListCommand-parameters.xml
427
+ - test/reports/TEST-HammerCLIForeman-Template-ListCommand.xml
428
+ - test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand-parameters.xml
429
+ - test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand.xml
430
+ - test/reports/TEST-HammerCLIForeman-Template-UpdateCommand-parameters.xml
431
+ - test/reports/TEST-HammerCLIForeman-Template-UpdateCommand.xml
432
+ - test/reports/TEST-HammerCLIForeman-Template.xml
433
+ - test/reports/TEST-HammerCLIForeman-User-CreateCommand-parameters.xml
434
+ - test/reports/TEST-HammerCLIForeman-User-CreateCommand.xml
435
+ - test/reports/TEST-HammerCLIForeman-User-DeleteCommand-parameters.xml
436
+ - test/reports/TEST-HammerCLIForeman-User-DeleteCommand.xml
437
+ - test/reports/TEST-HammerCLIForeman-User-InfoCommand-output.xml
438
+ - test/reports/TEST-HammerCLIForeman-User-InfoCommand-parameters.xml
439
+ - test/reports/TEST-HammerCLIForeman-User-InfoCommand.xml
440
+ - test/reports/TEST-HammerCLIForeman-User-ListCommand-output.xml
441
+ - test/reports/TEST-HammerCLIForeman-User-ListCommand-parameters.xml
442
+ - test/reports/TEST-HammerCLIForeman-User-ListCommand.xml
443
+ - test/reports/TEST-HammerCLIForeman-User-UpdateCommand-parameters.xml
444
+ - test/reports/TEST-HammerCLIForeman-User-UpdateCommand.xml
445
+ - test/reports/TEST-HammerCLIForeman-User.xml
446
+ - test/reports/TEST-MiniTest-Spec.xml
197
447
  - test/test_helper.rb
198
448
  - test/unit/api/interactive_basic_auth_test.rb
199
449
  - test/unit/api/session_authenticator_wrapper_test.rb
450
+ - test/unit/api/void_auth_test.rb
200
451
  - test/unit/api_test.rb
201
452
  - test/unit/apipie_resource_mock.rb
202
453
  - test/unit/architecture_test.rb
@@ -226,6 +477,8 @@ files:
226
477
  - test/unit/model_test.rb
227
478
  - test/unit/operating_system_test.rb
228
479
  - test/unit/option_builders_test.rb
480
+ - test/unit/option_sources/id_params_test.rb
481
+ - test/unit/option_sources/ids_params_test.rb
229
482
  - test/unit/organization_test.rb
230
483
  - test/unit/output/formatters_test.rb
231
484
  - test/unit/param_filters_test.rb
@@ -263,76 +516,323 @@ required_rubygems_version: !ruby/object:Gem::Requirement
263
516
  version: '0'
264
517
  requirements: []
265
518
  rubyforge_project:
266
- rubygems_version: 2.5.1
519
+ rubygems_version: 2.6.14
267
520
  signing_key:
268
521
  specification_version: 4
269
522
  summary: Foreman commands for Hammer
270
523
  test_files:
271
- - test/data/1.10/foreman_api.json
272
- - test/data/1.11/foreman_api.json
273
- - test/data/README.md
274
- - test/data/1.14/_foreman_api.json
275
- - test/data/1.14/foreman_api.json
276
- - test/data/1.15/foreman_api.json
277
- - test/functional/commands/list_test.rb
278
- - test/functional/location_test.rb
279
- - test/functional/organization_test.rb
280
- - test/functional/smart_class_parameter_test.rb
281
- - test/functional/hostgroup/create_test.rb
282
- - test/functional/hostgroup/update_test.rb
283
- - test/functional/host_test.rb
284
- - test/functional/role_test.rb
285
- - test/functional/test_helper.rb
286
- - test/functional/filter_test.rb
287
- - test/functional/template_test.rb
288
- - test/functional/user_test.rb
289
- - test/functional/smart_variable_test.rb
524
+ - test/reports/TEST-HammerCLIForeman-Host-CreateCommand-parameters.xml
525
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand-parameters.xml
526
+ - test/reports/TEST-HammerCLIForeman-Template-CreateCommand-parameters.xml
527
+ - test/reports/TEST-HammerCLIForeman-Medium-CreateCommand.xml
528
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand.xml
529
+ - test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-resource-disabled.xml
530
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-output.xml
531
+ - test/reports/TEST-HammerCLIForeman-Environment-ListCommand-output.xml
532
+ - test/reports/TEST-HammerCLIForeman-Domain-ListCommand-parameters.xml
533
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand.xml
534
+ - test/reports/TEST-HammerCLIForeman-Environment-CreateCommand.xml
535
+ - test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand.xml
536
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand.xml
537
+ - test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand.xml
538
+ - test/reports/TEST-HammerCLIForeman-Template-ListCommand-parameters.xml
539
+ - test/reports/TEST-HammerCLIForeman-Host-InfoCommand-output.xml
540
+ - test/reports/TEST-HammerCLIForeman-Template-UpdateCommand.xml
541
+ - test/reports/TEST-HammerCLIForeman-Location-UpdateCommand.xml
542
+ - test/reports/TEST-HammerCLIForeman-Template-DumpCommand-parameters.xml
543
+ - test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-parameters.xml
544
+ - test/reports/TEST-HammerCLIForeman-Template.xml
545
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand-parameters.xml
546
+ - test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand.xml
547
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-output.xml
548
+ - test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand-parameters.xml
549
+ - test/reports/TEST-HammerCLIForeman-Medium-CreateCommand-parameters.xml
550
+ - test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand-parameters.xml
551
+ - test/reports/TEST-HammerCLIForeman-Organization-ListCommand-resource-disabled.xml
552
+ - test/reports/TEST-HammerCLIForeman-User-DeleteCommand.xml
553
+ - test/reports/TEST-HammerCLIForeman-Location-DeleteCommand.xml
554
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-parameters.xml
555
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-parameters.xml
556
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-parameters.xml
557
+ - test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-resource-disabled.xml
558
+ - test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-parameters.xml
559
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand.xml
560
+ - test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand-parameters.xml
561
+ - test/reports/TEST-HammerCLIForeman-SmartProxy.xml
562
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand.xml
563
+ - test/reports/TEST-HammerCLIForeman-Architecture-ListCommand.xml
564
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand-parameters.xml
565
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-parameters.xml
566
+ - test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-parameters.xml
567
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand-parameters.xml
568
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand-parameters.xml
569
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand.xml
570
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand.xml
571
+ - test/reports/TEST-MiniTest-Spec.xml
572
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand-parameters.xml
573
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand.xml
574
+ - test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand-parameters.xml
575
+ - test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-parameters.xml
576
+ - test/reports/TEST-HammerCLIForeman-Location-InfoCommand-parameters.xml
577
+ - test/reports/TEST-HammerCLIForeman-Medium-ListCommand.xml
578
+ - test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-output.xml
579
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand.xml
580
+ - test/reports/TEST-HammerCLIForeman-Location-CreateCommand-parameters.xml
581
+ - test/reports/TEST-HammerCLIForeman-Template-InfoCommand-output.xml
582
+ - test/reports/TEST-HammerCLIForeman-Host-InfoCommand.xml
583
+ - test/reports/TEST-HammerCLIForeman-Host-UpdateCommand.xml
584
+ - test/reports/TEST-HammerCLIForeman-Host.xml
585
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand.xml
586
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand-parameters.xml
587
+ - test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand-parameters.xml
588
+ - test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand.xml
589
+ - test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand.xml
590
+ - test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand.xml
591
+ - test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand.xml
592
+ - test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand-output.xml
593
+ - test/reports/TEST-HammerCLIForeman-Environment-CreateCommand-parameters.xml
594
+ - test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-parameters.xml
595
+ - test/reports/TEST-HammerCLIForeman-User-ListCommand-output.xml
596
+ - test/reports/TEST-HammerCLIForeman-Host-ListCommand.xml
597
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand-parameters.xml
598
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-parameters.xml
599
+ - test/reports/TEST-HammerCLIForeman-Organization-ListCommand-parameters.xml
600
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-parameters.xml
601
+ - test/reports/TEST-HammerCLIForeman-Host-CreateCommand.xml
602
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand-parameters.xml
603
+ - test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-output.xml
604
+ - test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand-parameters.xml
605
+ - test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand-parameters.xml
606
+ - test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand.xml
607
+ - test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-parameters.xml
608
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-output.xml
609
+ - test/reports/TEST-HammerCLIForeman-ComputeResource.xml
610
+ - test/reports/TEST-HammerCLIForeman-Domain-ListCommand.xml
611
+ - test/reports/TEST-HammerCLIForeman-Host-DeleteCommand.xml
612
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-output.xml
613
+ - test/reports/TEST-HammerCLIForeman-Medium-ListCommand-output.xml
614
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-output.xml
615
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem.xml
616
+ - test/reports/TEST-HammerCLIForeman-Domain-CreateCommand-parameters.xml
617
+ - test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand-parameters.xml
618
+ - test/reports/TEST-HammerCLIForeman-Domain.xml
619
+ - test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-resource-disabled.xml
620
+ - test/reports/TEST-HammerCLIForeman-Environment-ListCommand-parameters.xml
621
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand-parameters.xml
622
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-output.xml
623
+ - test/reports/TEST-HammerCLIForeman-Location-ListCommand-output.xml
624
+ - test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-output.xml
625
+ - test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand-parameters.xml
626
+ - test/reports/TEST-HammerCLIForeman-Location-InfoCommand.xml
627
+ - test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand-parameters.xml
628
+ - test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-resource-disabled.xml
629
+ - test/reports/TEST-HammerCLIForeman-User-UpdateCommand-parameters.xml
630
+ - test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand-parameters.xml
631
+ - test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand.xml
632
+ - test/reports/TEST-HammerCLIForeman-Location-CreateCommand-resource-disabled.xml
633
+ - test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand.xml
634
+ - test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-output.xml
635
+ - test/reports/TEST-HammerCLIForeman-User.xml
636
+ - test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-output.xml
637
+ - test/reports/TEST-HammerCLIForeman-Template-DumpCommand.xml
638
+ - test/reports/TEST-HammerCLIForeman-Domain-CreateCommand.xml
639
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand.xml
640
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand-parameters.xml
641
+ - test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand.xml
642
+ - test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-output.xml
643
+ - test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand.xml
644
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand.xml
645
+ - test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-parameters.xml
646
+ - test/reports/TEST-HammerCLIForeman-User-DeleteCommand-parameters.xml
647
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand.xml
648
+ - test/reports/TEST-HammerCLIForeman-Organization-InfoCommand.xml
649
+ - test/reports/TEST-HammerCLIForeman-User-UpdateCommand.xml
650
+ - test/reports/TEST-HammerCLIForeman-Organization-ListCommand.xml
651
+ - test/reports/TEST-HammerCLIForeman-Template-InfoCommand.xml
652
+ - test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-output.xml
653
+ - test/reports/TEST-HammerCLIForeman-Subnet-ListCommand.xml
654
+ - test/reports/TEST-HammerCLIForeman-User-CreateCommand-parameters.xml
655
+ - test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-resource-disabled.xml
656
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-output.xml
657
+ - test/reports/TEST-HammerCLIForeman-Medium-ListCommand-parameters.xml
658
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand.xml
659
+ - test/reports/TEST-HammerCLIForeman-Architecture.xml
660
+ - test/reports/TEST-HammerCLIForeman-Template-DeleteCommand-parameters.xml
661
+ - test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-parameters.xml
662
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand.xml
663
+ - test/reports/TEST-HammerCLIForeman-Host-UpdateCommand-parameters.xml
664
+ - test/reports/TEST-HammerCLIForeman-User-InfoCommand.xml
665
+ - test/reports/TEST-HammerCLIForeman-Host-ListCommand-output.xml
666
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-output.xml
667
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand-parameters.xml
668
+ - test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand-parameters.xml
669
+ - test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-parameters.xml
670
+ - test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand-parameters.xml
671
+ - test/reports/TEST-HammerCLIForeman-Location-ListCommand-parameters.xml
672
+ - test/reports/TEST-HammerCLIForeman-Location-ListCommand-resource-disabled.xml
673
+ - test/reports/TEST-HammerCLIForeman-Host-StatusCommand-output.xml
674
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand.xml
675
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand.xml
676
+ - test/reports/TEST-HammerCLIForeman-Environment-InfoCommand.xml
677
+ - test/reports/TEST-HammerCLIForeman-Location-InfoCommand-resource-disabled.xml
678
+ - test/reports/TEST-HammerCLIForeman-Template-CreateCommand.xml
679
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-parameters.xml
680
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand.xml
681
+ - test/reports/TEST-HammerCLIForeman-Template-InfoCommand-parameters.xml
682
+ - test/reports/TEST-HammerCLIForeman-CommonParameter.xml
683
+ - test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand.xml
684
+ - test/reports/TEST-HammerCLIForeman-Subnet.xml
685
+ - test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand-parameters.xml
686
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand.xml
687
+ - test/reports/TEST-HammerCLIForeman-User-CreateCommand.xml
688
+ - test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand.xml
689
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand.xml
690
+ - test/reports/TEST-HammerCLIForeman-Domain-ListCommand-output.xml
691
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-parameters.xml
692
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand.xml
693
+ - test/reports/TEST-HammerCLIForeman-User-ListCommand.xml
694
+ - test/reports/TEST-HammerCLIForeman-User-InfoCommand-parameters.xml
695
+ - test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand.xml
696
+ - test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand.xml
697
+ - test/reports/TEST-HammerCLIForeman-ExceptionHandler.xml
698
+ - test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-parameters.xml
699
+ - test/reports/TEST-HammerCLIForeman-Environment-ListCommand.xml
700
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-output.xml
701
+ - test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-resource-disabled.xml
702
+ - test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand-parameters.xml
703
+ - test/reports/TEST-HammerCLIForeman-Host-InfoCommand-parameters.xml
704
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand.xml
705
+ - test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-output.xml
706
+ - test/reports/TEST-HammerCLIForeman-Organization-ListCommand-output.xml
707
+ - test/reports/TEST-HammerCLIForeman-Location-ListCommand.xml
708
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand-parameters.xml
709
+ - test/reports/TEST-HammerCLIForeman-Medium-InfoCommand.xml
710
+ - test/reports/TEST-HammerCLIForeman-Organization-CreateCommand.xml
711
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand.xml
712
+ - test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand-parameters.xml
713
+ - test/reports/TEST-HammerCLIForeman-Location-InfoCommand-output.xml
714
+ - test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-output.xml
715
+ - test/reports/TEST-HammerCLIForeman-Domain-InfoCommand.xml
716
+ - test/reports/TEST-HammerCLIForeman-Template-UpdateCommand-parameters.xml
717
+ - test/reports/TEST-HammerCLIForeman-User-ListCommand-parameters.xml
718
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand.xml
719
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand.xml
720
+ - test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand.xml
721
+ - test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-parameters.xml
722
+ - test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-parameters.xml
723
+ - test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand-parameters.xml
724
+ - test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand.xml
725
+ - test/reports/TEST-HammerCLIForeman-Host-ListCommand-parameters.xml
726
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand.xml
727
+ - test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand.xml
728
+ - test/reports/TEST-HammerCLIForeman-PartitionTable.xml
729
+ - test/reports/TEST-HammerCLIForeman-Organization.xml
730
+ - test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand.xml
731
+ - test/reports/TEST-HammerCLIForeman-Template-ListCommand.xml
732
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand.xml
733
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-output.xml
734
+ - test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand.xml
735
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand-parameters.xml
736
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand.xml
737
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand-parameters.xml
738
+ - test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand.xml
739
+ - test/reports/TEST-HammerCLIForeman-Location.xml
740
+ - test/reports/TEST-HammerCLIForeman-Template-ListCommand-output.xml
741
+ - test/reports/TEST-HammerCLIForeman-Host-DeleteCommand-parameters.xml
742
+ - test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand.xml
743
+ - test/reports/TEST-HammerCLIForeman-Environment.xml
744
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand-parameters.xml
745
+ - test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand.xml
746
+ - test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand.xml
747
+ - test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-parameters.xml
748
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand-parameters.xml
749
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand.xml
750
+ - test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-parameters.xml
751
+ - test/reports/TEST-HammerCLIForeman-Host-StatusCommand.xml
752
+ - test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand-parameters.xml
753
+ - test/reports/TEST-HammerCLIForeman-Hostgroup.xml
754
+ - test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand-parameters.xml
755
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-parameters.xml
756
+ - test/reports/TEST-HammerCLIForeman-User-InfoCommand-output.xml
757
+ - test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand.xml
758
+ - test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand-parameters.xml
759
+ - test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand-parameters.xml
760
+ - test/reports/TEST-HammerCLIForeman-Location-CreateCommand.xml
761
+ - test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand-parameters.xml
762
+ - test/reports/TEST-HammerCLIForeman-Template-DeleteCommand.xml
763
+ - test/reports/TEST-HammerCLIForeman-Medium.xml
764
+ - test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-parameters.xml
765
+ - test/unit/operating_system_test.rb
766
+ - test/unit/location_test.rb
767
+ - test/unit/environment_test.rb
768
+ - test/unit/common_parameter_test.rb
769
+ - test/unit/image_test.rb
770
+ - test/unit/api/void_auth_test.rb
771
+ - test/unit/api/interactive_basic_auth_test.rb
772
+ - test/unit/api/session_authenticator_wrapper_test.rb
773
+ - test/unit/hostgroup_test.rb
774
+ - test/unit/auth_source_ldap_test.rb
775
+ - test/unit/smart_variable_test.rb
776
+ - test/unit/smart_proxy_test.rb
290
777
  - test/unit/api_test.rb
291
- - test/unit/model_test.rb
292
- - test/unit/puppet_class_test.rb
293
- - test/unit/realm_test.rb
294
- - test/unit/defaults_test.rb
295
- - test/unit/data/test_api.json
296
- - test/unit/dependency_resolver_test.rb
297
- - test/unit/external_usergroup_test.rb
298
- - test/unit/fact_test.rb
778
+ - test/unit/smart_class_parameter_test.rb
779
+ - test/unit/commands_test.rb
780
+ - test/unit/helpers/command.rb
299
781
  - test/unit/helpers/fake_searchables.rb
300
782
  - test/unit/helpers/resource_disabled.rb
301
- - test/unit/helpers/command.rb
783
+ - test/unit/partition_table_test.rb
784
+ - test/unit/exception_handler_test.rb
785
+ - test/unit/usergroup_test.rb
786
+ - test/unit/role_test.rb
787
+ - test/unit/external_usergroup_test.rb
788
+ - test/unit/compute_resource_test.rb
789
+ - test/unit/data/test_api.json
790
+ - test/unit/apipie_resource_mock.rb
302
791
  - test/unit/report_test.rb
303
- - test/unit/subnet_test.rb
304
- - test/unit/option_builders_test.rb
792
+ - test/unit/user_test.rb
793
+ - test/unit/filter_test.rb
305
794
  - test/unit/output/formatters_test.rb
306
- - test/unit/param_filters_test.rb
307
- - test/unit/role_test.rb
308
- - test/unit/hostgroup_test.rb
309
- - test/unit/test_helper.rb
310
- - test/unit/test_output_adapter.rb
311
- - test/unit/location_test.rb
312
- - test/unit/smart_variable_test.rb
313
- - test/unit/template_test.rb
314
- - test/unit/usergroup_test.rb
315
- - test/unit/common_parameter_test.rb
316
- - test/unit/operating_system_test.rb
317
- - test/unit/environment_test.rb
318
795
  - test/unit/host_test.rb
319
- - test/unit/config_group_test.rb
320
- - test/unit/filter_test.rb
321
- - test/unit/compute_resource_test.rb
322
- - test/unit/auth_source_ldap_test.rb
323
- - test/unit/domain_test.rb
796
+ - test/unit/subnet_test.rb
797
+ - test/unit/fact_test.rb
324
798
  - test/unit/id_resolver_test.rb
325
799
  - test/unit/organization_test.rb
326
- - test/unit/smart_class_parameter_test.rb
327
- - test/unit/api/interactive_basic_auth_test.rb
328
- - test/unit/api/session_authenticator_wrapper_test.rb
800
+ - test/unit/option_builders_test.rb
801
+ - test/unit/domain_test.rb
802
+ - test/unit/test_output_adapter.rb
803
+ - test/unit/realm_test.rb
804
+ - test/unit/model_test.rb
805
+ - test/unit/dependency_resolver_test.rb
329
806
  - test/unit/architecture_test.rb
330
- - test/unit/apipie_resource_mock.rb
331
- - test/unit/commands_test.rb
332
- - test/unit/exception_handler_test.rb
333
- - test/unit/image_test.rb
807
+ - test/unit/defaults_test.rb
808
+ - test/unit/puppet_class_test.rb
809
+ - test/unit/config_group_test.rb
810
+ - test/unit/template_test.rb
811
+ - test/unit/param_filters_test.rb
812
+ - test/unit/option_sources/id_params_test.rb
813
+ - test/unit/option_sources/ids_params_test.rb
814
+ - test/unit/test_helper.rb
334
815
  - test/unit/media_test.rb
335
- - test/unit/partition_table_test.rb
336
- - test/unit/smart_proxy_test.rb
337
- - test/unit/user_test.rb
816
+ - test/functional/location_test.rb
817
+ - test/functional/ssh_keys_test.rb
818
+ - test/functional/smart_variable_test.rb
819
+ - test/functional/smart_class_parameter_test.rb
820
+ - test/functional/commands/list_test.rb
821
+ - test/functional/role_test.rb
822
+ - test/functional/compute_resource_test.rb
823
+ - test/functional/user_test.rb
824
+ - test/functional/filter_test.rb
825
+ - test/functional/host_test.rb
826
+ - test/functional/organization_test.rb
827
+ - test/functional/hostgroup/update_test.rb
828
+ - test/functional/hostgroup/create_test.rb
829
+ - test/functional/template_test.rb
830
+ - test/functional/test_helper.rb
831
+ - test/data/1.16/foreman_api.json
832
+ - test/data/1.11/foreman_api.json
833
+ - test/data/1.14/_foreman_api.json
834
+ - test/data/1.14/foreman_api.json
835
+ - test/data/1.15/foreman_api.json
836
+ - test/data/1.10/foreman_api.json
837
+ - test/data/README.md
338
838
  - test/test_helper.rb