Bug 812409 - [as7] Resource config for 'Deployment' Resources is missing two required props
Summary: [as7] Resource config for 'Deployment' Resources is missing two required props
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 3.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: as7-plugin
TreeView+ depends on / blocked
 
Reported: 2012-04-13 16:01 UTC by Ian Springer
Modified: 2013-09-04 07:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-04 07:48:50 UTC
Embargoed:


Attachments (Terms of Use)

Description Ian Springer 2012-04-13 16:01:16 UTC
{jboss-as-7}Deployment=java.lang.Exception: Resource config is not valid: [Required property 'content' was not set in Configuration[id=0]., Required property 'persistent' has a null value in Configuration[id=0].]}

Comment 1 Heiko W. Rupp 2012-04-18 11:55:03 UTC
This was no issue on the latest jenkins runs

Comment 2 Heiko W. Rupp 2012-04-18 12:22:11 UTC
Values are correctly returned
[7]:-58 > print
Resource[id=-58, uuid=d6ba9874-acf9-437d-86ad-e277dd3913ca, 
type={jboss-as-7}Deployment, key=deployment=test-simple.war, 
name=test-simple.war, parent=EAP (127.0.0.1:9990)]
[8]:-58 > rc
PropertyList[id=0, name=content, list=[PropertyMap[id=0, name=content, 
map={input-stream-index=PropertySimple[id=0, name=input-stream-index, value=, 
override=null], hash=PropertySimple[id=0, name=hash, value=, override=null], 
bytes=PropertySimple[id=0, name=bytes, value=, override=null], 
url=PropertySimple[id=0, name=url, value=, override=null], 
path=PropertySimple[id=0, name=path, value=deployments/test-simple.war, 
override=null], relative-to=PropertySimple[id=0, name=relative-to, 
value=jboss.server.base.dir, override=null], archive=PropertySimple[id=0, 
name=archive, value=true, override=null]}]]]
PropertySimple[id=0, name=enabled, value=true, override=null]
PropertySimple[id=0, name=name, value=test-simple.war, override=null]
PropertySimple[id=0, name=persistent, value=false, override=null]
PropertySimple[id=0, name=runtime-name, value=test-simple.war, override=null]

vs. 

[standalone@localhost:9999 deployment=test-simple.war] :read-resource
{
    "outcome" => "success",
    "result" => {
        "content" => [{
            "path" => "deployments/test-simple.war",
            "relative-to" => "jboss.server.base.dir",
            "archive" => true
        }],
        "enabled" => true,
        "name" => "test-simple.war",
        "persistent" => false,
        "runtime-name" => "test-simple.war",
        "subdeployment" => undefined,
        "subsystem" => {"web" => undefined}
    }
}

Comment 4 Heiko W. Rupp 2013-09-04 07:48:50 UTC
Bulk closing of some old issues


Note You need to log in before you can comment on or make changes to this bug.