Skip to content

Commit

Permalink
Merge pull request #40 from NOAA-GSL/bug/idsse-488/add-eval-at
Browse files Browse the repository at this point in the history
Add 'evaluatedAt' to EventPort
  • Loading branch information
Geary-Layne authored Dec 12, 2023
2 parents f420d99 + 7a11008 commit 439fdb0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions python/idsse_common/idsse/common/schema/risk_results.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
"description": "Mechanism for storing the result from the Risk Processor",
"type": "object",
"properties": {
"evaluatedAt": {"$ref": "timing.json#/TimeString"},
"conditionKey": {"type": "string"},
"locationKey": {"type": "string"},
"productKey": {"type": "string"},
Expand All @@ -110,6 +111,7 @@
"metaData": {"type": "array", "items": {"$ref": "#/MetaData"}, "minItems": 1}
},
"required": [
"evaluatedAt",
"conditionKey",
"locationKey",
"productKey",
Expand Down
4 changes: 3 additions & 1 deletion python/idsse_common/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@
'pytest-cov',
]
},
zip_safe=False)
zip_safe=False,
include_package_data=True
)
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def simple_event_port_message() -> dict:
},
"riskResults": [
{
"evaluatedAt": "2022-11-11T14:54:32.100Z",
"conditionKey": "Abq TEMP",
"productKey": "NBM",
"locationKey": "Single Location",
Expand Down

0 comments on commit 439fdb0

Please sign in to comment.