[
https://issues.apache.org/jira/browse/OOZIE-3152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16313024#comment-16313024
]
Andras Piros commented on OOZIE-3152:
-------------------------------------
[~kmarton] thanks for the contribution! Please extract a method, inside that
variables {{ret.buildInfo.replace(/=/g, \":\")}} and the next {{replace()}}
with catchy names, as well as explain in a comment the meaning of this RegExp
with some examples to improve readability and supportability. Thanks!
> Oozie version is undefined in UI
> --------------------------------
>
> Key: OOZIE-3152
> URL: https://issues.apache.org/jira/browse/OOZIE-3152
> Project: Oozie
> Issue Type: Bug
> Reporter: Satish Subhashrao Saley
> Assignee: Julia Kinga Marton
> Priority: Blocker
> Labels: newbie
> Fix For: 5.0.0b1, 5.0.0
>
> Attachments: OOZIE-3152-001.patch, Screen Shot 2018-01-03 at 3.33.58
> PM.png, ServerVersionAdded.png
>
>
> The json string returned by
> http://localhost:11000/oozie/v2/admin/build-version
> {code}
> {
> buildInfo: "{build.time=${build.time}, vc.url=${vc.url}, build.user=saley,
> vc.revision=${vc.revision}, build.version=5.0.0-beta1}"
> }
> {code}
> We need to read the version properly here -
> https://github.com/apache/oozie/blob/master/webapp/src/main/webapp/oozie-console.js#L2713
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)