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

        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".

          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: