[jboss-jira] [JBoss JIRA] (WFCORE-3609) Fix milliseconds format in configuration changes operation date

ehsavoie Hugonnet (JIRA) issues at jboss.org
Wed Feb 14 13:01:00 EST 2018


     [ https://issues.jboss.org/browse/WFCORE-3609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ehsavoie Hugonnet updated WFCORE-3609:
--------------------------------------
    Summary: Fix milliseconds format in configuration changes operation date  (was: Fix milliseconds format in configration changes operation date)


> Fix milliseconds format in configuration changes operation date
> ---------------------------------------------------------------
>
>                 Key: WFCORE-3609
>                 URL: https://issues.jboss.org/browse/WFCORE-3609
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 3.1.0.Final
>            Reporter: ehsavoie Hugonnet
>            Assignee: ehsavoie Hugonnet
>            Priority: Minor
>
> [5:56 PM] Harald Pehl: @here I noticed that the operation-date attribute for /subsystem=core-management/service=configuration-changes:list-changes has sometimes a millisecond part, sometimes not
> [5:56 PM] Harald Pehl:
>     [standalone at localhost:9991 /] /subsystem=core-management/service=configuration-changes:list-changes
>     {
>         "outcome" => "success",
>         "result" => [
>             {
>                 "operation-date" => "2018-02-14T16:42:09.856Z",
>                 "access-mechanism" => "HTTP",
>                 "remote-address" => "/172.18.0.1",
>                 "outcome" => "success",
>                 "operations" => [{
>                     "blocking" => false,
>                     "operation" => "reload",
>                     "address" => [],
>                     "operation-headers" => {
>                         "access-mechanism" => "HTTP",
>                         "caller-type" => "user"
>                     }
>                 }]
>             },
>             {
>                 "operation-date" => "2018-02-14T16:34:20Z",
>                 "access-mechanism" => "HTTP",
>                 "remote-address" => "/172.18.0.1",
>                 "outcome" => "success",
>                 "operations" => [{
>                     "operation" => "composite",
>                     "address" => [],
>                     "steps" => [{
>                         "name" => "statistics-enabled",
>                         "value" => true,
>                         "operation" => "write-attribute",
>                         "address" => [("subsystem" => "undertow")]
>                     }],
>                     "operation-headers" => {
>                         "access-mechanism" => "HTTP",
>                         "caller-type" => "user"
>                     }
>                 }]
>             }
>         ]
>     }
> [5:56 PM] Harald Pehl: This makes it very hard to parse the date in the client



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list