View on GitHub

Sirius

Sirius Server Engine Overview

Download this project as a .zip file Download this project as a tar.gz file

Introduction

Sirius Server Engine is the main entry point for server side of Sirius Test Automation Platform created for:

It is delivered as executable Java archive initiated from command line.

Project Documentation

ResourceDescription
Project Documentation Home PageThe home page for generated Maven site containing major technical documentation for the module
Project Reports PageThe home page for generated Maven site containing major analysis reports for the module
Project Javadoc PageThe home page for generated Maven site containing major Javadoc documentation for the module

Getting started

Command line format

The Sirius Server eEngine is invoked by command line like:

1
java -jar sirius.server.engine-<version number>.jar [-host <hostname>] [-port <port number>] [-config <path to configuration file>]

where parameters are:

The indicator that server was started successfully is the console output message like:

1
2
3
2013-04-03 02:09:25,089              INFO   [Log4J] Uploading binary file:./sirius.server.web-(.*).jar
2013-04-03 02:09:25,097              INFO   [Log4J] Starting endpoint: http://localhost:21212/web/select
2013-04-03 02:09:25,204              INFO   [Log4J] Done...

For each module it indicates that the module was loaded. No exceptions means that no errors occured during each endpoint start.

Customizing host and port

In some cases there’s a need to customize the host and port to listen to. Major reasons are:

Customizing the set of modules to load

In some cases we need to make light-weight Sirius Server run so that only some sub-set of functionality is accessible. E.g. if we test purely Win32 application we don’t need Web modules to load. For this purpose we should customize the list of modules to load.

It is defined in the configuration file specified by the -config parameter. The configuration file itself is the plain text comma-separated file of the following format:

1
2
Endpoint          , Class                 , Package
<endpoint address>, <class canonical name>, <path to jar file to load class from>;

where:

What is the fastest way to check that your custom endpoint was loaded and can be used? For this purpose you should:

  1. Open you browser
  2. Navigate to the URL like: <endpoint address>?wsdl
  3. If you see the WSDL content it indicates that you can use your endpoint
  4. If there’re any errors you should investigate what causes them

Related topics/samples

Links

Authors

Myk Kolisnyk (kolesnik.nickolay@gmail.com)

View Mykola Kolisnyk's profile on LinkedIn

Google+