rsmp-validator 0.1.0
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.
- checksums.yaml +7 -0
- data/config/cross_rs4s.yaml +55 -0
- data/config/gem_supervisor.yaml +56 -0
- data/config/gem_tlc.yaml +56 -0
- data/config/gem_tlc_secrets.yaml +3 -0
- data/config/kapsch_etx.yaml +54 -0
- data/config/lightmotion_satellite.yaml +56 -0
- data/config/secrets.yaml +3 -0
- data/config/secrets_example.yaml +6 -0
- data/config/semaforica_cartesio.yaml +56 -0
- data/config/simulator/node_log.yaml +17 -0
- data/config/simulator/supervisor.yaml +11 -0
- data/config/simulator/tlc.yaml +56 -0
- data/config/sus.rb +13 -0
- data/config/swarco_itc3.yaml +55 -0
- data/config/tecsen_tmacs_supervisor.yaml +57 -0
- data/config/validator.rb +37 -0
- data/config/validator.yaml +5 -0
- data/config/validator_example.yaml +23 -0
- data/config/validator_log.yaml +19 -0
- data/exe/rsmp-validator +121 -0
- data/lib/doc_gen/parser.rb +276 -0
- data/lib/doc_gen/renderer.rb +153 -0
- data/lib/rsmp/validator/async_context.rb +15 -0
- data/lib/rsmp/validator/auto_node.rb +82 -0
- data/lib/rsmp/validator/auto_site.rb +30 -0
- data/lib/rsmp/validator/auto_supervisor.rb +23 -0
- data/lib/rsmp/validator/config_normalizer.rb +103 -0
- data/lib/rsmp/validator/configuration/loader.rb +79 -0
- data/lib/rsmp/validator/configuration/secrets.rb +54 -0
- data/lib/rsmp/validator/configuration/validation.rb +115 -0
- data/lib/rsmp/validator/configuration.rb +129 -0
- data/lib/rsmp/validator/helpers/alarms.rb +66 -0
- data/lib/rsmp/validator/helpers/clock.rb +16 -0
- data/lib/rsmp/validator/helpers/connection.rb +73 -0
- data/lib/rsmp/validator/helpers/handshake.rb +110 -0
- data/lib/rsmp/validator/helpers/input.rb +42 -0
- data/lib/rsmp/validator/helpers/security.rb +26 -0
- data/lib/rsmp/validator/helpers/signal_plans.rb +37 -0
- data/lib/rsmp/validator/helpers/signal_priority.rb +130 -0
- data/lib/rsmp/validator/helpers/startup.rb +157 -0
- data/lib/rsmp/validator/helpers/status.rb +22 -0
- data/lib/rsmp/validator/lifecycle.rb +99 -0
- data/lib/rsmp/validator/log.rb +11 -0
- data/lib/rsmp/validator/mode_detection.rb +84 -0
- data/lib/rsmp/validator/options/site_test_options.rb +58 -0
- data/lib/rsmp/validator/options/supervisor_test_options.rb +51 -0
- data/lib/rsmp/validator/site_tester.rb +113 -0
- data/lib/rsmp/validator/supervisor_tester.rb +76 -0
- data/lib/rsmp/validator/tester.rb +101 -0
- data/lib/rsmp/validator/version.rb +5 -0
- data/lib/rsmp/validator/version_filter.rb +44 -0
- data/lib/rsmp/validator.rb +50 -0
- data/schemas/site_test.json +36 -0
- data/schemas/supervisor_test.json +28 -0
- data/test/site/core/aggregated_status_spec.rb +43 -0
- data/test/site/core/connect_spec.rb +104 -0
- data/test/site/core/core_spec.rb +9 -0
- data/test/site/core/disconnect_spec.rb +54 -0
- data/test/site/site_spec.rb +5 -0
- data/test/site/tlc/alarm_spec.rb +134 -0
- data/test/site/tlc/clock_spec.rb +252 -0
- data/test/site/tlc/detector_logics_spec.rb +76 -0
- data/test/site/tlc/emergency_routes_spec.rb +106 -0
- data/test/site/tlc/input_spec.rb +102 -0
- data/test/site/tlc/invalid_command_spec.rb +103 -0
- data/test/site/tlc/invalid_status_spec.rb +70 -0
- data/test/site/tlc/modes_spec.rb +260 -0
- data/test/site/tlc/output_spec.rb +58 -0
- data/test/site/tlc/signal_groups_spec.rb +96 -0
- data/test/site/tlc/signal_plans_spec.rb +287 -0
- data/test/site/tlc/signal_priority_spec.rb +144 -0
- data/test/site/tlc/subscribe_spec.rb +71 -0
- data/test/site/tlc/system_spec.rb +76 -0
- data/test/site/tlc/tlc_spec.rb +7 -0
- data/test/site/tlc/traffic_data_spec.rb +151 -0
- data/test/site/tlc/traffic_situations_spec.rb +50 -0
- data/test/supervisor/aggregated_status_spec.rb +18 -0
- data/test/supervisor/connect_spec.rb +219 -0
- data/test/supervisor/supervisor_spec.rb +11 -0
- metadata +190 -0
metadata
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: rsmp-validator
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- RSMP Nordic
|
|
8
|
+
bindir: exe
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: activesupport
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - ">="
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '0'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - ">="
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '0'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: colorize
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '0'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '0'
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: rsmp
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - ">="
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: 0.44.0
|
|
47
|
+
type: :runtime
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - ">="
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: 0.44.0
|
|
54
|
+
- !ruby/object:Gem::Dependency
|
|
55
|
+
name: sus
|
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
|
57
|
+
requirements:
|
|
58
|
+
- - ">="
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '0'
|
|
61
|
+
type: :runtime
|
|
62
|
+
prerelease: false
|
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
64
|
+
requirements:
|
|
65
|
+
- - ">="
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: '0'
|
|
68
|
+
- !ruby/object:Gem::Dependency
|
|
69
|
+
name: sus-fixtures-async
|
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
- - ">="
|
|
73
|
+
- !ruby/object:Gem::Version
|
|
74
|
+
version: '0'
|
|
75
|
+
type: :runtime
|
|
76
|
+
prerelease: false
|
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
78
|
+
requirements:
|
|
79
|
+
- - ">="
|
|
80
|
+
- !ruby/object:Gem::Version
|
|
81
|
+
version: '0'
|
|
82
|
+
description: Validates RSMP sites and supervisors using the sus test framework
|
|
83
|
+
email: []
|
|
84
|
+
executables:
|
|
85
|
+
- rsmp-validator
|
|
86
|
+
extensions: []
|
|
87
|
+
extra_rdoc_files: []
|
|
88
|
+
files:
|
|
89
|
+
- config/cross_rs4s.yaml
|
|
90
|
+
- config/gem_supervisor.yaml
|
|
91
|
+
- config/gem_tlc.yaml
|
|
92
|
+
- config/gem_tlc_secrets.yaml
|
|
93
|
+
- config/kapsch_etx.yaml
|
|
94
|
+
- config/lightmotion_satellite.yaml
|
|
95
|
+
- config/secrets.yaml
|
|
96
|
+
- config/secrets_example.yaml
|
|
97
|
+
- config/semaforica_cartesio.yaml
|
|
98
|
+
- config/simulator/node_log.yaml
|
|
99
|
+
- config/simulator/supervisor.yaml
|
|
100
|
+
- config/simulator/tlc.yaml
|
|
101
|
+
- config/sus.rb
|
|
102
|
+
- config/swarco_itc3.yaml
|
|
103
|
+
- config/tecsen_tmacs_supervisor.yaml
|
|
104
|
+
- config/validator.rb
|
|
105
|
+
- config/validator.yaml
|
|
106
|
+
- config/validator_example.yaml
|
|
107
|
+
- config/validator_log.yaml
|
|
108
|
+
- exe/rsmp-validator
|
|
109
|
+
- lib/doc_gen/parser.rb
|
|
110
|
+
- lib/doc_gen/renderer.rb
|
|
111
|
+
- lib/rsmp/validator.rb
|
|
112
|
+
- lib/rsmp/validator/async_context.rb
|
|
113
|
+
- lib/rsmp/validator/auto_node.rb
|
|
114
|
+
- lib/rsmp/validator/auto_site.rb
|
|
115
|
+
- lib/rsmp/validator/auto_supervisor.rb
|
|
116
|
+
- lib/rsmp/validator/config_normalizer.rb
|
|
117
|
+
- lib/rsmp/validator/configuration.rb
|
|
118
|
+
- lib/rsmp/validator/configuration/loader.rb
|
|
119
|
+
- lib/rsmp/validator/configuration/secrets.rb
|
|
120
|
+
- lib/rsmp/validator/configuration/validation.rb
|
|
121
|
+
- lib/rsmp/validator/helpers/alarms.rb
|
|
122
|
+
- lib/rsmp/validator/helpers/clock.rb
|
|
123
|
+
- lib/rsmp/validator/helpers/connection.rb
|
|
124
|
+
- lib/rsmp/validator/helpers/handshake.rb
|
|
125
|
+
- lib/rsmp/validator/helpers/input.rb
|
|
126
|
+
- lib/rsmp/validator/helpers/security.rb
|
|
127
|
+
- lib/rsmp/validator/helpers/signal_plans.rb
|
|
128
|
+
- lib/rsmp/validator/helpers/signal_priority.rb
|
|
129
|
+
- lib/rsmp/validator/helpers/startup.rb
|
|
130
|
+
- lib/rsmp/validator/helpers/status.rb
|
|
131
|
+
- lib/rsmp/validator/lifecycle.rb
|
|
132
|
+
- lib/rsmp/validator/log.rb
|
|
133
|
+
- lib/rsmp/validator/mode_detection.rb
|
|
134
|
+
- lib/rsmp/validator/options/site_test_options.rb
|
|
135
|
+
- lib/rsmp/validator/options/supervisor_test_options.rb
|
|
136
|
+
- lib/rsmp/validator/site_tester.rb
|
|
137
|
+
- lib/rsmp/validator/supervisor_tester.rb
|
|
138
|
+
- lib/rsmp/validator/tester.rb
|
|
139
|
+
- lib/rsmp/validator/version.rb
|
|
140
|
+
- lib/rsmp/validator/version_filter.rb
|
|
141
|
+
- schemas/site_test.json
|
|
142
|
+
- schemas/supervisor_test.json
|
|
143
|
+
- test/site/core/aggregated_status_spec.rb
|
|
144
|
+
- test/site/core/connect_spec.rb
|
|
145
|
+
- test/site/core/core_spec.rb
|
|
146
|
+
- test/site/core/disconnect_spec.rb
|
|
147
|
+
- test/site/site_spec.rb
|
|
148
|
+
- test/site/tlc/alarm_spec.rb
|
|
149
|
+
- test/site/tlc/clock_spec.rb
|
|
150
|
+
- test/site/tlc/detector_logics_spec.rb
|
|
151
|
+
- test/site/tlc/emergency_routes_spec.rb
|
|
152
|
+
- test/site/tlc/input_spec.rb
|
|
153
|
+
- test/site/tlc/invalid_command_spec.rb
|
|
154
|
+
- test/site/tlc/invalid_status_spec.rb
|
|
155
|
+
- test/site/tlc/modes_spec.rb
|
|
156
|
+
- test/site/tlc/output_spec.rb
|
|
157
|
+
- test/site/tlc/signal_groups_spec.rb
|
|
158
|
+
- test/site/tlc/signal_plans_spec.rb
|
|
159
|
+
- test/site/tlc/signal_priority_spec.rb
|
|
160
|
+
- test/site/tlc/subscribe_spec.rb
|
|
161
|
+
- test/site/tlc/system_spec.rb
|
|
162
|
+
- test/site/tlc/tlc_spec.rb
|
|
163
|
+
- test/site/tlc/traffic_data_spec.rb
|
|
164
|
+
- test/site/tlc/traffic_situations_spec.rb
|
|
165
|
+
- test/supervisor/aggregated_status_spec.rb
|
|
166
|
+
- test/supervisor/connect_spec.rb
|
|
167
|
+
- test/supervisor/supervisor_spec.rb
|
|
168
|
+
homepage: https://github.com/rsmp-nordic/rsmp_validator
|
|
169
|
+
licenses:
|
|
170
|
+
- MIT
|
|
171
|
+
metadata:
|
|
172
|
+
rubygems_mfa_required: 'true'
|
|
173
|
+
rdoc_options: []
|
|
174
|
+
require_paths:
|
|
175
|
+
- lib
|
|
176
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
177
|
+
requirements:
|
|
178
|
+
- - ">="
|
|
179
|
+
- !ruby/object:Gem::Version
|
|
180
|
+
version: '3.1'
|
|
181
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
182
|
+
requirements:
|
|
183
|
+
- - ">="
|
|
184
|
+
- !ruby/object:Gem::Version
|
|
185
|
+
version: '0'
|
|
186
|
+
requirements: []
|
|
187
|
+
rubygems_version: 4.0.10
|
|
188
|
+
specification_version: 4
|
|
189
|
+
summary: RSMP compliance test suite
|
|
190
|
+
test_files: []
|