• Not defined

      Context:

      During import, in additional to importing the raw object variable, we also want to flatten it into mutliple subvariables for each property. For example, the raw  variable with the name "user" and the value "{"firstname": "Jane", "lastName": "Smith}" is flattened to two variables: "user.firstName" with value "Jane" and "user.lastNam" with value "Smith".

      When the raw object variable is updated, this update should also overwrite the respective flattened variables.

      The flattening should occur after any existing variable plugins have been applied. It should also occur when ingesting external variables via API.

      Lists: in this ticket, we also add an extra "listsize" variable for lists. If a object variable contains a list, the "listSize" variable stores the size of said list. Flattening/importing of the actual list will come with another ticket.

       

      AT:

      • Upon import, object variables are flattened so that each json leaf maps to its own variable
      • These flattened variables are updated whenever the parent object variable is updated
      • For now, lists are translated into a "listsize" variable
      • Flattening also occurs when ingesting external variables

        This is the controller panel for Smart Panels app

            [OPT-5691] Flatten object variable upon import

            Helene Waechtler created issue -
            Helene Waechtler made changes -
            Link New: This issue is depended on by OPT-5694 [ OPT-5694 ]
            Helene Waechtler made changes -
            Link New: This issue is depended on by OPT-5695 [ OPT-5695 ]
            Helene Waechtler made changes -
            Status Original: Open [ 1 ] New: In Development [ 10312 ]
            Helene Waechtler made changes -
            Summary Original: Flatten complex variable upon import New: Flatten object variable upon import
            Helene Waechtler made changes -
            Description Original: *Context:*

            During import, in additional to importing the raw complex variable, we also want to flatten it into mutliple subvariables for each property. For example, the raw  variable with the name "user" and the value "\{"firstname": "Jane", "lastName": "Smith}" is flattened to two variables: "user.firstName" with value "Jane" and "user.lastNam" with value "Smith".

            When the raw complex variable is updated, this update should also overwrite the respective flattened variables.

            The flattening should occur after any existing variable plugins have been applied.

            Lists: in this ticket, we also add an extra "listsize" variable for lists. If a complex variable contains a list, the "listSize" variable stores the size of said list. Flattening/importing of the actual list will come with another ticket.

             

            *AT:*
             * Upon import, complex variables are flattened so that each json leaf maps to its own variable
             * These flattened variables are updated whenever the parent complex variable is updated
             * For now, lists are translated into a "listsize" variable
            New: *Context:*

            During import, in additional to importing the raw object variable, we also want to flatten it into mutliple subvariables for each property. For example, the raw  variable with the name "user" and the value "\{"firstname": "Jane", "lastName": "Smith}" is flattened to two variables: "user.firstName" with value "Jane" and "user.lastNam" with value "Smith".

            When the raw object variable is updated, this update should also overwrite the respective flattened variables.

            The flattening should occur after any existing variable plugins have been applied.

            Lists: in this ticket, we also add an extra "listsize" variable for lists. If a object variable contains a list, the "listSize" variable stores the size of said list. Flattening/importing of the actual list will come with another ticket.

             

            *AT:*
             * Upon import, object variables are flattened so that each json leaf maps to its own variable
             * These flattened variables are updated whenever the parent object variable is updated
             * For now, lists are translated into a "listsize" variable
            Helene Waechtler made changes -
            Mentioned Roles
            Helene Waechtler made changes -
            Mentioned Groups
            Helene Waechtler made changes -
            Description Original: *Context:*

            During import, in additional to importing the raw object variable, we also want to flatten it into mutliple subvariables for each property. For example, the raw  variable with the name "user" and the value "\{"firstname": "Jane", "lastName": "Smith}" is flattened to two variables: "user.firstName" with value "Jane" and "user.lastNam" with value "Smith".

            When the raw object variable is updated, this update should also overwrite the respective flattened variables.

            The flattening should occur after any existing variable plugins have been applied.

            Lists: in this ticket, we also add an extra "listsize" variable for lists. If a object variable contains a list, the "listSize" variable stores the size of said list. Flattening/importing of the actual list will come with another ticket.

             

            *AT:*
             * Upon import, object variables are flattened so that each json leaf maps to its own variable
             * These flattened variables are updated whenever the parent object variable is updated
             * For now, lists are translated into a "listsize" variable
            New: *Context:*

            During import, in additional to importing the raw object variable, we also want to flatten it into mutliple subvariables for each property. For example, the raw  variable with the name "user" and the value "\{"firstname": "Jane", "lastName": "Smith}" is flattened to two variables: "user.firstName" with value "Jane" and "user.lastNam" with value "Smith".

            When the raw object variable is updated, this update should also overwrite the respective flattened variables.

            The flattening should occur after any existing variable plugins have been applied. It should also occurr when ingesting external variables via API.

            Lists: in this ticket, we also add an extra "listsize" variable for lists. If a object variable contains a list, the "listSize" variable stores the size of said list. Flattening/importing of the actual list will come with another ticket.

             

            *AT:*
             * Upon import, object variables are flattened so that each json leaf maps to its own variable
             * These flattened variables are updated whenever the parent object variable is updated
             * For now, lists are translated into a "listsize" variable
             * If possible, this flattening also occurs when ingesting external variables
            Helene Waechtler made changes -
            Mentioned Roles
            Helene Waechtler made changes -
            Mentioned Groups

              Unassigned Unassigned
              helene.waechtler Helene Waechtler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: