Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-22456

DCP v1 API is phasing out, need to migrate to v2, ensure old JBDS versions will survive

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 4.4.0.Final
    • 4.3.0.Final, 4.3.1.Final, 4.4.0.Alpha2
    • project-examples
    • None

      Quoting paul.robinson@redhat.com

      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?

      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

      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)

            fbricon@redhat.com Fred Bricon
            fbricon@redhat.com Fred Bricon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: