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

FIWARE.Request.Tech.Data.CEP.Unit Test 1

    Details

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

      Description

      Hi all,

      While running CEP GE Unit test 1 [0] I found some problems. I think they
      are related with the issues
      reported in a previous email with subject "CEP GE: error running sample".

      Procedure: installed instance of the Proton CEP GE (both the engine and the
      authoring tool) as described in the IBM Proactive Technology Online
      Installation and Administration Guide [1] and
      copied the complete sample directory included in the install package
      (extracted sample folder found in IBMProtonOnWebServer.zip file) to the
      root directory of the Apache Tomcat server.
      Started Tomcat, and following issues were found:

      • Warning in tomcat logs: "WARNING: initializeAdapters: failed to
        initialize adapter Input adapter for producer: P1, reason:
        ./config/input-for-dosAttack.txt (No such file or directory)"
      • The engine loads DoSAttack2.json instead of the DoSAttack.json described
        in [0], as shown in the logs with the info "INFO: Properties are :
        metadatFile =DoSAttack2.json"
      • The expected output as described in [0] are 2
        files: DoSAttack_TrafficReport.txt and DoSAttack_SteepDemand.txt with some
        raw events, instead in the samples directory I
        see two empty files DoSAttack_PredictedCrash.txt and
        DoSAttack_TrafficReport.txt.

      Test setup:
      OpenSUSE 13.1
      Tomcat 7.0.26
      Google Chrome

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

      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.

        I updated [0]. Now there is no assumption on default configuration, but instructions how to set the CEP to work with the DoSAttack.json example from the sample project.
        I also updated the name of the output and input files.

        Thank you,
        Tali Yatzkar Haham

        Show
        TALI Fabiana Fournier added a comment - Thank you. I updated [0] . Now there is no assumption on default configuration, but instructions how to set the CEP to work with the DoSAttack.json example from the sample project. I also updated the name of the output and input files. Thank you, Tali Yatzkar Haham
        Hide
        TALI Fabiana Fournier added a comment -

        see previous comment

        Show
        TALI Fabiana Fournier added a comment - see previous comment

          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: