Noctam/DWP/ACS Test Harness/Diary/Week 3: Difference between revisions
→Day 11: 20/09/2021: Intentions |
Rounded up yesteday and brief update on today's progress |
||
| Line 9: | Line 9: | ||
I'm very much hoping to have DCI feature-complete by the end of the day. I'll try and keep this diary up to date when I hit any milestones. | I'm very much hoping to have DCI feature-complete by the end of the day. I'll try and keep this diary up to date when I hit any milestones. | ||
---- | |||
I neglected to update this last night, so... very quickly: | |||
I finished the DCI handling but it is entirely untested. Tomorrow I've set aside the day to run through some tests, get the config data in place (i.e. all the response files, stub config, etc) and then get a basic script going so it can be started and stopped relatively easily. | |||
=== Day 12: 21/09/2021 === | === Day 12: 21/09/2021 === | ||
As mentioned in yesterday's entry, today is about fixing the inevitable issues in the DCI handling, getting the config elements in place and putting together a start/stop script for the server. | |||
I've created a skeleton script, with placeholders for the actual starting and stopping (and querying status) of the server. I've held off from putting that in yet for a couple of reasons: | |||
* Can't really start it until all the example response files are somewhere, and I've still not 100% determined how they should be handled | |||
* I'm not sure where to put the lockfile for ensuring that the server only starts once | |||
I may just skip the lockfile for now, or put it somewhere arbitrary and figure out a better location later. Anyway, my main thing now is getting the response files in place, getting the stub config loaded correctly and then pelting it with the (4) examples that I've got and making sure that the XML manipulation is working correctly. | |||
Once that's done and I have a rudimentary script up and running, I want to start cleaning the code and adding unit tests for the stuff that's there - they are almost nonexistent at the moment (TDD for the win!) so that needs sorting. | |||
=== Day 13: 22/09/2021 === | === Day 13: 22/09/2021 === | ||
Revision as of 09:41, 21 September 2021
| ACS Test Harness |
|---|
|
Meetings Existing System Specifications Diary |
Day 11: 20/09/2021
Paved with good intentions
OK, so I didn't get done last week like I wanted to.
So today I'm going to finish off this DCI server. I'm currently sorting out some XML stuff - the search "{namespace}:{localname}" thing doesn't work as simply in java as it does in python (the XPath support in vanilla java is pretty creaky). However, it's much quicker anyway to just use the XML DOM method to walk the document, rather than XPath with such a simple query, so I'm reworking it to use that instead.
After that, I should be able to plug in the replacement code pretty quickly and get this turned around.
I'm very much hoping to have DCI feature-complete by the end of the day. I'll try and keep this diary up to date when I hit any milestones.
I neglected to update this last night, so... very quickly:
I finished the DCI handling but it is entirely untested. Tomorrow I've set aside the day to run through some tests, get the config data in place (i.e. all the response files, stub config, etc) and then get a basic script going so it can be started and stopped relatively easily.
Day 12: 21/09/2021
As mentioned in yesterday's entry, today is about fixing the inevitable issues in the DCI handling, getting the config elements in place and putting together a start/stop script for the server.
I've created a skeleton script, with placeholders for the actual starting and stopping (and querying status) of the server. I've held off from putting that in yet for a couple of reasons:
- Can't really start it until all the example response files are somewhere, and I've still not 100% determined how they should be handled
- I'm not sure where to put the lockfile for ensuring that the server only starts once
I may just skip the lockfile for now, or put it somewhere arbitrary and figure out a better location later. Anyway, my main thing now is getting the response files in place, getting the stub config loaded correctly and then pelting it with the (4) examples that I've got and making sure that the XML manipulation is working correctly.
Once that's done and I have a rudimentary script up and running, I want to start cleaning the code and adding unit tests for the stuff that's there - they are almost nonexistent at the moment (TDD for the win!) so that needs sorting.