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

[fiware-stackoverflow] QuantumLeap: store the same model with different columns in two tables (timescale)

    Details

    • Type: Monitor
    • Status: Answered
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: FIWARE-TECH-HELP

      Description

      Created question in FIWARE Q/A platform on 23-11-2023 at 15:11
      Please, ANSWER this question AT https://stackoverflow.com/questions/77537711/quantumleap-store-the-same-model-with-different-columns-in-two-tables-timescal

      Question:
      QuantumLeap: store the same model with different columns in two tables (timescale)

      Description:
      I am using NGSI-LD and Orion Context Broker v1.4.
      I need to store in two independent tables that start data from the same model but have different attributes.
      If I use two subscriptions it stores them in the same table.
      1 Subscription:
      {
      "description": "Store vehicle data",
      "type": "Subscription",
      "entities": [

      { "type": "Vehicle" }

      ],
      "watchedAttributes": ["alternateName", "color", "license_plate", "name"],
      "notification": {
      "attributes": ["id", "alternateName", "color", "license_plate", "name"],
      "format": "normalized",
      "endpoint": {
      "uri": "qunatumleap:8668/v2/notify",
      "accept": "application/json"
      }
      }
      }

      2 Subscription:
      {
      "description": "Store dynamic data",
      "type": "Subscription",
      "entities": [

      { "type": "Vehicle" }

      ],
      "watchedAttributes": ["location", "heading", "speed"],
      "notification": {
      "attributes": ["id","location", "heading", "speed"],
      "format": "normalized",
      "endpoint": {
      "uri": "quantumleap:8668/v2/notify",
      "accept": "application/json"
      }
      }
      }

        Activity

        newbacklogmanager Backlog Manager created issue -
        Hide
        newbacklogmanager Backlog Manager added a comment -

        2025-02-04 17:52|CREATED monitor | # answers= 1, accepted answer= False

        Show
        newbacklogmanager Backlog Manager added a comment - 2025-02-04 17:52|CREATED monitor | # answers= 1, accepted answer= False
        newbacklogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        newbacklogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        newbacklogmanager Backlog Manager added a comment -

        2025-02-05 01:00|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        newbacklogmanager Backlog Manager added a comment - 2025-02-05 01:00|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        newbacklogmanager Backlog Manager made changes -
        HD-Enabler Unknown [ 10910 ]
        HD-Chapter Unknown [ 10845 ]
        HD-Node Unknown [ 10852 ]
        newbacklogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        Hide
        newbacklogmanager Backlog Manager added a comment -

        2025-02-06 01:01|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        newbacklogmanager Backlog Manager added a comment - 2025-02-06 01:01|UPDATED status: transition Answered| # answers= 1, accepted answer= False
        fla Fernando Lopez made changes -
        Assignee Jason Fox [ jason.fox ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        8h 8m 1 Backlog Manager Wednesday 2:00 AM
        In Progress In Progress Answered Answered
        1d 1 Backlog Manager Thursday 2:01 AM

          People

          • Assignee:
            jason.fox Jason Fox
            Reporter:
            newbacklogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: