Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sv translation
languageja

モジュールの概要

Senderモジュールは、Receiverからデータを読み取り、条件付きで自動アクションを実行するために使用されます。通常、処理されたメッセージを他のシステムにルーティングします。

モジュールのライフサイクル

各Senderモジュールは、サービスバスを介して1つのSenderモジュールに接続され、次のプロセスに従います:

  1. 定期的にReceiverの新しいデータをチェックします
  2. Receiverから正規化されたデータを読み取ります
  3. アクションルールを評価します
  4. 1つ以上の自動アクションをトリガーします
  5. Receiverから処理済みデータを削除します
Tip

すべての構成オプションについて詳しくは、Sender configurationを参照してください。

アクションルール

Automated actions are executed, only if action rules are met or no rules are defined.

Currently, there is just one type of action rule - filter rule. Filter rule defines set of filter conditions, which are evaluated in a row. Filter rule consist of referrenced field name, operation type (e.g. EQ, GT, NOT_NULL, etc) and values.

自動アクション

自動アクションは、アクションルールが満たされているか、ルールが定義されていない場合にのみ実行されます。

現在、アクションルールにはフィルタールールの1種類しかありません。フィルタールールは、連続して評価される一連のフィルタ条件を定義します。フィルタルールは、参照されるフィールド名、操作タイプ (EQ、GT、NOT_NULLなど) と値で構成されます。

自動アクション

自動アクションのタイプにはいくつかありますThere are several automated action type:

  • BellaDati REST API - send data to the BellaDati backend over REST APIREST APIを介してBellaDatiバックエンドにデータを送信します

  • HTTP request - send data to 3rd party systems using HTTP protocolHTTPプロトコルを使用して3rdパーティシステムにデータを送信します

  • Email - Send emailメールを送ります

  • Save to file - Save data to fileデータをファイルに保存します

  • MQTT Publish - Publish MQTT messages to the MQTT serverMQTTメッセージをMQTTサーバーに発行します

  • Custom - provides custom action implementationカスタムアクションの実装を提供します

ロール

このモジュールは次の役割をサポートします:

ModuleRole許可された操作
ReceiverVIEWERGET /status

 

モジュールのステータス

このモジュールは、次のいずれかのステータスになります:

VerticleStatus説明
ReceiverUPModule is up and running. It operates without any specific limitations.
PAUSEDModule is paused and not processing nor sending data. Request to "GET /" ends with response code 405.

 

APIエンドポイント

このモジュールは、次のHTTPエンドポイントを提供します:

PathMethod説明URL パラメーター
/GETReturns plain text with ECHO message (should be used in load balancer to detect UP/DOWN status)
https://localhost:8101/
/statusGETReturns JSON object that contains internal state of sender
https://localhost:8101/status
/configPOSTSets the configuration to the module. ADMIN role is required.
  • POST body content = config in JSON format
https://localhost:8101/config
/reloadPOSTForces reloading configuration of module. ADMIN role is required.
https://localhost:8101/reload
/pauseGETSets status PAUSED for sender immediately. Returns response from "GET /status" endpoint (see above)
https://localhost:8101/pause
/resumeGETSets status UP for sender immediately. Returns response from "GET /status" endpoint (see above)
https://localhost:8101/resume
/logoutGETExecutes logout of currently logged in user
https://localhost:8101/logout


このページでは

Table of Contents