Skip to content

icclab/cyclops-rc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

New release

The RCB Cyclops 2.0 is finally available, please visit this page and update accordingly.

Rating and Charging microservice

RC Service is one of the micro services as part of CYCLOPS - A Rating, Charging & Billing solution for cloud being developed by InIT Cloud Computing Lab at ZHAW. Rating & Charging micro service is responsible for creating the Charge Data Records (CDR) of a user and also the rate of a resource. The micro service supports different rating policies such as Static & Dynamic. Rating & Charging Service uses the Usage Data Records generated by the UDR Service to combine with the rate of a cloud resource and calculate the Charge Data Records. The generated CDRs are made available for external applications through REST APIs using which charge and rate reports can be generated.

Download

 $ git clone https://github.com/icclab/cyclops-rc.git

Installation

Make sure you've already installed UDR microservice, as Rating and Charging requires the same prerequisites. If you want to run UDR and RC on different machines, then just install UDR's prerequisites, without deploying it again. Then continue with commands below:

 $ cd cyclops-rc/install
 $ chmod +x ./*

For OpenStack rating

 $ bash setup_for_openstack.sh

For CloudStack rating

 $ bash setup_for_cloudstack.sh

For Event based rating

 $ bash setup_for_events.sh

Note: Currently, it's not possible to have RC deployment of OpenStack, CloudStack and Event based metering at the same time, please select just one of them.

Configuration

  • At the end of the installation process you will be asked for your deployment credentials and to modify any configuration parameters, please do not ignore this step.
  • If there is a need to update your configuration, you can find it stored here cyclops-rc/src/main/webapp/WEB-INF/configuration.txt

Deployment

 $ bash deploy_rc.sh

Documentation

Visit the Wiki for detailed explanation and API reference guide.

Cyclops architecture

CYCLOPS Architecture

RC microservice

RC Service Architecture

Bugs and issues

To report any bugs or issues, please use Github Issues

Communication

Developed @

ICC Lab

License

  Licensed under the Apache License, Version 2.0 (the "License"); you may
  not use this file except in compliance with the License. You may obtain
  a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  License for the specific language governing permissions and limitations
  under the License.