-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project (2021-09 Plugfest): Siemens / Logilab TDD #168
Comments
@k-toumura - thanks for testing the TDD api and giving us feedback! Issues we had with: https://github.com/w3c/wot-testing/blob/main/events/2021.09.Online/TD/TDs/Hitachi/hitachi-led.td.jsonld
|
@egekorkan - with respect to "unit" having "%" please see: w3c/wot-thing-description#1210
|
In our implementation I remove the Everything is explained here : w3c/wot-thing-description#1210 |
I tried to import https://github.com/w3c/wot-testing/blob/main/events/2021.09.Online/TD/TDs/Hitachi/hitachi-led.td.jsonld into our implementation of the TDD and I reproduced the error with the title/titles that disappear. |
"securityDefinitions": {
"basic_sc": {
"scheme": "basic",
"in": "header"
},
"no_sc": {
"scheme": "nosec"
}
},
"security": [
"basic_sc"
], After registering above TD, I got following (invalid) TD as a result: "security": "basic_sc",
"securityDefinitions": {
"@none": [
{
"@type": "basic",
"in": "header",
"td:securityDefinitionForConfiguration": {
"id": "basic_sc"
}
},
{
"@type": "nosec",
"td:securityDefinitionForConfiguration": {
"id": "no_sc"
}
}
]
}, |
@k-toumura - thanks for reporting! There is two challenges:
is translated to RDF
which means that the relation between the configuration basic_sc and the definition _:b0 is lost. Therefore we propose to add a new relation td:securityDefinitionForSecurityConfiguration to keep it such as:
For more details, see this issue: w3c/wot-thing-description#1193 For the plugfest we are using the "@none" fix/workaround and I'd ask you to work-around this, e.g. by string-replacing the incorrect returned "securityDefinitions" with a correct one in your implementation |
If it is needed we can disable this workaroud for now ? |
Thank you for your explanation and consideration. |
Alright, and sorry for needing to work-around a workaround ;-) |
I think this is based on the old spec. The context path for the registration API should be |
See scripts at https://github.com/w3c/wot-testing/tree/main/events/2020.06.Online/tools/directory-sync but needs to be updated. Note this is a CI script that runs on github, just needs to point at new directory service. @wiresio will do a PR... may need to move the action script to his own repo. |
@farshidtz I changed the routes to use the proper @mmccool I looked at the script and I discovered that it uses the |
It's an old script. It should also be changed to |
I deployed a new script running at: https://github.com/wiresio/wot-testing-directory-sync/actions Unfortunately we have issues uploading several TDs. |
eCar TD doesn't have |
Thanks @k-toumura for reporting! This is definitely an issue to be solved. Thanks @danielpeintner for helping to fix it during the plugfest!
|
In previous plugfests, we handled this by having TTLs that are same as the sync interval. This way, old anonymous TDs would automatically get purged from the directory. In the script, you can see that a |
Thanks @farshidtz - we'll try to introduce a cleanup. All TDs should be in TDD now. |
Working now due to using "chunked transfer encoding" :-) However, you should be able to retrieve TDs via |
I've updated the sync script to make it inline with the current spec: https://github.com/farshidtz/wot-testing-directory-sync |
Migrated to MD file in PR #202 |
Siemens in cooperation with Logilab provides a Thing Description Directory endpoint for discovery testing:
The text was updated successfully, but these errors were encountered: