Closed calif-devel closed 8 years ago
Yes, I am already aware of this problem and have a fix. However, we want to find a good way to manage multiple version (stable 1.0.x and experimental 1.x.x). Thanks for raising this, though!
Is there something I can do to fix it? I was wondering in RDNodeResource#setParameters(Request) method, adding the following could be simple solution:
if (attr.getName().equals(LinkFormat.CONTEXT)){
...
}
if (attr.getName().equals(LinkFormat.END_POINT_TYPE)){
setEndpointType(attr.getValue());
}
Yes, you can add this for a local quick fix.
Was fixed in c1ba87ef701463367c502cc5700fced72e8e3d24
When registering an endpoint by Posting rd?ep=abcdefg&et=my-device, I do get CREATED response. However when I do look up on resource rd-lookup/ep I see NPE in the logs.
That line # 77 in RDLookUpEPResource is checking to EndpointType, I don't see where EndpointType is ever set.