Hello,

I am embedding a Sequoia 2.10.8 controller in my java application, rather than starting it from "controller.sh". I have it working. It was somewhat slow going, since I have to use my own configuration and startup schemes, which clearly isn't the intended way to use it.

Unit tests for my controller wrapper code have been difficult because Sequoia assumes it has its own JVM and doesn't need to worry about cleaning things up completely. I need to be able to instantiate a Controller, shut it down, and then do it again in the next test. Even worse, I want to test transferring a dump between two controllers in the same JVM, but I'm about to give up on that.

I probably should have asked this before I started, but are there any guidelines anywhere for how to embed a controller? Has anyone done this before? I want to make sure I'm not missing anything, and see how people have handled unit testing.


Thanks,
Chris

_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to