[jboss-jira] [JBoss JIRA] (WFCORE-87) Display deployment timestamp

Claudio Miranda (JIRA) issues at jboss.org
Fri Sep 5 10:54:00 EDT 2014


    [ https://issues.jboss.org/browse/WFCORE-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12999441#comment-12999441 ] 

Claudio Miranda edited comment on WFCORE-87 at 9/5/14 10:53 AM:
----------------------------------------------------------------

Add it as runtime attribute in CLI, later I will do it in HAL, see the result
{code}
[standalone at localhost:9990 /]
/deployment=jboss-helloworld.war:read-resource(include-aliases=true,include-defaults=true,include-runtime=true,recursive=true)
{
    "outcome" => "success",
    "result" => {
        "content" => [{"hash" => bytes {
            0x56, 0xf2, 0xe5, 0xb5, 0x7c, 0x78, 0x20, 0x7b,
            0x6e, 0x42, 0x88, 0x2c, 0x94, 0xf9, 0x94, 0x11,
            0x63, 0x44, 0xe2, 0xac
        }}],
        "enabled" => false,
        "name" => "jboss-helloworld.war",
        "persistent" => true,
        "runtime-name" => "jboss-helloworld.war",
        "status" => "STOPPED",
        "timestamp" => "Fri Sep 05 00:42:19 BRT 2014",
        "subdeployment" => undefined,
        "subsystem" => undefined
    }
}
{code}


was (Author: claudio4j):
Add it as runtime attribute in CLI, later I will do it in HAL, see the result

[standalone at localhost:9990 /]
/deployment=jboss-helloworld.war:read-resource(include-aliases=true,include-defaults=true,include-runtime=true,recursive=true)
{
    "outcome" => "success",
    "result" => {
        "content" => [{"hash" => bytes {
            0x56, 0xf2, 0xe5, 0xb5, 0x7c, 0x78, 0x20, 0x7b,
            0x6e, 0x42, 0x88, 0x2c, 0x94, 0xf9, 0x94, 0x11,
            0x63, 0x44, 0xe2, 0xac
        }}],
        "enabled" => false,
        "name" => "jboss-helloworld.war",
        "persistent" => true,
        "runtime-name" => "jboss-helloworld.war",
        "status" => "STOPPED",
        "timestamp" => "Fri Sep 05 00:42:19 BRT 2014",
        "subdeployment" => undefined,
        "subsystem" => undefined
    }
}

> Display deployment timestamp
> ----------------------------
>
>                 Key: WFCORE-87
>                 URL: https://issues.jboss.org/browse/WFCORE-87
>             Project: WildFly Core
>          Issue Type: Enhancement
>          Components: Domain Management
>    Affects Versions: 1.0.0.Alpha5
>            Reporter: Claudio Miranda
>            Assignee: Brian Stansberry
>            Priority: Minor
>
> Display the deployment timestamp, that is the date of last modified deployment. It is useful for users to see the date and time of deployments.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list