ALM REST API Integration
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitattributes
.gitignore
License
README.rdoc
Rakefile
alm-rest-api-1.0.0.gem
alm-rest-api.gemspec

README.rdoc

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