Noctam/DWP/ACS Test Harness/Diary/Week 3: Difference between revisions

From The Dreaming
Jump to navigation Jump to search
m noinclude the navbar
Resigned resigning considerations...
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Nav/ACS Test Harness}}</noinclude>
<noinclude>{{Nav/ACS Test Harness}}</noinclude>
=== Day 11: 20/09/2021 ===
=== 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 {{c|"{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 ===
=== 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.
----
I ended up taking a half day yesterday, so I never got this finished. And...


=== Day 13: 22/09/2021 ===
=== Day 13: 22/09/2021 ===
...I'm kind of benched at this point. It's been made clear to Liz & Nigel that I should not be writing anything that might be coming into the DWP. I'm not allowed any code / test cases... even specifications are disallowed. Ludicrous.
Anyway, there's little point in doing very much so I'm just going to park this where it is - I still have the meeting next Friday with Mark H; I'm half-tempted to just quit - wading through the DWP's ineptitude is far more work than I remember, and I find I don't really have the patience for it any more.


=== Day 14: 23/09/2021 ===
=== Day 14: 23/09/2021 ===
 
''Benched''


=== Day 15: 24/09/2021 ===
=== Day 15: 24/09/2021 ===
''Benched''

Latest revision as of 13:42, 22 September 2021

ACS Test Harness

Meetings

Existing System

Specifications

Diary
2009:

Notes

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.


I ended up taking a half day yesterday, so I never got this finished. And...

Day 13: 22/09/2021

...I'm kind of benched at this point. It's been made clear to Liz & Nigel that I should not be writing anything that might be coming into the DWP. I'm not allowed any code / test cases... even specifications are disallowed. Ludicrous.

Anyway, there's little point in doing very much so I'm just going to park this where it is - I still have the meeting next Friday with Mark H; I'm half-tempted to just quit - wading through the DWP's ineptitude is far more work than I remember, and I find I don't really have the patience for it any more.

Day 14: 23/09/2021

Benched

Day 15: 24/09/2021

Benched