hammer_cli_foreman 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (340) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -2
  3. data/doc/host_create.md +15 -7
  4. data/doc/release_notes.md +11 -0
  5. data/lib/hammer_cli_foreman/commands.rb +5 -1
  6. data/lib/hammer_cli_foreman/defaults.rb +29 -0
  7. data/lib/hammer_cli_foreman/host.rb +8 -1
  8. data/lib/hammer_cli_foreman/id_resolver.rb +1 -1
  9. data/lib/hammer_cli_foreman/location.rb +21 -0
  10. data/lib/hammer_cli_foreman/organization.rb +21 -0
  11. data/lib/hammer_cli_foreman/parameter.rb +7 -7
  12. data/lib/hammer_cli_foreman/role.rb +13 -0
  13. data/lib/hammer_cli_foreman/subnet.rb +1 -1
  14. data/lib/hammer_cli_foreman/version.rb +1 -1
  15. data/lib/hammer_cli_foreman.rb +2 -0
  16. data/locale/de/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  17. data/locale/de/hammer-cli-foreman.edit.po +394 -423
  18. data/locale/de/hammer-cli-foreman.po +1920 -1511
  19. data/locale/en/hammer-cli-foreman.edit.po +188 -124
  20. data/locale/en/hammer-cli-foreman.po +49 -1
  21. data/locale/en_GB/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  22. data/locale/en_GB/hammer-cli-foreman.edit.po +208 -152
  23. data/locale/en_GB/hammer-cli-foreman.po +1554 -1145
  24. data/locale/es/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  25. data/locale/es/hammer-cli-foreman.edit.po +438 -464
  26. data/locale/es/hammer-cli-foreman.po +1930 -1519
  27. data/locale/fr/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  28. data/locale/fr/hammer-cli-foreman.edit.po +301 -328
  29. data/locale/fr/hammer-cli-foreman.po +1922 -1513
  30. data/locale/hammer-cli-foreman.pot +194 -127
  31. data/locale/it/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  32. data/locale/it/hammer-cli-foreman.edit.po +303 -331
  33. data/locale/it/hammer-cli-foreman.po +1909 -1500
  34. data/locale/ja/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  35. data/locale/ja/hammer-cli-foreman.edit.po +302 -330
  36. data/locale/ja/hammer-cli-foreman.po +1920 -1511
  37. data/locale/ko/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  38. data/locale/ko/hammer-cli-foreman.edit.po +303 -332
  39. data/locale/ko/hammer-cli-foreman.po +1910 -1501
  40. data/locale/pt_BR/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  41. data/locale/pt_BR/hammer-cli-foreman.edit.po +369 -393
  42. data/locale/pt_BR/hammer-cli-foreman.po +1916 -1506
  43. data/locale/ru/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  44. data/locale/ru/hammer-cli-foreman.edit.po +344 -372
  45. data/locale/ru/hammer-cli-foreman.po +1940 -1531
  46. data/locale/zh_CN/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  47. data/locale/zh_CN/hammer-cli-foreman.edit.po +303 -331
  48. data/locale/zh_CN/hammer-cli-foreman.po +1905 -1496
  49. data/locale/zh_TW/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  50. data/locale/zh_TW/hammer-cli-foreman.edit.po +306 -334
  51. data/locale/zh_TW/hammer-cli-foreman.po +1908 -1499
  52. data/test/functional/api_expectations.rb +65 -0
  53. data/test/functional/command_assertions.rb +76 -0
  54. data/test/functional/location_test.rb +140 -0
  55. data/test/functional/organization_test.rb +140 -0
  56. data/test/functional/test_helper.rb +7 -0
  57. data/test/test_helper.rb +27 -0
  58. data/test/unit/apipie_resource_mock.rb +24 -6
  59. data/test/unit/architecture_test.rb +1 -1
  60. data/test/unit/auth_source_ldap_test.rb +1 -3
  61. data/test/unit/common_parameter_test.rb +1 -1
  62. data/test/unit/compute_resource_test.rb +1 -1
  63. data/test/unit/data/1.10/foreman_api.json +1 -0
  64. data/test/unit/data/README.md +22 -0
  65. data/test/unit/data/test_api.json +609 -0
  66. data/test/unit/defaults_test.rb +32 -0
  67. data/test/unit/dependency_resolver_test.rb +21 -16
  68. data/test/unit/domain_test.rb +1 -1
  69. data/test/unit/environment_test.rb +1 -1
  70. data/test/unit/external_usergroup_test.rb +1 -1
  71. data/test/unit/helpers/command.rb +5 -1
  72. data/test/unit/host_test.rb +16 -8
  73. data/test/unit/hostgroup_test.rb +1 -1
  74. data/test/unit/id_resolver_test.rb +40 -37
  75. data/test/unit/image_test.rb +1 -3
  76. data/test/unit/location_test.rb +1 -1
  77. data/test/unit/media_test.rb +3 -3
  78. data/test/unit/model_test.rb +1 -1
  79. data/test/unit/operating_system_test.rb +1 -2
  80. data/test/unit/option_builders_test.rb +106 -116
  81. data/test/unit/organization_test.rb +1 -1
  82. data/test/unit/partition_table_test.rb +1 -1
  83. data/test/unit/puppet_class_test.rb +4 -1
  84. data/test/unit/report_test.rb +1 -1
  85. data/test/unit/role_test.rb +15 -0
  86. data/test/unit/smart_class_parameter_test.rb +1 -1
  87. data/test/unit/smart_proxy_test.rb +1 -1
  88. data/test/unit/smart_variable_test.rb +1 -1
  89. data/test/unit/subnet_test.rb +1 -1
  90. data/test/unit/template_test.rb +1 -1
  91. data/test/unit/test_helper.rb +2 -29
  92. data/test/unit/user_test.rb +1 -2
  93. metadata +67 -539
  94. data/test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand-parameters.xml +0 -11
  95. data/test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand.xml +0 -7
  96. data/test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand-parameters.xml +0 -13
  97. data/test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand.xml +0 -7
  98. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-output.xml +0 -13
  99. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-parameters.xml +0 -13
  100. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand.xml +0 -7
  101. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-output.xml +0 -13
  102. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-parameters.xml +0 -17
  103. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand.xml +0 -7
  104. data/test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand-parameters.xml +0 -15
  105. data/test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand.xml +0 -7
  106. data/test/reports/TEST-HammerCLIForeman-Architecture.xml +0 -7
  107. data/test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand-parameters.xml +0 -11
  108. data/test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand.xml +0 -7
  109. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-output.xml +0 -13
  110. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-parameters.xml +0 -17
  111. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand.xml +0 -7
  112. data/test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand-parameters.xml +0 -13
  113. data/test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand.xml +0 -7
  114. data/test/reports/TEST-HammerCLIForeman-CommonParameter.xml +0 -7
  115. data/test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand-parameters.xml +0 -15
  116. data/test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand.xml +0 -7
  117. data/test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand-parameters.xml +0 -13
  118. data/test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand.xml +0 -7
  119. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-output.xml +0 -17
  120. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-parameters.xml +0 -13
  121. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand.xml +0 -7
  122. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-output.xml +0 -15
  123. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-parameters.xml +0 -17
  124. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand.xml +0 -7
  125. data/test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand-parameters.xml +0 -15
  126. data/test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand.xml +0 -7
  127. data/test/reports/TEST-HammerCLIForeman-ComputeResource.xml +0 -7
  128. data/test/reports/TEST-HammerCLIForeman-Domain-CreateCommand-parameters.xml +0 -11
  129. data/test/reports/TEST-HammerCLIForeman-Domain-CreateCommand.xml +0 -7
  130. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand-parameters.xml +0 -13
  131. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand.xml +0 -7
  132. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand-parameters.xml +0 -15
  133. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand.xml +0 -7
  134. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-output.xml +0 -21
  135. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-parameters.xml +0 -13
  136. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand.xml +0 -7
  137. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand-output.xml +0 -13
  138. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand-parameters.xml +0 -17
  139. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand.xml +0 -7
  140. data/test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand-parameters.xml +0 -17
  141. data/test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand.xml +0 -7
  142. data/test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand-parameters.xml +0 -15
  143. data/test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand.xml +0 -7
  144. data/test/reports/TEST-HammerCLIForeman-Domain.xml +0 -7
  145. data/test/reports/TEST-HammerCLIForeman-Environment-CreateCommand-parameters.xml +0 -11
  146. data/test/reports/TEST-HammerCLIForeman-Environment-CreateCommand.xml +0 -7
  147. data/test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand-parameters.xml +0 -13
  148. data/test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand.xml +0 -7
  149. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-output.xml +0 -17
  150. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-parameters.xml +0 -13
  151. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand.xml +0 -7
  152. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand-output.xml +0 -13
  153. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand-parameters.xml +0 -17
  154. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand.xml +0 -7
  155. data/test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand-parameters.xml +0 -15
  156. data/test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand.xml +0 -7
  157. data/test/reports/TEST-HammerCLIForeman-Environment.xml +0 -7
  158. data/test/reports/TEST-HammerCLIForeman-ExceptionHandler.xml +0 -13
  159. data/test/reports/TEST-HammerCLIForeman-Host-CreateCommand-parameters.xml +0 -46
  160. data/test/reports/TEST-HammerCLIForeman-Host-CreateCommand.xml +0 -7
  161. data/test/reports/TEST-HammerCLIForeman-Host-DeleteCommand-parameters.xml +0 -13
  162. data/test/reports/TEST-HammerCLIForeman-Host-DeleteCommand.xml +0 -7
  163. data/test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand-parameters.xml +0 -15
  164. data/test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand.xml +0 -7
  165. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand-output.xml +0 -85
  166. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand-parameters.xml +0 -13
  167. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand.xml +0 -7
  168. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand-output.xml +0 -21
  169. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand-parameters.xml +0 -17
  170. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand.xml +0 -7
  171. data/test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand-output.xml +0 -9
  172. data/test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand.xml +0 -7
  173. data/test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand-parameters.xml +0 -17
  174. data/test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand.xml +0 -7
  175. data/test/reports/TEST-HammerCLIForeman-Host-StatusCommand-output.xml +0 -9
  176. data/test/reports/TEST-HammerCLIForeman-Host-StatusCommand.xml +0 -7
  177. data/test/reports/TEST-HammerCLIForeman-Host-UpdateCommand-parameters.xml +0 -40
  178. data/test/reports/TEST-HammerCLIForeman-Host-UpdateCommand.xml +0 -7
  179. data/test/reports/TEST-HammerCLIForeman-Host.xml +0 -7
  180. data/test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand-parameters.xml +0 -11
  181. data/test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand.xml +0 -7
  182. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand-parameters.xml +0 -11
  183. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand.xml +0 -7
  184. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand-parameters.xml +0 -13
  185. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand.xml +0 -7
  186. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-output.xml +0 -29
  187. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-parameters.xml +0 -11
  188. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand.xml +0 -7
  189. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-output.xml +0 -27
  190. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-parameters.xml +0 -17
  191. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand.xml +0 -7
  192. data/test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand-parameters.xml +0 -15
  193. data/test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand.xml +0 -7
  194. data/test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand-parameters.xml +0 -13
  195. data/test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand.xml +0 -7
  196. data/test/reports/TEST-HammerCLIForeman-Hostgroup.xml +0 -7
  197. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand-parameters.xml +0 -11
  198. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand-resource-disabled.xml +0 -11
  199. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand.xml +0 -7
  200. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-parameters.xml +0 -13
  201. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-resource-disabled.xml +0 -11
  202. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand.xml +0 -7
  203. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-output.xml +0 -17
  204. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-parameters.xml +0 -13
  205. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-resource-disabled.xml +0 -11
  206. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand.xml +0 -7
  207. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-output.xml +0 -13
  208. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-parameters.xml +0 -17
  209. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-resource-disabled.xml +0 -11
  210. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand.xml +0 -7
  211. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-parameters.xml +0 -15
  212. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-resource-disabled.xml +0 -11
  213. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand.xml +0 -7
  214. data/test/reports/TEST-HammerCLIForeman-Location.xml +0 -7
  215. data/test/reports/TEST-HammerCLIForeman-Medium-CreateCommand-parameters.xml +0 -13
  216. data/test/reports/TEST-HammerCLIForeman-Medium-CreateCommand.xml +0 -7
  217. data/test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand-parameters.xml +0 -13
  218. data/test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand.xml +0 -7
  219. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-output.xml +0 -23
  220. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-parameters.xml +0 -13
  221. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand.xml +0 -7
  222. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand-output.xml +0 -15
  223. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand-parameters.xml +0 -17
  224. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand.xml +0 -7
  225. data/test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand-parameters.xml +0 -17
  226. data/test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand.xml +0 -7
  227. data/test/reports/TEST-HammerCLIForeman-Medium.xml +0 -7
  228. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand-parameters.xml +0 -11
  229. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand.xml +0 -7
  230. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand-parameters.xml +0 -13
  231. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand.xml +0 -7
  232. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand-parameters.xml +0 -13
  233. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand.xml +0 -7
  234. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-output.xml +0 -27
  235. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-parameters.xml +0 -13
  236. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand.xml +0 -7
  237. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-output.xml +0 -17
  238. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-parameters.xml +0 -17
  239. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand.xml +0 -7
  240. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand-parameters.xml +0 -15
  241. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand.xml +0 -7
  242. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand-parameters.xml +0 -17
  243. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand.xml +0 -7
  244. data/test/reports/TEST-HammerCLIForeman-OperatingSystem.xml +0 -7
  245. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-parameters.xml +0 -11
  246. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-resource-disabled.xml +0 -11
  247. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand.xml +0 -7
  248. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-parameters.xml +0 -13
  249. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-resource-disabled.xml +0 -11
  250. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand.xml +0 -7
  251. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-output.xml +0 -17
  252. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-parameters.xml +0 -13
  253. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-resource-disabled.xml +0 -11
  254. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand.xml +0 -7
  255. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-output.xml +0 -13
  256. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-parameters.xml +0 -17
  257. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-resource-disabled.xml +0 -11
  258. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand.xml +0 -7
  259. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-parameters.xml +0 -15
  260. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-resource-disabled.xml +0 -11
  261. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand.xml +0 -7
  262. data/test/reports/TEST-HammerCLIForeman-Organization.xml +0 -7
  263. data/test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand-parameters.xml +0 -13
  264. data/test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand.xml +0 -7
  265. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand-parameters.xml +0 -13
  266. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand.xml +0 -7
  267. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand-parameters.xml +0 -15
  268. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand.xml +0 -7
  269. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-output.xml +0 -19
  270. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-parameters.xml +0 -13
  271. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand.xml +0 -7
  272. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-output.xml +0 -15
  273. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-parameters.xml +0 -17
  274. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand.xml +0 -7
  275. data/test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand-parameters.xml +0 -13
  276. data/test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand.xml +0 -7
  277. data/test/reports/TEST-HammerCLIForeman-PartitionTable.xml +0 -7
  278. data/test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand-parameters.xml +0 -13
  279. data/test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand.xml +0 -7
  280. data/test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand-parameters.xml +0 -13
  281. data/test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand.xml +0 -7
  282. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-output.xml +0 -21
  283. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-parameters.xml +0 -13
  284. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand.xml +0 -7
  285. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-output.xml +0 -15
  286. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-parameters.xml +0 -11
  287. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand.xml +0 -7
  288. data/test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand-parameters.xml +0 -15
  289. data/test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand.xml +0 -7
  290. data/test/reports/TEST-HammerCLIForeman-SmartProxy.xml +0 -7
  291. data/test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand-parameters.xml +0 -15
  292. data/test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand.xml +0 -7
  293. data/test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand-parameters.xml +0 -13
  294. data/test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand.xml +0 -7
  295. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-output.xml +0 -43
  296. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-parameters.xml +0 -13
  297. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand.xml +0 -7
  298. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-output.xml +0 -17
  299. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-parameters.xml +0 -17
  300. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand.xml +0 -7
  301. data/test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand-parameters.xml +0 -15
  302. data/test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand.xml +0 -7
  303. data/test/reports/TEST-HammerCLIForeman-Subnet.xml +0 -7
  304. data/test/reports/TEST-HammerCLIForeman-Template-CreateCommand-parameters.xml +0 -15
  305. data/test/reports/TEST-HammerCLIForeman-Template-CreateCommand.xml +0 -7
  306. data/test/reports/TEST-HammerCLIForeman-Template-DeleteCommand-parameters.xml +0 -11
  307. data/test/reports/TEST-HammerCLIForeman-Template-DeleteCommand.xml +0 -7
  308. data/test/reports/TEST-HammerCLIForeman-Template-DumpCommand-parameters.xml +0 -12
  309. data/test/reports/TEST-HammerCLIForeman-Template-DumpCommand.xml +0 -7
  310. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand-output.xml +0 -17
  311. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand-parameters.xml +0 -11
  312. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand.xml +0 -7
  313. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand-output.xml +0 -15
  314. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand-parameters.xml +0 -17
  315. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand.xml +0 -7
  316. data/test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand-parameters.xml +0 -9
  317. data/test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand.xml +0 -7
  318. data/test/reports/TEST-HammerCLIForeman-Template-UpdateCommand-parameters.xml +0 -11
  319. data/test/reports/TEST-HammerCLIForeman-Template-UpdateCommand.xml +0 -7
  320. data/test/reports/TEST-HammerCLIForeman-Template.xml +0 -7
  321. data/test/reports/TEST-HammerCLIForeman-User-CreateCommand-parameters.xml +0 -19
  322. data/test/reports/TEST-HammerCLIForeman-User-CreateCommand.xml +0 -7
  323. data/test/reports/TEST-HammerCLIForeman-User-DeleteCommand-parameters.xml +0 -11
  324. data/test/reports/TEST-HammerCLIForeman-User-DeleteCommand.xml +0 -7
  325. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand-output.xml +0 -23
  326. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand-parameters.xml +0 -11
  327. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand.xml +0 -7
  328. data/test/reports/TEST-HammerCLIForeman-User-ListCommand-output.xml +0 -17
  329. data/test/reports/TEST-HammerCLIForeman-User-ListCommand-parameters.xml +0 -17
  330. data/test/reports/TEST-HammerCLIForeman-User-ListCommand.xml +0 -7
  331. data/test/reports/TEST-HammerCLIForeman-User-UpdateCommand-parameters.xml +0 -11
  332. data/test/reports/TEST-HammerCLIForeman-User-UpdateCommand.xml +0 -7
  333. data/test/reports/TEST-HammerCLIForeman-User.xml +0 -7
  334. data/test/reports/TEST-MiniTest-Spec.xml +0 -7
  335. data/test/unit/data/1.4/foreman_api.json +0 -10387
  336. data/test/unit/data/1.5/foreman_api.json +0 -14130
  337. data/test/unit/data/1.6/foreman_api.json +0 -1
  338. data/test/unit/data/1.6/foreman_api_back.json +0 -1
  339. data/test/unit/data/1.6/whatever.json +0 -1
  340. data/test/unit/data/1.7/foreman_api.json +0 -1
@@ -18,7 +18,10 @@ describe HammerCLIForeman::PuppetClass do
18
18
  end
19
19
 
20
20
  context "output" do
21
- let(:expected_record_count) { cmd.resource.call(:index).length }
21
+ let(:expected_record_count) do
22
+ # data are retuned in specific format
23
+ HammerCLIForeman.collection_to_common_format(cmd.resource.call(:index)).first.keys.count
24
+ end
22
25
 
23
26
  it_should_print_n_records
24
27
  it_should_print_column "Id"
@@ -17,7 +17,7 @@ describe HammerCLIForeman::Report do
17
17
  end
18
18
 
19
19
  context "output" do
20
- let(:expected_record_count) { cmd.resource.call(:index).length }
20
+ let(:expected_record_count) { count_records(cmd.resource.call(:index)) }
21
21
 
22
22
  it_should_print_n_records
23
23
  it_should_print_column "Id"
@@ -29,6 +29,21 @@ describe HammerCLIForeman::Role do
29
29
  end
30
30
 
31
31
 
32
+ context "InfoCommand" do
33
+
34
+ let(:cmd) { HammerCLIForeman::Role::InfoCommand.new("", ctx) }
35
+
36
+ context "output" do
37
+
38
+ with_params ["--name=role"] do
39
+ it_should_print_n_records 1
40
+ it_should_print_columns ["Id", "Name", "Builtin"]
41
+ end
42
+ end
43
+
44
+ end
45
+
46
+
32
47
  context "CreateCommand" do
33
48
 
34
49
  let(:cmd) { HammerCLIForeman::Role::CreateCommand.new("", ctx) }
@@ -25,7 +25,7 @@ describe HammerCLIForeman::SmartClassParameter do
25
25
  end
26
26
 
27
27
  context "output" do
28
- let(:expected_record_count) { cmd.resource.call(:index).length }
28
+ let(:expected_record_count) { count_records(cmd.resource.call(:index)) }
29
29
 
30
30
  it_should_print_n_records
31
31
  it_should_print_column "Id"
@@ -17,7 +17,7 @@ describe HammerCLIForeman::SmartProxy do
17
17
  end
18
18
 
19
19
  context "output" do
20
- let(:expected_record_count) { cmd.resource.call(:index).length }
20
+ let(:expected_record_count) { count_records(cmd.resource.call(:index)) }
21
21
 
22
22
  it_should_print_n_records
23
23
  it_should_print_columns ["Id", "Name", "URL"]
@@ -24,7 +24,7 @@ describe HammerCLIForeman::SmartVariable do
24
24
  end
25
25
 
26
26
  context "output" do
27
- let(:expected_record_count) { cmd.resource.call(:index).length }
27
+ let(:expected_record_count) { count_records(cmd.resource.call(:index)) }
28
28
 
29
29
  it_should_print_n_records
30
30
  it_should_print_column "Id"
@@ -17,7 +17,7 @@ describe HammerCLIForeman::Subnet do
17
17
  end
18
18
 
19
19
  context "output" do
20
- let(:expected_record_count) { cmd.resource.call(:index).length }
20
+ let(:expected_record_count) { count_records(cmd.resource.call(:index)) }
21
21
 
22
22
  it_should_print_n_records
23
23
  it_should_print_columns ["Id", "Name", "Network", "Mask"]
@@ -30,7 +30,7 @@ describe HammerCLIForeman::Template do
30
30
  end
31
31
 
32
32
  context "output" do
33
- let(:expected_record_count) { cmd.resource.call(:index).length }
33
+ let(:expected_record_count) { count_records(cmd.resource.call(:index)) }
34
34
 
35
35
  it_should_print_n_records
36
36
  it_should_print_columns ["Id", "Name", "Type"]
@@ -1,34 +1,8 @@
1
- require 'simplecov'
2
- require 'pathname'
3
-
4
- SimpleCov.use_merging true
5
- SimpleCov.start do
6
- command_name 'MiniTest'
7
- add_filter 'test'
8
- end
9
- SimpleCov.root Pathname.new(File.dirname(__FILE__) + "../../../")
10
-
11
-
12
- require 'minitest/autorun'
13
- require 'minitest/spec'
14
- require "minitest-spec-context"
15
- require "mocha/setup"
16
-
17
-
18
- require 'hammer_cli'
19
- require 'hammer_cli_foreman/commands'
20
-
21
- HammerCLIForeman.stubs(:resource_config).returns({
22
- :apidoc_cache_dir => 'test/unit/data/' + (ENV['TEST_API_VERSION'] || '1.7'),
23
- :apidoc_cache_name => 'foreman_api',
24
- :dry_run => true})
25
-
26
-
27
- require 'hammer_cli_foreman'
1
+ require File.join(File.dirname(__FILE__), '../test_helper')
28
2
 
29
3
  def ctx
30
4
  {
31
- :adapter => :silent ,
5
+ :adapter => :silent,
32
6
  :username => 'admin',
33
7
  :password => 'admin',
34
8
  :interactive => false
@@ -42,4 +16,3 @@ require File.join(File.dirname(__FILE__), 'helpers/command')
42
16
  require File.join(File.dirname(__FILE__), 'helpers/resource_disabled')
43
17
 
44
18
  HammerCLI::Settings.load({:_params => {:interactive => false}})
45
-
@@ -19,8 +19,7 @@ describe HammerCLIForeman::User do
19
19
  end
20
20
 
21
21
  context "output" do
22
- let(:expected_record_count) { cmd.resource.call(:index).length }
23
-
22
+ let(:expected_record_count) { count_records(cmd.resource.call(:index)) }
24
23
  it_should_print_n_records
25
24
  it_should_print_columns ["Id", "Login", "Name", "Email"]
26
25
  end
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.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomáš Strachota
@@ -9,35 +9,36 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-09-21 00:00:00.000000000 Z
12
+ date: 2015-12-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hammer_cli
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: 0.4.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
27
  version: 0.4.0
28
- description: |
29
- Foreman commands for Hammer CLI
28
+ description: 'Foreman commands for Hammer CLI
29
+
30
+ '
30
31
  email: tstracho@redhat.com
31
32
  executables: []
32
33
  extensions: []
33
34
  extra_rdoc_files:
34
35
  - doc/configuration.md
36
+ - doc/name_id_resolution.md
37
+ - doc/option_builder.md
35
38
  - doc/using_hammer_cli_foreman_command.md
36
39
  - doc/developer_docs.md
37
- - doc/option_builder.md
38
- - doc/host_create.md
39
- - doc/name_id_resolution.md
40
40
  - doc/release_notes.md
41
+ - doc/host_create.md
41
42
  - README.md
42
43
  files:
43
44
  - README.md
@@ -59,6 +60,7 @@ files:
59
60
  - lib/hammer_cli_foreman/common_parameter.rb
60
61
  - lib/hammer_cli_foreman/compute_resource.rb
61
62
  - lib/hammer_cli_foreman/credentials.rb
63
+ - lib/hammer_cli_foreman/defaults.rb
62
64
  - lib/hammer_cli_foreman/dependency_resolver.rb
63
65
  - lib/hammer_cli_foreman/domain.rb
64
66
  - lib/hammer_cli_foreman/environment.rb
@@ -151,247 +153,12 @@ files:
151
153
  - locale/zh_TW/hammer-cli-foreman.edit.po
152
154
  - locale/zh_TW/hammer-cli-foreman.po
153
155
  - locale/zh_TW/hammer-cli-foreman.po.time_stamp
154
- - test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand-parameters.xml
155
- - test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand.xml
156
- - test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand-parameters.xml
157
- - test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand.xml
158
- - test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-output.xml
159
- - test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-parameters.xml
160
- - test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand.xml
161
- - test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-output.xml
162
- - test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-parameters.xml
163
- - test/reports/TEST-HammerCLIForeman-Architecture-ListCommand.xml
164
- - test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand-parameters.xml
165
- - test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand.xml
166
- - test/reports/TEST-HammerCLIForeman-Architecture.xml
167
- - test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand-parameters.xml
168
- - test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand.xml
169
- - test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-output.xml
170
- - test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-parameters.xml
171
- - test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand.xml
172
- - test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand-parameters.xml
173
- - test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand.xml
174
- - test/reports/TEST-HammerCLIForeman-CommonParameter.xml
175
- - test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand-parameters.xml
176
- - test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand.xml
177
- - test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand-parameters.xml
178
- - test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand.xml
179
- - test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-output.xml
180
- - test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-parameters.xml
181
- - test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand.xml
182
- - test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-output.xml
183
- - test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-parameters.xml
184
- - test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand.xml
185
- - test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand-parameters.xml
186
- - test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand.xml
187
- - test/reports/TEST-HammerCLIForeman-ComputeResource.xml
188
- - test/reports/TEST-HammerCLIForeman-Domain-CreateCommand-parameters.xml
189
- - test/reports/TEST-HammerCLIForeman-Domain-CreateCommand.xml
190
- - test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand-parameters.xml
191
- - test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand.xml
192
- - test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand-parameters.xml
193
- - test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand.xml
194
- - test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-output.xml
195
- - test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-parameters.xml
196
- - test/reports/TEST-HammerCLIForeman-Domain-InfoCommand.xml
197
- - test/reports/TEST-HammerCLIForeman-Domain-ListCommand-output.xml
198
- - test/reports/TEST-HammerCLIForeman-Domain-ListCommand-parameters.xml
199
- - test/reports/TEST-HammerCLIForeman-Domain-ListCommand.xml
200
- - test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand-parameters.xml
201
- - test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand.xml
202
- - test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand-parameters.xml
203
- - test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand.xml
204
- - test/reports/TEST-HammerCLIForeman-Domain.xml
205
- - test/reports/TEST-HammerCLIForeman-Environment-CreateCommand-parameters.xml
206
- - test/reports/TEST-HammerCLIForeman-Environment-CreateCommand.xml
207
- - test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand-parameters.xml
208
- - test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand.xml
209
- - test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-output.xml
210
- - test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-parameters.xml
211
- - test/reports/TEST-HammerCLIForeman-Environment-InfoCommand.xml
212
- - test/reports/TEST-HammerCLIForeman-Environment-ListCommand-output.xml
213
- - test/reports/TEST-HammerCLIForeman-Environment-ListCommand-parameters.xml
214
- - test/reports/TEST-HammerCLIForeman-Environment-ListCommand.xml
215
- - test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand-parameters.xml
216
- - test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand.xml
217
- - test/reports/TEST-HammerCLIForeman-Environment.xml
218
- - test/reports/TEST-HammerCLIForeman-ExceptionHandler.xml
219
- - test/reports/TEST-HammerCLIForeman-Host-CreateCommand-parameters.xml
220
- - test/reports/TEST-HammerCLIForeman-Host-CreateCommand.xml
221
- - test/reports/TEST-HammerCLIForeman-Host-DeleteCommand-parameters.xml
222
- - test/reports/TEST-HammerCLIForeman-Host-DeleteCommand.xml
223
- - test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand-parameters.xml
224
- - test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand.xml
225
- - test/reports/TEST-HammerCLIForeman-Host-InfoCommand-output.xml
226
- - test/reports/TEST-HammerCLIForeman-Host-InfoCommand-parameters.xml
227
- - test/reports/TEST-HammerCLIForeman-Host-InfoCommand.xml
228
- - test/reports/TEST-HammerCLIForeman-Host-ListCommand-output.xml
229
- - test/reports/TEST-HammerCLIForeman-Host-ListCommand-parameters.xml
230
- - test/reports/TEST-HammerCLIForeman-Host-ListCommand.xml
231
- - test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand-output.xml
232
- - test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand.xml
233
- - test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand-parameters.xml
234
- - test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand.xml
235
- - test/reports/TEST-HammerCLIForeman-Host-StatusCommand-output.xml
236
- - test/reports/TEST-HammerCLIForeman-Host-StatusCommand.xml
237
- - test/reports/TEST-HammerCLIForeman-Host-UpdateCommand-parameters.xml
238
- - test/reports/TEST-HammerCLIForeman-Host-UpdateCommand.xml
239
- - test/reports/TEST-HammerCLIForeman-Host.xml
240
- - test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand-parameters.xml
241
- - test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand.xml
242
- - test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand-parameters.xml
243
- - test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand.xml
244
- - test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand-parameters.xml
245
- - test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand.xml
246
- - test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-output.xml
247
- - test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-parameters.xml
248
- - test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand.xml
249
- - test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-output.xml
250
- - test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-parameters.xml
251
- - test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand.xml
252
- - test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand-parameters.xml
253
- - test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand.xml
254
- - test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand-parameters.xml
255
- - test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand.xml
256
- - test/reports/TEST-HammerCLIForeman-Hostgroup.xml
257
- - test/reports/TEST-HammerCLIForeman-Location-CreateCommand-parameters.xml
258
- - test/reports/TEST-HammerCLIForeman-Location-CreateCommand-resource-disabled.xml
259
- - test/reports/TEST-HammerCLIForeman-Location-CreateCommand.xml
260
- - test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-parameters.xml
261
- - test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-resource-disabled.xml
262
- - test/reports/TEST-HammerCLIForeman-Location-DeleteCommand.xml
263
- - test/reports/TEST-HammerCLIForeman-Location-InfoCommand-output.xml
264
- - test/reports/TEST-HammerCLIForeman-Location-InfoCommand-parameters.xml
265
- - test/reports/TEST-HammerCLIForeman-Location-InfoCommand-resource-disabled.xml
266
- - test/reports/TEST-HammerCLIForeman-Location-InfoCommand.xml
267
- - test/reports/TEST-HammerCLIForeman-Location-ListCommand-output.xml
268
- - test/reports/TEST-HammerCLIForeman-Location-ListCommand-parameters.xml
269
- - test/reports/TEST-HammerCLIForeman-Location-ListCommand-resource-disabled.xml
270
- - test/reports/TEST-HammerCLIForeman-Location-ListCommand.xml
271
- - test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-parameters.xml
272
- - test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-resource-disabled.xml
273
- - test/reports/TEST-HammerCLIForeman-Location-UpdateCommand.xml
274
- - test/reports/TEST-HammerCLIForeman-Location.xml
275
- - test/reports/TEST-HammerCLIForeman-Medium-CreateCommand-parameters.xml
276
- - test/reports/TEST-HammerCLIForeman-Medium-CreateCommand.xml
277
- - test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand-parameters.xml
278
- - test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand.xml
279
- - test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-output.xml
280
- - test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-parameters.xml
281
- - test/reports/TEST-HammerCLIForeman-Medium-InfoCommand.xml
282
- - test/reports/TEST-HammerCLIForeman-Medium-ListCommand-output.xml
283
- - test/reports/TEST-HammerCLIForeman-Medium-ListCommand-parameters.xml
284
- - test/reports/TEST-HammerCLIForeman-Medium-ListCommand.xml
285
- - test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand-parameters.xml
286
- - test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand.xml
287
- - test/reports/TEST-HammerCLIForeman-Medium.xml
288
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand-parameters.xml
289
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand.xml
290
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand-parameters.xml
291
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand.xml
292
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand-parameters.xml
293
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand.xml
294
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-output.xml
295
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-parameters.xml
296
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand.xml
297
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-output.xml
298
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-parameters.xml
299
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand.xml
300
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand-parameters.xml
301
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand.xml
302
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand-parameters.xml
303
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand.xml
304
- - test/reports/TEST-HammerCLIForeman-OperatingSystem.xml
305
- - test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-parameters.xml
306
- - test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-resource-disabled.xml
307
- - test/reports/TEST-HammerCLIForeman-Organization-CreateCommand.xml
308
- - test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-parameters.xml
309
- - test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-resource-disabled.xml
310
- - test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand.xml
311
- - test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-output.xml
312
- - test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-parameters.xml
313
- - test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-resource-disabled.xml
314
- - test/reports/TEST-HammerCLIForeman-Organization-InfoCommand.xml
315
- - test/reports/TEST-HammerCLIForeman-Organization-ListCommand-output.xml
316
- - test/reports/TEST-HammerCLIForeman-Organization-ListCommand-parameters.xml
317
- - test/reports/TEST-HammerCLIForeman-Organization-ListCommand-resource-disabled.xml
318
- - test/reports/TEST-HammerCLIForeman-Organization-ListCommand.xml
319
- - test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-parameters.xml
320
- - test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-resource-disabled.xml
321
- - test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand.xml
322
- - test/reports/TEST-HammerCLIForeman-Organization.xml
323
- - test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand-parameters.xml
324
- - test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand.xml
325
- - test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand-parameters.xml
326
- - test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand.xml
327
- - test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand-parameters.xml
328
- - test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand.xml
329
- - test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-output.xml
330
- - test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-parameters.xml
331
- - test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand.xml
332
- - test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-output.xml
333
- - test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-parameters.xml
334
- - test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand.xml
335
- - test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand-parameters.xml
336
- - test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand.xml
337
- - test/reports/TEST-HammerCLIForeman-PartitionTable.xml
338
- - test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand-parameters.xml
339
- - test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand.xml
340
- - test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand-parameters.xml
341
- - test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand.xml
342
- - test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-output.xml
343
- - test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-parameters.xml
344
- - test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand.xml
345
- - test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-output.xml
346
- - test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-parameters.xml
347
- - test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand.xml
348
- - test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand-parameters.xml
349
- - test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand.xml
350
- - test/reports/TEST-HammerCLIForeman-SmartProxy.xml
351
- - test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand-parameters.xml
352
- - test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand.xml
353
- - test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand-parameters.xml
354
- - test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand.xml
355
- - test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-output.xml
356
- - test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-parameters.xml
357
- - test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand.xml
358
- - test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-output.xml
359
- - test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-parameters.xml
360
- - test/reports/TEST-HammerCLIForeman-Subnet-ListCommand.xml
361
- - test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand-parameters.xml
362
- - test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand.xml
363
- - test/reports/TEST-HammerCLIForeman-Subnet.xml
364
- - test/reports/TEST-HammerCLIForeman-Template-CreateCommand-parameters.xml
365
- - test/reports/TEST-HammerCLIForeman-Template-CreateCommand.xml
366
- - test/reports/TEST-HammerCLIForeman-Template-DeleteCommand-parameters.xml
367
- - test/reports/TEST-HammerCLIForeman-Template-DeleteCommand.xml
368
- - test/reports/TEST-HammerCLIForeman-Template-DumpCommand-parameters.xml
369
- - test/reports/TEST-HammerCLIForeman-Template-DumpCommand.xml
370
- - test/reports/TEST-HammerCLIForeman-Template-InfoCommand-output.xml
371
- - test/reports/TEST-HammerCLIForeman-Template-InfoCommand-parameters.xml
372
- - test/reports/TEST-HammerCLIForeman-Template-InfoCommand.xml
373
- - test/reports/TEST-HammerCLIForeman-Template-ListCommand-output.xml
374
- - test/reports/TEST-HammerCLIForeman-Template-ListCommand-parameters.xml
375
- - test/reports/TEST-HammerCLIForeman-Template-ListCommand.xml
376
- - test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand-parameters.xml
377
- - test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand.xml
378
- - test/reports/TEST-HammerCLIForeman-Template-UpdateCommand-parameters.xml
379
- - test/reports/TEST-HammerCLIForeman-Template-UpdateCommand.xml
380
- - test/reports/TEST-HammerCLIForeman-Template.xml
381
- - test/reports/TEST-HammerCLIForeman-User-CreateCommand-parameters.xml
382
- - test/reports/TEST-HammerCLIForeman-User-CreateCommand.xml
383
- - test/reports/TEST-HammerCLIForeman-User-DeleteCommand-parameters.xml
384
- - test/reports/TEST-HammerCLIForeman-User-DeleteCommand.xml
385
- - test/reports/TEST-HammerCLIForeman-User-InfoCommand-output.xml
386
- - test/reports/TEST-HammerCLIForeman-User-InfoCommand-parameters.xml
387
- - test/reports/TEST-HammerCLIForeman-User-InfoCommand.xml
388
- - test/reports/TEST-HammerCLIForeman-User-ListCommand-output.xml
389
- - test/reports/TEST-HammerCLIForeman-User-ListCommand-parameters.xml
390
- - test/reports/TEST-HammerCLIForeman-User-ListCommand.xml
391
- - test/reports/TEST-HammerCLIForeman-User-UpdateCommand-parameters.xml
392
- - test/reports/TEST-HammerCLIForeman-User-UpdateCommand.xml
393
- - test/reports/TEST-HammerCLIForeman-User.xml
394
- - test/reports/TEST-MiniTest-Spec.xml
156
+ - test/functional/api_expectations.rb
157
+ - test/functional/command_assertions.rb
158
+ - test/functional/location_test.rb
159
+ - test/functional/organization_test.rb
160
+ - test/functional/test_helper.rb
161
+ - test/test_helper.rb
395
162
  - test/unit/api_test.rb
396
163
  - test/unit/apipie_resource_mock.rb
397
164
  - test/unit/architecture_test.rb
@@ -400,12 +167,10 @@ files:
400
167
  - test/unit/common_parameter_test.rb
401
168
  - test/unit/compute_resource_test.rb
402
169
  - test/unit/credentials_test.rb
403
- - test/unit/data/1.4/foreman_api.json
404
- - test/unit/data/1.5/foreman_api.json
405
- - test/unit/data/1.6/foreman_api.json
406
- - test/unit/data/1.6/foreman_api_back.json
407
- - test/unit/data/1.6/whatever.json
408
- - test/unit/data/1.7/foreman_api.json
170
+ - test/unit/data/1.10/foreman_api.json
171
+ - test/unit/data/README.md
172
+ - test/unit/data/test_api.json
173
+ - test/unit/defaults_test.rb
409
174
  - test/unit/dependency_resolver_test.rb
410
175
  - test/unit/domain_test.rb
411
176
  - test/unit/environment_test.rb
@@ -451,308 +216,71 @@ require_paths:
451
216
  - lib
452
217
  required_ruby_version: !ruby/object:Gem::Requirement
453
218
  requirements:
454
- - - '>='
219
+ - - ">="
455
220
  - !ruby/object:Gem::Version
456
221
  version: '0'
457
222
  required_rubygems_version: !ruby/object:Gem::Requirement
458
223
  requirements:
459
- - - '>='
224
+ - - ">="
460
225
  - !ruby/object:Gem::Version
461
226
  version: '0'
462
227
  requirements: []
463
228
  rubyforge_project:
464
- rubygems_version: 2.4.4
229
+ rubygems_version: 2.4.8
465
230
  signing_key:
466
231
  specification_version: 4
467
232
  summary: Foreman commands for Hammer
468
233
  test_files:
469
- - test/reports/TEST-HammerCLIForeman-Domain-CreateCommand-parameters.xml
470
- - test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand.xml
471
- - test/reports/TEST-HammerCLIForeman-Template-DeleteCommand.xml
472
- - test/reports/TEST-HammerCLIForeman-Environment-ListCommand-parameters.xml
473
- - test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand.xml
474
- - test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand.xml
475
- - test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand-parameters.xml
476
- - test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand.xml
477
- - test/reports/TEST-HammerCLIForeman-Host-ListCommand.xml
478
- - test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand.xml
479
- - test/reports/TEST-HammerCLIForeman-Environment-ListCommand-output.xml
480
- - test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-resource-disabled.xml
481
- - test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand.xml
482
- - test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand.xml
483
- - test/reports/TEST-HammerCLIForeman-Domain-InfoCommand.xml
484
- - test/reports/TEST-HammerCLIForeman-User-ListCommand-output.xml
485
- - test/reports/TEST-HammerCLIForeman-Location-ListCommand-output.xml
486
- - test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-output.xml
487
- - test/reports/TEST-HammerCLIForeman-User-CreateCommand-parameters.xml
488
- - test/reports/TEST-HammerCLIForeman-ExceptionHandler.xml
489
- - test/reports/TEST-HammerCLIForeman-Environment-CreateCommand-parameters.xml
490
- - test/reports/TEST-HammerCLIForeman-Subnet.xml
491
- - test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand.xml
492
- - test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand.xml
493
- - test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-parameters.xml
494
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand.xml
495
- - test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand-parameters.xml
496
- - test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand.xml
497
- - test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand.xml
498
- - test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand.xml
499
- - test/reports/TEST-HammerCLIForeman-Architecture.xml
500
- - test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand-parameters.xml
501
- - test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand.xml
502
- - test/reports/TEST-HammerCLIForeman-Organization.xml
503
- - test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-parameters.xml
504
- - test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-parameters.xml
505
- - test/reports/TEST-HammerCLIForeman-Host-InfoCommand.xml
506
- - test/reports/TEST-HammerCLIForeman-Medium-ListCommand-output.xml
507
- - test/reports/TEST-HammerCLIForeman-Domain-CreateCommand.xml
508
- - test/reports/TEST-HammerCLIForeman-Host-DeleteCommand-parameters.xml
509
- - test/reports/TEST-HammerCLIForeman-Location.xml
510
- - test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand.xml
511
- - test/reports/TEST-HammerCLIForeman-User-UpdateCommand.xml
512
- - test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand.xml
513
- - test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-output.xml
514
- - test/reports/TEST-HammerCLIForeman-Organization-InfoCommand.xml
515
- - test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-output.xml
516
- - test/reports/TEST-HammerCLIForeman-Location-ListCommand.xml
517
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-parameters.xml
518
- - test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand.xml
519
- - test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-parameters.xml
520
- - test/reports/TEST-HammerCLIForeman-Host-ListCommand-output.xml
521
- - test/reports/TEST-HammerCLIForeman-Template-CreateCommand-parameters.xml
522
- - test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-resource-disabled.xml
523
- - test/reports/TEST-HammerCLIForeman-Organization-ListCommand.xml
524
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand.xml
525
- - test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-output.xml
526
- - test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand-output.xml
527
- - test/reports/TEST-HammerCLIForeman-PartitionTable.xml
528
- - test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand.xml
529
- - test/reports/TEST-HammerCLIForeman-User-DeleteCommand.xml
530
- - test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand-parameters.xml
531
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand.xml
532
- - test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand.xml
533
- - test/reports/TEST-HammerCLIForeman-Template-InfoCommand.xml
534
- - test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-output.xml
535
- - test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand-parameters.xml
536
- - test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-output.xml
537
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand-parameters.xml
538
- - test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand.xml
539
- - test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand-parameters.xml
540
- - test/reports/TEST-HammerCLIForeman-Medium-CreateCommand.xml
541
- - test/reports/TEST-HammerCLIForeman-Location-InfoCommand-resource-disabled.xml
542
- - test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand.xml
543
- - test/reports/TEST-HammerCLIForeman-User-CreateCommand.xml
544
- - test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-parameters.xml
545
- - test/reports/TEST-HammerCLIForeman-Organization-CreateCommand.xml
546
- - test/reports/TEST-HammerCLIForeman-Template-DeleteCommand-parameters.xml
547
- - test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-parameters.xml
548
- - test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand.xml
549
- - test/reports/TEST-HammerCLIForeman-Organization-ListCommand-parameters.xml
550
- - test/reports/TEST-HammerCLIForeman-User-ListCommand-parameters.xml
551
- - test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand.xml
552
- - test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand.xml
553
- - test/reports/TEST-HammerCLIForeman-Medium-InfoCommand.xml
554
- - test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-resource-disabled.xml
555
- - test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-output.xml
556
- - test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand-parameters.xml
557
- - test/reports/TEST-HammerCLIForeman-OperatingSystem.xml
558
- - test/reports/TEST-HammerCLIForeman-Medium-CreateCommand-parameters.xml
559
- - test/reports/TEST-HammerCLIForeman-Host-InfoCommand-parameters.xml
560
- - test/reports/TEST-HammerCLIForeman-User-InfoCommand.xml
561
- - test/reports/TEST-HammerCLIForeman-User-DeleteCommand-parameters.xml
562
- - test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand.xml
563
- - test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-output.xml
564
- - test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-parameters.xml
565
- - test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-parameters.xml
566
- - test/reports/TEST-HammerCLIForeman-Template-CreateCommand.xml
567
- - test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand-parameters.xml
568
- - test/reports/TEST-HammerCLIForeman-Location-CreateCommand-parameters.xml
569
- - test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-output.xml
570
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-output.xml
571
- - test/reports/TEST-HammerCLIForeman-Location-UpdateCommand.xml
572
- - test/reports/TEST-HammerCLIForeman-Organization-ListCommand-output.xml
573
- - test/reports/TEST-HammerCLIForeman-Location-DeleteCommand.xml
574
- - test/reports/TEST-HammerCLIForeman-Host-StatusCommand-output.xml
575
- - test/reports/TEST-HammerCLIForeman-Template-UpdateCommand-parameters.xml
576
- - test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand.xml
577
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand-parameters.xml
578
- - test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand-parameters.xml
579
- - test/reports/TEST-HammerCLIForeman-Location-ListCommand-parameters.xml
580
- - test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-resource-disabled.xml
581
- - test/reports/TEST-HammerCLIForeman-Medium.xml
582
- - test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand.xml
583
- - test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand-parameters.xml
584
- - test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand-parameters.xml
585
- - test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-resource-disabled.xml
586
- - test/reports/TEST-HammerCLIForeman-Environment-CreateCommand.xml
587
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand-parameters.xml
588
- - test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand.xml
589
- - test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand-parameters.xml
590
- - test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-parameters.xml
591
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand.xml
592
- - test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand.xml
593
- - test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand.xml
594
- - test/reports/TEST-HammerCLIForeman-Template-ListCommand.xml
595
- - test/reports/TEST-HammerCLIForeman-Location-CreateCommand-resource-disabled.xml
596
- - test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand-parameters.xml
597
- - test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand-parameters.xml
598
- - test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-output.xml
599
- - test/reports/TEST-HammerCLIForeman-Environment.xml
600
- - test/reports/TEST-HammerCLIForeman-User-UpdateCommand-parameters.xml
601
- - test/reports/TEST-HammerCLIForeman-Host-CreateCommand-parameters.xml
602
- - test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-parameters.xml
603
- - test/reports/TEST-HammerCLIForeman-Subnet-ListCommand.xml
604
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand-parameters.xml
605
- - test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand-parameters.xml
606
- - test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand.xml
607
- - test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand.xml
608
- - test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand-parameters.xml
609
- - test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand-parameters.xml
610
- - test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-output.xml
611
- - test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand-parameters.xml
612
- - test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-parameters.xml
613
- - test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand-parameters.xml
614
- - test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-parameters.xml
615
- - test/reports/TEST-HammerCLIForeman-Medium-ListCommand.xml
616
- - test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand.xml
617
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand-parameters.xml
618
- - test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand-parameters.xml
619
- - test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand.xml
620
- - test/reports/TEST-HammerCLIForeman-Domain-ListCommand-parameters.xml
621
- - test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand.xml
622
- - test/reports/TEST-HammerCLIForeman-Environment-ListCommand.xml
623
- - test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-output.xml
624
- - test/reports/TEST-HammerCLIForeman-User-ListCommand.xml
625
- - test/reports/TEST-HammerCLIForeman-Host-DeleteCommand.xml
626
- - test/reports/TEST-HammerCLIForeman-Location-InfoCommand-output.xml
627
- - test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand.xml
628
- - test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-parameters.xml
629
- - test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand.xml
630
- - test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-parameters.xml
631
- - test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-resource-disabled.xml
632
- - test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand-parameters.xml
633
- - test/reports/TEST-HammerCLIForeman-SmartProxy.xml
634
- - test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand.xml
635
- - test/reports/TEST-HammerCLIForeman-Host.xml
636
- - test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-parameters.xml
637
- - test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand-parameters.xml
638
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand.xml
639
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-parameters.xml
640
- - test/reports/TEST-HammerCLIForeman-User-InfoCommand-output.xml
641
- - test/reports/TEST-HammerCLIForeman-Environment-InfoCommand.xml
642
- - test/reports/TEST-MiniTest-Spec.xml
643
- - test/reports/TEST-HammerCLIForeman-Template-InfoCommand-output.xml
644
- - test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-output.xml
645
- - test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand.xml
646
- - test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand-parameters.xml
647
- - test/reports/TEST-HammerCLIForeman-Template-ListCommand-parameters.xml
648
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-output.xml
649
- - test/reports/TEST-HammerCLIForeman-Domain-ListCommand.xml
650
- - test/reports/TEST-HammerCLIForeman-Location-CreateCommand.xml
651
- - test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand.xml
652
- - test/reports/TEST-HammerCLIForeman-Host-StatusCommand.xml
653
- - test/reports/TEST-HammerCLIForeman-CommonParameter.xml
654
- - test/reports/TEST-HammerCLIForeman-User.xml
655
- - test/reports/TEST-HammerCLIForeman-Host-UpdateCommand-parameters.xml
656
- - test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-output.xml
657
- - test/reports/TEST-HammerCLIForeman-Host-InfoCommand-output.xml
658
- - test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand.xml
659
- - test/reports/TEST-HammerCLIForeman-Template-DumpCommand-parameters.xml
660
- - test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-output.xml
661
- - test/reports/TEST-HammerCLIForeman-Location-InfoCommand-parameters.xml
662
- - test/reports/TEST-HammerCLIForeman-User-InfoCommand-parameters.xml
663
- - test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-parameters.xml
664
- - test/reports/TEST-HammerCLIForeman-ComputeResource.xml
665
- - test/reports/TEST-HammerCLIForeman-Template-InfoCommand-parameters.xml
666
- - test/reports/TEST-HammerCLIForeman-Domain-ListCommand-output.xml
667
- - test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand-parameters.xml
668
- - test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-parameters.xml
669
- - test/reports/TEST-HammerCLIForeman-Host-CreateCommand.xml
670
- - test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand.xml
671
- - test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand.xml
672
- - test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand-parameters.xml
673
- - test/reports/TEST-HammerCLIForeman-Architecture-ListCommand.xml
674
- - test/reports/TEST-HammerCLIForeman-Location-ListCommand-resource-disabled.xml
675
- - test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-parameters.xml
676
- - test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand-parameters.xml
677
- - test/reports/TEST-HammerCLIForeman-Medium-ListCommand-parameters.xml
678
- - test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand.xml
679
- - test/reports/TEST-HammerCLIForeman-Host-ListCommand-parameters.xml
680
- - test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand-parameters.xml
681
- - test/reports/TEST-HammerCLIForeman-Template-ListCommand-output.xml
682
- - test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand.xml
683
- - test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand-parameters.xml
684
- - test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand-parameters.xml
685
- - test/reports/TEST-HammerCLIForeman-Template-DumpCommand.xml
686
- - test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand.xml
687
- - test/reports/TEST-HammerCLIForeman-Location-InfoCommand.xml
688
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand.xml
689
- - test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand-parameters.xml
690
- - test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand.xml
691
- - test/reports/TEST-HammerCLIForeman-Domain.xml
692
- - test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-output.xml
693
- - test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand-parameters.xml
694
- - test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand.xml
695
- - test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand.xml
696
- - test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand-parameters.xml
697
- - test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-parameters.xml
698
- - test/reports/TEST-HammerCLIForeman-Host-UpdateCommand.xml
699
- - test/reports/TEST-HammerCLIForeman-Hostgroup.xml
700
- - test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-parameters.xml
701
- - test/reports/TEST-HammerCLIForeman-Template.xml
702
- - test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand-parameters.xml
703
- - test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand.xml
704
- - test/reports/TEST-HammerCLIForeman-Template-UpdateCommand.xml
705
- - test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-parameters.xml
706
- - test/reports/TEST-HammerCLIForeman-Organization-ListCommand-resource-disabled.xml
707
- - test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-parameters.xml
708
- - test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-output.xml
709
- - test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand-parameters.xml
710
- - test/unit/image_test.rb
234
+ - test/unit/api_test.rb
235
+ - test/unit/commands_test.rb
236
+ - test/unit/credentials_test.rb
237
+ - test/unit/fact_test.rb
711
238
  - test/unit/filter_test.rb
239
+ - test/unit/helpers/fake_searchables.rb
240
+ - test/unit/helpers/resource_disabled.rb
241
+ - test/unit/helpers/command.rb
242
+ - test/unit/output/formatters_test.rb
243
+ - test/unit/param_filters_test.rb
244
+ - test/unit/test_output_adapter.rb
245
+ - test/unit/usergroup_test.rb
246
+ - test/unit/apipie_resource_mock.rb
247
+ - test/unit/common_parameter_test.rb
248
+ - test/unit/compute_resource_test.rb
249
+ - test/unit/data/1.10/foreman_api.json
250
+ - test/unit/data/README.md
251
+ - test/unit/data/test_api.json
252
+ - test/unit/dependency_resolver_test.rb
712
253
  - test/unit/domain_test.rb
713
- - test/unit/exception_handler_test.rb
714
- - test/unit/media_test.rb
715
- - test/unit/api_test.rb
254
+ - test/unit/environment_test.rb
255
+ - test/unit/external_usergroup_test.rb
716
256
  - test/unit/host_test.rb
717
- - test/unit/smart_variable_test.rb
718
- - test/unit/organization_test.rb
719
- - test/unit/smart_proxy_test.rb
720
- - test/unit/subnet_test.rb
257
+ - test/unit/hostgroup_test.rb
258
+ - test/unit/id_resolver_test.rb
259
+ - test/unit/image_test.rb
721
260
  - test/unit/location_test.rb
722
- - test/unit/dependency_resolver_test.rb
723
- - test/unit/helpers/command.rb
724
- - test/unit/helpers/resource_disabled.rb
725
- - test/unit/helpers/fake_searchables.rb
726
- - test/unit/credentials_test.rb
261
+ - test/unit/media_test.rb
262
+ - test/unit/model_test.rb
727
263
  - test/unit/operating_system_test.rb
728
264
  - test/unit/template_test.rb
729
- - test/unit/environment_test.rb
730
- - test/unit/commands_test.rb
731
- - test/unit/partition_table_test.rb
732
- - test/unit/hostgroup_test.rb
733
- - test/unit/smart_class_parameter_test.rb
734
- - test/unit/auth_source_ldap_test.rb
735
- - test/unit/param_filters_test.rb
736
- - test/unit/report_test.rb
265
+ - test/unit/user_test.rb
266
+ - test/unit/defaults_test.rb
737
267
  - test/unit/role_test.rb
738
- - test/unit/output/formatters_test.rb
739
- - test/unit/id_resolver_test.rb
740
- - test/unit/test_output_adapter.rb
268
+ - test/unit/exception_handler_test.rb
269
+ - test/unit/architecture_test.rb
270
+ - test/unit/auth_source_ldap_test.rb
741
271
  - test/unit/option_builders_test.rb
742
- - test/unit/fact_test.rb
743
- - test/unit/model_test.rb
744
- - test/unit/compute_resource_test.rb
272
+ - test/unit/organization_test.rb
273
+ - test/unit/partition_table_test.rb
745
274
  - test/unit/puppet_class_test.rb
746
- - test/unit/usergroup_test.rb
747
- - test/unit/apipie_resource_mock.rb
748
- - test/unit/common_parameter_test.rb
275
+ - test/unit/report_test.rb
276
+ - test/unit/smart_class_parameter_test.rb
277
+ - test/unit/smart_proxy_test.rb
278
+ - test/unit/smart_variable_test.rb
279
+ - test/unit/subnet_test.rb
749
280
  - test/unit/test_helper.rb
750
- - test/unit/architecture_test.rb
751
- - test/unit/user_test.rb
752
- - test/unit/external_usergroup_test.rb
753
- - test/unit/data/1.6/whatever.json
754
- - test/unit/data/1.6/foreman_api.json
755
- - test/unit/data/1.6/foreman_api_back.json
756
- - test/unit/data/1.5/foreman_api.json
757
- - test/unit/data/1.7/foreman_api.json
758
- - test/unit/data/1.4/foreman_api.json
281
+ - test/functional/api_expectations.rb
282
+ - test/functional/command_assertions.rb
283
+ - test/functional/location_test.rb
284
+ - test/functional/organization_test.rb
285
+ - test/functional/test_helper.rb
286
+ - test/test_helper.rb