Skip to content

packaging check list

YuriyZ edited this page Feb 21, 2018 · 5 revisions

General packaging checklist

  • install package -> check whether installation is successful
  • uninstall package -> check whether folders and files are cleaned up
  • start package -> check software is started
  • stop package -> check software is stopped
  • restart package -> check software is re-started

oxd package checklist

  • install package
    • /opt/oxd-server/lib/oxd-server-jar-with-dependencies.jar must be present
    • /opt/oxd-server/lib/bcprov-jdk15on-1.54.jar must be present
    • /opt/oxd-https-extension/lib/oxd-https-extension.jar must be present
    • /etc/oxd/oxd-server/oxd-conf.json must be present
    • /etc/oxd/oxd-server/log4j.xml must be present
    • /etc/oxd/oxd-server/oxd-default-site-config.json must be present
  • start oxd-server
    • /var/log/oxd-server/oxd-server.log must be present. Log file must contain line like INFO [org.xdi.oxd.server.service.SocketService] Server socket is bound to port: 8099, with timeout: 0 seconds. Start listening for notifications. which indicates that oxd-server is started successfully. If that line is not in log file then start fails and package must not report that it's started successfully.
    • /opt/oxd-server/data/oxd_db.mv.db must be present
    • /var/run/oxd-server.pid must be present
  • stop oxd-server
    • check oxd-server is not running
  • re-start oxd-server
    • oxd-server must be running
  • uninstall package
    • check that all files listed in install section above are removed
  • install package and start again - the purpose of installation again is to check that we really clean up everything good during uninstallation and second installation and run of the oxd is successful