1

Okay, I'm not even sure if what I want to do is possible, but I'm hoping it is.

We currently use CISCO's Tidal Scheduler for a variety of tasks, one of which is related to the import of files from partners- specifically detecting the files, decrypting them (when necessary), and moving them to a processing directory.

The Problem

Because of business decisions over which I have no control, partners FTP one of two files to us into one of 15 directories; we then write responses to one of 15 OTHER directories. In Tidal, this means we create 60 jobs for each new vendor.

The folder structure and up-to 60 files thing is not going to change. However inconvenient it is.

So, I'm looking for one of two solutions:

  1. (preferred): Create a dynamic job which can watch the subdirectories of a given root folder and then run a single job based on the folder in which a file was found and the specific filename.
  2. A programmatic way to create and insert new jobs in Tidal, so that we at least don't have to set up these 60 jobs per partner by hand.
4

2 回答 2

2

Tidal 有一个 REST API,您可以使用它以编程方式执行客户端用户界面中可用的任何任务,有时甚至不止于此。没有库可用于使用我知道的 api,但使用标准 REST 客户端发出请求并不难。只需按照以下说明进行操作:

http://www.cisco.com/c/en/us/td/docs/net_mgmt/datacenter_mgmt/Tidal_Enterprise_Scheduler/6-2/rest_api_reference/guide/Cisco_TES_6-2_REST_API_Reference_Guide.html

您甚至可以使用服务器上的 apidoc 来处理不同的请求和响应: http://<yourtidalserver>:<port>/apidoc/TES6-DEV/

于 2015-08-18T15:24:50.607 回答
0

正如一个公平的警告,我对 Cisco Tidal Scheduler 一无所知。

但是,无论如何,我确实在他们的网站上进行了一些挖掘,看来 Tidal 确实具有似乎与 C# 兼容的 API。希望这会有所帮助:

http://www.cisco.com/en/US/products/ps11131/index.html

编辑:看起来这很可能是您正在寻找的,因为他们解释说:

该软件与 Cisco Tidal Enterprise Scheduler 配合使用,通过以下方式改进 Web 服务编排:

自动化作业调度

于 2013-11-06T17:16:35.523 回答