GithubHelp home page GithubHelp logo

Comments (7)

kzangeli avatar kzangeli commented on August 29, 2024

True, those two "builtins" aren't getting any special treatment by orionld as of today.
Not sure what the broker should do if encountered with them ...
There are really only three options:

  1. Return Error
  2. Ignore them (as the broker sets these values itself)
  3. Use them and let them override the builtin values.

From this issue I assume we will go with option 3.
Do we really want that?
I mean, the timestamps will be incorrect ...

from context.orion-ld.

kzangeli avatar kzangeli commented on August 29, 2024

PR #48 should fix this problem (option 3: builtin values are overridden)

from context.orion-ld.

jmcanterafonseca avatar jmcanterafonseca commented on August 29, 2024

From the specification:

5.2.2 Common members
The JSON-LD representation of NGSI-LD Entity, Property, Relationship, Context Source Registration and Subscription
can include the common members described by table 5.2.2-1.
Those members are read-only, and shall be automatically generated by NGSI-LD implementations. They shall not be provided by Context Producers. In the event that they are provided (in update or create operations) NGSI-LD implementations shall ignore them.

from context.orion-ld.

kzangeli avatar kzangeli commented on August 29, 2024

ok, I'll change what I implemented to IGNORE instead of override.
Makes sense, no probs

from context.orion-ld.

kzangeli avatar kzangeli commented on August 29, 2024

github closed the issue for me ... reopening

from context.orion-ld.

kzangeli avatar kzangeli commented on August 29, 2024

The issue should be fixed by PR #64

from context.orion-ld.

jmcanterafonseca avatar jmcanterafonseca commented on August 29, 2024

still crashing

{
    "branch": "(HEAD",
    "kbase version": "0.2",
    "kalloc version": "0.2",
    "kjson version": "0.2",
    "boost version": "1_62",
    "microhttpd version": "0.9.48-0",
    "openssl version": "OpenSSL 1.1.0j  20 Nov 2018",
    "mongo version": "1.1.3",
    "rapidjson version": "1.0.2",
    "libcurl version": "UNKNOWN",
    "libuuid version": "UNKNOWN"
}

from context.orion-ld.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.