Skip to content

Allow SMD metadata to be updated#67

Merged
alexlovelltroy merged 2 commits into
mainfrom
66-smd-race
May 19, 2026
Merged

Allow SMD metadata to be updated#67
alexlovelltroy merged 2 commits into
mainfrom
66-smd-race

Conversation

@cjh1
Copy link
Copy Markdown
Member

@cjh1 cjh1 commented May 19, 2026

Previously entries to the state map where only added, not updated. So when State/Components data is present in SMD but its matching ComponentEndpoint is not yet populated, FillHSMData returns a HsmData with the basic fields filled but RfFQDN / PowerStatusURI / PowerActionURI blank. These blank fields could not then be updated by subsequent calls.

Fixes: #66

Previously entries to the state map where only added, not updated.
So when State/Components data is present in SMD but its matching
ComponentEndpoint is not yet populated, FillHSMData returns a
HsmData with the basic fields filled but RfFQDN / PowerStatusURI /
PowerActionURI blank. These blank fields could not then be updated
by subsequent calls.

Signed-off-by: Chris Harris <cjh@lbl.gov>
@cjh1 cjh1 temporarily deployed to Docker Push May 19, 2026 19:18 — with GitHub Actions Inactive
@cjh1 cjh1 temporarily deployed to Docker Push May 19, 2026 19:18 — with GitHub Actions Inactive
Signed-off-by: Chris Harris <cjh@lbl.gov>
@cjh1 cjh1 temporarily deployed to Docker Push May 19, 2026 19:26 — with GitHub Actions Inactive
@cjh1 cjh1 temporarily deployed to Docker Push May 19, 2026 19:26 — with GitHub Actions Inactive
@cjh1 cjh1 requested a review from alexlovelltroy May 19, 2026 20:39
@alexlovelltroy alexlovelltroy enabled auto-merge May 19, 2026 21:13
Copy link
Copy Markdown
Member

@alexlovelltroy alexlovelltroy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good re-tested working

@alexlovelltroy alexlovelltroy merged commit e8e86ae into main May 19, 2026
20 checks passed
@alexlovelltroy alexlovelltroy deleted the 66-smd-race branch May 19, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants