[
https://issues.apache.org/jira/browse/SLIDER-1041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15086119#comment-15086119
]
ASF subversion and git services commented on SLIDER-1041:
---------------------------------------------------------
Commit 0992e85500239d88f77cbd76f142b1daf02d5219 in incubator-slider's branch
refs/heads/develop from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-slider.git;h=0992e85 ]
Merge branch 'develop' of
https://git-wip-us.apache.org/repos/asf/incubator-slider into develop
* 'develop' of https://git-wip-us.apache.org/repos/asf/incubator-slider:
SLIDER-1042 Use the correct cluster name when fetching the description
SLIDER-1041 Fix consistency for exports, enumerate all exports on HTML index.
SLIDER-1040 Better formatting on the AM's web ui.
SLIDER-1012 Modify server and quicklinks for Tomcat (fengyongshe)
SLIDER-809 First implementation of an Apache Tomcat app-package
SLIDER-1039 Run python tests from target directory
> Discrepancy between /ws/v1/slider/publisher/exports and
> /ws/v1/slider/publisher/exports/{export_name}
> -----------------------------------------------------------------------------------------------------
>
> Key: SLIDER-1041
> URL: https://issues.apache.org/jira/browse/SLIDER-1041
> Project: Slider
> Issue Type: Bug
> Components: Web & REST
> Affects Versions: Slider 0.90.2
> Reporter: Josh Elser
> Assignee: Josh Elser
> Fix For: Slider 0.91
>
>
> In working on SLIDER-809, I noticed that I could see the map of all exports
> listed in /ws/v1/slider/publisher/exports, but this endpoint did not actually
> contain the value from the {{ExportEntry}}. If I request some
> /ws/v1/slider/publisher/exports/<export_name>, then I can see the value:
> For example:
> {noformat}
> {"exports":{"servers":{"description":"Servers","updated":1451440844425,"updatedTime":"Tue
> Dec 29 21:00:44 EST
> 2015","entries":{},"empty":true},"quicklinks":{"description":"QuickLinks","updated":1451440844425,"updatedTime":"Tue
> Dec 29 21:00:44 EST
> 2015","entries":{},"empty":true},"container_log_dirs":{"description":"container_log_dirs","updated":1451440840223,"updatedTime":"Tue
> Dec 29 21:00:40 EST
> 2015","entries":{},"empty":true},"container_work_dirs":{"description":"container_work_dirs","updated":1451440840223,"updatedTime":"Tue
> Dec 29 21:00:40 EST 2015","entries":{},"empty":true}}}
> {noformat}
> And if I fetch the quicklinks:
> {noformat}
> {"description":"QuickLinks","updated":1451440844425,"updatedTime":"Tue Dec 29
> 21:00:44 EST
> 2015","entries":{"HTTP":[{"value":"http://hw10447.local:60283","level":"application","updatedTime":"Tue
> Dec 29 21:00:44 EST 2015"}]},"empty":false}
> {noformat}
> Suddenly, entries is not empty. These seems to be inconsistent since both
> REST endpoints are backed by the same data structure.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)