我可以使用Java访问回溯数据吗?

问题描述:

是否可以通过Java访问历史数据?我目前正在使用rally-rest-api(1.0.6)提取任务信息.但我想扩展查询以包括历史数据.回溯API是否仅限于Javascript?

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?

虽然回溯API(LBAPI)不限于Javascript,但Rally的AppSDK2 Javascript工具包当前是Rally API,Rally内置的挂钩已构建到其中,以供访问LBAPI数据.通过 Snapshotstore .

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.

尽管AppSDK2享受LBAPI特定的数据访问功能的好处,但是LBAPI并没有特定于语言的语言.它是基于REST的API,可通过任何支持与Web服务(包括Java)的RESTful交互的客户端完全访问.实际上,您可以利用

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.

回溯API文档:

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

包含有关如何利用LBAPI REST端点,如何制定查询以及期望响应的数据类型/格式的可行总结.

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.

随着LBAPI的成熟,我希望Rally的Java,.NET和Ruby工具包将扩展为包括内置的LBAPI查询功能.

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