Hi,
In preparation for the switch from DBS to PDS MESH we are making some changes to the way our solution generates a request file (Adapting to the new file format/structure). Clients will be able to generate a request file from our solution and use this with their PDS MESH mailbox/service. How can we validate this request file to ensure that, when clients submit it via PDS MESH, it can be processed correctly?
Hi Martin,
I would recommend writing some tests to ensure the output request file meets the request file format. You could also submitting some example requests in PTL to ensure they work as expected.
The DBS client did do some validation of DBS request files, but it’s very light touch from what I can see in the code (basically a check to ensure the file size was within limits and that the header row matched the expected regex).
Was there some other equivalent DBS functionality that you had in mind that you think is missing from the PDS MESH workflow?
Many thanks,
Tom
Many Thanks Tom. Yes, validating against the schema was our default position. I just wondered whether there was any method of validating this externally.