Open konrad-gajewski opened 5 months ago
Correct, includeevents is currently not supported in the Phoebus client. How did you add it to the log entry?
By a simple python test program. I've started to work on migrate our old logbooks to Olog and consider different alternatives how to do it. One possibility would be to set the events' instant time to the the original creation date of the old logbook entry. In this way I would skip the need to modify the REST API to allow set createdDate value and still could use the time condition for the searches.
I see, but neither the Phoebus client nor the web client consider the events portion. There is no UI for that. Also note that with recently added feature to update a log entry depends on the create date and last modified date being used "correctly".
Yes, I noticed that web client doesn't support it ether. What do you mean by "correctly"? My possible scenario would be to create a new log entry in Olog for each old entry in the current logbook (all entries in Olog would have almost the same createdDate and event with instant corresponding to the creation date in the old logbook). Even though our current logbook has the edit history we plan to move only the latest version, so the edit feature in Olog will not be used (at least not at the time of migration). Is something "incorrect" in the above scenario?
As long as you set the create date and last modify date to the same value, you're good. The "correct" reference is about not relying on the events data as it is not considered by the client.
Are there any plans in the nearest future (let say 6 months) to add search support for the events in Phoebus and web clients?
Not in the short term, probably not in the 6 months perspective either. @shroffk, any other opinion?
While the clients don't have a way to adding "events", I think we should update the clients default search to include events by default
I have created a log entry containing the "events" data. I can see the correct event data coming from olog server using its REST API.
The search done in using olog's REST API
works fine but the same search done in Phoebus doesn't return any entry. Is this search keyword not implemented yet or is it a bug?