Detailed Description
This example shows how to access the metadata that the Cloud service exposes about the properties available with the resource key supplied, along with the evidence keys that are accepted by the service.
Access to the Cloud service is configured using a "resource key". The resource key can be supplied as a command line argument, or via the environment variable or system property "TestResourceKey". An optional second command line argument, or the environment variable or system property "TestCloudEndPoint", can be used to direct the example at a custom hosted Cloud service.
Static Public Member Functions | |
| static void | main (String[] args) throws Exception |
| static void | run (String resourceKey, String endPoint, OutputStream outputStream) throws Exception |
| Run the example. | |
Member Function Documentation
◆ run()
|
static |
Run the example.
- Parameters
-
resourceKey a 51Degrees resource key endPoint optional custom Cloud service endpoint, or null outputStream somewhere for the results
- Examples
- console/MetadataCloud.java.
