Skip to content

OPC UA: Empty href with base is not accepted #1370

@egekorkan

Description

@egekorkan

The following TD is not accepted due to href being empty:

{
      "@context": [
          "https://www.w3.org/2022/wot/td/v1.1"
      ],
      "base": "opc.tcp://localhost:4840",
      "properties": {
          "test123": {
              "forms": [
                  {
                      href: "", // this is the issue
                      "op": [
                          "readproperty",
                          "writeproperty",
                          "observeproperty"
                      ],
                      "opcua:nodeId": "ns=3;s=\"foobar\""
                  }
              ],
              "observable": true,
              "readOnly": false,
              "type": "number"
          }
      },
      "security": "nosec_sc",
      "securityDefinitions": {
          "nosec_sc": {
              "scheme": "nosec"
          }
      },
      "title": "test"
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    binding-opcuaIssues related to opc ua protocol bindingbugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions