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

Claudio Miranda (JIRA) issues at jboss.org
Sat Sep 6 19:59:00 EDT 2014


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

Claudio Miranda commented on WFCORE-87:
---------------------------------------

PR sent

see the CLI output
{code}
[standalone at localhost:9990 /] /deployment=jboss-helloworld.war:read-resource
{
    "outcome" => "success",
    "result" => {
        "content" => [{"hash" => bytes {
            0x20, 0x18, 0x2d, 0xaf, 0x53, 0x1c, 0x60, 0xc3,
            0xcc, 0x94, 0x83, 0xec, 0xfe, 0x7a, 0x02, 0x01,
            0x23, 0x58, 0x34, 0x4d
        }}],
        "disabled-time" => 1410046635766L,
        "disabled-timestamp" => "2014-09-06 20:37:15,766 BRT",
        "enabled" => false,
        "enabled-time" => 1410046608131L,
        "enabled-timestamp" => "2014-09-06 20:36:48,131 BRT",
        "name" => "jboss-helloworld.war",
        "persistent" => false,
        "runtime-name" => "jboss-helloworld.war",
        "subdeployment" => undefined,
        "subsystem" => undefined
    }
}
{code}

read-resource-description
{code}
"enabled-timestamp" => {
    "type" => STRING,
    "description" => "Last timestamp the application was enabled. Format is yyyy-MM-dd HH:mm:ss,SSS zzz.",
    "expressions-allowed" => false,
    "nillable" => false,
    "min-length" => 1L,
    "max-length" => 2147483647L,
    "access-type" => "read-only",
    "storage" => "configuration"
},
"disabled-timestamp" => {
    "type" => STRING,
    "description" => "Last timestamp the application was disabled. Format is yyyy-MM-dd HH:mm:ss,SSS zzz.",
    "expressions-allowed" => false,
    "nillable" => false,
    "min-length" => 1L,
    "max-length" => 2147483647L,
    "access-type" => "read-only",
    "storage" => "configuration"
},
"enabled-time" => {
    "type" => LONG,
    "description" => "Last time the application was enabled",
    "expressions-allowed" => false,
    "nillable" => false,
    "min" => 1L,
    "max" => 2147483647L,
    "access-type" => "read-only",
    "storage" => "configuration"
},
"disabled-time" => {
    "type" => LONG,
    "description" => "Last time the application was disabled",
    "expressions-allowed" => false,
    "nillable" => false,
    "min" => 1L,
    "max" => 2147483647L,
    "access-type" => "read-only",
    "storage" => "configuration"
},

{code}

> 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