Can I use Java to access the Lookback data?

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-07 04:37:07

问题


Is there a way to access historical data from Java? I am currently using the rally-rest-api (1.0.6) to pull task information out. But I would like to expand my query to include historical data. Is the Lookback API limited to Javascript?


回答1:


While Lookback API (LBAPI) isn't restricted to Javascript, Rally's AppSDK2 Javascript toolkit is currently the Rally API into which Rally-built hooks have been built for accessing LBAPI data. This is accomodated via the Snapshotstore.

Although AppSDK2 enjoys the benefit of LBAPI-specific data access functionality, there's nothing language-specific about LBAPI. It is a REST-based API that is fully accessible via any client that supports RESTful interaction with a webservice, java included. In fact you could utilize the same Apache commons functionality and Google GSON Json parsing utilities that are utilized by Rally's Java REST API, and also implement them in your own code to query against LBAPI directly. You'd be using the Apache and GSON libs to develop the LBAPI query hooks yourself though.

The Lookback API documentation:

https://rally1.rallydev.com/analytics/doc

Contains a workable summary of how to utilize the LBAPI REST endpoint, how to formulate queries, and what type/format of data to expect in response.

As LBAPI matures, I would expect that Rally's Java, .NET, and Ruby toolkits will expand to include built-in LBAPI query capability.



来源:https://stackoverflow.com/questions/15350394/can-i-use-java-to-access-the-lookback-data

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!