[jbosstools-issues] [JBoss JIRA] Commented: (JBDS-1364) ModeShape Connection profile default URL is wrong for EDS.
Randall Hauch (JIRA)
jira-events at lists.jboss.org
Thu Oct 21 11:41:54 EDT 2010
[ https://jira.jboss.org/browse/JBDS-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558552#action_12558552 ]
Randall Hauch commented on JBDS-1364:
-------------------------------------
I'd suggest using the REST API to discover the repositories and workspaces. For details, see http://docs.jboss.org/modeshape/latest/manuals/reference/html_single/reference-guide-en.html#supported_rest_resources. But basically, an HTTP GET against http://localhost:8080/modeshape-rest/ will return a JSON response containing (among other things) the names of the repositories. Similarly, once a repository is selected, an HTTP GET against http://localhost:8080/modeshape-rest/{repositoryName} will return a JSON response containing information about the repository, including the available workspaces that are visible to the user.
Hopefully this information can be used by the ConnectionProfile to give the user a choice list for the repository names and, when one is selected, the workspace names.
But it would also be nice if the user could paste (or type) in a URL.
> 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
More information about the jbosstools-issues
mailing list