openc3 5.12.0 → 5.14.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.
- checksums.yaml +4 -4
- data/Gemfile +3 -3
- data/bin/openc3cli +21 -18
- data/data/config/command_modifiers.yaml +53 -1
- data/data/config/graph_settings.yaml +1 -1
- data/data/config/item_modifiers.yaml +1 -2
- data/data/config/parameter_modifiers.yaml +13 -14
- data/data/config/screen.yaml +1 -2
- data/data/config/target_config.yaml +2 -6
- data/lib/openc3/accessors/accessor.rb +42 -29
- data/lib/openc3/accessors/binary_accessor.rb +11 -1
- data/lib/openc3/accessors/form_accessor.rb +11 -1
- data/lib/openc3/accessors/http_accessor.rb +38 -0
- data/lib/openc3/accessors/json_accessor.rb +15 -3
- data/lib/openc3/accessors/template_accessor.rb +150 -0
- data/lib/openc3/accessors/xml_accessor.rb +11 -1
- data/lib/openc3/accessors.rb +1 -0
- data/lib/openc3/api/cmd_api.rb +99 -35
- data/lib/openc3/api/limits_api.rb +3 -3
- data/lib/openc3/api/tlm_api.rb +70 -31
- data/lib/openc3/interfaces/interface.rb +9 -7
- data/lib/openc3/interfaces/mqtt_interface.rb +11 -9
- data/lib/openc3/interfaces/mqtt_stream_interface.rb +78 -0
- data/lib/openc3/interfaces/protocols/cmd_response_protocol.rb +116 -0
- data/lib/openc3/interfaces/tcpip_client_interface.rb +4 -0
- data/lib/openc3/interfaces/tcpip_server_interface.rb +5 -0
- data/lib/openc3/interfaces.rb +1 -1
- data/lib/openc3/logs/packet_log_reader.rb +2 -2
- data/lib/openc3/logs/text_log_writer.rb +3 -2
- data/lib/openc3/microservices/decom_microservice.rb +1 -0
- data/lib/openc3/microservices/interface_microservice.rb +10 -1
- data/lib/openc3/microservices/trigger_group_microservice.rb +2 -1
- data/lib/openc3/models/cvt_model.rb +16 -12
- data/lib/openc3/models/gem_model.rb +20 -3
- data/lib/openc3/models/microservice_model.rb +1 -1
- data/lib/openc3/models/plugin_model.rb +43 -5
- data/lib/openc3/models/target_model.rb +69 -8
- data/lib/openc3/packets/json_packet.rb +46 -15
- data/lib/openc3/packets/packet.rb +92 -4
- data/lib/openc3/packets/packet_config.rb +27 -2
- data/lib/openc3/packets/parsers/xtce_parser.rb +5 -1
- data/lib/openc3/script/api_shared.rb +42 -31
- data/lib/openc3/script/commands.rb +18 -12
- data/lib/openc3/script/limits.rb +1 -1
- data/lib/openc3/script/script.rb +6 -12
- data/lib/openc3/script/storage.rb +4 -4
- data/lib/openc3/script/web_socket_api.rb +2 -2
- data/lib/openc3/streams/mqtt_stream.rb +109 -0
- data/lib/openc3/streams/tcpip_socket_stream.rb +19 -0
- data/lib/openc3/system/system.rb +13 -1
- data/lib/openc3/utilities/cli_generator.rb +48 -21
- data/lib/openc3/utilities/local_mode.rb +3 -3
- data/lib/openc3/utilities/logger.rb +17 -16
- data/lib/openc3/utilities/process_manager.rb +1 -1
- data/lib/openc3/utilities/store_queued.rb +126 -0
- data/lib/openc3/version.rb +5 -5
- data/templates/conversion/conversion.py +28 -0
- data/templates/conversion/conversion.rb +1 -18
- data/templates/limits_response/response.py +37 -0
- data/templates/limits_response/response.rb +0 -17
- data/templates/microservice/microservices/TEMPLATE/microservice.py +54 -0
- data/templates/microservice/microservices/TEMPLATE/microservice.rb +0 -7
- data/templates/plugin/.gitignore +1 -0
- data/templates/plugin/plugin.gemspec +2 -2
- data/templates/target/targets/TARGET/lib/target.py +9 -0
- data/templates/target/targets/TARGET/procedures/procedure.py +3 -0
- data/templates/target/targets/TARGET/public/README.txt +1 -0
- data/templates/tool_angular/package.json +21 -20
- data/templates/tool_angular/yarn.lock +2287 -3171
- data/templates/tool_react/package.json +15 -15
- data/templates/tool_react/yarn.lock +716 -789
- data/templates/tool_svelte/package.json +16 -15
- data/templates/tool_svelte/src/services/openc3-api.js +17 -22
- data/templates/tool_svelte/yarn.lock +715 -620
- data/templates/tool_vue/package.json +16 -15
- data/templates/tool_vue/yarn.lock +149 -69
- data/templates/widget/package.json +15 -14
- data/templates/widget/yarn.lock +132 -63
- metadata +160 -148
- data/lib/openc3/io/openc3_snmp.rb +0 -61
@@ -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.
|
15
|
-
"@
|
16
|
-
"@smui/
|
17
|
-
"@smui/
|
18
|
-
"@smui/
|
19
|
-
"
|
14
|
+
"@openc3/tool-common": "5.14.0",
|
15
|
+
"@astrouxds/astro-web-components": "7.20.0",
|
16
|
+
"@smui/button": "^7.0.0-beta.16",
|
17
|
+
"@smui/card": "^7.0.0-beta.16",
|
18
|
+
"@smui/list": "^7.0.0-beta.16",
|
19
|
+
"@smui/menu": "^7.0.0-beta.16",
|
20
|
+
"axios": "1.6.5",
|
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.
|
26
|
-
"@babel/preset-env": "^7.23.
|
26
|
+
"@babel/core": "^7.23.7",
|
27
|
+
"@babel/preset-env": "^7.23.8",
|
27
28
|
"@rollup/plugin-commonjs": "^25.0.7",
|
28
29
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
29
|
-
"@testing-library/jest-dom": "^6.
|
30
|
+
"@testing-library/jest-dom": "^6.2.0",
|
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.
|
35
|
-
"prettier": "^3.
|
36
|
-
"prettier-plugin-svelte": "^3.
|
37
|
-
"rollup": "^4.
|
35
|
+
"postcss": "^8.4.33",
|
36
|
+
"prettier": "^3.1.1",
|
37
|
+
"prettier-plugin-svelte": "^3.1.2",
|
38
|
+
"rollup": "^4.9.4",
|
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
|
-
"smui-theme": "^7.0.0-beta.
|
43
|
-
"svelte": "^4.2.
|
43
|
+
"smui-theme": "^7.0.0-beta.16",
|
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
|
-
|
197
|
-
return this.exec('
|
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
|
-
|
225
|
-
return this.exec('
|
219
|
+
get_tlm(target_name, packet_name) {
|
220
|
+
return this.exec('get_tlm', [target_name, packet_name])
|
226
221
|
}
|
227
222
|
|
228
|
-
|
229
|
-
return this.exec('
|
223
|
+
get_all_tlm(target_name) {
|
224
|
+
return this.exec('get_all_tlm', [target_name])
|
230
225
|
}
|
231
226
|
|
232
|
-
|
233
|
-
return this.exec('
|
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
|
-
|
349
|
-
return this.exec('
|
343
|
+
get_all_cmds(target_name) {
|
344
|
+
return this.exec('get_all_cmds', [target_name])
|
350
345
|
}
|
351
346
|
|
352
|
-
|
353
|
-
return this.exec('
|
347
|
+
get_all_cmd_names(target_name) {
|
348
|
+
return this.exec('get_all_cmd_names', [target_name])
|
354
349
|
}
|
355
350
|
|
356
|
-
|
357
|
-
return this.exec('
|
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
|
-
|
504
|
+
build_cmd(target_name, command_name, param_list) {
|
510
505
|
if (command_name === undefined) {
|
511
|
-
return this.exec('
|
506
|
+
return this.exec('build_cmd', target_name)
|
512
507
|
} else {
|
513
|
-
return this._cmd('
|
508
|
+
return this._cmd('build_cmd', target_name, command_name, param_list)
|
514
509
|
}
|
515
510
|
}
|
516
511
|
|