[ 
https://issues.apache.org/jira/browse/OPENNLP-1455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18007248#comment-18007248
 ] 

Martin Wiesner commented on OPENNLP-1455:
-----------------------------------------

_*Warning*_

*Product to be retired* Bing Search and Bing Custom Search APIs will be retired 
on 11th August 2025. New deployments are not available and existing resources 
will be disabled. [Learn more|https://aka.ms/BingAPIsRetirement]

Source: 
[https://learn.microsoft.com/en-us/bing/search-apis/bing-web-search/quickstarts/rest/java]

 

For this reason, related code with queries towards Bing/Azure and dependent 
services can/should be deleted. Related tests will vanish automatically.

> Change test strategy for tests in 'opennlp-similarity' sandbox component 
> dependent on 'api.datamarket.azure.com'
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENNLP-1455
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-1455
>             Project: OpenNLP
>          Issue Type: Task
>          Components: Similarity
>    Affects Versions: 2.1.0
>            Reporter: Martin Wiesner
>            Priority: Major
>
> Some tests in the sandbox component 'opennlp-similarity' fail with:
>  
> "UnknownHostException: api.datamarket.azure.com: nodename nor servname 
> provided, or
> not known"
>  
> Those have been set to @Ignore during the recent migration to OPENNLP 2.1.x
>  
> Aims:
>  * Rethink and rework the test strategy to avoid making calls to external 
> cloud services which no longer exist.
>  * Optimize Test classes to avoid code duplication.
> Affected tests classes are:
> {{(a) StoryDiscourseNavigatorTest, and}}
> {{(b) }}{{MultiSentenceSearchResultsProcessorTest}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to