openc3 5.12.0 → 5.13.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of openc3 might be problematic. Click here for more details.

Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/bin/openc3cli +3 -3
  4. data/data/config/graph_settings.yaml +1 -1
  5. data/data/config/item_modifiers.yaml +1 -2
  6. data/data/config/parameter_modifiers.yaml +13 -14
  7. data/data/config/screen.yaml +1 -2
  8. data/data/config/target_config.yaml +2 -6
  9. data/lib/openc3/api/cmd_api.rb +99 -35
  10. data/lib/openc3/api/tlm_api.rb +63 -24
  11. data/lib/openc3/interfaces/mqtt_interface.rb +11 -9
  12. data/lib/openc3/interfaces/mqtt_stream_interface.rb +78 -0
  13. data/lib/openc3/logs/packet_log_reader.rb +2 -2
  14. data/lib/openc3/logs/text_log_writer.rb +3 -2
  15. data/lib/openc3/microservices/trigger_group_microservice.rb +2 -1
  16. data/lib/openc3/models/plugin_model.rb +38 -4
  17. data/lib/openc3/packets/json_packet.rb +46 -15
  18. data/lib/openc3/packets/packet_config.rb +2 -1
  19. data/lib/openc3/packets/parsers/xtce_parser.rb +5 -1
  20. data/lib/openc3/script/api_shared.rb +31 -31
  21. data/lib/openc3/script/commands.rb +18 -12
  22. data/lib/openc3/script/limits.rb +1 -1
  23. data/lib/openc3/script/storage.rb +4 -4
  24. data/lib/openc3/script/web_socket_api.rb +2 -2
  25. data/lib/openc3/streams/mqtt_stream.rb +109 -0
  26. data/lib/openc3/utilities/cli_generator.rb +33 -20
  27. data/lib/openc3/utilities/local_mode.rb +2 -2
  28. data/lib/openc3/utilities/logger.rb +17 -16
  29. data/lib/openc3/utilities/process_manager.rb +1 -1
  30. data/lib/openc3/version.rb +5 -5
  31. data/templates/conversion/conversion.py +28 -0
  32. data/templates/conversion/conversion.rb +1 -18
  33. data/templates/limits_response/response.py +37 -0
  34. data/templates/limits_response/response.rb +0 -17
  35. data/templates/microservice/microservices/TEMPLATE/microservice.py +54 -0
  36. data/templates/microservice/microservices/TEMPLATE/microservice.rb +0 -7
  37. data/templates/plugin/.gitignore +1 -0
  38. data/templates/target/targets/TARGET/lib/target.py +9 -0
  39. data/templates/target/targets/TARGET/procedures/procedure.py +3 -0
  40. data/templates/tool_angular/package.json +20 -19
  41. data/templates/tool_angular/yarn.lock +2222 -3212
  42. data/templates/tool_react/package.json +12 -12
  43. data/templates/tool_react/yarn.lock +586 -521
  44. data/templates/tool_svelte/package.json +11 -10
  45. data/templates/tool_svelte/src/services/openc3-api.js +17 -22
  46. data/templates/tool_svelte/yarn.lock +600 -516
  47. data/templates/tool_vue/package.json +10 -9
  48. data/templates/tool_vue/yarn.lock +113 -41
  49. data/templates/widget/package.json +9 -8
  50. data/templates/widget/yarn.lock +96 -35
  51. metadata +26 -4
@@ -11,36 +11,37 @@
11
11
  "smui-theme": "smui-theme compile build/smui.css -i src/theme"
12
12
  },
13
13
  "dependencies": {
14
- "@openc3/tool-common": "5.12.0",
14
+ "@openc3/tool-common": "5.13.0",
15
+ "@astrouxds/astro-web-components": "7.19.1",
15
16
  "@smui/button": "^7.0.0-beta.15",
16
17
  "@smui/card": "^7.0.0-beta.15",
17
18
  "@smui/list": "^7.0.0-beta.15",
18
19
  "@smui/menu": "^7.0.0-beta.15",
19
- "axios": "1.6.0",
20
+ "axios": "1.6.2",
20
21
  "single-spa-svelte": "^2.1.1",
21
22
  "sirv-cli": "^2.0.2",
22
23
  "svelte-portal": "^2.2.0"
23
24
  },
24
25
  "devDependencies": {
25
- "@babel/core": "^7.23.2",
26
- "@babel/preset-env": "^7.23.2",
26
+ "@babel/core": "^7.23.6",
27
+ "@babel/preset-env": "^7.23.6",
27
28
  "@rollup/plugin-commonjs": "^25.0.7",
28
29
  "@rollup/plugin-node-resolve": "^15.2.3",
29
- "@testing-library/jest-dom": "^6.1.4",
30
+ "@testing-library/jest-dom": "^6.1.5",
30
31
  "@testing-library/svelte": "^4.0.5",
31
32
  "babel-jest": "^29.7.0",
32
33
  "concurrently": "^8.2.2",
33
34
  "jest": "^29.7.0",
34
- "postcss": "^8.4.31",
35
- "prettier": "^3.0.3",
36
- "prettier-plugin-svelte": "^3.0.3",
37
- "rollup": "^4.3.0",
35
+ "postcss": "^8.4.32",
36
+ "prettier": "^3.1.1",
37
+ "prettier-plugin-svelte": "^3.1.2",
38
+ "rollup": "^4.8.0",
38
39
  "rollup-plugin-livereload": "^2.0.5",
39
40
  "rollup-plugin-postcss": "^4.0.2",
40
41
  "rollup-plugin-svelte": "^7.1.6",
41
42
  "rollup-plugin-terser": "^7.0.2",
42
43
  "smui-theme": "^7.0.0-beta.15",
43
- "svelte": "^4.2.2",
44
+ "svelte": "^4.2.8",
44
45
  "svelte-jester": "^3.0.0"
45
46
  }
46
47
  }
@@ -180,11 +180,6 @@ export class OpenC3Api {
180
180
  return this.exec('get_target_interfaces', [])
181
181
  }
182
182
 
183
- // DEPRECATED
184
- get_all_target_info() {
185
- return this.exec('get_all_target_info', [])
186
- }
187
-
188
183
  get_tlm_cnts(target_commands) {
189
184
  return this.exec('get_tlm_cnts', [target_commands])
190
185
  }
@@ -193,8 +188,8 @@ export class OpenC3Api {
193
188
  return this.exec('get_item', [target, packet, item])
194
189
  }
195
190
 
196
- get_parameter(target, packet, item) {
197
- return this.exec('get_parameter', [target, packet, item])
191
+ get_param(target, packet, item) {
192
+ return this.exec('get_param', [target, packet, item])
198
193
  }
199
194
 
200
195
  get_limits_sets() {
@@ -221,16 +216,16 @@ export class OpenC3Api {
221
216
  return this.exec('get_target_names', [])
222
217
  }
223
218
 
224
- get_telemetry(target_name, packet_name) {
225
- return this.exec('get_telemetry', [target_name, packet_name])
219
+ get_tlm(target_name, packet_name) {
220
+ return this.exec('get_tlm', [target_name, packet_name])
226
221
  }
227
222
 
228
- get_all_telemetry(target_name) {
229
- return this.exec('get_all_telemetry', [target_name])
223
+ get_all_tlm(target_name) {
224
+ return this.exec('get_all_tlm', [target_name])
230
225
  }
231
226
 
232
- get_all_telemetry_names(target_name) {
233
- return this.exec('get_all_telemetry_names', [target_name])
227
+ get_all_tlm_names(target_name) {
228
+ return this.exec('get_all_tlm_names', [target_name])
234
229
  }
235
230
 
236
231
  async get_tlm_packet(target_name, packet_name, value_type, stale_time = 30) {
@@ -345,16 +340,16 @@ export class OpenC3Api {
345
340
  })
346
341
  }
347
342
 
348
- get_all_commands(target_name) {
349
- return this.exec('get_all_commands', [target_name])
343
+ get_all_cmds(target_name) {
344
+ return this.exec('get_all_cmds', [target_name])
350
345
  }
351
346
 
352
- get_all_command_names(target_name) {
353
- return this.exec('get_all_command_names', [target_name])
347
+ get_all_cmd_names(target_name) {
348
+ return this.exec('get_all_cmd_names', [target_name])
354
349
  }
355
350
 
356
- get_command(target_name, command_name) {
357
- return this.exec('get_command', [target_name, command_name])
351
+ get_cmd(target_name, command_name) {
352
+ return this.exec('get_cmd', [target_name, command_name])
358
353
  }
359
354
 
360
355
  get_cmd_cnts(target_commands) {
@@ -506,11 +501,11 @@ export class OpenC3Api {
506
501
  }
507
502
  }
508
503
 
509
- build_command(target_name, command_name, param_list) {
504
+ build_cmd(target_name, command_name, param_list) {
510
505
  if (command_name === undefined) {
511
- return this.exec('build_command', target_name)
506
+ return this.exec('build_cmd', target_name)
512
507
  } else {
513
- return this._cmd('build_command', target_name, command_name, param_list)
508
+ return this._cmd('build_cmd', target_name, command_name, param_list)
514
509
  }
515
510
  }
516
511