Skip to content

Produce ExposedThing from a ThingModel instance #304

@relu91

Description

@relu91

Now that a new paragraph about Thing Model is landed in the TD specification (w3c/wot-thing-description#1024) we should evaluate possible choices about how to integrate it in the Scripting API.

As I see it, a good starting point for integrating Thing Models is in the workflow for producing ExposedThings. We could exploit the work done with ExposedThingInit and define a transformation algorithm between a TM instance and the ExposedThingInit object. We could even change the produce method signature such as it can handle ThingModel or ExposedThingInit instances as arguments.

Another option is to use the algorithm described in the mentioned PR. But as I raised during the call it is a bit vague when looking at it from an implementer's point of view. The TD group would like to keep it as it is since they would like to have a process that could be used also by tools or even humans rather than an automatic process computed by a runtime.

Opinions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    for next iterationPlanned or postponed topics for the futureuse caseDescribes a scenario that may be useful for technical decisions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions