[jbosstools-issues] [JBoss JIRA] (JBIDE-22456) DCP v1 API is phasing out, need to migrate to v2, ensure old JBDS versions will survive

Fred Bricon (JIRA) issues at jboss.org
Fri Jul 22 05:28:02 EDT 2016


     [ https://issues.jboss.org/browse/JBIDE-22456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fred Bricon resolved JBIDE-22456.
---------------------------------
    Resolution: Done


Switch to DCPv2 web API was done before the 4.4.0.Final release

- https://github.com/jbosstools/jbosstools-download.jboss.org/commit/48625f5942bb2cc9ceec23f0700a4cad6dd1c0c1
- https://github.com/jbosstools/jbosstools-download.jboss.org/commit/5133da044e1771129e05261f3bd03c455cbe5c64

> DCP v1 API is phasing out, need to migrate to v2, ensure old JBDS versions will survive
> ---------------------------------------------------------------------------------------
>
>                 Key: JBIDE-22456
>                 URL: https://issues.jboss.org/browse/JBIDE-22456
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: project-examples
>    Affects Versions: 4.3.0.Final, 4.3.1.Final, 4.4.0.Alpha2
>            Reporter: Fred Bricon
>            Assignee: Fred Bricon
>            Priority: Blocker
>             Fix For: 4.4.0.Final
>
>
> Quoting [~paul.robinson] 
> {quote}
> I noticed that JBDS is using this query to lookup available Quickstarts:
> http://dcp.jboss.org/v1/rest/search?content_provider=jboss-developer&content_provider=rht&field=target_product&field=github_repo_url&field=sys_description&field=sys_title&field=sys_tags&field=sys_type&field=experimental&field=git_download&field=prerequisites&field=quickstart_id&field=git_tag&field=git_commit&query=sys_type:(quickstart)&size=500
> Fred, will keep me honest here.
> I think you want to be aware of this as part of the decommissioning of DCP1 (dcp.jboss.org) now that we've moved to DCP2 (dcp2.jboss.org). 
> I presume this introduces challenges as we have installed software using this deprecated API on a deprecated server?
> {quote}
> {quote}
> Looks like you can just switch the server and protocol bits of the URL: 
> http://dcp2.jboss.org/v2/rest/search?content_provider=jboss-developer&content_provider=rht&field=target_product&field=github_repo_url&field=sys_description&field=sys_title&field=sys_tags&field=sys_type&field=experimental&field=git_download&field=prerequisites&field=quickstart_id&field=git_tag&field=git_commit&query=sys_type:(quickstart)&size=500
> {quote}
> Unfortunately it seems we can't parse the new query output. We need to investigate whether the ouput can be made compatible with JBDS 9, or fall back to another solution (serve hard coded results? another alternative)



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list