|
1 |
| -# iot-java-sdk |
2 |
| -Appdynamics IoT Java SDK to monitor performance of embedded applications on connected devices |
| 1 | + |
3 | 2 | # AppDynamics IoT Java SDK
|
4 | 3 |
|
5 | 4 | ## Table of contents
|
@@ -29,23 +28,23 @@ This repository contains AppDynamics IoT Java SDK that can be used in embedded a
|
29 | 28 |
|
30 | 29 | Best place to understand the usage of SDK is to run the sample application.
|
31 | 30 |
|
32 |
| -* Clone or download the repo `https://github.com/Appdynamics/iot-java-sdk.git` in `<MY_SOURCE_FOLDER>` |
| 31 | +* Clone or download the repo https://github.com/Appdynamics/iot-java-sdk.git in `<MY_SOURCE_FOLDER>` |
33 | 32 |
|
34 | 33 | * Get [EUM App Key and Collector URL](https://docs.appdynamics.com/display/latest/Set+Up+and+Access+IoT+Monitoring#SetUpandAccessIoTMonitoring-iot-app-key)
|
35 | 34 |
|
36 |
| -* Add these to your sample app by editing. |
| 35 | +* Add your EUM app key and Collector URL to your sample app by editing: |
37 | 36 | `<MY_SOURCE_FOLDER>/iot-java-sdk/sample-apps/src/main/java/com/appdynamics/iotapps/MyIoTSampleApp.java`
|
38 | 37 | `public static final String APP_KEY = "<YOUR-APP-KEY>";`
|
39 | 38 | `public static final String COLLECTOR_URL = "<YOUR-COLLECTOR-URL>";`
|
40 | 39 |
|
41 |
| -* Build the sample-app by running the following commands. |
| 40 | +* Build the sample-app by running the following commands. (It also builds the SDK) |
42 | 41 | `cd <MY_SOURCE_FOLDER>/iot-java-sdk `
|
43 | 42 | `./gradlew -p sample-apps clean distTar`
|
44 | 43 |
|
45 | 44 | * Create a new folder from where to run the deployed code.
|
46 | 45 | `mkdir <MY_DEPLOY_FOLDER>`
|
47 | 46 |
|
48 |
| -* Copy the distribution tar file which includes the appdynamics iot java sdk to this deployment folder. |
| 47 | +* Copy the distribution tar file which includes the Sample App and the AppDynamics IoT Java SDK to this deployment folder. |
49 | 48 | `cp ./sample-apps/build/distributions/appd-iot-sample-app.tar <MY_DEPLOY_FOLDER>`
|
50 | 49 |
|
51 | 50 | * Un-tar and run the application.
|
|
0 commit comments