The SDK samples described in the following table work with the Warehouse.unx
sample universe. You can find this universe on the SAP Community Network at http://scn.sap.com/docs/DOC-22145. You must download the universe from this
page and store it in a CMS repository to be able to run the samples.
Class | Description |
---|---|
GetUniverseMetadataTest | Returns the details of the Warehouse.unx universe using GET /universes/<universeID> |
GetUniversesTest | Returns the list of the universes in the CMS repository using GET /universes?offset&limit |
GetUniverseViews | Returns the views of the Warehouse.unx universe using GET /universes/<universeID>/businessviews |
QueryExecutionTest | Creates a query on top of Warehouse.unx:
|
QueryParametersTest | Creates a query on top of Warehouse.unx and answers parameters this
query requires:
|
The com.sap.sl.sdk.consumption.samples.resources package contains XML descriptions used in sample requests, such as the query specification. The com.sap.sl.sdk.consumption.samples.util package provides classes that help to perform utility actions in the samples (for example, login, fill in CMS parameters, send a request, and so on).