Noctam/DWP/ACS Test Harness/Diary/Week 2

From The Dreaming
Jump to navigation Jump to search
ACS Test Harness

Meetings

Existing System

Specifications

Diary
2009:

Notes

Day 6: 13/09/2021

Today I have been mostly... config loading.

I've been working through the loading of the config file as seen in the CISSIM program. It's almost there, at time of writing; I need to figure out how best to represent the replacement configs (just lists of lists of strings keyed against maps of tuples of strings in the python version, which is... fine, but it means everywhere needs to know the format of everything).

Once that's done, I'll be rejigging it to try and get the specification away from the implementation, so that we can drop in a different implementation (JSON, YML, XML, whatever) and we have a spec and set of tests to run it against.

After that, I'll need to implement a full DCI call with querying the config entries, replacing values, etc. The config needs to be in place for that.

After that, I'll turn to PDD and NPS to do the same for them.

I'm still happy with the COP 15/09 for finishing this - at least to the point where it's usable as an ACS CIS-replacement server. I suspect configurable pauses won't be there by then, but that should be pretty trivial to implement.

Day 7: 14/09/2021

Plan

So I realised last night that PDD will require loading of data definitions, so the config is going to be a way off yet. I'm going to get DCI working end to end before I tackle that, I think.

In that vein, I'm going to be finishing off the config (for DCI) this morning - just the replacement handling to go. Once that's complete, I'll get all the processing up to speed - never used XPath in java, so that'll be fun.

Finally, I'll be wiring up the https server to the processing / config and watching it go.

Hopefully, I'll get all this done by COP today, leaving tomorrow to tackle PDD.


HAHAHAHHAHAHAHA.

So that didn't happen. I spent most of this afternoon single-stepping through Apache Xalan (XPath) code trying to figure out why my fairly simple query wasn't working. It wasn't working because I'd loaded the wrong XML file (request, not response).

sigh

Anyway; just getting DCI done is now going to be the best I can hope for tomorrow... I'll have to leave PDD until I get back; hopefully that will be on my shiny new (old) Macbook - we'll see.

Day 8: 15/09/2021

15:15: Well, the DCI handler is almost there. I'm still messing around with the XML handling, but should be done before too long.

I've cleaned up some of the code, but it needs a deeper clean than it's had, and I could do with scripts to start and stop it, and to figure out how to feed in the config(s).

Once I'm done, I'll need a day or two to clean up the code properly - separate things out so they are pluggable in and out, then get PDD done.

So I'm a little behind schedule, but I'm not hugely concerned. Considering I don't even have a macbook yet, I'd say I've not done too bad.

I'll be closing up shop in a couple of hours; I'll add a quick "where I got to before my holidays" before I jet (rail) off tomorrow morning.

Day 9: 16/09/2021

On leave

Day 10: 17/09/2021

Still on leave