The method addNodeResource changed to addResource making it more generalized when adding new resources with attributes.
Added addEndResource method to modifying purposes, like dynamically adding resources with specific resource types according to receiving attributes (e.g. rt, if)
also added a lifeTime getter and changed updateEndpointResources's access modifier from private to public.
Signed-off-by: navoda mpnavoda@gmail.com
Sorry about the mess. :(
I fixed the unnecessary formatting changes with 23c613b, but some lines indented badly. I tried to update it directly but again that validation thing came up.
Hope you can still work with it. If not, I can send a new PR
The method
addNodeResource
changed toaddResource
making it more generalized when adding new resources with attributes. AddedaddEndResource
method to modifying purposes, like dynamically adding resources with specific resource types according to receiving attributes (e.g. rt, if) also added alifeTime
getter and changedupdateEndpointResources
's access modifier from private to public. Signed-off-by: navoda mpnavoda@gmail.com