Closed sdruesedow closed 7 years ago
I guess this is happening because when you registered the Hyperties you forgot to add the "status" field (as specified here).
PUT Request example:
{
"resources" : ["chat", "voice"],
"dataSchemes" : ["chat", "voice"],
"descriptor": "hyperty-catalogue://localhost/HelloHyperty",
"expires" : 3600,
"status": "live",
"runtime": "runtime",
"p2pRequester": "p2pRequester",
"p2pHandler": "p2pHandler",
"guid": "guid"
}
So I assume it should be enough to update the Runtime in the catalogue!? Do you know which runtime.js version supports the status flag? I'm running the latest released version 0.7.1 from mid of November in our testbeds.
Yes, it should be enough, but we don't know which runtime.js version supports it. @pchainho can you help here?
@sdruesedow the status update was not released yet in the runtime but "dev-p2p-interworking-merge" branch should support that
I just took the Runtime.js from dev-runtime-core#dev-p2p-interworking-merge and updated it on rethink-dev.tlabscloud.com. Now I get an error message from the RuntimeUA during page loading:
Any ideas? I did not change anything else.
@BernardoMG: Is there alternatively a version of the domain registry that still works with the 0.7.1 version of the Runtime?
Release 0.4.0 from Oct 12 should work.
I switched back to registry R0.4.0. and can confirm that the request works there with Runtime v0.7.1.
So, can we close this issue @sdruesedow ?
Yes I think so. It's a configuration and versioning issue and not an issue of the domain registry itself.
Search attempts for all hyperties of a given user without resources or dataSchemes as parameter produce a NullPointerException in the domain-registry (using the latest version from dockerhub). Requests of this form are used by the global registry to find ALL hyperties for a special user in a certain domain. Due to this, the global discovery is currently not operational. Request with given resources and/or dataSchemes work as expected but are not suitable for the purpose of the global discovery.