@things-factory/integration-base 6.2.44 → 6.2.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-server/engine/connector/operato-connector.js +10 -7
- package/dist-server/engine/connector/operato-connector.js.map +1 -1
- package/dist-server/engine/types.js.map +1 -1
- package/dist-server/service/scenario-instance/scenario-instance-mutation.js +15 -9
- package/dist-server/service/scenario-instance/scenario-instance-mutation.js.map +1 -1
- package/dist-server/service/scenario-instance/scenario-instance-type.js +2 -1
- package/dist-server/service/scenario-instance/scenario-instance-type.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/helps/integration/connector/graphql-connector.ja.md +23 -0
- package/helps/integration/connector/graphql-connector.ko.md +23 -0
- package/helps/integration/connector/graphql-connector.ms.md +23 -0
- package/helps/integration/connector/graphql-connector.zh.md +23 -0
- package/helps/integration/connector/mqtt-connector.ja.md +17 -0
- package/helps/integration/connector/mqtt-connector.ko.md +17 -0
- package/helps/integration/connector/mqtt-connector.ms.md +17 -0
- package/helps/integration/connector/mqtt-connector.zh.md +17 -0
- package/helps/integration/connector/mssql-connector.ja.md +38 -0
- package/helps/integration/connector/mssql-connector.ko.md +38 -0
- package/helps/integration/connector/mssql-connector.ms.md +38 -0
- package/helps/integration/connector/mssql-connector.zh.md +38 -0
- package/helps/integration/connector/postgresql-connector.ja.md +34 -0
- package/helps/integration/connector/postgresql-connector.ko.md +34 -0
- package/helps/integration/connector/postgresql-connector.ms.md +34 -0
- package/helps/integration/connector/postgresql-connector.zh.md +34 -0
- package/helps/integration/connector/sqlite-connector.ja.md +17 -0
- package/helps/integration/connector/sqlite-connector.ko.md +17 -0
- package/helps/integration/connector/sqlite-connector.ms.md +17 -0
- package/helps/integration/connector/sqlite-connector.zh.md +17 -0
- package/helps/integration/task/book-up-scenario.ja.md +27 -0
- package/helps/integration/task/book-up-scenario.ko.md +27 -0
- package/helps/integration/task/book-up-scenario.md +21 -21
- package/helps/integration/task/book-up-scenario.ms.md +27 -0
- package/helps/integration/task/book-up-scenario.zh.md +27 -0
- package/helps/integration/task/csv-readline.ja.md +10 -0
- package/helps/integration/task/csv-readline.ko.md +10 -0
- package/helps/integration/task/csv-readline.md +5 -6
- package/helps/integration/task/csv-readline.ms.md +9 -0
- package/helps/integration/task/csv-readline.zh.md +9 -0
- package/helps/integration/task/data-mapper.ja.md +14 -0
- package/helps/integration/task/data-mapper.ko.md +14 -0
- package/helps/integration/task/data-mapper.md +11 -11
- package/helps/integration/task/data-mapper.ms.md +14 -0
- package/helps/integration/task/data-mapper.zh.md +14 -0
- package/helps/integration/task/database-query.ja.md +1 -1
- package/helps/integration/task/database-query.ko.md +1 -1
- package/helps/integration/task/database-query.md +1 -1
- package/helps/integration/task/database-query.ms.md +1 -1
- package/helps/integration/task/database-query.zh.md +1 -1
- package/helps/integration/task/empty-check.ja.md +10 -0
- package/helps/integration/task/empty-check.ko.md +10 -0
- package/helps/integration/task/empty-check.md +7 -7
- package/helps/integration/task/empty-check.ms.md +10 -0
- package/helps/integration/task/empty-check.zh.md +10 -0
- package/helps/integration/task/end.ja.md +7 -0
- package/helps/integration/task/end.ko.md +3 -0
- package/helps/integration/task/end.md +6 -2
- package/helps/integration/task/end.ms.md +7 -0
- package/helps/integration/task/end.zh.md +7 -0
- package/helps/integration/task/floating-point.ja.md +34 -0
- package/helps/integration/task/floating-point.ko.md +34 -0
- package/helps/integration/task/floating-point.md +1 -1
- package/helps/integration/task/floating-point.ms.md +34 -0
- package/helps/integration/task/floating-point.zh.md +34 -0
- package/helps/integration/task/goto.ja.md +8 -0
- package/helps/integration/task/goto.ko.md +8 -0
- package/helps/integration/task/goto.md +4 -4
- package/helps/integration/task/goto.ms.md +8 -0
- package/helps/integration/task/goto.zh.md +8 -0
- package/helps/integration/task/graphql-mutate.ja.md +1 -1
- package/helps/integration/task/graphql-mutate.ko.md +1 -1
- package/helps/integration/task/graphql-mutate.md +1 -1
- package/helps/integration/task/graphql-mutate.ms.md +1 -1
- package/helps/integration/task/graphql-mutate.zh.md +1 -1
- package/helps/integration/task/graphql-query.ja.md +1 -1
- package/helps/integration/task/graphql-query.ko.md +1 -1
- package/helps/integration/task/graphql-query.md +1 -1
- package/helps/integration/task/graphql-query.ms.md +1 -1
- package/helps/integration/task/graphql-query.zh.md +1 -1
- package/helps/integration/task/headless-scrap.ja.md +13 -0
- package/helps/integration/task/headless-scrap.ko.md +13 -0
- package/helps/integration/task/headless-scrap.md +10 -10
- package/helps/integration/task/headless-scrap.ms.md +13 -0
- package/helps/integration/task/headless-scrap.zh.md +13 -0
- package/helps/integration/task/http-get.ja.md +1 -1
- package/helps/integration/task/http-get.ko.md +1 -1
- package/helps/integration/task/http-get.md +1 -1
- package/helps/integration/task/http-get.ms.md +1 -1
- package/helps/integration/task/http-get.zh.md +1 -1
- package/helps/integration/task/http-post.ja.md +1 -1
- package/helps/integration/task/http-post.ko.md +1 -1
- package/helps/integration/task/http-post.md +1 -1
- package/helps/integration/task/http-post.ms.md +1 -1
- package/helps/integration/task/http-post.zh.md +1 -1
- package/helps/integration/task/local-graphql-mutate.ja.md +43 -0
- package/helps/integration/task/local-graphql-mutate.ko.md +44 -0
- package/helps/integration/task/local-graphql-mutate.md +10 -14
- package/helps/integration/task/local-graphql-mutate.ms.md +40 -0
- package/helps/integration/task/local-graphql-mutate.zh.md +40 -0
- package/helps/integration/task/local-graphql-query.ja.md +42 -0
- package/helps/integration/task/local-graphql-query.ko.md +44 -0
- package/helps/integration/task/local-graphql-query.md +10 -14
- package/helps/integration/task/local-graphql-query.ms.md +41 -0
- package/helps/integration/task/local-graphql-query.zh.md +40 -0
- package/helps/integration/task/log.ja.md +1 -1
- package/helps/integration/task/log.ko.md +1 -1
- package/helps/integration/task/log.md +1 -1
- package/helps/integration/task/log.ms.md +1 -1
- package/helps/integration/task/log.zh.md +1 -1
- package/helps/integration/task/mqtt-publish.ja.md +10 -0
- package/helps/integration/task/mqtt-publish.ko.md +10 -0
- package/helps/integration/task/mqtt-publish.md +7 -7
- package/helps/integration/task/mqtt-publish.ms.md +10 -0
- package/helps/integration/task/mqtt-publish.zh.md +10 -0
- package/helps/integration/task/mqtt-subscribe.ja.md +15 -0
- package/helps/integration/task/mqtt-subscribe.ko.md +15 -0
- package/helps/integration/task/mqtt-subscribe.md +12 -12
- package/helps/integration/task/mqtt-subscribe.ms.md +15 -0
- package/helps/integration/task/mqtt-subscribe.zh.md +15 -0
- package/helps/integration/task/oracle-procedure.ja.md +1 -1
- package/helps/integration/task/oracle-procedure.ko.md +1 -1
- package/helps/integration/task/oracle-procedure.md +1 -1
- package/helps/integration/task/oracle-procedure.ms.md +1 -1
- package/helps/integration/task/oracle-procedure.zh.md +1 -1
- package/helps/integration/task/pick-pending-scenario.ja.md +13 -0
- package/helps/integration/task/pick-pending-scenario.ko.md +13 -0
- package/helps/integration/task/pick-pending-scenario.md +10 -10
- package/helps/integration/task/pick-pending-scenario.ms.md +13 -0
- package/helps/integration/task/pick-pending-scenario.zh.md +13 -0
- package/helps/integration/task/publish.ja.md +16 -0
- package/helps/integration/task/publish.ko.md +16 -0
- package/helps/integration/task/publish.md +10 -10
- package/helps/integration/task/publish.ms.md +16 -0
- package/helps/integration/task/publish.zh.md +16 -0
- package/helps/integration/task/random.ja.md +13 -0
- package/helps/integration/task/random.ko.md +13 -0
- package/helps/integration/task/random.md +9 -9
- package/helps/integration/task/random.ms.md +13 -0
- package/helps/integration/task/random.zh.md +13 -0
- package/helps/integration/task/script.ja.md +1 -1
- package/helps/integration/task/script.ko.md +1 -1
- package/helps/integration/task/script.md +1 -1
- package/helps/integration/task/script.ms.md +1 -1
- package/helps/integration/task/script.zh.md +1 -1
- package/helps/integration/task/set-domain.ja.md +25 -0
- package/helps/integration/task/set-domain.ko.md +25 -0
- package/helps/integration/task/set-domain.md +12 -12
- package/helps/integration/task/set-domain.ms.md +25 -0
- package/helps/integration/task/set-domain.zh.md +25 -0
- package/helps/integration/task/sleep.ja.md +8 -0
- package/helps/integration/task/sleep.ko.md +8 -0
- package/helps/integration/task/sleep.md +5 -5
- package/helps/integration/task/sleep.ms.md +8 -0
- package/helps/integration/task/sleep.zh.md +8 -0
- package/helps/integration/task/state-read.ja.md +1 -1
- package/helps/integration/task/state-read.ms.md +1 -1
- package/helps/integration/task/state-read.zh.md +1 -1
- package/helps/integration/task/state-write.ja.md +1 -1
- package/helps/integration/task/state-write.ms.md +1 -1
- package/helps/integration/task/state-write.zh.md +1 -1
- package/helps/integration/task/throw.ja.md +12 -0
- package/helps/integration/task/throw.ko.md +12 -0
- package/helps/integration/task/throw.md +10 -10
- package/helps/integration/task/throw.ms.md +12 -0
- package/helps/integration/task/throw.zh.md +12 -0
- package/helps/integration/task/variables.ja.md +37 -0
- package/helps/integration/task/variables.ko.md +37 -0
- package/helps/integration/task/variables.md +11 -11
- package/helps/integration/task/variables.ms.md +37 -0
- package/helps/integration/task/variables.zh.md +37 -0
- package/package.json +7 -7
- package/server/engine/connector/operato-connector.ts +23 -5
- package/server/engine/types.ts +1 -0
- package/server/service/scenario-instance/scenario-instance-mutation.ts +28 -9
- package/server/service/scenario-instance/scenario-instance-type.ts +2 -1
- /package/helps/integration/connector/{operato-connector.kr.md → operato-connector.ko.md} +0 -0
@@ -1,10 +1,10 @@
|
|
1
|
-
#
|
1
|
+
# mqtt-publish
|
2
2
|
|
3
|
-
|
3
|
+
This task is responsible for transmitting the data of the accessor using the tag configured in the MQTT broker.
|
4
4
|
|
5
|
-
##
|
5
|
+
## Parameters
|
6
6
|
|
7
|
-
-
|
8
|
-
-
|
9
|
-
- [
|
10
|
-
-
|
7
|
+
- Topic
|
8
|
+
- Specify the tag of the message to be sent to the broker.
|
9
|
+
- [Accessor](../concept/data-accessor.md)
|
10
|
+
- Specify the accessor of the message data to be sent to the broker.
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# mqtt-publish
|
2
|
+
|
3
|
+
Tugasan ini bertanggung jawab untuk menghantar data accessor menggunakan tag yang dikonfigurasi dalam broker MQTT.
|
4
|
+
|
5
|
+
## Parameter
|
6
|
+
|
7
|
+
- Topik
|
8
|
+
- Tetapkan tag mesej yang akan dihantar ke broker.
|
9
|
+
- [Accessor](../concept/data-accessor.md)
|
10
|
+
- Tetapkan accessor data mesej yang akan dihantar ke broker.
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# mqtt-subscribe
|
2
|
+
|
3
|
+
これは、MQTTブローカーからメッセージを受信し、データとして返すタスクです。
|
4
|
+
指定されたタグに一致するメッセージを引き続きMQTTブローカーから受信し、最後のメッセージを保存して、このタスクが実行されるときに返します。
|
5
|
+
もし、タスクが実行される時点まで新しいメッセージがない場合、新しいメッセージが届くまで待機します。
|
6
|
+
|
7
|
+
## パラメータ
|
8
|
+
|
9
|
+
- トピック
|
10
|
+
- 受信するメッセージのタグをブローカーに指定します。
|
11
|
+
- データ形式
|
12
|
+
- 受信したメッセージの形式を指定します。
|
13
|
+
- フォーマット
|
14
|
+
- プレーンテキスト:受信したメッセージを文字列として解釈してデータとして返します。
|
15
|
+
- JSON:受信したメッセージをオブジェクト形式にパースしてデータとして返します。
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# mqtt-subscribe
|
2
|
+
|
3
|
+
MQTT 브로커로부터 메시지를 수신하여 data로 리턴하는 태스크이다.
|
4
|
+
MQTT 브로커로부터 지정된 태그에 해당하는 메시지를 계속 수신해서 마지막 메시지를 보관하고 있다가, 이 태스크가 실행되는 시점에 리턴한다.
|
5
|
+
만일, 태스크 실행 시점까지 새로 받은 메시지가 없다면, 새로운 메시지를 받을 때까지 기다린다.
|
6
|
+
|
7
|
+
## parameters
|
8
|
+
|
9
|
+
- topic
|
10
|
+
- 브로커로부터 받을 메시지의 tag를 지정한다.
|
11
|
+
- data format
|
12
|
+
- MQTT 브로커로부터 받은 메시지의 형식을 지정한다.
|
13
|
+
- formats
|
14
|
+
- Plain Text : 수신한 메시지를 문자열로 해석하여 data로 리턴한다.
|
15
|
+
- JSON : 수신한 메시지를 Object 형식으로 파싱하여 data로 리턴한다.
|
@@ -1,15 +1,15 @@
|
|
1
|
-
#
|
1
|
+
# mqtt-subscribe
|
2
2
|
|
3
|
-
MQTT
|
4
|
-
MQTT
|
5
|
-
|
3
|
+
This is a task that receives messages from an MQTT broker and returns them as data.
|
4
|
+
It continues to receive messages from the MQTT broker that match the specified tag, stores the last message, and returns it when this task is executed.
|
5
|
+
If there are no new messages until the task execution, it waits until a new message is received.
|
6
6
|
|
7
|
-
##
|
7
|
+
## Parameters
|
8
8
|
|
9
|
-
-
|
10
|
-
-
|
11
|
-
-
|
12
|
-
-
|
13
|
-
-
|
14
|
-
- Plain Text
|
15
|
-
- JSON
|
9
|
+
- Topic
|
10
|
+
- Specifies the tag of the message to be received from the broker.
|
11
|
+
- Data Format
|
12
|
+
- Specifies the format of the message received from the MQTT broker.
|
13
|
+
- Formats
|
14
|
+
- Plain Text: Interprets the received message as a string and returns it as data.
|
15
|
+
- JSON: Parses the received message into an object format and returns it as data.
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# mqtt-subscribe
|
2
|
+
|
3
|
+
Ini adalah tugas yang menerima mesej dari broker MQTT dan mengembalikannya sebagai data.
|
4
|
+
Ia terus menerima mesej dari broker MQTT yang sepadan dengan tag yang ditetapkan, menyimpan mesej terakhir, dan mengembalikannya apabila tugas ini dijalankan.
|
5
|
+
Jika tiada mesej baru sehingga waktu pelaksanaan tugas, ia menunggu sehingga mesej baru diterima.
|
6
|
+
|
7
|
+
## Parameter
|
8
|
+
|
9
|
+
- Topik
|
10
|
+
- Menetapkan tag mesej yang akan diterima dari broker.
|
11
|
+
- Format Data
|
12
|
+
- Menetapkan format mesej yang diterima dari broker MQTT.
|
13
|
+
- Format
|
14
|
+
- Teks Biasa: Menafsirkan mesej yang diterima sebagai rentetan dan mengembalikannya sebagai data.
|
15
|
+
- JSON: Mengurai mesej yang diterima ke dalam format objek dan mengembalikkannya sebagai data.
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# mqtt-subscribe
|
2
|
+
|
3
|
+
这是一个从MQTT代理接收消息并将其返回为数据的任务。
|
4
|
+
它继续从MQTT代理接收与指定标签匹配的消息,存储最后一条消息,并在执行此任务时返回它。
|
5
|
+
如果直到任务执行时没有新消息,它将等待直到收到新消息。
|
6
|
+
|
7
|
+
## 参数
|
8
|
+
|
9
|
+
- 主题
|
10
|
+
- 指定从代理接收的消息的标签。
|
11
|
+
- 数据格式
|
12
|
+
- 指定从MQTT代理接收的消息的格式。
|
13
|
+
- 格式
|
14
|
+
- 纯文本:将接收的消息解释为字符串并将其作为数据返回。
|
15
|
+
- JSON:将接收的消息解析为对象格式并将其作为数据返回。
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# pick-pending-scenario
|
2
|
+
|
3
|
+
これは[保留中のキュー](../concept/pending-queue.md)から取り出し、実行するタスクです。
|
4
|
+
|
5
|
+
## パラメータ
|
6
|
+
|
7
|
+
- タグ
|
8
|
+
- シナリオに付けられるタグを設定します。
|
9
|
+
- 待機時間
|
10
|
+
- 保留中のシナリオが発生するまでの待機時間を設定します。
|
11
|
+
- 単位はミリ秒です。
|
12
|
+
- '-1'を設定すると、保留中のシナリオを無期限で待機します。
|
13
|
+
- シナリオの選択を待っていても、該当のシナリオが終了すると、タスクも終了します。
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# pick-pending-scenario
|
2
|
+
|
3
|
+
[지연 큐](../concept/pending-queue.md)에 지연 만료된 시나리오를 꺼내서 실행(run)하는 태스크이다.
|
4
|
+
|
5
|
+
## parameters
|
6
|
+
|
7
|
+
- tag
|
8
|
+
- 시나리오에 붙여질 태그를 설정한다.
|
9
|
+
- waitFor
|
10
|
+
- 지연 만료된 시나리오가 발생하는 것을 얼마의 시간동안 기다릴 것인지를 설정한다.
|
11
|
+
- 단위는 milli-seconds 이다.
|
12
|
+
- '-1'을 설정하면, 지연 만료된 시나리오를 무한시간동안 기다린다.
|
13
|
+
- 시나리오 선택을 기다리더라도, 해당 시나리오가 종료되면, 태스크도 종료된다.
|
@@ -1,13 +1,13 @@
|
|
1
|
-
#
|
1
|
+
# pick-pending-scenario
|
2
2
|
|
3
|
-
[
|
3
|
+
This is a task that retrieves and executes expired scenarios from the [pending queue](../concept/pending-queue.md).
|
4
4
|
|
5
|
-
##
|
5
|
+
## Parameters
|
6
6
|
|
7
|
-
-
|
8
|
-
-
|
9
|
-
-
|
10
|
-
-
|
11
|
-
-
|
12
|
-
- '-1'
|
13
|
-
-
|
7
|
+
- Tag
|
8
|
+
- Sets the tag to be attached to the scenario.
|
9
|
+
- WaitFor
|
10
|
+
- Sets the time for which the expired scenario will wait to occur.
|
11
|
+
- The unit is milliseconds.
|
12
|
+
- Setting '-1' will wait for the expired scenario indefinitely.
|
13
|
+
- Even if waiting for scenario selection, the task will end when the corresponding scenario ends.
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# pick-pending-scenario
|
2
|
+
|
3
|
+
Ini adalah tugas yang mengambil dan menjalankan skenario yang sudah kadaluarsa dari [antrian tertunda](../concept/pending-queue.md).
|
4
|
+
|
5
|
+
## Parameter
|
6
|
+
|
7
|
+
- Tag
|
8
|
+
- Menetapkan tag yang akan dilampirkan ke skenario.
|
9
|
+
- WaitFor
|
10
|
+
- Menetapkan waktu berapa lama skenario yang sudah kadaluarsa akan menunggu untuk terjadi.
|
11
|
+
- Satuannya adalah milidetik.
|
12
|
+
- Jika '-1' diatur, akan menunggu skenario yang sudah kadaluarsa tanpa batas waktu.
|
13
|
+
- Meskipun menunggu pemilihan skenario, tugas akan berakhir ketika skenario yang sesuai berakhir.
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# publish
|
2
|
+
|
3
|
+
これはsubscription APIを介して要求されたすべてのSubscriberにデータをブロードキャストするタスクです。
|
4
|
+
|
5
|
+
クライアントアプリケーションでデータサブスクリプションを要求する方法は以下の通りです。
|
6
|
+
|
7
|
+
- ボードUIを介してSubscriberを通じて要求できます。
|
8
|
+
- wss://[server host:port]/subscription APIを介してsubscribeを要求できます。
|
9
|
+
|
10
|
+
## パラメータ
|
11
|
+
|
12
|
+
- [アクセサ](../concept/data-accessor.md)
|
13
|
+
- シナリオ内のステップ名で、ブロードキャストしたいデータを指定します。
|
14
|
+
- タグ
|
15
|
+
- データをブロードキャストする際には、タグを付けて送る必要があります。
|
16
|
+
- Subscriberもデータをsubscribeする際には、受け取りたいタグを設定して、該当のタグが付いたブロードキャストだけを受信できます。
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# publish
|
2
|
+
|
3
|
+
subscription API를 통해서 요청된 모든 Subscriber에게 데이타를 브로드캐스트하는 태스크이다.
|
4
|
+
|
5
|
+
클라이언트 어플리케이션에서 data subscription을 요청하는 방법은
|
6
|
+
|
7
|
+
- Board UI에서 subscriber를 통해서 요청할 수 있다.
|
8
|
+
- wss://[server host:port]/subscription API를 통해서 subscribe 요청할 수 있다.
|
9
|
+
|
10
|
+
## parameters
|
11
|
+
|
12
|
+
- [accessor](../concept/data-accessor.md)
|
13
|
+
- 시나리오 내의 하나의 스텝이름으로, 브로드캐스트하고자 하는 데이타를 지정한다.
|
14
|
+
- tag
|
15
|
+
- 데이타를 브로드캐스트할 때 태그를 부여해서 보내야한다.
|
16
|
+
- subscriber들도 data를 subscribe할 때, 받고자 하는 테그를 설정하여, 해당 태그가 부여된 브로드캐스트만 받을 수 있다.
|
@@ -1,16 +1,16 @@
|
|
1
1
|
# publish
|
2
2
|
|
3
|
-
|
3
|
+
This is a task that broadcasts data to all Subscribers requested through the subscription API.
|
4
4
|
|
5
|
-
|
5
|
+
Ways to request data subscription in client applications include:
|
6
6
|
|
7
|
-
-
|
8
|
-
- wss://[server host:port]/subscription API
|
7
|
+
- It can be requested through the Board UI via subscribers.
|
8
|
+
- Subscription requests can be made through the wss://[server host:port]/subscription API.
|
9
9
|
|
10
|
-
##
|
10
|
+
## Parameters
|
11
11
|
|
12
|
-
- [
|
13
|
-
-
|
14
|
-
-
|
15
|
-
-
|
16
|
-
-
|
12
|
+
- [Accessor](../concept/data-accessor.md)
|
13
|
+
- As a step name within the scenario, specifies the data to be broadcast.
|
14
|
+
- Tag
|
15
|
+
- When broadcasting data, it is necessary to attach a tag.
|
16
|
+
- When subscribers subscribe to data, they can receive only broadcasts with the specified tag.
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# publish
|
2
|
+
|
3
|
+
Ini adalah tugas yang menyiarkan data ke semua Subscriber yang diminta melalui subscription API.
|
4
|
+
|
5
|
+
Cara untuk meminta langganan data dalam aplikasi klien termasuk:
|
6
|
+
|
7
|
+
- Ini dapat diminta melalui Board UI melalui subscriber.
|
8
|
+
- Permintaan langganan dapat dilakukan melalui wss://[server host:port]/subscription API.
|
9
|
+
|
10
|
+
## Parameter
|
11
|
+
|
12
|
+
- [Aksesori](../concept/data-accessor.md)
|
13
|
+
- Sebagai nama langkah dalam skenario, menentukan data yang akan disiarkan.
|
14
|
+
- Tag
|
15
|
+
- Ketika menyiarkan data, perlu melampirkan tag.
|
16
|
+
- Ketika subscriber berlangganan data, mereka hanya dapat menerima siaran dengan tag yang ditentukan.
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# publish
|
2
|
+
|
3
|
+
这是一个通过subscription API向所有订阅者广播数据的任务。
|
4
|
+
|
5
|
+
客户端应用程序请求数据订阅的方式包括:
|
6
|
+
|
7
|
+
- 可以通过Board UI通过订阅者请求。
|
8
|
+
- 可以通过wss://[server host:port]/subscription API进行订阅请求。
|
9
|
+
|
10
|
+
## 参数
|
11
|
+
|
12
|
+
- [存取器](../concept/data-accessor.md)
|
13
|
+
- 作为场景中的步骤名称,指定要广播的数据。
|
14
|
+
- 标签
|
15
|
+
- 在广播数据时,需要附加标签。
|
16
|
+
- 当订阅者订阅数据时,他们只能接收具有指定标签的广播。
|
@@ -1,13 +1,13 @@
|
|
1
|
-
#
|
1
|
+
# random
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
This is a task that generates random data.
|
4
|
+
It generates an array of random data in the specified format for the specified count.
|
5
5
|
|
6
|
-
-
|
6
|
+
- The method of generating random data follows the [Chance Document](https://chancejs.com).
|
7
7
|
|
8
|
-
##
|
8
|
+
## Parameters
|
9
9
|
|
10
|
-
-
|
11
|
-
-
|
12
|
-
-
|
13
|
-
-
|
10
|
+
- Format
|
11
|
+
- Specifies the format of the randomly generated data.
|
12
|
+
- Count
|
13
|
+
- Specifies the number of randomly generated data.
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# random
|
2
|
+
|
3
|
+
Ini adalah tugas yang menghasilkan data rawak.
|
4
|
+
Ia menghasilkan satu array data rawak dalam format yang ditentukan untuk bilangan yang ditentukan.
|
5
|
+
|
6
|
+
- Cara menghasilkan data rawak mengikuti [Dokumen Chance](https://chancejs.com).
|
7
|
+
|
8
|
+
## Parameter
|
9
|
+
|
10
|
+
- Format
|
11
|
+
- Menentukan format data rawak yang akan dihasilkan.
|
12
|
+
- Count
|
13
|
+
- Menentukan bilangan data rawak yang akan dihasilkan.
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# set-domain
|
2
|
+
|
3
|
+
現在のシナリオのコンテキスト上のドメインを変更します。
|
4
|
+
|
5
|
+
## コンテキストドメインの活用例
|
6
|
+
|
7
|
+
- コンテキスト上のドメインはスクリプトタスクからアクセスできます。
|
8
|
+
|
9
|
+
```javascript
|
10
|
+
const { timezone } = this.domain
|
11
|
+
...
|
12
|
+
```
|
13
|
+
|
14
|
+
- local-graphql-mutate、local-graphql-queryのデフォルトドメインに設定されます。
|
15
|
+
|
16
|
+
- 他のすべてのタスクがドメインを参照する場合、基本的にはこのコンテキスト上のドメインを参照します。
|
17
|
+
|
18
|
+
## パラメータ
|
19
|
+
|
20
|
+
- サブドメイン
|
21
|
+
- 変更したい対象のドメインのサブドメインの値を入力します。
|
22
|
+
|
23
|
+
## 戻り値
|
24
|
+
|
25
|
+
- 変更前のドメインのサブドメインの値を返します。
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# set-domain
|
2
|
+
|
3
|
+
현재 시나리오의 컨텍스트상의 도메인을 변경한다.
|
4
|
+
|
5
|
+
## 컨텍스트 도메인의 활용 예시
|
6
|
+
|
7
|
+
- 컨텍스트상의 도메인은 스크립트 태스크에서 접근할 수 있다.
|
8
|
+
|
9
|
+
```
|
10
|
+
const { timezone } = this.domain
|
11
|
+
...
|
12
|
+
```
|
13
|
+
|
14
|
+
- local-graphql-mutate, local-graphql-query의 기본 도메인으로 설정된다.
|
15
|
+
|
16
|
+
- 기타 모든 태스크에서 도메인을 참조한다면, 기본적으로 이 컨텍스트상의 도메인을 참조한다.
|
17
|
+
|
18
|
+
## parameters
|
19
|
+
|
20
|
+
- subdomain
|
21
|
+
- 변경하고자하는 대상 도메인의 서브도메인 값을 입력한다.
|
22
|
+
|
23
|
+
## return
|
24
|
+
|
25
|
+
- 변경되기 이전 도메인의 subdomain 값을 리턴한다.
|
@@ -1,25 +1,25 @@
|
|
1
|
-
# set-domain
|
1
|
+
# set-domain
|
2
2
|
|
3
|
-
|
3
|
+
Changes the domain in the current scenario's context.
|
4
4
|
|
5
|
-
##
|
5
|
+
## Examples of Using Context Domain
|
6
6
|
|
7
|
-
-
|
7
|
+
- The domain in the context can be accessed in script tasks.
|
8
8
|
|
9
|
-
```
|
9
|
+
```javascript
|
10
10
|
const { timezone } = this.domain
|
11
11
|
...
|
12
12
|
```
|
13
13
|
|
14
|
-
- local-graphql-mutate
|
14
|
+
- It is set as the default domain for local-graphql-mutate and local-graphql-query.
|
15
15
|
|
16
|
-
-
|
16
|
+
- If all other tasks refer to the domain, they essentially refer to this context domain by default.
|
17
17
|
|
18
|
-
##
|
18
|
+
## Parameters
|
19
19
|
|
20
|
-
-
|
21
|
-
-
|
20
|
+
- Subdomain
|
21
|
+
- Enter the value of the subdomain of the target domain to be changed.
|
22
22
|
|
23
|
-
##
|
23
|
+
## Return
|
24
24
|
|
25
|
-
-
|
25
|
+
- Returns the subdomain value of the domain before the change.
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# set-domain
|
2
|
+
|
3
|
+
Mengubah domain dalam konteks skenario saat ini.
|
4
|
+
|
5
|
+
## Contoh Penggunaan Domain Konteks
|
6
|
+
|
7
|
+
- Domain dalam konteks dapat diakses dalam tugas skrip.
|
8
|
+
|
9
|
+
```javascript
|
10
|
+
const { timezone } = this.domain
|
11
|
+
...
|
12
|
+
```
|
13
|
+
|
14
|
+
- Ini diatur sebagai domain default untuk local-graphql-mutate dan local-graphql-query.
|
15
|
+
|
16
|
+
- Jika semua tugas lain merujuk ke domain, secara prinsip mereka merujuk ke domain konteks ini secara default.
|
17
|
+
|
18
|
+
## Parameter
|
19
|
+
|
20
|
+
- Subdomain
|
21
|
+
- Masukkan nilai subdomain dari domain target yang ingin diubah.
|
22
|
+
|
23
|
+
## Kembali
|
24
|
+
|
25
|
+
- Mengembalikan nilai subdomain dari domain sebelum perubahan.
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# set-domain
|
2
|
+
|
3
|
+
更改当前场景上下文中的域。
|
4
|
+
|
5
|
+
## 上下文域的使用示例
|
6
|
+
|
7
|
+
- 上下文中的域可以在脚本任务中访问。
|
8
|
+
|
9
|
+
```javascript
|
10
|
+
const { timezone } = this.domain
|
11
|
+
...
|
12
|
+
```
|
13
|
+
|
14
|
+
- 它被设置为local-graphql-mutate和local-graphql-query的默认域。
|
15
|
+
|
16
|
+
- 如果所有其他任务引用域,则它们基本上默认引用此上下文域。
|
17
|
+
|
18
|
+
## 参数
|
19
|
+
|
20
|
+
- 子域
|
21
|
+
- 输入要更改的目标域的子域值。
|
22
|
+
|
23
|
+
## 返回
|
24
|
+
|
25
|
+
- 返回更改之前域的子域值。
|