Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-430

FIWARE.Request.Tech.Data.CEP.Unit Test 7, Case 2 - Export to external repository

    Details

    • HD-Chapter:
      Data
    • HD-Enabler:
      CEP

      Description

      Hi,

      An error is presented in the Tomcat logs when performing the Unit Test 7
      Case 2. When executing the action "Save and Export command and
      selectingExport to external repository (enter the name UnitTest for the
      definition and the URL as follows
      http://

      {host}

      :8080/ProtonOnWebServerAdmin/resources/definitions"
      Tomcat logs shows the error below, albeit the UI shows a dialog indicating
      a successful export (as shown in the picture in attachment):

      SEVERE: Could not create new definition file, reason: java.io.IOException:
      No such file or directory, message: No such file or directory

      Full log in attachment.

      It seems that Proton tries to export the definition file to the repository
      path. This path is defined in the file
      ./webapps/ProtonOnWebServerAdmin/ProtonAdmin.properties, by default, as
      "definitions-repository=D:\\Proton
      ProtonDefinitions". There is no such
      path, furthermore, it is a Windows path format and the tests were performed
      in a Linux system.

      Testing setup:
      OS: Linux OpenSUSE 13.1
      Tomcat: 7.0.26
      Browser: Google Chrome

      [0]
      https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Unit_Testing_Plan#Test_Description_7

      Regards,

      Pedro Alves
      pgalves@onesource.pt <joagonca@onesource.pt>

      [image: OneSource]
      http://onesource.pt

      _______________________________________________
      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fi-ware.org
      https://lists.fi-ware.org/listinfo/fiware-tech-help

        Activity

        Hide
        TALI Fabiana Fournier added a comment -

        Thank you.
        You correctly understand the problem.
        As part of the installation and configuration, the user need to set the location of the definitions repository:

        https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Installation_and_Administration_Guide#Configuring_the_administration_application

        If this is not done, the default definition repository is used, and probably the repository related operations will fail.

        The UI should give indication that the operation was failed.
        I will open a bug report for it.

        Thank you,
        Tali Yatzkar Haham

        Show
        TALI Fabiana Fournier added a comment - Thank you. You correctly understand the problem. As part of the installation and configuration, the user need to set the location of the definitions repository: https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_Installation_and_Administration_Guide#Configuring_the_administration_application If this is not done, the default definition repository is used, and probably the repository related operations will fail. The UI should give indication that the operation was failed. I will open a bug report for it. Thank you, Tali Yatzkar Haham
        Hide
        TALI Fabiana Fournier added a comment -

        Issue CEP-1 was opened to cover it

        Show
        TALI Fabiana Fournier added a comment - Issue CEP-1 was opened to cover it
        Hide
        TALI Fabiana Fournier added a comment -

        The UI bug was fixed, now the user gets alert when an export fails. Will be available in the next code release

        Show
        TALI Fabiana Fournier added a comment - The UI bug was fixed, now the user gets alert when an export fails. Will be available in the next code release
        Hide
        TALI Fabiana Fournier added a comment -

        fixed

        Show
        TALI Fabiana Fournier added a comment - fixed

          People

          • Assignee:
            TALI Fabiana Fournier
            Reporter:
            pgalves Pedro Alves
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: