Bug 1015560
| Summary: | Uploading content using remote API/CLI requires many times more heap then file size | |||
|---|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | Libor Zoubek <lzoubek> | |
| Component: | CLI | Assignee: | Thomas Segismont <tsegismo> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | JON 3.2 | CC: | myarboro, theute, tsegismo | |
| Target Milestone: | ER04 | |||
| Target Release: | JON 3.2.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1017246 (view as bug list) | Environment: | ||
| Last Closed: | Type: | Bug | ||
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1012435, 1017246 | |||
|
Description
Libor Zoubek
2013-10-04 13:51:05 UTC
(In reply to Libor Zoubek from comment #0) > 3b: with large WAR follow > https://access.redhat.com/site/documentation/en-US/JBoss_Operations_Network/ > 2.4/html/CLI_Guide/Scripted_Group_Deployments_using_the_CLI_API- > Creating_a_new_resource.html This is the up to date version of the doc: https://access.redhat.com/site/documentation/en-US/JBoss_Operations_Network/3.1/html-single/Dev_Writing_JON_Command-Line_Scripts/index.html#content-resources Fixed in release/jon3.2.x
commit b531420040505ed63bfeeb68ff3979f4cdb233cd
Author: Thomas Segismont <tsegismo>
Date: Wed Oct 9 15:44:04 2013 +0200
Bug 1017246 - Uploading content using remote API/CLI requires many times more heap then file size
Cherry picked from master 7efed3c
Added new methods to create a bundle version or a package backed resource with bytes denoted by a content handle (see ContentManager#createTemporaryContentHandle)
Added method in ScriptUtil to upload a local file and get a content handle
Updated Javascript samples (bundles.js)
Moving to ON_QA for testing in the next build. on ER4 |