Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-3419

CloudEvents API accepts numbers for `time` property

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Done
    • L3 - Default
    • 3.0.0
    • 3.0.0
    • backend
    • None

    Description

      Given:
      This event

      {
        "specversion": "1.0",
        "id": "1edc4160-74e5-4ffc-af59-2d281cf5aca411",
        "subject": "invoice",
        "source": "system",
        "type": "InvoiceReceived",
        "traceid": "id6",
        "time": 5
      }
      

      When:
      It is sent to the cloud events ingestion API

      Then:
      It is accepted and stored with a timestamp value of 5 seconds.

      Expected:
      It should get rejected as ionly string encoded timestamps in RFC3339 are valid

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce