Test archive metadata support in CI
Task
With #674 we started printing the ArchiveMetadata
into the EOS-CTA report logs.
Example:
- If we include the HTTP header
ArchiveMetadata
in a request to write data to tape:
[root@client /]# curl -L --insecure -H "Accept: application/json" -H "Authorization: Bearer ${TOKEN_EOSUSER}" -H "ArchiveMetadata: ABCDEFG12345678" https://ctaeos:8444/eos/ctaeos/preprod/test_http-rest-api --upload-file "${tmp_file}"
- We get the following line in the EOS report logs:
log=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&path=/eos/ctaeos/preprod/test_http-rest-api&ruid=11001&rgid=1100&td=http&host=&ts=1713957962&tns=438541142&fid=10050&fxid=00002742&eos.btime=1&archivemetadata=ABCDEFG12345678&sec.app=tape_create
The correctness of the information being logger should be covered by our CI system tests.