Skip to content

Latest commit

 

History

History
81 lines (61 loc) · 2.68 KB

ComponentManager.md

File metadata and controls

81 lines (61 loc) · 2.68 KB

ComponentManager


REST APIs


  • get Object property.
[Request]:
  • Body : none
[Response]:

  • update Object property.
[Request]:
[Response]:

get ComponentType list.
ComponentType is Registered Component.Property.type

[Request]:
  • Body : none
[Response]:
  • Status Code : 200
  • Body : dict {ComponentType:{"type" :<string> "super_type":<string> , "connection_types":{<string>: <string>} , "description":<string> }
example(JSON)
 {
   "Aggregator"  : { "type": "Aggregator" ,  "super_type":"Aggregator" ,
                     "connection_types":{"original":"1", "aggregated":"1"}, "description":"Aggregator ...." },
   "Slicer"  : { "type": "Slicer" ,  "super_type":"Slicer" ,
                 "connection_types":{"original":"1", "Sliver":"*"}, "description":"Slicer  ...." },
   "Federator"  : { "type": "Federator" ,  "super_type":"Federator" ,
                    "connection_types":{"original":"*", "Federeted":"1"}, "description":"Federator  ...." }
   }
Key Value Description
type <String> ObjectType (example:ComponentManager,Network,Slicer,,,)
super_type <String> super class ObjectType. (example:ComponentManager,NetworkComponent,Slicer,,,)
connection_types dict{<String>:<String>} ComponentConnection.connection_type : connection max num
description <String>

get Component instance List.

[Request]:
  • Body : none
[Response]: