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

FIWARE.Request.Lab.Data.CEP.Proton issues report

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: None
    • Labels:
      None

      Description

      Hi FI-WARE,

      I want to report about Proton issues/capabilities that i would like to ask
      u guys to implement!
      First, i already spoke with developers. There is not allowed to pass a
      variable to array neither array cant be initiated with it. Currently array
      can take only constansts like

      {1,2, 'Proton', 4}

      , but not varriables

      {1,2, event.temperature,4}

      .

      Second, there is no built-in function DoubleToString() or just function
      that casts to String.

      And third, there is no way to access n-th value in the aggregated array.

      Thanks a lot,
      Jānis.

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

      [Created via e-mail received from: =?UTF-8?Q?J=C4=81nis_Mateuss?= <jajanka3@gmail.com>]

        Activity

        Hide
        fw.ext.user FW External User added a comment -

        Dear Jānis,

        Thanks so much for your feedback, appreciated.

        I will re-route it internally to the dev teams to debate it and to ponder whether to add it to future releases

        Kind regards,

        Miguel

        El 06/08/2015 a las 12:26, Jānis Mateuss escribió:
        Hi FI-WARE,

        I want to report about Proton issues/capabilities that i would like to ask u guys to implement!
        First, i already spoke with developers. There is not allowed to pass a variable to array neither array cant be initiated with it. Currently array can take only constansts like

        {1,2, 'Proton', 4}

        , but not varriables

        {1,2, event.temperature,4}

        .

        Second, there is no built-in function DoubleToString() or just function that casts to String.

        And third, there is no way to access n-th value in the aggregated array.

        Thanks a lot,
        Jānis.

        Show
        fw.ext.user FW External User added a comment - Dear Jānis, Thanks so much for your feedback, appreciated. I will re-route it internally to the dev teams to debate it and to ponder whether to add it to future releases Kind regards, Miguel El 06/08/2015 a las 12:26, Jānis Mateuss escribió: Hi FI-WARE, I want to report about Proton issues/capabilities that i would like to ask u guys to implement! First, i already spoke with developers. There is not allowed to pass a variable to array neither array cant be initiated with it. Currently array can take only constansts like {1,2, 'Proton', 4} , but not varriables {1,2, event.temperature,4} . Second, there is no built-in function DoubleToString() or just function that casts to String. And third, there is no way to access n-th value in the aggregated array. Thanks a lot, Jānis.
        Hide
        mcp Miguel Carrillo added a comment -

        Dear IBM team,

        Please consider whether adding this to coming releases is a good idea. It seems reasonable as it reads...

        Show
        mcp Miguel Carrillo added a comment - Dear IBM team, Please consider whether adding this to coming releases is a good idea. It seems reasonable as it reads...
        Hide
        fw.ext.user FW External User added a comment -

        Dear Miguel,

        Yes, we will look into it and assess the efforts. In the meantime we will
        try to provide a workaround.
        Thank you!

        Regards,

        Fabiana

        From: "Miguel Carrillo (JIRA)" <jira-help-desk@fi-ware.org>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL, Fabiana
        Fournier/Haifa/IBM@IBMIL
        Date: 07/08/2015 10:48 AM
        Subject: [FI-WARE-JIRA] (HELP-3761) [Fiware-tech-help] Proton
        issues report

        [
        https://jira.fiware.org/browse/HELP-3761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=29399#comment-29399
        ]

        Miguel Carrillo commented on HELP-3761:
        ---------------------------------------

        Dear IBM team,

        Please consider whether adding this to coming releases is a good idea. It
        seems reasonable as it reads...

        ask
        array
        {1,2,
        <jajanka3@gmail.com>]


        This message was sent by Atlassian JIRA
        (v6.4.1#64016)

        Show
        fw.ext.user FW External User added a comment - Dear Miguel, Yes, we will look into it and assess the efforts. In the meantime we will try to provide a workaround. Thank you! Regards, Fabiana From: "Miguel Carrillo (JIRA)" <jira-help-desk@fi-ware.org> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL, Fabiana Fournier/Haifa/IBM@IBMIL Date: 07/08/2015 10:48 AM Subject: [FI-WARE-JIRA] ( HELP-3761 ) [Fiware-tech-help] Proton issues report [ https://jira.fiware.org/browse/HELP-3761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=29399#comment-29399 ] Miguel Carrillo commented on HELP-3761 : --------------------------------------- Dear IBM team, Please consider whether adding this to coming releases is a good idea. It seems reasonable as it reads... ask array {1,2, <jajanka3@gmail.com>] – This message was sent by Atlassian JIRA (v6.4.1#64016)
        Hide
        fw.ext.user FW External User added a comment -

        Hello

        I have one request again and one (i think so) bug.
        About request - it would be great if it would be possible to rename events,
        epas, etc. from right mouse button menu not just delete it or replicate it.

        About bug. When in some EPA you want to derive same event with different
        attributes and conditions. For example, my epa wants to derive event
        'DryingOutEvent' with attribute id=1 when condition x==2 is true. And when
        condition is x==3 my epa (same epa) wants to derive same event
        'DryingOutEvent' with attribute id =2.
        So the problem is that it doesn't matter which condition is true, the event
        'DryingOutEvent' always will have attribute id=2.

        What is interesting.. if my first condition's first attribute were id=2 and
        seconds id=1 then the event 'DryingOutEvent' always will have attribute
        id=1.

        Visualization for both:
        [image: Inline image 1]

        Thanks a lot,
        Jānis

        Show
        fw.ext.user FW External User added a comment - Hello I have one request again and one (i think so) bug. About request - it would be great if it would be possible to rename events, epas, etc. from right mouse button menu not just delete it or replicate it. About bug. When in some EPA you want to derive same event with different attributes and conditions. For example, my epa wants to derive event 'DryingOutEvent' with attribute id=1 when condition x==2 is true. And when condition is x==3 my epa (same epa) wants to derive same event 'DryingOutEvent' with attribute id =2. So the problem is that it doesn't matter which condition is true, the event 'DryingOutEvent' always will have attribute id=2. What is interesting.. if my first condition's first attribute were id=2 and seconds id=1 then the event 'DryingOutEvent' always will have attribute id=1. Visualization for both: [image: Inline image 1] Thanks a lot, Jānis
        Hide
        TALI Fabiana Fournier added a comment -

        Hello Janis,
        Thank you for your suggestion, we will implement it in one of the future updates of the system.
        For now, instead of deleting an artifact and recreating it, you can rename it through the authoring tool under the "General" settings of the artifact. Just click the name and you will be able to edit it. However - this won't affect the name if this artifact is used within another artifact, e.g an event used in a context. you will also have to edit the event's name in the context using it.

        Regarding your problem - this is a matter of design. You can only derive one instance of an event. If you want you derived event to have values dependent on some condition, you will have to put this condition in the attribute expression itself (under Event Attributes).
        Here is an example, to match your problem:
        in the expression for the id attribute, write:
        if x==2 then 1 else if x==3 then 2 endif endif

        And if you want to derive the event only for specific values of x, in the condition of the event itself you can write x==2 OR x==3

        Regards,
        Itai Peri

        Show
        TALI Fabiana Fournier added a comment - Hello Janis, Thank you for your suggestion, we will implement it in one of the future updates of the system. For now, instead of deleting an artifact and recreating it, you can rename it through the authoring tool under the "General" settings of the artifact. Just click the name and you will be able to edit it. However - this won't affect the name if this artifact is used within another artifact, e.g an event used in a context. you will also have to edit the event's name in the context using it. Regarding your problem - this is a matter of design. You can only derive one instance of an event. If you want you derived event to have values dependent on some condition, you will have to put this condition in the attribute expression itself (under Event Attributes). Here is an example, to match your problem: in the expression for the id attribute, write: if x==2 then 1 else if x==3 then 2 endif endif And if you want to derive the event only for specific values of x, in the condition of the event itself you can write x==2 OR x==3 Regards, Itai Peri

          People

          • Assignee:
            TALI Fabiana Fournier
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: