Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-13081

FIWARE.Request.Tech.References to data models.

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      XXX sent a message using the contact form at
      https://catalogue.fiware.org/.

      Hello,

      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 with OCB. How does it difference between data models?
      I can add variables from other data model into other which don't match. I
      can't find the controller for it and if there is no any that's really shame.
      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 doen't have
      that feature there is a possibility for further development from our side,
      however it won't happen in the forthcoming year or so, because there is no a
      student for taking care of it yet as a part of thesis.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        14d 16h 38m 1 Jose Manuel Cantera 10/Jan/18 9:25 AM
        In Progress In Progress Closed Closed
        4s 1 Jose Manuel Cantera 10/Jan/18 9:25 AM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        fla Fernando Lopez made changes -
        Description SC sent a message using the contact form at
        https://catalogue.fiware.org/.

        Hello,

        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 with OCB. How does it difference between data models?
        I can add variables from other data model into other which don't match. I
        can't find the controller for it and if there is no any that's really shame.
        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 doen't have
        that feature there is a possibility for further development from our side,
        however it won't happen in the forthcoming year or so, because there is no a
        student for taking care of it yet as a part of thesis.
        XXX sent a message using the contact form at
        https://catalogue.fiware.org/.

        Hello,

        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 with OCB. How does it difference between data models?
        I can add variables from other data model into other which don't match. I
        can't find the controller for it and if there is no any that's really shame.
        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 doen't have
        that feature there is a possibility for further development from our side,
        however it won't happen in the forthcoming year or so, because there is no a
        student for taking care of it yet as a part of thesis.
        fla Fernando Lopez made changes -
        Description Simon Caban sent a message using the contact form at
        https://catalogue.fiware.org/.

        Hello,

        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 with OCB. How does it difference between data models?
        I can add variables from other data model into other which don't match. I
        can't find the controller for it and if there is no any that's really shame.
        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 doen't have
        that feature there is a possibility for further development from our side,
        however it won't happen in the forthcoming year or so, because there is no a
        student for taking care of it yet as a part of thesis.

        __________________________________________________________________________________________

        You can get more information about our cookies and privacy policies on the following links:
        - http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/FIWARE_Privacy_Policy
        - http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Cookies_Policy_FIWARE

        Fiware-tech-help mailing list
        Fiware-tech-help@lists.fiware.org
        https://lists.fiware.org/listinfo/fiware-tech-help


        [Created via e-mail received from: szy.mik.cab@gmail.com]
        SC sent a message using the contact form at
        https://catalogue.fiware.org/.

        Hello,

        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 with OCB. How does it difference between data models?
        I can add variables from other data model into other which don't match. I
        can't find the controller for it and if there is no any that's really shame.
        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 doen't have
        that feature there is a possibility for further development from our side,
        however it won't happen in the forthcoming year or so, because there is no a
        student for taking care of it yet as a part of thesis.
        fla Fernando Lopez made changes -
        HD-Enabler Orion [ 10875 ]
        HD-Chapter Data [ 10838 ]
        backlogmanager Backlog Manager made changes -
        Summary [Fiware-tech-help] [Publish/Subscribe Context Broker - Orion Context Broker] References to data models FIWARE.Request.Tech.References to data models.
        jmcantera Jose Manuel Cantera made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        jmcantera Jose Manuel Cantera made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        fla Fernando Lopez made changes -
        Comment [ Comment by jira-help-desk@jira.fiware.org :

        Spam detection software, running on the system "fiware-forge-01", has
        identified this incoming email as possible spam. The original message
        has been attached to this so you can view it (if it isn't spam) or label
        similar future email. If you have any questions, see
        the administrator of that system for details.

        Content preview: [ https://jira.fiware.org/browse/HELP-13081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
           ] FW External User updated HELP-13081: > [Fiware-general-help] [SPAM] [FIWARE-JIRA]
           (HELP-13082) [SPAM] Website Job Application > > > Key: HELP-13081 > URL:
          https://jira.fiware.org/browse/HELP-13081 > Project: Help-Desk > Issue Type:
           extRequest > Reporter: FW External User > Attachments: [FIWARE-JIRA] (HELP-13082)
           [Fiware-general-help] [SPAM] Website Job Application > > > Spam detection
           software, running on the system "fiware-forge-01", has > identified this
          incoming email as possible spam. The original message > has been attached
          to this so you can view it (if it isn't spam) or label > similar future email.
           If you have any questions, see > the administrator of that system for details.
           > Content preview: [ https://jira.fiware.org/browse/HELP-13082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
           > ] FW External User updated HELP-13082: Attachment: [FIWARE-JIRA] (HELP-13082)
           > [Fiware-general-help] [SPAM] Website Job Application [...] > Content analysis
           details: (6.1 points, 4.5 required) > pts rule name description > ---- >
          1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist > [URIs: latedeliver.com]
           > 2.5 URIBL_DBL_SPAM Contains a spam URL listed in the DBL blocklist > [URIs:
           latedeliver.com] > 0.0 FSL_HELO_NON_FQDN_1 FSL_HELO_NON_FQDN_1 > 3.8 HELO_LOCALHOST
           HELO_LOCALHOST > -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% >
          [score: 0.0000] > > You can get more information about our cookies and privacy
           policies on the following links: > - http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/FIWARE_Privacy_Policy
           > - http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Cookies_Policy_FIWARE
           > Fiware-general-help mailing list > Fiware-general-help@lists.fiware.org
           > https://lists.fiware.org/listinfo/fiware-general-help > [Created via e-mail
           received [...]

        Content analysis details: (6.9 points, 4.5 required)

         pts rule name description
        ---- ---------------------- --------------------------------------------------
         1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist
                                    [URIs: latedeliver.com]
         2.5 URIBL_DBL_SPAM Contains a spam URL listed in the DBL blocklist
                                    [URIs: latedeliver.com]
         0.0 FSL_HELO_NON_FQDN_1 FSL_HELO_NON_FQDN_1
         3.8 HELO_LOCALHOST HELO_LOCALHOST
        -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
                                    [score: 0.0000]
         0.8 RDNS_NONE Delivered to internal network by a host with no rDNS

        ]
        fla Fernando Lopez made changes -
        Assignee Jose Manuel Cantera [ jmcantera ]
        fla Fernando Lopez made changes -
        Attachment [FIWARE-JIRA] (HELP-13081) [Fiware-general-help] [SPAM] [FIWARE-JIRA] (HELP-13082) [SPAM] Website Job Application [ 61671 ]
        fw.ext.user FW External User made changes -
        Attachment [FIWARE-JIRA] (HELP-13081) [Fiware-general-help] [SPAM] [FIWARE-JIRA] (HELP-13082) [SPAM] Website Job Application [ 61671 ]
        Hide
        fw.ext.user FW External User added a comment - - edited

        Comment by juliozinga@gmail.com :

        Hi,

        I don't understand exactely your question, but i suposed you need to use
        the keyValue mode ?options=keyValues
        In this example (
        https://github.com/Fiware/dataModels/blob/master/Device/Device/doc/spec.md)

        Examples:
        url:
        host:port/v2/entities?options=keyValues

        Example in python( adapted from
        http://telefonicaid.github.io/fiware-orion/api/v2/stable/cookbook/):

        from urllib2 import Request, urlopenvalues = """

        { "id": "device-9845A", "type": "Device", "category": ["sensor"], "controlledProperty": ["fillingLevel","temperature"], "controlledAsset": ["wastecontainer-Osuna-100"], "ipAddress": "192.14.56.78", "mcc": "214", "mnc": "07", "batteryLevel": 0.75, "serialNumber": "9845A", "refDeviceModel": "myDevice-wastecontainer-sensor-345", "value": "l=0.22;t=21.2", "deviceState": "ok", "dateFirstUsed": "2014-09-11T11:00:00Z", "owner": ["http://person.org/leon"] }

        """headers =

        { 'Content-Type': 'application/json'}

        request = Request('
        http://fiware-ngsi2.apiblueprint.org/v2/entities?options=keyValues
        ', data=values, headers=headers)response_body =
        urlopen(request).read()print response_body

        Show
        fw.ext.user FW External User added a comment - - edited Comment by juliozinga@gmail.com : Hi, I don't understand exactely your question, but i suposed you need to use the keyValue mode ?options=keyValues In this example ( https://github.com/Fiware/dataModels/blob/master/Device/Device/doc/spec.md ) Examples: url: host:port/v2/entities?options=keyValues Example in python( adapted from http://telefonicaid.github.io/fiware-orion/api/v2/stable/cookbook/): from urllib2 import Request, urlopenvalues = """ { "id": "device-9845A", "type": "Device", "category": ["sensor"], "controlledProperty": ["fillingLevel","temperature"], "controlledAsset": ["wastecontainer-Osuna-100"], "ipAddress": "192.14.56.78", "mcc": "214", "mnc": "07", "batteryLevel": 0.75, "serialNumber": "9845A", "refDeviceModel": "myDevice-wastecontainer-sensor-345", "value": "l=0.22;t=21.2", "deviceState": "ok", "dateFirstUsed": "2014-09-11T11:00:00Z", "owner": ["http://person.org/leon"] } """headers = { 'Content-Type': 'application/json'} request = Request(' http://fiware-ngsi2.apiblueprint.org/v2/entities?options=keyValues ', data=values, headers=headers)response_body = urlopen(request).read()print response_body
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        fw.ext.user FW External User created issue -

          People

          • Assignee:
            jmcantera Jose Manuel Cantera
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: