openc3 5.0.8 → 5.0.10

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.

Potentially problematic release.


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

Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/bin/openc3cli +128 -95
  3. data/data/config/_id_items.yaml +2 -1
  4. data/data/config/_id_params.yaml +2 -1
  5. data/data/config/_items.yaml +2 -1
  6. data/data/config/_params.yaml +2 -1
  7. data/data/config/command_modifiers.yaml +30 -0
  8. data/data/config/item_modifiers.yaml +10 -0
  9. data/data/config/microservice.yaml +12 -0
  10. data/data/config/param_item_modifiers.yaml +10 -0
  11. data/data/config/plugins.yaml +0 -9
  12. data/data/config/telemetry_modifiers.yaml +10 -0
  13. data/data/config/widgets.yaml +49 -73
  14. data/ext/openc3/ext/packet/packet.c +20 -2
  15. data/ext/openc3/ext/structure/structure.c +12 -17
  16. data/lib/openc3/accessors/accessor.rb +71 -0
  17. data/lib/openc3/accessors/binary_accessor.rb +1226 -0
  18. data/lib/openc3/accessors/cbor_accessor.rb +83 -0
  19. data/lib/openc3/accessors/html_accessor.rb +28 -0
  20. data/lib/openc3/accessors/json_accessor.rb +131 -0
  21. data/lib/openc3/accessors/xml_accessor.rb +67 -0
  22. data/lib/openc3/accessors.rb +23 -0
  23. data/lib/openc3/api/cmd_api.rb +5 -2
  24. data/lib/openc3/api/interface_api.rb +15 -0
  25. data/lib/openc3/api/limits_api.rb +3 -3
  26. data/lib/openc3/config/config_parser.rb +10 -4
  27. data/lib/openc3/core_ext/file.rb +5 -0
  28. data/lib/openc3/core_ext/tempfile.rb +20 -0
  29. data/lib/openc3/io/json_rpc.rb +3 -3
  30. data/lib/openc3/microservices/cleanup_microservice.rb +7 -5
  31. data/lib/openc3/models/cvt_model.rb +1 -10
  32. data/lib/openc3/models/interface_model.rb +41 -0
  33. data/lib/openc3/models/microservice_model.rb +33 -1
  34. data/lib/openc3/models/plugin_model.rb +1 -1
  35. data/lib/openc3/models/target_model.rb +85 -68
  36. data/lib/openc3/packets/binary_accessor.rb +2 -1207
  37. data/lib/openc3/packets/packet.rb +106 -6
  38. data/lib/openc3/packets/packet_config.rb +30 -7
  39. data/lib/openc3/packets/parsers/limits_response_parser.rb +1 -3
  40. data/lib/openc3/packets/parsers/processor_parser.rb +1 -2
  41. data/lib/openc3/packets/parsers/xtce_parser.rb +68 -3
  42. data/lib/openc3/packets/structure.rb +39 -14
  43. data/lib/openc3/packets/structure_item.rb +15 -1
  44. data/lib/openc3/script/storage.rb +19 -1
  45. data/lib/openc3/utilities/local_mode.rb +521 -0
  46. data/lib/openc3/utilities/simulated_target.rb +3 -2
  47. data/lib/openc3/utilities/target_file.rb +146 -0
  48. data/lib/openc3/version.rb +5 -5
  49. data/lib/openc3.rb +1 -0
  50. metadata +45 -7
@@ -1,14 +1,14 @@
1
1
  # encoding: ascii-8bit
2
2
 
3
- OPENC3_VERSION = '5.0.8'
3
+ OPENC3_VERSION = '5.0.10'
4
4
  module OpenC3
5
5
  module Version
6
6
  MAJOR = '5'
7
7
  MINOR = '0'
8
- PATCH = '8'
8
+ PATCH = '10'
9
9
  OTHER = ''
10
- BUILD = '8dc96d0ce9d272e063d9d806f848803b7d5c61ed'
10
+ BUILD = 'a9ab663d6355e0f8d8e62ca67ea300b949f34420'
11
11
  end
12
- VERSION = '5.0.8'
13
- GEM_VERSION = '5.0.8'
12
+ VERSION = '5.0.10'
13
+ GEM_VERSION = '5.0.10'
14
14
  end
data/lib/openc3.rb CHANGED
@@ -37,6 +37,7 @@ require 'openc3/version'
37
37
  require 'openc3/top_level'
38
38
  require 'openc3/core_ext'
39
39
  require 'openc3/utilities'
40
+ require 'openc3/accessors'
40
41
  require 'openc3/conversions'
41
42
  require 'openc3/interfaces'
42
43
  require 'openc3/processors'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openc3
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.8
4
+ version: 5.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Melton
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-08-13 00:00:00.000000000 Z
12
+ date: 2022-09-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -157,14 +157,14 @@ dependencies:
157
157
  requirements:
158
158
  - - "~>"
159
159
  - !ruby/object:Gem::Version
160
- version: 2.2.3.1
160
+ version: '2.2'
161
161
  type: :runtime
162
162
  prerelease: false
163
163
  version_requirements: !ruby/object:Gem::Requirement
164
164
  requirements:
165
165
  - - "~>"
166
166
  - !ruby/object:Gem::Version
167
- version: 2.2.3.1
167
+ version: '2.2'
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: redis
170
170
  requirement: !ruby/object:Gem::Requirement
@@ -305,6 +305,34 @@ dependencies:
305
305
  - - "~>"
306
306
  - !ruby/object:Gem::Version
307
307
  version: '3.8'
308
+ - !ruby/object:Gem::Dependency
309
+ name: cbor
310
+ requirement: !ruby/object:Gem::Requirement
311
+ requirements:
312
+ - - "~>"
313
+ - !ruby/object:Gem::Version
314
+ version: 0.5.9.6
315
+ type: :runtime
316
+ prerelease: false
317
+ version_requirements: !ruby/object:Gem::Requirement
318
+ requirements:
319
+ - - "~>"
320
+ - !ruby/object:Gem::Version
321
+ version: 0.5.9.6
322
+ - !ruby/object:Gem::Dependency
323
+ name: jsonpath
324
+ requirement: !ruby/object:Gem::Requirement
325
+ requirements:
326
+ - - "~>"
327
+ - !ruby/object:Gem::Version
328
+ version: '1.1'
329
+ type: :runtime
330
+ prerelease: false
331
+ version_requirements: !ruby/object:Gem::Requirement
332
+ requirements:
333
+ - - "~>"
334
+ - !ruby/object:Gem::Version
335
+ version: '1.1'
308
336
  - !ruby/object:Gem::Dependency
309
337
  name: dead_end
310
338
  requirement: !ruby/object:Gem::Requirement
@@ -432,19 +460,19 @@ dependencies:
432
460
  - !ruby/object:Gem::Version
433
461
  version: '0.21'
434
462
  - !ruby/object:Gem::Dependency
435
- name: codecov
463
+ name: simplecov-cobertura
436
464
  requirement: !ruby/object:Gem::Requirement
437
465
  requirements:
438
466
  - - "~>"
439
467
  - !ruby/object:Gem::Version
440
- version: '0.6'
468
+ version: '2.1'
441
469
  type: :development
442
470
  prerelease: false
443
471
  version_requirements: !ruby/object:Gem::Requirement
444
472
  requirements:
445
473
  - - "~>"
446
474
  - !ruby/object:Gem::Version
447
- version: '0.6'
475
+ version: '2.1'
448
476
  - !ruby/object:Gem::Dependency
449
477
  name: benchmark-ips
450
478
  requirement: !ruby/object:Gem::Requirement
@@ -578,6 +606,13 @@ files:
578
606
  - lib/cosmos.rb
579
607
  - lib/cosmosc2.rb
580
608
  - lib/openc3.rb
609
+ - lib/openc3/accessors.rb
610
+ - lib/openc3/accessors/accessor.rb
611
+ - lib/openc3/accessors/binary_accessor.rb
612
+ - lib/openc3/accessors/cbor_accessor.rb
613
+ - lib/openc3/accessors/html_accessor.rb
614
+ - lib/openc3/accessors/json_accessor.rb
615
+ - lib/openc3/accessors/xml_accessor.rb
581
616
  - lib/openc3/api/api.rb
582
617
  - lib/openc3/api/authorized_api.rb
583
618
  - lib/openc3/api/cmd_api.rb
@@ -627,6 +662,7 @@ files:
627
662
  - lib/openc3/core_ext/socket.rb
628
663
  - lib/openc3/core_ext/string.rb
629
664
  - lib/openc3/core_ext/stringio.rb
665
+ - lib/openc3/core_ext/tempfile.rb
630
666
  - lib/openc3/core_ext/time.rb
631
667
  - lib/openc3/interfaces.rb
632
668
  - lib/openc3/interfaces/interface.rb
@@ -790,6 +826,7 @@ files:
790
826
  - lib/openc3/utilities/authorization.rb
791
827
  - lib/openc3/utilities/crc.rb
792
828
  - lib/openc3/utilities/csv.rb
829
+ - lib/openc3/utilities/local_mode.rb
793
830
  - lib/openc3/utilities/logger.rb
794
831
  - lib/openc3/utilities/message_log.rb
795
832
  - lib/openc3/utilities/metric.rb
@@ -803,6 +840,7 @@ files:
803
840
  - lib/openc3/utilities/sleeper.rb
804
841
  - lib/openc3/utilities/store.rb
805
842
  - lib/openc3/utilities/store_autoload.rb
843
+ - lib/openc3/utilities/target_file.rb
806
844
  - lib/openc3/utilities/zip.rb
807
845
  - lib/openc3/version.rb
808
846
  - lib/openc3/win32/excel.rb