[jbosstools-issues] [JBoss JIRA] (JBIDE-22458) JBoss Help should use DCP v2
Fred Bricon (JIRA)
issues at jboss.org
Fri May 27 16:31:00 EDT 2016
Fred Bricon created JBIDE-22458:
-----------------------------------
Summary: JBoss Help should use DCP v2
Key: JBIDE-22458
URL: https://issues.jboss.org/browse/JBIDE-22458
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: central, common/jst/core
Affects Versions: 4.4.0.Alpha1
Reporter: Fred Bricon
The DCPv1 search service is being phased out in favor of DCPv2. The JBoss Help feature needs to migrate to v2 as well.
- the search url needs to be changed to http://dcp2.jboss.org/v2/rest/search?size=100&query={expression}&sys_type=blogpost&sys_type=article&sys_type=solution&sys_type=webpage in org.jboss.tools.central/plugin.xml
- The JSON Parser needs to be updated to the new result format (fields are returned as arrays, we need to get the 1st element now). See https://github.com/jbosstools/jbosstools-base/blob/e0b10e225f070bc11aa1bfba7b8a8712a9c864bb/foundation/plugins/org.jboss.tools.foundation.help.ui/src/org/jboss/tools/foundation/help/ui/internal/search/SearchiskoResultBuilder.java
Bad news is JBDS 9/ JBT 4.3 help search will break as soon as DCPv1 is decommissioned, since the search URL is hard coded in the plugin.xml
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list