Uploaded image for project: 'Stanbol (Retired)'
  1. Stanbol (Retired)
  2. STANBOL-1389

Restful NLP Analyses Engine should not initialise remote service during activation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.12.0
    • 1.0.0, 0.12.1
    • Enhancement Engines
    • None

    Description

      The @Activate method of the RESTfull NLP Analysis Engine should not initialise the remote NLP serivce - meaning to send a GET request to acquire the supported languages.

      This may cause issues in cases when Stanbol and the NLP service do run in the same servlet container as (1) in this case the NLP service will not be available at this point (2) the initialization request will wait until the timeount and (3) activate in OSGI is a single thread so this will also block the initialization of other components.

      The engine already supports a lazy initialization on the first enhancement request. So this issue is only about deactivating the initialization in the activate method.

      Attachments

        Activity

          People

            rwesten Rupert Westenthaler
            rwesten Rupert Westenthaler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: