[
https://jira.jboss.org/browse/JBDS-1364?page=com.atlassian.jira.plugin.sy...
]
John Doyle commented on JBDS-1364:
----------------------------------
Just had a chat with rhauch and it turns out that we can get a list of repositories from
the modeshape REST API. This will enable me to offer the user a list of repositories to
choose from. Much better solution.
_____________________________________________________________
<rhauch> jfd: Is there a way to use the REST api to discover the repository names
and, for a particular repository name, the workspace names?
<rhauch> jfd: I should rephrase that. Is there a way in the connection profile
mechanism to use the existing REST API to discover the repository names and, for a
particular repository name, the workspace names?
<jfd> rhauch, interesting thought, wonder who might know that..
<rhauch> jfd: An HTTP GET on
http://localhost:8080/modeshape-rest/ will return a
JSON response with the list of the repository names.
<jfd> rhauch, the profile page is mine, I do do whtever I want there. I can connect
and browse w/o a repos, then sure.
<rhauch> jfd: Then an HTTP GET on
http://localhost:8080/modeshape-rest/{repositoryName} will return a JSON response with the
names of the workspaces
<jfd> rhauch, sweet, I can then offer a list.
_____________________________________________________________
ModeShape Connection profile default URL is wrong for EDS.
----------------------------------------------------------
Key: JBDS-1364
URL:
https://jira.jboss.org/browse/JBDS-1364
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Components: SOA Platform
Affects Versions: 4.0.0.M2
Reporter: John Doyle
Assignee: John Doyle
Fix For: 4.0.0.Beta2
The default URL in the ModeShape connection profile is currently:
jdbc:jcr:http://localhost:8080/modeshape-rest/repository/default
For EDS it should be:
jdbc:jcr:http://localhost:8080/modeshape-rest/repository/eds
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira