openc3 5.5.0.pre.beta0 → 5.5.1

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 (59) hide show
  1. checksums.yaml +4 -4
  2. data/bin/openc3cli +58 -74
  3. data/data/config/_canvas_values.yaml +41 -0
  4. data/data/config/_graph_params.yaml +25 -0
  5. data/data/config/graph_settings.yaml +52 -0
  6. data/data/config/interface_modifiers.yaml +4 -0
  7. data/data/config/item_modifiers.yaml +1 -1
  8. data/data/config/microservice.yaml +5 -1
  9. data/data/config/plugins.yaml +5 -0
  10. data/data/config/screen.yaml +44 -50
  11. data/data/config/settings.yaml +144 -0
  12. data/data/config/widgets.yaml +1744 -1491
  13. data/lib/openc3/api/cmd_api.rb +43 -17
  14. data/lib/openc3/api/tlm_api.rb +37 -4
  15. data/lib/openc3/bridge/bridge.rb +3 -3
  16. data/lib/openc3/bridge/bridge_config.rb +68 -20
  17. data/lib/openc3/interfaces/interface.rb +8 -0
  18. data/lib/openc3/microservices/decom_microservice.rb +0 -3
  19. data/lib/openc3/microservices/interface_microservice.rb +2 -0
  20. data/lib/openc3/microservices/reaction_microservice.rb +0 -1
  21. data/lib/openc3/models/cvt_model.rb +1 -2
  22. data/lib/openc3/models/interface_model.rb +5 -2
  23. data/lib/openc3/models/metadata_model.rb +1 -1
  24. data/lib/openc3/models/microservice_model.rb +7 -6
  25. data/lib/openc3/models/note_model.rb +1 -1
  26. data/lib/openc3/models/plugin_model.rb +17 -8
  27. data/lib/openc3/models/timeline_model.rb +1 -1
  28. data/lib/openc3/models/trigger_group_model.rb +1 -1
  29. data/lib/openc3/operators/microservice_operator.rb +2 -2
  30. data/lib/openc3/packets/packet_item.rb +1 -1
  31. data/lib/openc3/script/storage.rb +5 -5
  32. data/lib/openc3/streams/web_socket_client_stream.rb +0 -1
  33. data/lib/openc3/tools/table_manager/table_manager_core.rb +1 -2
  34. data/lib/openc3/utilities/aws_bucket.rb +22 -4
  35. data/lib/openc3/utilities/bucket_file_cache.rb +3 -2
  36. data/lib/openc3/utilities/bucket_utilities.rb +1 -1
  37. data/lib/openc3/utilities/cli_generator.rb +210 -0
  38. data/lib/openc3/utilities/local_mode.rb +2 -2
  39. data/lib/openc3/utilities/redis_secrets.rb +4 -4
  40. data/lib/openc3/utilities/secrets.rb +5 -5
  41. data/lib/openc3/utilities/target_file.rb +43 -32
  42. data/lib/openc3/version.rb +6 -6
  43. data/templates/conversion/conversion.rb +43 -0
  44. data/templates/limits_response/response.rb +51 -0
  45. data/templates/microservice/microservices/TEMPLATE/microservice.rb +62 -0
  46. data/templates/plugin/plugin.txt +1 -0
  47. data/templates/{plugin-template → target}/targets/TARGET/screens/status.txt +1 -2
  48. metadata +23 -16
  49. data/lib/openc3/models/traefik_model.rb +0 -47
  50. data/templates/plugin-template/plugin.txt +0 -9
  51. /data/templates/{plugin-template → plugin}/LICENSE.txt +0 -0
  52. /data/templates/{plugin-template → plugin}/README.md +0 -0
  53. /data/templates/{plugin-template → plugin}/Rakefile +0 -0
  54. /data/templates/{plugin-template → plugin}/plugin.gemspec +0 -0
  55. /data/templates/{plugin-template → target}/targets/TARGET/cmd_tlm/cmd.txt +0 -0
  56. /data/templates/{plugin-template → target}/targets/TARGET/cmd_tlm/tlm.txt +0 -0
  57. /data/templates/{plugin-template → target}/targets/TARGET/lib/target.rb +0 -0
  58. /data/templates/{plugin-template → target}/targets/TARGET/procedures/procedure.rb +0 -0
  59. /data/templates/{plugin-template → target}/targets/TARGET/target.txt +0 -0
@@ -0,0 +1,144 @@
1
+ WIDTH:
2
+ summary: Sets the widget width
3
+ description: WIDTH supports [css units](https://www.w3schools.com/cssref/css_units.php) with the default (no units) of px (pixels)
4
+ parameters:
5
+ - name: Width
6
+ required: true
7
+ description: Width in pixels or explicitly declared with units
8
+ values: .+
9
+ example: |
10
+ LABEL "THIS IS A TEST"
11
+ SETTING WIDTH 50
12
+ LABEL "THIS IS A TEST"
13
+ SETTING WIDTH 20em
14
+ HEIGHT:
15
+ summary: Sets the widget height
16
+ description: HEIGHT supports [css units](https://www.w3schools.com/cssref/css_units.php) with the default (no units) of px (pixels)
17
+ parameters:
18
+ - name: Height
19
+ required: true
20
+ description: Height in pixels or explicitly declared with units
21
+ values: .+
22
+ example: |
23
+ LABEL "THIS IS A TEST"
24
+ SETTING BACKCOLOR BLUE
25
+ SETTING HEIGHT 50
26
+ LABEL "THIS IS A TEST"
27
+ SETTING BACKCOLOR GREY
28
+ SETTING HEIGHT 2em
29
+ MARGIN:
30
+ summary: Sets the widget margin
31
+ description: MARGIN supports [css units](https://www.w3schools.com/cssref/css_units.php) with the default (no units) of px (pixels)
32
+ parameters:
33
+ - name: Size
34
+ required: true
35
+ description: Size in pixels or explicitly declared with units
36
+ values: .+
37
+ example: |
38
+ LABEL "THIS IS A TEST"
39
+ SETTING BACKCOLOR BLUE
40
+ LABEL "THIS IS A TEST"
41
+ SETTING BACKCOLOR GREY
42
+ SETTING MARGIN 10
43
+ LABEL "THIS IS A TEST"
44
+ SETTING BACKCOLOR GREEN
45
+ PADDING:
46
+ summary: Sets the widget padding
47
+ description: PADDING supports [css units](https://www.w3schools.com/cssref/css_units.php) with the default (no units) of px (pixels)
48
+ parameters:
49
+ - name: Size
50
+ required: true
51
+ description: Size in pixels or explicitly declared with units
52
+ values: .+
53
+ example: |
54
+ LABEL "THIS IS A TEST"
55
+ SETTING BACKCOLOR BLUE
56
+ LABEL "THIS IS A TEST"
57
+ SETTING BACKCOLOR GREY
58
+ SETTING PADDING 10
59
+ LABEL "THIS IS A TEST"
60
+ SETTING BACKCOLOR GREEN
61
+ BACKCOLOR:
62
+ summary: The BACKCOLOR setting sets the background color for a widget
63
+ parameters:
64
+ - name: Color name or Red value
65
+ required: true
66
+ description: Common name for the color, e.g. 'black', 'red', etc.
67
+ Alternatively if two more parameters are passed this is the
68
+ Red value of the RGB value
69
+ values: .+
70
+ - name: Green value
71
+ required: false
72
+ description: Green value of the RGB value
73
+ values: .+
74
+ - name: Blue value
75
+ required: false
76
+ description: Blue value of the RGB value
77
+ values: .+
78
+ example: |
79
+ LABEL "THIS IS A TEST"
80
+ SETTING BACKCOLOR red
81
+ LABEL "THIS IS A TEST"
82
+ SETTING BACKCOLOR 155 50 155
83
+ TEXTCOLOR:
84
+ summary: The TEXTCOLOR setting sets the text color for a widget
85
+ parameters:
86
+ - name: Color name or Red value
87
+ required: true
88
+ description: Common name for the color, e.g. 'black', 'red', etc.
89
+ Alternatively if two more parameters are passed this is the
90
+ Red value of the RGB value
91
+ values: .+
92
+ - name: Green value
93
+ required: false
94
+ description: Green value of the RGB value
95
+ values: .+
96
+ - name: Blue value
97
+ required: false
98
+ description: Blue value of the RGB value
99
+ values: .+
100
+ example: |
101
+ LABEL "THIS IS A TEST"
102
+ SETTING TEXTCOLOR red
103
+ LABEL "THIS IS A TEST"
104
+ SETTING TEXTCOLOR 155 50 155
105
+ BORDERCOLOR:
106
+ summary: The BORDERCOLOR setting sets the border color for a layout widget
107
+ parameters:
108
+ - name: Color name or Red value
109
+ required: true
110
+ description: Common name for the color, e.g. 'black', 'red', etc.
111
+ Alternatively if two more parameters are passed this is the
112
+ Red value of the RGB value
113
+ values: .+
114
+ - name: Green value
115
+ required: false
116
+ description: Green value of the RGB value
117
+ values: .+
118
+ - name: Blue value
119
+ required: false
120
+ description: Blue value of the RGB value
121
+ values: .+
122
+ example: |
123
+ HORIZONTAL
124
+ LABEL "Label 1"
125
+ END
126
+ SETTING BORDERCOLOR red
127
+ VERTICAL
128
+ LABEL "Label 2"
129
+ END
130
+ SETTING BORDERCOLOR 155 50 155
131
+ RAW:
132
+ summary: Apply a raw CSS stylesheet key and value
133
+ parameters:
134
+ - name: Key
135
+ required: true
136
+ description: CSS key like font-size, max-width, etc
137
+ values: .+
138
+ - name: Value
139
+ required: true
140
+ description: CSS Value
141
+ values: .+
142
+ example: |
143
+ LABEL "Label 1"
144
+ SETTING RAW font-size 30px