Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Version#
Date
Modified By
Description of Modification
1.03/22/2016Sailaja AdusumilliInitial Version

Table of Contents

Audit Logging-

...

Passthrough Test Details: 

Overview:

AuditLogging-Standard Passthrough project is used to test CONNECT's audit logging functionality for PD,DQ,DR,DS,AD,PDDeferred and DSDeferred services in Standard Passthrough mode. This project got g0, g1 suites with one test case for each service. When this project is executed, there is an in a script for each test case which validates number of audit entries logged in auditrepo.auditrepository table. The script will also fetch and validate the blob message to make sure it is complying as per sequoia project checklist and Exchange spec. When auditing turned off using an on script, it is verified that there are no entries in auditrepo.auditrepository table. This project works only in loop back setup. Test suite, Test case description and what it does are described below:

...

  1. Make sure to copy CONNECT common properties from \\CONNECT\Product\Production\Common\Properties\src\main\resources to application server properties folder. (If using WildFly 8.2.1 , copy into \\wildfly-8.2.1.Final\modules\system\layers\base\org\connectopensource\configuration\main).
  2. In audit.properties, make sure LogToDatabase=true, LogToFile=false and other services are true (ex: QueryForDocuments=true) Note: By default LogToDatabase=true in CONNECT-4.6 codebase.
  3. Make sure to enable Standard mode for services in gateway.properties. Note: By default all services will be in Standard mode in gateway.properties as of CONNECT-4.6 release.
  4. In AuditRepositoryProxyConfig.xml make sure to have securedImplementation or javaImplementation.
  5. Restart application server.
  6. Deploy CONNECT ear (mvn clean install -P AD,PD,DQ,DR,DS) 
  7. In SoapUI, make sure to have GatewayPropDir value set either by using global SOAPUI properties are by setting custom SOAPUI property at the project level.
  8. In SoapUI, load AuditLogging-Standard project and execute.
  9. Make sure all test cases for g1, g0 are passed and green.
  10. Test in Standard Passthrough mode.