I'd like to check the feasibility of writing a Windows service that monitors the OpenSpan runtime to tell when:
Runtime starts or stops
An automation project is loaded, starts, or stops
Which automation project is loaded
And things of that nature, so that either alerts can be sent or actions taken. However, there is no documentation (that I know of) about how to program utilities against the OpenSpan DLLs to work with runtime. Is there such documentation?
Also, the above scenario is what I'm looking at now but I'm always looking and brainstorming ways to make DevOps easier. Has anyone else made apps or services like this? Any tips or guidance offered is much appreciated.
You might find some other members of the forums have specific instructions, but officially that isn't supported. You might not need access to any dlls to do what you are asking though. Process Explorer can tell what dlls a process is consuming, so it must be possible to view a loaded application's dlls. One of the files loaded when Runtime runs a package is a dll named after the deployment package, so that might give you what you need.
Hi sasnt. I found another way to do what I need to do, as far as restarting Runtime when an internal bug causes it to shut down to ensure it stays running. As far as telling which project is loaded and running - I think we can do without that.