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

From The Dreaming
Revision as of 16:36, 14 September 2021 by Stuart (talk | contribs) (Day 7: 14/09/2021: Missed a '-')
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

Day 9: 16/09/2021

On leave

Day 10: 17/09/2021

Still on leave