-
Notifications
You must be signed in to change notification settings - Fork 1
Maple Apps Management APIs
jensenzhang edited this page Aug 27, 2016
·
4 revisions
Description
Get the execution queue of current running maple applications.
Response
List<Object>.
| Name | Type | Description |
|---|---|---|
appId |
uuid | The uuid of maple application. |
app |
object<app> | The information of maple application. (Same as this response.) |
Description
Get the information of a special running maple application by uuid.
Response
Object. (App)
| Name | Type | Description |
|---|---|---|
name |
string | The name of the maple application. |
description |
string | (Optional) The description of the maple application. |
counter |
integer | The number of packets which triggered this maple application. |
| TBD | TBD | TBD |
Description
Load (register) a new maple application into the queue.
Parameters
Object.
| Name | Type | Description |
|---|---|---|
name |
string | The name of the maple application. |
uri |
string | The uri of the maple application feature. It can be parsed and loaded by karaf framework. |
description |
string | (Optional) The description of the maple application. |
index |
integer | (Optional) The position of the maple application in the execution queue. |
Response
Object.
| Name | Type | Description |
|---|---|---|
appId |
uuid | Return the uuid of the registered maple application. |
error |
string | (Optional) If error, return error message. |
Description
Update a special maple application in the queue.
Parameters
Object.
| Name | Type | Description |
|---|---|---|
name |
string | (Optional) The name of the maple application. |
uri |
string | (Optional) The uri of the maple application feature. It can be parsed and loaded by karaf framework. |
description |
string | (Optional) The description of the maple application. |
index |
integer | (Optional) The position of the maple application in the execution queue. |
Response
Object.
| Name | Type | Description |
|---|---|---|
success |
boolean | true, if update the maple application, else return false. |
error |
string | (Optional) If error, return error message. |
Description
Update the execution queue of maple applications.
Parameters
Object.
TBD
Response
Object.
| Name | Type | Description |
|---|---|---|
success |
boolean | true, if update the execution queue, else return false. |
error |
string | (Optional) If error, return error message. |
Description
Empty the whole queue of maple applications.
Response
Object.
| Name | Type | Description |
|---|---|---|
success |
boolean | true, if empty the execution queue, else return false. |
error |
string | (Optional) If error, return error message. |
Description
Delete a special maple application by uuid.
Response
Object.
| Name | Type | Description |
|---|---|---|
success |
boolean | true, if delete the maple application, else return false. |
error |
string | (Optional) If error, return error message. |
Description
Get the whole trace tree.
Response
Object.
| Name | Type | Description |
|---|---|---|
ttnodes |
list<ttnode> | The set of trace tree nodes. |
ttlinks |
list<ttlink> | The set of trace tree links. |
Object. (Trace Tree Node)
| Name | Type | Description |
|---|---|---|
id |
integer | The id of the trace tree node. |
type |
string | The type of the trace tree node. |
Object. (Trace Tree Link)
| Name | Type | Description |
|---|---|---|
id |
integer | The id of the trace tree link. |
source |
integer | The id of the source trace tree node. |
target |
integer | The id of the target trace tree node. |
operator |
string | The operator of the trace tree link. |
condition |
string | The condition of the trace tree link. |