Advertisement
Guest User

Untitled

a guest
Sep 14th, 2017
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.17 KB | None | 0 0
  1. [standalone@localhost:9999 /] /subsystem=deployment-scanner:read-resource-description
  2. {
  3. "outcome" => "success",
  4. "result" => {
  5. "description" => "The configuration of the deployment scanner subsystem",
  6. "head-comment-allowed" => true,
  7. "tail-comment-allowed" => true,
  8. "namespace" => "urn:jboss:domain:deployment-scanner:1.0",
  9. "attributes" => {},
  10. "operations" => undefined,
  11. "children" => {"scanner" => {"description" => "The scanners maintained by the subsystem."}}
  12. },
  13. "compensating-operation" => undefined
  14. }
  15. [standalone@localhost:9999 /] /subsystem=deployment-scanner:read-resource-description(operations=true,recursive=true)
  16. {
  17. "outcome" => "success",
  18. "result" => {
  19. "description" => "The configuration of the deployment scanner subsystem",
  20. "head-comment-allowed" => true,
  21. "tail-comment-allowed" => true,
  22. "namespace" => "urn:jboss:domain:deployment-scanner:1.0",
  23. "attributes" => {},
  24. "operations" => {
  25. "add" => {
  26. "operation-name" => "add",
  27. "description" => "Add the deployment scanner subsystem.",
  28. "request-properties" => {},
  29. "reply-properties" => {}
  30. },
  31. "read-attribute" => {
  32. "operation-name" => "read-attribute",
  33. "description" => "Gets the value of an attribute for the selected resource",
  34. "request-properties" => {"name" => {
  35. "type" => STRING,
  36. "description" => "The name of the attribute to get the value for under the selected resource",
  37. "nillable" => false
  38. }},
  39. "reply-properties" => {
  40. "type" => OBJECT,
  41. "value-type" => "The type will be that of the attribute found",
  42. "description" => "The value of the attribute"
  43. }
  44. },
  45. "read-children-names" => {
  46. "operation-name" => "read-children-names",
  47. "description" => "Gets the names of all children under the selected resource with the given type",
  48. "request-properties" => {"child-type" => {
  49. "type" => STRING,
  50. "description" => "The name of the node under which to get the children names",
  51. "nillable" => false
  52. }},
  53. "reply-properties" => {
  54. "type" => LIST,
  55. "description" => "The children names",
  56. "value-type" => STRING
  57. }
  58. },
  59. "read-children-resources" => {
  60. "operation-name" => "read-children-resources",
  61. "description" => "Reads information about all of a resource's children that are of a given type",
  62. "request-properties" => {
  63. "child-type" => {
  64. "type" => STRING,
  65. "description" => "The name of the resource under which to get the child resources",
  66. "nillable" => false
  67. },
  68. "recursive" => {
  69. "type" => BOOLEAN,
  70. "description" => "Whether to get the children recursively. If absent, false is the default",
  71. "nillable" => true
  72. },
  73. "proxies" => {
  74. "type" => BOOLEAN,
  75. "description" => "Whether to include remote resources in a recursive query (i.e. host level resources in a query of the domain root; running server resources in a query of a host). If absent, true is the default",
  76. "nillable" => true
  77. },
  78. "include-runtime" => {
  79. "type" => BOOLEAN,
  80. "description" => "Whether to include runtime attributes (i.e. those whose value does not come from the persistent configuration) in the response. If absent, false is the default",
  81. "nillable" => true
  82. }
  83. },
  84. "reply-properties" => {
  85. "type" => LIST,
  86. "description" => "The children resources",
  87. "value-type" => OBJECT
  88. }
  89. },
  90. "read-children-types" => {
  91. "operation-name" => "read-children-types",
  92. "description" => "Gets the type names of all the children under the selected resource",
  93. "reply-properties" => {
  94. "type" => LIST,
  95. "description" => "The children types",
  96. "value-type" => STRING
  97. }
  98. },
  99. "read-operation-description" => {
  100. "operation-name" => "read-operation-description",
  101. "description" => "Gets the details of an operation on the given resource",
  102. "request-properties" => {
  103. "name" => {
  104. "type" => STRING,
  105. "description" => "The description of the operation. Undefined if not found",
  106. "required" => false,
  107. "nillable" => false
  108. },
  109. "locale" => {
  110. "type" => STRING,
  111. "nillable" => true,
  112. "description" => "The locale to get the operation description in. If null, the default locale will be used"
  113. }
  114. },
  115. "reply-properties" => {
  116. "type" => OBJECT,
  117. "description" => "The description of the operation. Undefined if not found"
  118. }
  119. },
  120. "read-operation-names" => {
  121. "operation-name" => "read-operation-names",
  122. "description" => "Gets the names of all the operations for the given resource",
  123. "reply-properties" => {
  124. "type" => LIST,
  125. "value-type" => STRING,
  126. "description" => "The operation names"
  127. }
  128. },
  129. "read-resource" => {
  130. "operation-name" => "read-resource",
  131. "description" => "Reads a model resource's attribute values along with either basic or complete information about any child resources",
  132. "request-properties" => {
  133. "recursive" => {
  134. "type" => BOOLEAN,
  135. "description" => "Whether to include complete information about child resources, recursively. If absent, false is the default",
  136. "nillable" => true
  137. },
  138. "proxies" => {
  139. "type" => BOOLEAN,
  140. "description" => "Whether to include remote resources in a recursive query (i.e. host level resources in a query of the domain root; running server resources in a query of a host). If absent, true is the default",
  141. "nillable" => true
  142. },
  143. "include-runtime" => {
  144. "type" => BOOLEAN,
  145. "description" => "Whether to include runtime attributes (i.e. those whose value does not come from the persistent configuration) in the response. If absent, false is the default",
  146. "nillable" => true
  147. }
  148. },
  149. "reply-properties" => {
  150. "type" => OBJECT,
  151. "description" => "The resource's attribute values along with information about any child resources"
  152. }
  153. },
  154. "read-resource-description" => {
  155. "operation-name" => "read-resource-description",
  156. "description" => "Gets the description of a resource's attributes, types of children and, optionally, operations",
  157. "request-properties" => {
  158. "operations" => {
  159. "type" => BOOLEAN,
  160. "description" => "Whether to include descriptions of the resource's operations. Default is false",
  161. "required" => false,
  162. "nillable" => true
  163. },
  164. "inherited" => {
  165. "type" => BOOLEAN,
  166. "description" => "If 'operations' is true, whether to include descriptions of the resource's inherited operations. Default is true.",
  167. "nillable" => true
  168. },
  169. "recursive" => {
  170. "required" => false,
  171. "type" => BOOLEAN,
  172. "description" => "Whether to include recursively descriptions of child resources. Default is false.",
  173. "nillable" => true
  174. },
  175. "locale" => {
  176. "type" => STRING,
  177. "required" => false,
  178. "nillable" => true,
  179. "description" => "The locale to get the resource description in. If null, the default locale will be used"
  180. }
  181. },
  182. "reply-properties" => {
  183. "type" => OBJECT,
  184. "description" => "The description of the resource"
  185. }
  186. },
  187. "remove" => {
  188. "operation-name" => "remove",
  189. "description" => "Remove the deployment scanner subsystem.",
  190. "request-properties" => {},
  191. "reply-properties" => {}
  192. },
  193. "write-attribute" => {
  194. "operation-name" => "write-attribute",
  195. "description" => "Sets the value of an attribute for the selected resource",
  196. "request-properties" => {
  197. "name" => {
  198. "type" => STRING,
  199. "description" => "The name of the attribute to set the value for under the selected resource",
  200. "nillable" => false
  201. },
  202. "value" => {
  203. "type" => STRING,
  204. "description" => "The value of the attribute to set the value for under the selcted resource. May be null if the underlying model supports null values.",
  205. "nillable" => true,
  206. "required" => false
  207. }
  208. }
  209. }
  210. },
  211. "children" => {"scanner" => {
  212. "description" => "The scanners maintained by the subsystem.",
  213. "model-description" => {"*" => {
  214. "description" => "An individual deployment scanner that scans a particular location",
  215. "head-comment-allowed" => true,
  216. "tail-comment-allowed" => false,
  217. "attributes" => {
  218. "name" => {
  219. "type" => STRING,
  220. "description" => "The name of the scanner",
  221. "required" => true,
  222. "access-type" => "read-only",
  223. "storage" => "configuration"
  224. },
  225. "path" => {
  226. "type" => STRING,
  227. "description" => "The actual filesystem path to be scanned. Treated as an absolute path, unless the 'relative-to' attribute is specified, in which case the value is treated as relative to that path.",
  228. "required" => true,
  229. "min-length" => 1,
  230. "access-type" => "read-write",
  231. "storage" => "configuration"
  232. },
  233. "relative-to" => {
  234. "type" => STRING,
  235. "description" => "Reference to a filesystem path defined in the \"paths\" section of the server configuration.",
  236. "required" => false,
  237. "access-type" => "read-write",
  238. "storage" => "configuration"
  239. },
  240. "scan-enabled" => {
  241. "type" => BOOLEAN,
  242. "description" => "Flag indicating that all scanning (including initial scanning at startup) should be disabled.",
  243. "required" => false,
  244. "default" => true,
  245. "access-type" => "read-write",
  246. "storage" => "configuration"
  247. },
  248. "scan-interval" => {
  249. "type" => INT,
  250. "description" => "Periodic interval, in milliseconds, at which the repository should be scanned for changes. A value of less than 1 indicates the repository should only be scanned at initial startup.",
  251. "required" => false,
  252. "default" => 5000,
  253. "access-type" => "read-write",
  254. "storage" => "configuration"
  255. },
  256. "auto-deploy-zipped" => {
  257. "type" => BOOLEAN,
  258. "description" => "Controls whether zipped deployment content should be automatically deployed by the scanner without requiring the user to add a .dodeploy marker file.",
  259. "required" => false,
  260. "default" => true,
  261. "access-type" => "read-write",
  262. "storage" => "configuration"
  263. },
  264. "auto-deploy-exploded" => {
  265. "type" => BOOLEAN,
  266. "description" => "Controls whether zipped deployment content should be automatically deployed by the scanner without requiring the user to add a .dodeploy marker file. Setting this to 'true' is not recommended for anything but basic development scenarios, as there is no way to ensure that deployment will not occur in the middle of changes to the content.",
  267. "required" => false,
  268. "default" => false,
  269. "access-type" => "read-write",
  270. "storage" => "configuration"
  271. },
  272. "deployment-timeout" => {
  273. "type" => LONG,
  274. "description" => "Timeout, in seconds, a deployment is allows to execute before being canceled. The default is 60 seconds.",
  275. "required" => false,
  276. "default" => 60L,
  277. "access-type" => "read-write",
  278. "storage" => "configuration"
  279. }
  280. },
  281. "operations" => {
  282. "add" => {
  283. "operation-name" => "add",
  284. "description" => "Add a new deployment scanner",
  285. "request-properties" => {
  286. "path" => {
  287. "type" => STRING,
  288. "description" => "The actual filesystem path to be scanned. Treated as an absolute path, unless the 'relative-to' attribute is specified, in which case the value is treated as relative to that path.",
  289. "required" => true,
  290. "min-length" => 1
  291. },
  292. "relative-to" => {
  293. "type" => STRING,
  294. "description" => "Reference to a filesystem path defined in the \"paths\" section of the server configuration.",
  295. "required" => false
  296. },
  297. "scan-enabled" => {
  298. "type" => BOOLEAN,
  299. "description" => "Flag indicating that all scanning (including initial scanning at startup) should be disabled.",
  300. "required" => false,
  301. "default" => true
  302. },
  303. "scan-interval" => {
  304. "type" => INT,
  305. "description" => "Periodic interval, in milliseconds, at which the repository should be scanned for changes. A value of less than 1 indicates the repository should only be scanned at initial startup.",
  306. "required" => false,
  307. "default" => 5000
  308. },
  309. "auto-deploy-zipped" => {
  310. "type" => BOOLEAN,
  311. "description" => "Controls whether zipped deployment content should be automatically deployed by the scanner without requiring the user to add a .dodeploy marker file.",
  312. "required" => false,
  313. "default" => true
  314. },
  315. "auto-deploy-exploded" => {
  316. "type" => BOOLEAN,
  317. "description" => "Controls whether zipped deployment content should be automatically deployed by the scanner without requiring the user to add a .dodeploy marker file. Setting this to 'true' is not recommended for anything but basic development scenarios, as there is no way to ensure that deployment will not occur in the middle of changes to the content.",
  318. "required" => false,
  319. "default" => false
  320. },
  321. "deployment-timeout" => {
  322. "type" => LONG,
  323. "description" => "Timeout, in seconds, a deployment is allows to execute before being canceled. The default is 60 seconds.",
  324. "required" => false,
  325. "default" => 60L
  326. }
  327. },
  328. "reply-properties" => {}
  329. },
  330. "read-attribute" => {
  331. "operation-name" => "read-attribute",
  332. "description" => "Gets the value of an attribute for the selected resource",
  333. "request-properties" => {"name" => {
  334. "type" => STRING,
  335. "description" => "The name of the attribute to get the value for under the selected resource",
  336. "nillable" => false
  337. }},
  338. "reply-properties" => {
  339. "type" => OBJECT,
  340. "value-type" => "The type will be that of the attribute found",
  341. "description" => "The value of the attribute"
  342. }
  343. },
  344. "read-children-names" => {
  345. "operation-name" => "read-children-names",
  346. "description" => "Gets the names of all children under the selected resource with the given type",
  347. "request-properties" => {"child-type" => {
  348. "type" => STRING,
  349. "description" => "The name of the node under which to get the children names",
  350. "nillable" => false
  351. }},
  352. "reply-properties" => {
  353. "type" => LIST,
  354. "description" => "The children names",
  355. "value-type" => STRING
  356. }
  357. },
  358. "read-children-resources" => {
  359. "operation-name" => "read-children-resources",
  360. "description" => "Reads information about all of a resource's children that are of a given type",
  361. "request-properties" => {
  362. "child-type" => {
  363. "type" => STRING,
  364. "description" => "The name of the resource under which to get the child resources",
  365. "nillable" => false
  366. },
  367. "recursive" => {
  368. "type" => BOOLEAN,
  369. "description" => "Whether to get the children recursively. If absent, false is the default",
  370. "nillable" => true
  371. },
  372. "proxies" => {
  373. "type" => BOOLEAN,
  374. "description" => "Whether to include remote resources in a recursive query (i.e. host level resources in a query of the domain root; running server resources in a query of a host). If absent, true is the default",
  375. "nillable" => true
  376. },
  377. "include-runtime" => {
  378. "type" => BOOLEAN,
  379. "description" => "Whether to include runtime attributes (i.e. those whose value does not come from the persistent configuration) in the response. If absent, false is the default",
  380. "nillable" => true
  381. }
  382. },
  383. "reply-properties" => {
  384. "type" => LIST,
  385. "description" => "The children resources",
  386. "value-type" => OBJECT
  387. }
  388. },
  389. "read-children-types" => {
  390. "operation-name" => "read-children-types",
  391. "description" => "Gets the type names of all the children under the selected resource",
  392. "reply-properties" => {
  393. "type" => LIST,
  394. "description" => "The children types",
  395. "value-type" => STRING
  396. }
  397. },
  398. "read-operation-description" => {
  399. "operation-name" => "read-operation-description",
  400. "description" => "Gets the details of an operation on the given resource",
  401. "request-properties" => {
  402. "name" => {
  403. "type" => STRING,
  404. "description" => "The description of the operation. Undefined if not found",
  405. "required" => false,
  406. "nillable" => false
  407. },
  408. "locale" => {
  409. "type" => STRING,
  410. "nillable" => true,
  411. "description" => "The locale to get the operation description in. If null, the default locale will be used"
  412. }
  413. },
  414. "reply-properties" => {
  415. "type" => OBJECT,
  416. "description" => "The description of the operation. Undefined if not found"
  417. }
  418. },
  419. "read-operation-names" => {
  420. "operation-name" => "read-operation-names",
  421. "description" => "Gets the names of all the operations for the given resource",
  422. "reply-properties" => {
  423. "type" => LIST,
  424. "value-type" => STRING,
  425. "description" => "The operation names"
  426. }
  427. },
  428. "read-resource" => {
  429. "operation-name" => "read-resource",
  430. "description" => "Reads a model resource's attribute values along with either basic or complete information about any child resources",
  431. "request-properties" => {
  432. "recursive" => {
  433. "type" => BOOLEAN,
  434. "description" => "Whether to include complete information about child resources, recursively. If absent, false is the default",
  435. "nillable" => true
  436. },
  437. "proxies" => {
  438. "type" => BOOLEAN,
  439. "description" => "Whether to include remote resources in a recursive query (i.e. host level resources in a query of the domain root; running server resources in a query of a host). If absent, true is the default",
  440. "nillable" => true
  441. },
  442. "include-runtime" => {
  443. "type" => BOOLEAN,
  444. "description" => "Whether to include runtime attributes (i.e. those whose value does not come from the persistent configuration) in the response. If absent, false is the default",
  445. "nillable" => true
  446. }
  447. },
  448. "reply-properties" => {
  449. "type" => OBJECT,
  450. "description" => "The resource's attribute values along with information about any child resources"
  451. }
  452. },
  453. "read-resource-description" => {
  454. "operation-name" => "read-resource-description",
  455. "description" => "Gets the description of a resource's attributes, types of children and, optionally, operations",
  456. "request-properties" => {
  457. "operations" => {
  458. "type" => BOOLEAN,
  459. "description" => "Whether to include descriptions of the resource's operations. Default is false",
  460. "required" => false,
  461. "nillable" => true
  462. },
  463. "inherited" => {
  464. "type" => BOOLEAN,
  465. "description" => "If 'operations' is true, whether to include descriptions of the resource's inherited operations. Default is true.",
  466. "nillable" => true
  467. },
  468. "recursive" => {
  469. "required" => false,
  470. "type" => BOOLEAN,
  471. "description" => "Whether to include recursively descriptions of child resources. Default is false.",
  472. "nillable" => true
  473. },
  474. "locale" => {
  475. "type" => STRING,
  476. "required" => false,
  477. "nillable" => true,
  478. "description" => "The locale to get the resource description in. If null, the default locale will be used"
  479. }
  480. },
  481. "reply-properties" => {
  482. "type" => OBJECT,
  483. "description" => "The description of the resource"
  484. }
  485. },
  486. "remove" => {
  487. "operation-name" => "remove",
  488. "description" => "Remove a deployment scanner",
  489. "request-properties" => {},
  490. "reply-properties" => {}
  491. },
  492. "write-attribute" => {
  493. "operation-name" => "write-attribute",
  494. "description" => "Sets the value of an attribute for the selected resource",
  495. "request-properties" => {
  496. "name" => {
  497. "type" => STRING,
  498. "description" => "The name of the attribute to set the value for under the selected resource",
  499. "nillable" => false
  500. },
  501. "value" => {
  502. "type" => STRING,
  503. "description" => "The value of the attribute to set the value for under the selcted resource. May be null if the underlying model supports null values.",
  504. "nillable" => true,
  505. "required" => false
  506. }
  507. }
  508. }
  509. },
  510. "children" => undefined
  511. }}
  512. }}
  513. },
  514. "compensating-operation" => undefined
  515. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement