openc3 5.10.0 → 5.11.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 +1 -1
- data/Rakefile +3 -2
- data/data/config/target.yaml +9 -0
- data/ext/openc3/ext/packet/packet.c +3 -0
- data/ext/openc3/ext/reducer_microservice/extconf.rb +13 -0
- data/ext/openc3/ext/reducer_microservice/reducer_microservice.c +165 -0
- data/ext/openc3/ext/structure/structure.c +7 -9
- data/lib/openc3/accessors/accessor.rb +53 -3
- data/lib/openc3/accessors/binary_accessor.rb +16 -0
- data/lib/openc3/accessors/cbor_accessor.rb +3 -3
- data/lib/openc3/accessors/form_accessor.rb +78 -0
- data/lib/openc3/accessors/http_accessor.rb +145 -0
- data/lib/openc3/accessors/json_accessor.rb +19 -3
- data/lib/openc3/accessors/xml_accessor.rb +18 -1
- data/lib/openc3/accessors.rb +3 -1
- data/lib/openc3/config/config_parser.rb +7 -5
- data/lib/openc3/config/meta_config_parser.rb +1 -1
- data/lib/openc3/core_ext/string.rb +16 -1
- data/lib/openc3/interfaces/http_client_interface.rb +202 -0
- data/lib/openc3/interfaces/http_server_interface.rb +183 -0
- data/lib/openc3/interfaces/interface.rb +86 -16
- data/lib/openc3/interfaces/mqtt_interface.rb +6 -5
- data/lib/openc3/interfaces/protocols/burst_protocol.rb +11 -11
- data/lib/openc3/interfaces/protocols/cobs_protocol.rb +7 -7
- data/lib/openc3/interfaces/protocols/crc_protocol.rb +7 -7
- data/lib/openc3/interfaces/protocols/length_protocol.rb +6 -6
- data/lib/openc3/interfaces/protocols/preidentified_protocol.rb +9 -5
- data/lib/openc3/interfaces/protocols/protocol.rb +8 -6
- data/lib/openc3/interfaces/protocols/slip_protocol.rb +8 -8
- data/lib/openc3/interfaces/protocols/template_protocol.rb +6 -7
- data/lib/openc3/interfaces/protocols/terminated_protocol.rb +4 -4
- data/lib/openc3/interfaces/simulated_target_interface.rb +2 -0
- data/lib/openc3/interfaces/stream_interface.rb +6 -4
- data/lib/openc3/interfaces/tcpip_server_interface.rb +2 -0
- data/lib/openc3/interfaces/udp_interface.rb +8 -5
- data/lib/openc3/interfaces.rb +2 -0
- data/lib/openc3/logs/buffered_packet_log_writer.rb +6 -7
- data/lib/openc3/logs/log_writer.rb +2 -10
- data/lib/openc3/logs/packet_log_constants.rb +13 -3
- data/lib/openc3/logs/packet_log_reader.rb +35 -98
- data/lib/openc3/logs/packet_log_writer.rb +24 -62
- data/lib/openc3/logs/text_log_writer.rb +32 -6
- data/lib/openc3/microservices/cleanup_microservice.rb +23 -16
- data/lib/openc3/microservices/decom_microservice.rb +8 -20
- data/lib/openc3/microservices/log_microservice.rb +3 -1
- data/lib/openc3/microservices/reaction_microservice.rb +22 -11
- data/lib/openc3/microservices/reducer_microservice.rb +174 -130
- data/lib/openc3/{models/notification_model.rb → microservices/scope_cleanup_microservice.rb} +20 -21
- data/lib/openc3/microservices/text_log_microservice.rb +2 -5
- data/lib/openc3/microservices/timeline_microservice.rb +0 -1
- data/lib/openc3/microservices/trigger_group_microservice.rb +6 -3
- data/lib/openc3/migrations/20230915000002_no_scope_log_messages.rb +44 -0
- data/lib/openc3/models/microservice_model.rb +1 -1
- data/lib/openc3/models/scope_model.rb +65 -34
- data/lib/openc3/models/target_model.rb +25 -5
- data/lib/openc3/models/tool_model.rb +14 -2
- data/lib/openc3/models/widget_model.rb +1 -1
- data/lib/openc3/packets/json_packet.rb +10 -2
- data/lib/openc3/packets/packet.rb +37 -22
- data/lib/openc3/packets/packet_config.rb +6 -2
- data/lib/openc3/packets/parsers/packet_item_parser.rb +11 -6
- data/lib/openc3/packets/structure.rb +19 -12
- data/lib/openc3/packets/structure_item.rb +0 -3
- data/lib/openc3/script/storage.rb +1 -1
- data/lib/openc3/script/web_socket_api.rb +17 -14
- data/lib/openc3/topics/command_decom_topic.rb +0 -4
- data/lib/openc3/topics/telemetry_decom_topic.rb +0 -4
- data/lib/openc3/topics/telemetry_reduced_topics.rb +1 -13
- data/lib/openc3/topics/telemetry_topic.rb +2 -1
- data/lib/openc3/topics/topic.rb +0 -8
- data/lib/openc3/utilities/aws_bucket.rb +40 -38
- data/lib/openc3/utilities/bucket_utilities.rb +2 -0
- data/lib/openc3/utilities/cli_generator.rb +1 -1
- data/lib/openc3/utilities/logger.rb +62 -47
- data/lib/openc3/utilities/metric.rb +19 -1
- data/lib/openc3/utilities/sleeper.rb +3 -1
- data/lib/openc3/utilities/throttle.rb +76 -0
- data/lib/openc3/version.rb +5 -5
- data/templates/tool_angular/package.json +20 -20
- data/templates/tool_angular/yarn.lock +1815 -1009
- data/templates/tool_react/package.json +24 -26
- data/templates/tool_react/yarn.lock +1269 -902
- data/templates/tool_svelte/.prettierrc.js +5 -0
- data/templates/tool_svelte/package.json +26 -26
- data/templates/tool_svelte/src/services/cable.js +1 -1
- data/templates/tool_svelte/src/services/openc3-api.js +173 -173
- data/templates/tool_svelte/yarn.lock +981 -735
- data/templates/tool_vue/package.json +13 -13
- data/templates/tool_vue/yarn.lock +363 -147
- data/templates/widget/package.json +14 -14
- data/templates/widget/yarn.lock +367 -99
- metadata +41 -4
- data/lib/openc3/topics/notifications_topic.rb +0 -31
@@ -1,5 +1,4 @@
|
|
1
1
|
{
|
2
|
-
"name": "<%= tool_name %>",
|
3
2
|
"scripts": {
|
4
3
|
"start": "webpack serve",
|
5
4
|
"start:standalone": "webpack serve --env standalone",
|
@@ -14,40 +13,39 @@
|
|
14
13
|
"prepare": "husky install",
|
15
14
|
"coverage": "cross-env BABEL_ENV=test jest --coverage"
|
16
15
|
},
|
16
|
+
"dependencies": {
|
17
|
+
"@emotion/react": "^11.11.1",
|
18
|
+
"@emotion/styled": "^11.11.0",
|
19
|
+
"@mui/material": "^5.14.8",
|
20
|
+
"react": "^18.2.0",
|
21
|
+
"react-dom": "^18.2.0",
|
22
|
+
"single-spa-react": "^5.1.4"
|
23
|
+
},
|
17
24
|
"devDependencies": {
|
18
|
-
"@babel/core": "^7.
|
19
|
-
"@babel/eslint-parser": "^7.15
|
20
|
-
"@babel/plugin-transform-runtime": "^7.15
|
21
|
-
"@babel/preset-env": "^7.15
|
22
|
-
"@babel/preset-react": "^7.
|
23
|
-
"@babel/runtime": "^7.15
|
24
|
-
"@testing-library/jest-dom": "^
|
25
|
+
"@babel/core": "^7.22.17",
|
26
|
+
"@babel/eslint-parser": "^7.22.15",
|
27
|
+
"@babel/plugin-transform-runtime": "^7.22.15",
|
28
|
+
"@babel/preset-env": "^7.22.15",
|
29
|
+
"@babel/preset-react": "^7.22.15",
|
30
|
+
"@babel/runtime": "^7.22.15",
|
31
|
+
"@testing-library/jest-dom": "^6.1.3",
|
25
32
|
"@testing-library/react": "^14.0.0",
|
26
|
-
"babel-jest": "^29.
|
27
|
-
"concurrently": "^8.2.
|
33
|
+
"babel-jest": "^29.7.0",
|
34
|
+
"concurrently": "^8.2.1",
|
28
35
|
"cross-env": "^7.0.3",
|
29
|
-
"eslint": "^8.
|
30
|
-
"eslint-config-prettier": "^
|
36
|
+
"eslint": "^8.49.0",
|
37
|
+
"eslint-config-prettier": "^9.0.0",
|
31
38
|
"eslint-config-react-important-stuff": "^3.0.0",
|
32
|
-
"eslint-plugin-prettier": "^
|
39
|
+
"eslint-plugin-prettier": "^5.0.0",
|
33
40
|
"identity-obj-proxy": "^3.0.0",
|
34
|
-
"jest": "^29.
|
35
|
-
"jest-cli": "^29.
|
36
|
-
"prettier": "^
|
41
|
+
"jest": "^29.7.0",
|
42
|
+
"jest-cli": "^29.7.0",
|
43
|
+
"prettier": "^3.0.3",
|
37
44
|
"pretty-quick": "^3.1.1",
|
38
|
-
"webpack": "^5.88.
|
45
|
+
"webpack": "^5.88.2",
|
39
46
|
"webpack-cli": "^5.1.4",
|
40
47
|
"webpack-config-single-spa-react": "^4.0.0",
|
41
48
|
"webpack-dev-server": "^4.0.0",
|
42
49
|
"webpack-merge": "^5.8.0"
|
43
|
-
},
|
44
|
-
"dependencies": {
|
45
|
-
"@emotion/react": "^11.11.1",
|
46
|
-
"@emotion/styled": "^11.11.0",
|
47
|
-
"@mui/material": "^5.13.6",
|
48
|
-
"@openc3/tool-common": "5.10.0",
|
49
|
-
"react": "^18.2.0",
|
50
|
-
"react-dom": "^18.2.0",
|
51
|
-
"single-spa-react": "^5.1.1"
|
52
50
|
}
|
53
51
|
}
|