archiver-appliance / epicsarchiverap

This is an implementation of an archiver for EPICS control systems that aims to archive millions of PVs.
Other
38 stars 37 forks source link

Elog configuration #139

Closed katysaintin closed 1 year ago

katysaintin commented 2 years ago

I saw that now Appliance also support for posting to an elog. Could you help me to test this new feature ? Where can configured the URL of an Elog server ?

Should we develop a web page /postToElog URL ?

Otherwise, is Olog works instead of Elog ?

Thank you for your help.

Katy

slacmshankar commented 1 year ago

This requires some server side support; that is, a small stub that receives a HTTP POST request with "comment", "link" and "snapshot" parameters and does the needful. Our implementations here post to the Physics eLog; the stub is a small Python app that receives the multipart mime POST request and then dumps it into XML files.

// We support posting to an elog; by default we post to a "postToElog" endpoint relative to the viewer.
// The endpoint gets a multipart mime document with "comment", "link" and "snapshot" elements.
viewerVars.postToElogURL = "../../../postToElog";
nayanbera commented 1 month ago

Would it be possible to share the python App implementation to post to the Elog?