业务流程“观察者”应用

发布于 2024-12-01 18:08:16 字数 421 浏览 3 评论 0原文

我的客户要求在其业务流程之一因任何原因失败时收到通知。我的想法是编写一个单独的应用程序,该应用程序将作为“观察者”运行并检查流程的各个部分。

例如,生成每日文件并将其上传到 FTP 位置。 “观察者”可能有以下“测试”:

  • 连接到 FTP
  • 转到文件应存在的文件夹
  • 查找具有命名约定的文件 验证文件
  • 的创建日期

任何步骤失败都会发送警报电子邮件并记录到报告(两者)如果数据库宕机或电子邮件宕机)。

我的问题是......有没有任何产品可以做类似的事情?如果那里有坚固的东西,我宁愿购买。如果没有,这几乎就像一个单元测试平台......有什么可以用于测试我可以重新利用吗?

仅供参考,我们是一家基于 Microsoft/Windows 的商店。

提前谢谢!

My client is requesting to be notified any time one of their business processes fails for any reason. I had the idea of writing a seperate application that will run as an "observer" and check for various parts of the process.

An example would be that a daily file was generated and uploaded to an FTP location. The "Observer" might have the following "tests" :

  • Connect to the FTP
  • Go to folder where file should exist
  • Find file with naming convention
  • Verify create date of file

Failure of any step will send an alert email and also log to a report (both in case database is down OR email is down).

My question is.... Are there any products out there that do something close to this? I'd rather buy if there is something robust out there. If not, this almost seems like a unit test platform... Anything out there for testing I could potentially repurpose?

As an FYI, we are a Microsoft/Windows based shop.

Thx in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

情话墙 2024-12-08 18:08:16

您甚至可以为此使用持续集成框架。它们通常监视源代码存储库并构建和测试事物,但也可以用于此目的。

例如,Hudson、Jenkins 和 CrouseControl.NET 是一些很好的开源软件,并且可以轻松地进行此类设置。仅通过 FTP 将存储库的监控更改为任一文件系统,并编写一个小脚本来检查您需要的内容。该框架提供的其他所有内容都是免费的,即电子邮件、用于监视和运行事物的 Web 界面。

只是一个想法。

You could even use a Continuous Integration framework for this. They normally monitor source code repositories and build&test things, but could be used for this as well.

For instance, Hudson, Jenkins and CrouseControl.NET are a few open source ones that are good and can easily be set up for something like this. Only change the monitoring of a repository to either filesystem over FTP and write a small script which checks what you need. Everything else comes for free by the framework, i.e. email, web interface for monitoring and running things.

Just an idea.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文