Meego Wiki
Views

Quality/QA-tools/OTS/DeveloperDocs/Plugins

From MeeGo wiki
Jump to: navigation, search

Contents

Plugins

Overview

OTS currently consists of two distributed Applications:

  • Worker
  • Server

These Applications are made up of Components. The Components perform a specific task in the system (and are distributable in their own right).

Some of the Components are essential for the Applications to operate. The Plugins are the non-essential (pluggable!) Components.

Plugin architecture

OTS allows for a configurable distribution by using a plug-in mechanism using Package Resources

OTS supports four kind of plugins:

  1. Flasher Plugins
  2. Distribution Model Plugins
  3. Publisher Plugins
  4. Conductor Plugins

Interfaces for the plugins can be found in: ots.common.framework.

Examples of plugins can be found in: https://meego.gitorious.org/meego-quality-assurance/ots/trees/master/examples and https://meego.gitorious.org/meego-quality-assurance/meego-ai-flasher

Supported Plugins

Some of the plug-ins are requiring Django environment. This is mentioned in the plug-ins instructions.

Flasher Plugins

NameEntry pointPurpose
meego-ai-flasher meego_ai_flasher.meego_n900:MeeGoAIFlasherN900 Public MeeGo flasher.

Distribution Model Plugins

NameEntry pointPurpose
History ots.plugin.history.distribution_model:get_model Test package distribution model based on last execution time

Publisher Plugins

NameEntry pointPurpose
HTTP Logger ots.plugin.logger.logger_plugin:LoggerPlugin Plug-in for enabling HTTP based logging and monitoring
Email ots.plugin.email.email_plugin:EmailPlugin Plug-in for enabling email sending
QA-Reports ots.plugin.qareports.qareports_plugin:QAReportsPlugin Plug-in for sending results to QA Reports
History ots.plugin.history.history_plugin:HistoryPlugin Plug-in for storing execution times to database
Monitor ots.plugin.monitor.monitor_plugin:MonitorPlugin Plug-in for collecting statistical information
LogPublisher ots.plugin.test.log_publisher.log_publisher_plugin:LogPublisherPlugin Plug-in for publishing testrun result files via the logger. Especially the log_tests use this module.

Conductor Plugins

NameEntry pointPurpose
Rich-core ots.plugin.conductor.richcore.richcore_plugin:RichCorePlugin Plug-in for uploading rich-core dumps to post-processing. Rich-core plug-in is part of crash reporting functionality.
Commands ots.plugin.conductor.commands.commands_plugin:CommandsPlugin Plug-in for running commands before, in between and after test packages.
Personal tools