[
https://issues.apache.org/jira/browse/KARAF-3827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16199003#comment-16199003
]
Francois Papon commented on KARAF-3827:
---------------------------------------
Hi JB,
I worked on this issue and fixed it. I also try to return JSON object instead
of XML. It's mandatory for this service to return XML or could we have JSON
response ?
> Cave rest service doesn't retrieve the repositories
> ---------------------------------------------------
>
> Key: KARAF-3827
> URL: https://issues.apache.org/jira/browse/KARAF-3827
> Project: Karaf
> Issue Type: Bug
> Components: cave-rest
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Fix For: cave-4.0.1
>
>
> Even if a repository exists:
> {code}
> karaf@root()> cave:repositories
> Name | Location
> -----------------------------------------------------------------------------
> my-repository | /home/jbonofre/bin/apache-karaf-4.0.0/data/cave/my-repository
> {code}
> accessing the Cave REST API on:
> {code}
> http://localhost:8181/cave/rest/repositories
> {code}
> just give:
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <cave-repositorys><cave-repository/></cave-repositorys>
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)