Git Product home page Git Product logo

webservice_clients's Introduction

Webservice clients

Example of how to generate webservice clients with CXF (and wsimport).

git clone https://github.com/Transmode/webservice_clients.git
cd webservices_client

Running the managed element collector

Running on the command line:

cd mer/collector_mer   
../../gradlew run -Pserver='http://myserver.example.com:8080'

Outputs something like this:

ManagedElement [md=Tnm Server, me=1.1.1.1, userLabel=theName_new2, resourceState=INSTALLING_INSTALLED, location=, productName=Passive, isInSyncState=false, communicationState=CS_UNAVAILABLE]

ManagedElement [md=Tnm Server, me=1.2.3.4, userLabel=Passive, resourceState=INSTALLING_INSTALLED, location=, productName=Passive, isInSyncState=false, communicationState=CS_UNAVAILABLE]

Running the equipment collector

Running on the command line:

cd eir/collector_eir   
../../gradlew run -Pserver='http://myserver.example.com:8080'

Outputs something like this:

1: Equipment: name=passive:1, subrack=1, slot=-1
2: Equipment: name=passive:1, subrack=1, slot=-1
3: Equipment: name=passive:1, subrack=1, slot=-1
4: Equipment: name=co10:1:10, subrack=1, slot=10
5: Equipment: name=passive:1, subrack=1, slot=-1
...

Running the TP collector

Run on the command line:

cd tpr/collector_tpr
../../gradlew run -Pserver='http://myserver.example.com:8080'

Should print something like this:

name=/MD=Tnm Server/ME=1.1.10.1/PTP=passive:1:1:6/direction=sink, userLabel=passive:1:1:6
name=/MD=Tnm Server/ME=172.18.1.11/PTP=wdm:1:5:9-10, userLabel=wdm:1:5:9-10, rxSignalStatus=3
name=/MD=Tnm Server/ME=172.18.1.11/PTP=client:1:5:1-2, userLabel=client:1:5:1-2, rxSignalStatus=1
...

Note: The TP collector only retrieves the first batch of termination points and only prints the physical termination points.

webservice_clients's People

Contributors

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