Skip to content
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

Add semantic tag registry + REST API to manage user tags #3636

Closed
wants to merge 5 commits into from

Commits on Jun 5, 2023

  1. Add semantic tag registry + REST API to manage user tags

    Related to openhab#3619
    
    New registry for semantic tags.
    New default semantic tags provider for all built-in semantic tags.
    New managed provider to add/remove/update user semantic tags.
    Storage of user semantic tags in a JSON DB file.
    New REST API to add/remove/update user tags in the semantic model.
    New REST API to get a sub-tree of the semantic tags.
    
    Tag label/description/synonyms are now in the registry, no more as part
    of the semantic class annotation.
    
    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    f6670ea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    575785a View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. Review comment: semantic tag classes created at runtime

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    4a0a909 View commit details
    Browse the repository at this point in the history
  2. Add managed provider in tag registry constructor

    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    25701dc View commit details
    Browse the repository at this point in the history
  3. Sort managed tags by uid to be sure that tag classes will be created …

    …in the right order
    
    Signed-off-by: Laurent Garnier <[email protected]>
    lolodomo committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    d4dbc58 View commit details
    Browse the repository at this point in the history