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

FIWARE.Request.Tech.Security.AuthorizationPDP.WrongPathInUnitTest7

    Details

    • HD-Chapter:
      Security
    • HD-Enabler:
      AuthZForce

      Description

      Responsible:
      Bitergia Team

      Description:
      While running Unit Tests in my Access Control implementation, Unit Test 7 (PDP_Accounting_TestCase) failed due to a wrong path of the log. The test was trying to access a file who doesn’t exists. If we followed the Installation Guide step by step, the file must be located in:

      /opt/glassfish3/glassfish/domains/domain1/logs/authzforce_access.log

      This path must be changed in 2 of the steps, checkAccessLogBeforePDPRequest and checkAccessLogAfterPDPRequest.

      Tested Ge(s):
      Access Control

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

        Activity

        alberto.martin Alberto Martín created issue -
        mev Manuel Escriche made changes -
        Field Original Value New Value
        Assignee Cyril Dangerville [ cyril.dangerville ]
        cdangerville Cyril Dangerville made changes -
        Fix Version/s Sprint 4.1.3 [ 10739 ]
        cdangerville Cyril Dangerville made changes -
        Link This issue is cloned by HELP-1430 [ HELP-1430 ]
        cdangerville Cyril Dangerville made changes -
        Link This issue is cloned by HELP-1430 [ HELP-1430 ]
        cdangerville Cyril Dangerville made changes -
        Link This issue is duplicated by HELP-1430 [ HELP-1430 ]
        cdangerville Cyril Dangerville made changes -
        Link This issue is duplicated by HELP-1430 [ HELP-1430 ]
        cdangerville Cyril Dangerville made changes -
        Link This issue is cloned by SEC-97 [ SEC-97 ]
        Hide
        cdangerville Cyril Dangerville added a comment -

        Fixed for next release: the GEi will log in the right folder (.../logs/authzforce/access.log) as configured in SoapUI by default.

        Workaround (in the meantime): in SoapUI, select Unit Test "PDP_Accounting_TestCase"; in bottom left menu "Properties", tab "Test Properties", change property "accesslogfile" to "/opt/glassfish3/glassfish/domains/domain1/logs/authzforce_access.log".

        Show
        cdangerville Cyril Dangerville added a comment - Fixed for next release: the GEi will log in the right folder (.../logs/authzforce/access.log) as configured in SoapUI by default. Workaround (in the meantime): in SoapUI, select Unit Test "PDP_Accounting_TestCase"; in bottom left menu "Properties", tab "Test Properties", change property "accesslogfile" to "/opt/glassfish3/glassfish/domains/domain1/logs/authzforce_access.log".
        cdangerville Cyril Dangerville made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        cdangerville Cyril Dangerville made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        cdangerville Cyril Dangerville made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        cdangerville Cyril Dangerville made changes -
        Component/s FIWARE-TECH-HELP [ 10278 ]
        cdangerville Cyril Dangerville made changes -
        Summary [Fiware-tech-help] [Chp - Security][Access Control] Wrong path in Unit Test 7 FIWARE.Request.Lab.Security.AuthorizationPDP.WrongPathInUnitTest7
        mev Manuel Escriche made changes -
        Summary FIWARE.Request.Lab.Security.AuthorizationPDP.WrongPathInUnitTest7 FIWARE.Request.Tech.Security.AuthorizationPDP.WrongPathInUnitTest7
        mev Manuel Escriche made changes -
        HD-Enabler AuthZForce [ 10887 ]
        HD-Chapter Security [ 10841 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        8d 3h 22m 1 Cyril Dangerville 20/Nov/14 7:33 PM
        In Progress In Progress Answered Answered
        12s 1 Cyril Dangerville 20/Nov/14 7:33 PM
        Answered Answered Closed Closed
        7s 1 Cyril Dangerville 20/Nov/14 7:33 PM

          People

          • Assignee:
            cdangerville Cyril Dangerville
            Reporter:
            alberto.martin Alberto Martín
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: