finos / architecture-as-code

"Architecture as Code" (AasC) aims to devise and manage software architecture via a machine readable and version-controlled codebase, fostering a robust understanding, efficient development, and seamless maintenance of complex software architectures
https://calm.finos.org
Apache License 2.0
63 stars 38 forks source link

Create measurement units #466

Open rocketstack-matt opened 1 month ago

rocketstack-matt commented 1 month ago

Feature Request

Description of Problem:

457 introduced time-unit which allows us to record a time in a control-requirement, but we need to be able to also record what it is we need to do in that period of time.

e.g.

    "throughput": {
      "type": "object",
       "properties": {
         "expected-message-rate": {
           "$ref": "https://calm.finos.org/draft/2024-10/meta/units.json#/defs/time-unit",
           "description": "Define the expected message rate that the flow should handle e.g. 1000 per second"
         }
       },
       "required": [
         "expected-message-rate"
       ]
     }

We state how long the thing must take e.g.

  "throughput": {
     "expected-message-rate": {
       "value": 1000,
       "unit": "seconds"
     }
   }

But we haven't set what needs to happen in the time, other than by a vague interpretation of the property.

Potential Solutions:

My preference would be for a new specific def per the first option.

oliviajanejohns commented 3 weeks ago

Happy to pick this up! Unable to assign unfortunately

dc-ms commented 3 weeks ago

Assigned to Olivia!