I searched the v5 schemas, and I think this may be an outlier. I didn't find fieldPath anywhere except in some ServiceUsage notifications - and I'm not sure that ServiceUsage was released yet as a v5 API.
I also searched the v4 schemas, and here also I couldn't find widespread use of fieldPath.
------------------------------
Jonathan Goldberg
Amdocs Management Limited
Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
------------------------------
Original Message:
Sent: Apr 07, 2024 22:00
From: Ryan Ruckley
Subject: Notification Payload - fieldPath
For reference: https://github.com/rruckley/tmflib
------------------------------
Ryan Ruckley
Principal Architect
SingTel Optus
------------------------------
Original Message:
Sent: Apr 04, 2024 04:08
From: Jonathan Goldberg
Subject: Notification Payload - fieldPath
Hi Ryan
Please clarify - is your query about the event patterns in TMF Open APIs in general, or specifically about this Rust library implementation. If the latter, what is the provenance of this library? Is it an official TMF published asset?
------------------------------
Jonathan Goldberg
Amdocs Management Limited
Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
Original Message:
Sent: Apr 03, 2024 19:50
From: Ryan Ruckley
Subject: Notification Payload - fieldPath
For reference, I'm allowing the caller (i.e. triggering code) to set an arbitrary string to indicate a path:
//! Create Event Example
use tmflib::common::event::EventPayload;
use tmflib::tmf674::geographic_site_v4::{GeographicSite,GeographicSiteEventType};
fn main() {
let mut site = GeographicSite::new("Chatswood Branch");
site.status = Some("Active".into());
let event = site.to_event(GeographicSiteEventType::GeographicSiteStatusChangeEvent)
.path("status");
dbg!(event);
}
------------------------------
Ryan Ruckley
Principal Architect
SingTel Optus