Skip to content

Event Logger Test

hmusavi edited this page Jan 27, 2017 · 1 revision

Goal

The goal of this test is to verify that modifications to the logging configuration file(currently logback.xml) propagate changes to the system during runtime. The following major functionality is verified by this test:

  1. Logger levels can be modified during runtime
  2. Logging can be turned off for specific loggers

Procedure

Acceptance Test

  1. Identify which configuration file is being utilized as the default for logging.
  2. Start the ODE, Kafka, and Zookeeper.
  3. Attach to the ODE container through docker exec command
  4. Check the contents of the Events.log file to see startup logging messages
  5. Start the client application and connect it to the ODE.
  6. Upload a file containing ASN.1-encoded BSM data into the web interface.
  7. Check the contents of the Events.log file to see updated logging messages. (Note the time of message being delievered)
  8. In a separate terminal, start jconsole
  9. Connect to the ODE application via remote process
  10. Modify the configuration file in the container(currently logback.xml) to turn the logging level of Events.log to "OFF"
  11. Save the changes on the container
  12. Using jconsole navigate to the MBeans tab at the top
  13. Navigate to the operations level of ch.qos.logback folder
  14. Select reloadbyfilename and input logback.xml
  15. Enter the button and a dialog box saying your modification was successful should appear
  16. Upload another file on the web interface noting the time the message was uploaded
  17. Check the Events.log to verify no new log messages were propogated
  18. Modify the configuration file in the container to turn logging level of Events.log to "INFO"
  19. Save the changes on the container
  20. Using jconsole navigate to the operations level of ch.qos.logback folder
  21. Enter the name of the logger configuration file, logback.xml, and press reloadbyfilename button.
  22. Enter the button and a dialog box saying your modification was successful should appear
  23. Upload another file on the web interface noting the time the message was uploaded
  24. Check the Events.log to verify new log messages were propogated

Releases

Change Notices

Informational Reference

  • Decode a file with asn1c
  • Deposit BSM to S3
  • Docker fix for SSL issues due to corporate network
  • Docker management
  • ECDSA Primer
  • Filter BSMs through PPM module
  • Geofence Filtering for PPM
  • Import BSMs from RSU log file
  • Import TIMs from RSU log file
  • jpo security svcs Integration
  • Link host directory to Docker directory
  • Migrating from SDW websocket depositor to SDW Depositor Submodule
  • ODE Release Deployment
  • ODE Release Preparation
  • Prepare a fresh Ubuntu instance for ODE installation
  • Process for Handling Bugs (Code Defects)
  • Run the ODE using the ASN codec module
  • Query RSU for set TIMs
  • Schema Version 6 Change Notice
  • Signed Message File Import
  • TIM REST Endpoint Changes
  • Using the .env configuration file
  • Using the ODE test harness

Test Procedures

  • Delete TIM on RSU test
  • Event Logger Test
  • Import Decode and Deliver BSM Test
  • Manage SNMP Test
  • Sending PDM to RSU Test
  • Sending TIM to RSU Test
  • Submit_TIM_To_SDW Test

Archived

  • Log File Changes (schemaVersion=4)
  • Receive BSMs over UDP
  • Receive ISD via UDP and deposit to SDC
  • Receive VSD via UDP and deposit to SDC
  • Run the crypto test vectors code with ODE team's OSS encoder
  • SchemaVersion 5 Change Notice
Clone this wiki locally