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

        FIWARE-TECH-HELP FIWARE-TECH-HELP created issue -
        sergg Sergio Garcia Gomez made changes -
        Field Original Value New Value
        Assignee Tali Yatzkar Haham [ tali ]
        mev Manuel Escriche made changes -
        Component/s FIWARE-TECH-HELP [ 10278 ]
        mev Manuel Escriche made changes -
        Workflow Basic Workflow [ 15678 ] FW eRequest Workflow [ 16177 ]
        Status To Do [ 10001 ] Open [ 1 ]
        Issue Type Question [ 10004 ] eRequest [ 10101 ]
        FI-WARE Environment FI-LAB [ 10100 ]
        mev Manuel Escriche made changes -
        Workflow FW eRequest Workflow [ 16177 ] eRequest Workflow-2 [ 16737 ]
        mev Manuel Escriche made changes -
        Workflow eRequest Workflow-2 [ 16737 ] FW eRequest Workflow [ 17116 ]
        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
        TALI Fabiana Fournier made changes -
        Resolution Fixed [ 1 ]
        mev Manuel Escriche made changes -
        Reporter FIWARE-TECH-HELP [ fiware-tech-help ] FW External User [ fw.external.urser ]
        TALI Fabiana Fournier made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        TALI Fabiana Fournier made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        mev Manuel Escriche made changes -
        Reporter FW External User [ fw.external.urser ] Pedro Alves [ pgalves ]
        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
        TALI Fabiana Fournier made changes -
        Fix Version/s Sprint 4.1.3 [ 10739 ]
        Resolution Fixed [ 1 ] Done [ 10000 ]
        Status Answered [ 10104 ] Done [ 10000 ]
        TALI Fabiana Fournier made changes -
        Summary [Fiware-tech-help] CEP GE: Error on Unit Test 7, Case 2 - Export to external repository FIWARE.Request.Lab.Data.CEP.Unit Test 7, Case 2 - Export to external repository
        mev Manuel Escriche made changes -
        Summary FIWARE.Request.Lab.Data.CEP.Unit Test 7, Case 2 - Export to external repository FIWARE.Request.Tech.Data.CEP.Unit Test 7, Case 2 - Export to external repository
        mev Manuel Escriche made changes -
        Workflow FW eRequest Workflow [ 17116 ] FW extRequest Workflow-II [ 40755 ]
        Status Done [ 10000 ] Closed [ 6 ]
        Issue Type eRequest [ 10101 ] extRequest [ 10104 ]
        mev Manuel Escriche made changes -
        HD-Enabler CEP [ 10869 ]
        HD-Chapter Data [ 10838 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        To Do To Do Open Open
        5d 21h 29m 1 Manuel Escriche 22/Oct/14 4:01 PM
        Open Open In Progress In Progress
        13d 18h 14m 1 Fabiana Fournier 05/Nov/14 9:15 AM
        In Progress In Progress Answered Answered
        21s 1 Fabiana Fournier 05/Nov/14 9:16 AM
        Answered Answered Done Done
        40d 5h 21m 1 Fabiana Fournier 15/Dec/14 2:37 PM
        Done Done Closed Closed
        392d 18h 30m 1 Manuel Escriche 12/Jan/16 9:08 AM

          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: