Skip to content

xiaomengzheng/alm-rest-api

Repository files navigation

alm-rest-api

DESCRIPTION:

HP ALM REST API integration.

FEATURES:

  • Encapsulate all the details of making REST API call using net/http lib

  • Provide xml <–> class mapping using HappyMapper lib

EXAMPLES:

Here is a simple example that login and logout ALM server.

ALM::RestConnector.instance.init(Hash.new, 
    ALM::Constants::HOST, 
    ALM::Constants::PORT, 
    ALM::Constants::DOMAIN, 
    ALM::Constants::PROJECT)

authenticationPoint = ALM.isAuthenticated()
loginResponse = ALM.login(authenticationPoint, ALM::Constants::USERNAME, ALM::Constants::PASSWORD)
# do something here
ALM.logout()

See test directory in the gem for more details.

github.com/xiaomengzheng/alm-rest-api/tree/master/test/

INSTALL:

  • gem install alm-rest-api

DOCS:

rdoc.info/github/xiaomengzheng/alm-rest-api/master/frames

About

ALM REST API Integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages