[ https://jira.fiware.org/browse/HELP-13317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fernando Lopez reopened HELP-13317: ----------------------------------- > [fiware-stackoverflow] Orion Context Broker - references to data models > ----------------------------------------------------------------------- > > Key: HELP-13317 > URL: https://jira.fiware.org/browse/HELP-13317 > Project: Help-Desk > Issue Type: Monitor > Components: FIWARE-TECH-HELP > Reporter: Backlog Manager > Labels: fiware, fiware-orion > > Created question in FIWARE Q/A platform on 29-12-2017 at 13:12 > {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/48022647/orion-context-broker-references-to-data-models > +Question:+ > Orion Context Broker - references to data models > +Description:+ > I'm preparing laboratory script for presenting features of of OCB, however > there is a misconception on how OCB references to Data Models defined by > FIWARE. I'm aware of parameter 'type', which is supplied along with new > entity. The problem is connected to OCB. How does it difference between data models? > I can add variables from different data model which don't match. I > can't find the controller for it and if there is no any that's really shame. The problem I got is connected with situation: > Creating entity with declared type for instance: Device > Adding some parameter, which is not specified in Device schema. It could be dateLastWatering from Garden data model. > It doesn't make any sense, how the OCB reacts to that? > From my experience it just "swallows" the updated content as long as semantic of command is correct. > I received information that a restriction can be implemented in application layer, however in my opinion it should be supplied along with OCB already. > That way model can be mistaken and the example is not really educational. It > could be useful if after defining a model for entity, OCB could interact > somehow with user and check, or debug what it receives. That way it would be > more professional I guess and fore sure more safe to use. If OCB doesn't have > that feature is there a possibility for further development? -- This message was sent by Atlassian JIRA (v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy