ISISComputingGroup / ISISComputingGroup/IBEX
Archive appliance: get IOCs to tell archive appliance about archivable PVs on start
- Dominant language
- No language data
- Stars
- 6
- Forks
- 2
- Avg merge
- 16h 40m
- Merged PRs (30d)
- 2
Description
# Issue Description
As a developer I would like each IOC to notify the archive appliance about the PVs that the inst archiver should archive, as that IOC starts.
### How & Where?
- The archive appliance has REST APIs to add PVs to archive
- We already have curl as a support module that is capable of sending http requests
- At ioc startup time, use `curl` (or equivalent) to send a HTTP request to the archiver to cause it to archive any PVs marked with `info(archive, ...)`.
### Additional Information
We already have a `postIocInit.cmd` (in `C:\Instrument\Apps\EPICS\iocstartup`) that may be a suitable place to trigger this from all IOCs.
As the archive will be central, we can notify a fixed URL, but that URL should be defined in a single central place not in each IOC individually.
# Acceptance Criteria
- [ ] As an IOC starts, it causes the new central inst archiver to archive any relevant PVs.
# How to Review
Before making a PR...
- _Provide verbose instructions for the reviewer to test that your changes work and fix the issue_
- _Describe if/how you have implemented testing for this issue_
- _Provide screenshots of the feature to help the reviewer if relevant_
_If not applicable, write "Not applicable"_
[comment]: <> (FILL IN BELOW)
> ...
**To the reviewer: Make sure to [update submodules](https://github.com/ISISComputingGroup/ibex_developers_manual/wiki/Git-workflow#reviewing-work-for-the-submodules-of-epics)!**
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.