Giter Site home page Giter Site logo

fiware-rss's Introduction

Revenue Settlement and Sharing System Build Status Coverage Status

This is the code repository for the Revenue Settlement and Sharing System, a Java implementation developed as a part of the FI-WARE project (http://www.fi-ware.org/).

You find all the information on Revenue Settlement and Sharing System in its page in the FI-WARE Catalogue:

http://catalogue.fi-ware.org/enablers/revenue-settlement-and-sharing-system

Note that you don't need this repository code if you install it using the packages at FI-WARE repository: https://forge.fi-ware.org/frs/?group_id=7

Installing and Using the Revenue Settlement and Sharing System

The administration and programming manuals for Revenue Settlement and Sharing System are found in the FI-WARE Catalogue page, under the "Documentation" tab.

http://catalogue.fi-ware.org/enablers/revenue-settlement-and-sharing-system/documentation

Building Revenue Settlement and Sharing System

This section includes indications on how to build Revenue Settlement and Sharing System from this code repository. The final result of this step will be 2 wars files:

  • one for RSS (fiware-rss.war) located at ${base_code}/fiware-rss/fiware-rss/target
  • other for Expenditure Limits(expenditureLimit.war) located at ${base_code}/fiware-rss/rss-expendLimit/el-server/target.

where ${base_code} is the folder where the code will be downloaded from the repository.

Revenue Settlement and Sharing System is a Java 6 project built using for its management the software project tool Apache Maven.This means that it is required to install them. The following installation has been done using as base O.S. Ubuntu 12.04.2 LTS. To do it:

  • Install Java 6
sudo apt-get install openjdk-6-jdk
  • Install Apache Maven
sudo apt-get install maven

The best way to obtain the code is by cloning the respository using git tool.

  • Install Git
sudo apt-get install git
  • Obtain the code
git clone https://github.com/telefonicaid/fiware-rss

The first thing to do, it is compiling the code, avoiding running the test, to download dependencies. To do it, run the following command inside the folder download in the previous step.

mvn install -Dmaven.test.skip=true

Testing Revenue Settlement and Sharing System

For testing purpose, a Mysql database will be necessary. To install it, use the following command:

sudo apt-get install mysql-server-5.5

During the installation you will be asked for a password: use root, that is the one use by default by testing.

Create a database for test purpose using the following command:

mysql -uroot -proot -e 'create database FIWARE_SETTLEMENT;'

Create the necessary tables using the following command from the directory ${base_code}/fiware-rss/

mysql -uroot -proot FIWARE_SETTLEMENT < ./rss-core/resources/datamodel/dbmodel.sql

Finally run the following command to execute the test:

mvn test -fae

License

Revenue Settlement and Sharing System is licensed under Affero General Public License (GPL) version 3 (http://www.gnu.org/licenses/agpl-3.0.html).

fiware-rss's People

Contributors

javierlucio avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.