ebXML Collaboration Protocol Agreement (CPA) composition

About

The ebXML Collaboration Protocol Agreement (CPA) composition tool is a tool that reads two ebXML Collaboration Protocol Profiles (CPP's) and tries to create an ebXML CPA.

History

This implementation is from Sacha Schlegel and his Masters by Research studies in the areas of ebXML Collaboration Protocol Agreement formation process.

Version

Current version is: 0.0.2

Status

The project is beta version. Contributions welcomed

License

The Source Code of the "ebXML Collaboration Protocol Agreement (CPA) composition" tool is GNU General Public License (GPL) Version 2 which can be found at http://www.gnu.org/licenses/gpl.html

Download

Tool package

This package is too small to provide

  • a ruby gem or
  • a package installer

For Linux use: http://dev.havanawave.com/repos/cpa-composition/attachment/wiki/WikiStart/cpa-composition-0.0.2.tar.bz2

For Windows use: http://dev.havanawave.com/repos/cpa-composition/attachment/wiki/WikiStart/cpa-composition-0.0.2.zip

Source Code

svn checkout https://svn.havanawave.com:443/svn/cpa-composition

Installation

The tool is written in Ruby, an object oriented and interpreted programming language. The current Ruby version per September 2006 is Ruby 1.8.4. Ruby's website is http://www.ruby-lang.org/en/

There is a high chance that there is a ruby interpreter for your platform.

Ruby on Linux installation

The various Linux distributions mostly have the packages ready. To install ruby on the Debian GNU/Linux Distribution you can install ruby with apt-get as follow:

apt-get install ruby1.8

Ruby on Windows installation

For Windows there is a Ruby Installer that can be found at:

http://rubyinstaller.rubyforge.org/

After downloading the Windows one-click Ruby installer (file ruby184-20.exe) from the website and running the installer on Windows 2000 Professional you can check your ruby version with:

ruby --version
ruby 1.8.4 (2006-04-14) [i386-mswin32]

Ruby on OSX installation

Mac OSX already comes with a ruby interpreter. So no need to install one.

Installation of the cpa-composition tool

Download the cpa-composition tool and unpack it to a dirctory and change into the cpa-composition directory.

On Linux you will need the bzip compression tool (mostly installed or available as package) you can unpack the file with:

tar xvfj cpa-composition-0.0.2.tar.bz2

On Windows use a Zip tool to unzip the zip file into a new directory.

After unpacking the file change into the root directory of the unpacked file.

Configuration

The default setting should be OK for most use. But you can look at file bin/.level_one_config to check the available configuration settings.

Running

Running the tool on Linux

Best run an example script (on Linux) you need to:

% cd examples
% ./script_start

Running the tool on Windows

On Windows call the following command

mkdir out
ruby /bin/level_one.rb --debug examples/data/cpp-example-companyA-2_0b.xml examples/data/cpp-example-companyB-2_0b.xml

You find three files in the out directory:

  • log_file (this is debug information of the algorithm)
  • simple_cpa_1.xml (this is the composed CPA, this CPA can be incomplete)
  • conflict_for_cpa_1.xml (this is the file which lists problem areas in the two CPP's)

Documentation

Other than the installation guide there is no further documentation available.

Attachments