Home
News
Events
Press
Downloads
Publications
Links
Partners
Contact
Search
Newsletter Issues
Wiki
BREIN User and Development Forum
BREIN Architecture
Knowldege Portal
Login Form
Latest News
6th Newsletter issue available   The 6th BREIN newsletter issue is now available. To download it, visit the "Newsletter Issues" section on the left menu or click here .   Details...

SOC-LOG'09 workshop at ICSOC-ServiceWave conference     BREIN is supporting the 1st International Workshop on Service Oriented Computing in Logistics (SOC-LOG'09) which will be held as part of ICSOC/ServiceWave, in Stockholm, Sweden (November 23, 2009).    Details...

New demo video BREIN project participated in the Internet of Services 2009 Concertation meeting, presenting among others two demos showing the work done on Semantically enhanced SLA Negotiations and Semantic aware and SLA-Driven Resource Management for Virtualized and Heterogeneous Platforms.   Details...

Cloud Computing Providers Part of our work done for the State of the Art is now available also through Gridipedia (visit here )   Details...

Semantics Week 2009   BREIN and the European projects STASIS, SOA4ALL, and the NESSI Semantics Group, would like to invite you to "Semantics Week" to be held June 22-26th in beautiful and logistic friendly Amsterdam.   Details...




BREIN Dissemination CDcd.jpg

newsletter.jpg





Receive HTML?

billing calculator (BC)

 

The billing calculator determines how much to charge a customer based on the SLA they are using, and how much service they used. Hence, the input to this is the usage on the SLA and the SLA ID. The output is a call to the Trade Account Service with the amount to bill the customer and the ID of the account.

This is a service hosted by a service provider and used to keep track of their customers’ spending at the service provider, from which statements (bills) can be generated. The Billing Calculator connects to this service, and reports the amounts owed by a particular customer. The customer can access this service to find out the amounts they owe, and make payments out of band. The service provider’s manager can record the customer’s payments.

 

Prerequisites

Software Installation

Prerequisites

The Billing Calculator is a Java set of libraries having no particular installation prerequisites apart from Jena and Pellet (They should be provided before the installation package).

Installation

The BC component is deployed as a Web service in a .war file. By using the BREIN installer, the .war file is just deployed inside the Tomcat server container. In order to run the application, the user can just link the BC file which starts Tomcat.

To configure the component, the user can update the configuration file (sess.properties) with the following properties:

·    log_file: the path of the file where the logs are stored.

·    log_level: level of the log (FINE, CONFIG, INFO, WARNING, SEVERE)

·    url_slat: the URL where the BC service is deployed

Finally, the services should be accessible locally at the following URL:

       http://localhost:8080/BC-2.0/BCService