In unusual circumstances where pscheduler submits metadata with "source": null and "measurement-agent": null, an invalid archive is created with "event-types": [], but esmond still returns a 201 response as if everything was OK. Also, subsequent data posts to this archive return 201 responses, but don't store any data. This means that user-visible pscheduler logs say that everything is working fine.
I think both cases should give 4xx responses. To reproduce:
Relates to https://github.com/perfsonar/pscheduler/issues/909
In unusual circumstances where pscheduler submits metadata with
"source": null
and"measurement-agent": null
, an invalid archive is created with"event-types": []
, but esmond still returns a 201 response as if everything was OK. Also, subsequent data posts to this archive return 201 responses, but don't store any data. This means that user-visible pscheduler logs say that everything is working fine.I think both cases should give 4xx responses. To reproduce:
Notice the empty
event-types
member.