@things-factory/operato-ecs 9.0.3 → 9.0.5

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.
Files changed (2) hide show
  1. package/package.json +33 -33
  2. package/schema.graphql +143 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-ecs",
3
- "version": "9.0.3",
3
+ "version": "9.0.5",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -66,39 +66,39 @@
66
66
  "@operato/scene-table": "^9.0.0",
67
67
  "@operato/scene-timer": "^9.0.0",
68
68
  "@operato/scene-wellstek-gantt": "^9.0.0",
69
- "@things-factory/api": "^9.0.2",
70
- "@things-factory/apptool-ui": "^9.0.2",
71
- "@things-factory/auth-ui": "^9.0.2",
72
- "@things-factory/board-service": "^9.0.2",
73
- "@things-factory/board-ui": "^9.0.2",
74
- "@things-factory/context-ui": "^9.0.0",
75
- "@things-factory/dashboard": "^9.0.2",
76
- "@things-factory/evaluation": "^9.0.0",
77
- "@things-factory/export-ui": "^9.0.0",
78
- "@things-factory/help": "^9.0.0",
79
- "@things-factory/i18n-base": "^9.0.2",
80
- "@things-factory/integration-email": "^9.0.2",
81
- "@things-factory/integration-headless": "^9.0.2",
82
- "@things-factory/integration-influxdb": "^9.0.2",
83
- "@things-factory/integration-melsec": "^9.0.2",
84
- "@things-factory/integration-modbus": "^9.0.2",
85
- "@things-factory/integration-opc": "^9.0.2",
86
- "@things-factory/integration-qdrant": "^9.0.2",
87
- "@things-factory/integration-ui": "^9.0.2",
88
- "@things-factory/lite-menu": "^9.0.2",
89
- "@things-factory/more-ui": "^9.0.0",
90
- "@things-factory/notification": "^9.0.2",
91
- "@things-factory/oauth2-client": "^9.0.2",
92
- "@things-factory/print-ui": "^9.0.2",
93
- "@things-factory/resource-ui": "^9.0.2",
94
- "@things-factory/scheduler": "^9.0.3",
95
- "@things-factory/setting-base": "^9.0.2",
96
- "@things-factory/setting-ui": "^9.0.2",
97
- "@things-factory/shell": "^9.0.0",
98
- "@things-factory/system": "^9.0.0"
69
+ "@things-factory/api": "^9.0.5",
70
+ "@things-factory/apptool-ui": "^9.0.5",
71
+ "@things-factory/auth-ui": "^9.0.5",
72
+ "@things-factory/board-service": "^9.0.5",
73
+ "@things-factory/board-ui": "^9.0.5",
74
+ "@things-factory/context-ui": "^9.0.5",
75
+ "@things-factory/dashboard": "^9.0.5",
76
+ "@things-factory/evaluation": "^9.0.5",
77
+ "@things-factory/export-ui": "^9.0.5",
78
+ "@things-factory/help": "^9.0.5",
79
+ "@things-factory/i18n-base": "^9.0.5",
80
+ "@things-factory/integration-email": "^9.0.5",
81
+ "@things-factory/integration-headless": "^9.0.5",
82
+ "@things-factory/integration-influxdb": "^9.0.5",
83
+ "@things-factory/integration-melsec": "^9.0.5",
84
+ "@things-factory/integration-modbus": "^9.0.5",
85
+ "@things-factory/integration-opc": "^9.0.5",
86
+ "@things-factory/integration-qdrant": "^9.0.5",
87
+ "@things-factory/integration-ui": "^9.0.5",
88
+ "@things-factory/lite-menu": "^9.0.5",
89
+ "@things-factory/more-ui": "^9.0.5",
90
+ "@things-factory/notification": "^9.0.5",
91
+ "@things-factory/oauth2-client": "^9.0.5",
92
+ "@things-factory/print-ui": "^9.0.5",
93
+ "@things-factory/resource-ui": "^9.0.5",
94
+ "@things-factory/scheduler": "^9.0.5",
95
+ "@things-factory/setting-base": "^9.0.5",
96
+ "@things-factory/setting-ui": "^9.0.5",
97
+ "@things-factory/shell": "^9.0.5",
98
+ "@things-factory/system": "^9.0.5"
99
99
  },
100
100
  "devDependencies": {
101
- "@things-factory/builder": "^9.0.0"
101
+ "@things-factory/builder": "^9.0.5"
102
102
  },
103
- "gitHead": "38583ad6c3eab8533e0602e81c8d8ca64ef12f1d"
103
+ "gitHead": "da760d5cf77e2495da74360b1cdc1f99f13bb65f"
104
104
  }
package/schema.graphql CHANGED
@@ -2991,6 +2991,8 @@ type Mutation {
2991
2991
  """Employee Id"""
2992
2992
  employeeId: String!
2993
2993
  ): Boolean!
2994
+
2995
+ """Register a new schedule with the scheduler service."""
2994
2996
  registerSchedule(schedule: NewSchedule!): ID!
2995
2997
 
2996
2998
  """Releases a board, making it public and creating a version history."""
@@ -3046,6 +3048,8 @@ type Mutation {
3046
3048
  """The username or email of the user to transfer ownership to."""
3047
3049
  username: String!
3048
3050
  ): Boolean!
3051
+
3052
+ """Unregister and remove a schedule from the scheduler service."""
3049
3053
  unregisterSchedule(handle: ID!): Boolean!
3050
3054
  updateAppliance(id: String!, patch: AppliancePatch!): Appliance!
3051
3055
  updateApplication(id: String!, patch: ApplicationPatch!): Application!
@@ -3273,6 +3277,8 @@ type Mutation {
3273
3277
 
3274
3278
  """Updates an existing scenario."""
3275
3279
  updateScenario(name: String!, patch: ScenarioPatch!): Scenario!
3280
+
3281
+ """Update an existing schedule configuration."""
3276
3282
  updateSchedule(schedule: SchedulePatch!): ID!
3277
3283
 
3278
3284
  """To update secure IP list for domain"""
@@ -3934,12 +3940,24 @@ input NewScenario {
3934
3940
  type: String
3935
3941
  }
3936
3942
 
3943
+ """Input type for creating a new schedule with complete configuration."""
3937
3944
  input NewSchedule {
3945
+ """Client configuration for this schedule."""
3938
3946
  client: ScheduleClientInput!
3947
+
3948
+ """Name of the schedule for identification."""
3939
3949
  name: String!
3950
+
3951
+ """Schedule expression (cron expression, date string, or delay value)."""
3940
3952
  schedule: String
3953
+
3954
+ """Task configuration and execution details for this schedule."""
3941
3955
  task: ScheduleTaskInput!
3956
+
3957
+ """Timezone for the schedule execution (e.g., UTC, Asia/Seoul)."""
3942
3958
  timezone: String
3959
+
3960
+ """Type of schedule timing (now, delay, date, cron, delay-recur)."""
3943
3961
  type: String!
3944
3962
  }
3945
3963
 
@@ -5803,9 +5821,13 @@ type Query {
5803
5821
  """Sorting options for the list query."""
5804
5822
  sortings: [Sorting!]
5805
5823
  ): ScenarioList!
5824
+
5825
+ """Retrieve a single schedule by its unique identifier."""
5806
5826
  schedule(id: ID!): Schedule
5807
5827
 
5808
- """To fetch multiple Schedules"""
5828
+ """
5829
+ Retrieve a paginated list of schedules with filtering capabilities by name, application, group, type, key, and operation.
5830
+ """
5809
5831
  schedules(
5810
5832
  """An array of filter conditions to apply to the list query."""
5811
5833
  filters: [Filter!]
@@ -6323,78 +6345,198 @@ type ScenarioQueueState {
6323
6345
  queue: [PendingObject!]!
6324
6346
  }
6325
6347
 
6348
+ """
6349
+ Represents a scheduled task with timing configuration, client settings, and task execution details.
6350
+ """
6326
6351
  type Schedule {
6352
+ """Client configuration for this schedule."""
6327
6353
  client: ScheduleClient!
6354
+
6355
+ """Unique identifier for the schedule."""
6328
6356
  id: ID!
6357
+
6358
+ """Name of the schedule for identification."""
6329
6359
  name: String
6360
+
6361
+ """Schedule expression (cron expression, date string, or delay value)."""
6330
6362
  schedule: String
6363
+
6364
+ """Task configuration and execution details for this schedule."""
6331
6365
  task: ScheduleTask!
6366
+
6367
+ """Timezone for the schedule execution (e.g., UTC, Asia/Seoul)."""
6332
6368
  timezone: String
6369
+
6370
+ """Type of schedule timing (now, delay, date, cron, delay-recur)."""
6333
6371
  type: String!
6334
6372
  }
6335
6373
 
6374
+ """
6375
+ Represents a schedule client configuration that defines the application, group, type, key, and operation for scheduled tasks.
6376
+ """
6336
6377
  type ScheduleClient {
6378
+ """Name of the application that owns this schedule."""
6337
6379
  application: String!
6380
+
6381
+ """Group identifier for organizing related schedules."""
6338
6382
  group: String!
6383
+
6384
+ """Unique key identifier for the schedule."""
6339
6385
  key: String!
6386
+
6387
+ """
6388
+ Operation to be performed by this schedule (e.g., start, stop, collect, report).
6389
+ """
6340
6390
  operation: String!
6391
+
6392
+ """
6393
+ Type of the schedule client (e.g., data collection, reporting, maintenance).
6394
+ """
6341
6395
  type: String!
6342
6396
  }
6343
6397
 
6398
+ """Input type for schedule client configuration."""
6344
6399
  input ScheduleClientInput {
6400
+ """Name of the application that owns this schedule."""
6345
6401
  application: String!
6402
+
6403
+ """Group identifier for organizing related schedules."""
6346
6404
  group: String!
6405
+
6406
+ """Unique key identifier for the schedule."""
6347
6407
  key: String!
6408
+
6409
+ """
6410
+ Operation to be performed by this schedule (e.g., start, stop, collect, report).
6411
+ """
6348
6412
  operation: String!
6413
+
6414
+ """
6415
+ Type of the schedule client (e.g., data collection, reporting, maintenance).
6416
+ """
6349
6417
  type: String!
6350
6418
  }
6351
6419
 
6420
+ """Represents a paginated list of schedules with total count."""
6352
6421
  type ScheduleList {
6422
+ """Array of schedule objects."""
6353
6423
  items: [Schedule!]!
6424
+
6425
+ """Total number of schedules matching the query criteria."""
6354
6426
  total: Int!
6355
6427
  }
6356
6428
 
6429
+ """Input type for updating an existing schedule configuration."""
6357
6430
  input SchedulePatch {
6431
+ """Client configuration for this schedule."""
6358
6432
  client: ScheduleClientInput!
6433
+
6434
+ """Unique identifier for the schedule to update."""
6359
6435
  id: String
6436
+
6437
+ """Name of the schedule for identification."""
6360
6438
  name: String
6439
+
6440
+ """Schedule expression (cron expression, date string, or delay value)."""
6361
6441
  schedule: String
6442
+
6443
+ """Task configuration and execution details for this schedule."""
6362
6444
  task: ScheduleTaskInput!
6445
+
6446
+ """Timezone for the schedule execution (e.g., UTC, Asia/Seoul)."""
6363
6447
  timezone: String
6448
+
6449
+ """Type of schedule timing (now, delay, date, cron, delay-recur)."""
6364
6450
  type: String!
6365
6451
  }
6366
6452
 
6453
+ """
6454
+ Represents a scheduled task with connection settings, data payload, and retry policies.
6455
+ """
6367
6456
  type ScheduleTask {
6457
+ """Connection configuration for the scheduled task."""
6368
6458
  connection: ScheduleTaskConnection!
6459
+
6460
+ """Data payload to be sent with the scheduled task."""
6369
6461
  data: Object!
6462
+
6463
+ """Policy for handling failed task executions (ignore, retry, retry_dlq)."""
6370
6464
  failed_policy: String!
6465
+
6466
+ """Indicates whether to check task execution history before scheduling."""
6371
6467
  history_check: Boolean!
6468
+
6469
+ """Maximum number of retry attempts allowed for this task."""
6372
6470
  max_retry_count: Int!
6471
+
6472
+ """Current number of retry attempts for this task."""
6373
6473
  retry_count: Int!
6474
+
6475
+ """Wait time in seconds before retrying a failed task."""
6374
6476
  retry_wait: Int!
6477
+
6478
+ """Type of the scheduled task (rest, kafka, redis)."""
6375
6479
  type: String!
6376
6480
  }
6377
6481
 
6482
+ """
6483
+ Represents the connection configuration for a scheduled task, including host, headers, and topic settings.
6484
+ """
6378
6485
  type ScheduleTaskConnection {
6486
+ """HTTP headers for REST API connections or connection parameters."""
6379
6487
  headers: Object
6488
+
6489
+ """
6490
+ Host URL for the task connection (e.g., REST API endpoint, Kafka broker, Redis server).
6491
+ """
6380
6492
  host: String
6493
+
6494
+ """
6495
+ Topic name for message-based connections (e.g., Kafka topic, Redis channel).
6496
+ """
6381
6497
  topic: String
6382
6498
  }
6383
6499
 
6500
+ """Input type for schedule task connection configuration."""
6384
6501
  input ScheduleTaskConnectionInput {
6502
+ """HTTP headers for REST API connections or connection parameters."""
6385
6503
  headers: Object
6504
+
6505
+ """
6506
+ Host URL for the task connection (e.g., REST API endpoint, Kafka broker, Redis server).
6507
+ """
6386
6508
  host: String
6509
+
6510
+ """
6511
+ Topic name for message-based connections (e.g., Kafka topic, Redis channel).
6512
+ """
6387
6513
  topic: String
6388
6514
  }
6389
6515
 
6516
+ """Input type for schedule task configuration."""
6390
6517
  input ScheduleTaskInput {
6518
+ """Connection configuration for the scheduled task."""
6391
6519
  connection: ScheduleTaskConnectionInput!
6520
+
6521
+ """Data payload to be sent with the scheduled task."""
6392
6522
  data: Object!
6523
+
6524
+ """Policy for handling failed task executions (ignore, retry, retry_dlq)."""
6393
6525
  failed_policy: String!
6526
+
6527
+ """Indicates whether to check task execution history before scheduling."""
6394
6528
  history_check: Boolean!
6529
+
6530
+ """Maximum number of retry attempts allowed for this task."""
6395
6531
  max_retry_count: Int!
6532
+
6533
+ """Current number of retry attempts for this task."""
6396
6534
  retry_count: Int!
6535
+
6536
+ """Wait time in seconds before retrying a failed task."""
6397
6537
  retry_wait: Int!
6538
+
6539
+ """Type of the scheduled task (rest, kafka, redis)."""
6398
6540
  type: String!
6399
6541
  }
6400
6542