Giter Site home page Giter Site logo

mediation-dep-hub's Introduction

WSO2Telco HUB 3.0.0 SNAPSHOT

Build Status : Build Status

Setting up the Deployment

The deployment consists of configuring 2 products:

1 wso2esb

2 wso2telcohub

Configuring WSO2 ESB

Download a fresh WSO2 ESB 5.0.0 pack from website: http://wso2.com/products/enterprise-service-bus/

Add following .jar files to ESB as described (WSO2.Telco related files are bundled with wso2telco_esb_hub.zip):

  • To ESB_HOME/repository/components/dropins
 dbutils.jar (repository: WSO2Telco/core-util)
 mnc-resolver.jar (repository: WSO2Telco/core-util)
 msisdn-validator.jar (repository: WSO2Telco/core-util)
 operator-service.jar (repository: WSO2Telco/component-dep)
 subscription-validator.jar (repository: WSO2Telco/component-dep)
 nashorn-mediator.jar (repository: WSO2Telco/component-dep)
 javax.persistence_1.0.0.jar (external: http://www.java2s.com/Code/Jar/j/Downloadjavaxpersistence100jar.htm)
  • To ESB_HOME/repository/components/lib
 mysql-connector-java-5.1.36-bin.jar (external: http://central.maven.org/maven2/mysql/mysql-connector-java/5.1.36/mysql-connector-java-5.1.36.jar)
 com.wso2telco.dep.common.mediation.jar(repository: WSO2Telco/mediation-dep-common) 

Add following configuration files:

Add following property to ESB_HOME/repository/conf/synapse.properties synapse.commons.json.output.autoPrimitive=false

Configuring datasources

Add following database references: proddepdb and prodUMdb (with suitable user credentials) at ESB_HOME/repository/conf/datasources/masterdatasources.xml

proddepdb : http://docs.wso2telco.com/display/HG/Setup+DEP+database

prodUMdb : http://docs.wso2telco.com/display/HG/Setup+++User+Manager+database

Important: Same databases are referred while setting up wso2telcohub

There will be 10 CApp files (.car files)

  • com.wso2telco.dep.common.capp_3.0.0-SNAPSHOT.car
  • com.wso2telco.dep.hub.creditapi.capp_3.0.0-SNAPSHOT.car
  • com.wso2telco.dep.hub.customerinfoapi.capp_3.0.0-SNAPSHOT.car
  • com.wso2telco.dep.hub.locationapi.capp_3.0.0-SNAPSHOT.car
  • com.wso2telco.dep.hub.paymentapi.capp_3.0.0-SNAPSHOT.car
  • com.wso2telco.dep.hub.provisionapi.capp_3.0.0-SNAPSHOT.car
  • com.wso2telco.dep.hub.smsmessagingapi.capp_3.0.0-SNAPSHOT.car
  • com.wso2telco.dep.hub.ussdapi.capp_3.0.0-SNAPSHOT.car
  • com.wso2telco.dep.hub.walletapi.capp_3.0.0-SNAPSHOT.car

Start WSO2 ESB and upload CApp files (Refer: https://docs.wso2.com/display/ESB500/Creating+and+Deploying+a+Carbon+Application)

Configuring WSO2 TELCO HUB

  1. Download WSO2 TELCO HUB (for Gateway) from website: http://wso2telco.com/hub
  2. Configure databases and workflow. (If database has already created, you only need to add relevant configurations).

Database configurations: http://docs.wso2telco.com/pages/viewpage.action?pageId=1507746

Workflow configurations: http://docs.wso2telco.com/display/HG/Install+workflows

  1. Start WSO2 TELCO HUB and goto Publisher app

  2. Create APIs for necessary use-cases and configure endpoint to ESB APIs. API context and name should be as follows:

  • credit
  • customerinfo
  • location
  • payment
  • provision
  • smsmessaging
  • ussd
  • wallet

If WSO2 Telco Hub is port offset, change the port numbers at the following files accordingly (Ref: http://docs.wso2telco.com/display/HG/Offsetting+Product)

  • TELCO_HUB_HOME/repository/deployment/server/jaggeryapps/manage/site/conf/site.json
  • TELCO_HUB_HOME/repository/conf/workflow.properties
  • TELCO_HUB_HOME/repository/resources/workflow-extensions.xml

If MSISDN blacklist feature needs to be enabled for a particular API, then add following property to the insequence of the corresponding api synapse file in API manager.

<property name="api.check.blacklist" value="true" scope="transport"/>

If MSISDN whitelist feature needs to be enabled for a particular API, then add following property to the insequence of the corresponding api synapse file in API manager.

<property name="api.check.whitelist" value="true" scope="transport"/>

Note: API compatible with the WSO2.Telco_HubAPI_V1.2 spec

mediation-dep-hub's People

Contributors

buddhima avatar cjpannila avatar maheshroshan avatar manojgunayadev avatar nilan84 avatar nilanwso2 avatar rajithsiriwardana avatar shawijayasekera avatar shazni avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.