├── .gitignore ├── .ruby-version ├── .travis.yml ├── .travis ├── expected_output └── test.sh ├── Gemfile ├── Gemfile.lock ├── LICENCE.txt ├── NOTICE.txt ├── README.md ├── generate_html.rb ├── src ├── application.rb ├── diagram_per_test_writer.rb ├── extract_bodies.lua ├── file_manager.rb ├── html_interaction_diagram_canvas.rb ├── http_request_interaction_diagram_mapper.rb ├── http_response_interaction_diagram_mapper.rb ├── interaction_diagram.rb ├── interaction_diagram_formatter.rb ├── interaction_diagram_http_message_writer.rb ├── interactive_tcpdump_network_traffic_writer.rb ├── model.rb ├── pcap_tools │ ├── pcap_tools_http_message_row_mapper.rb │ └── tshark_pcap_parser.rb ├── tcpdump_http_message_listener.rb ├── util │ └── system_command_executor.rb ├── views │ └── index.html.erb └── visitable.rb └── test_service ├── .ruby-version ├── Gemfile ├── Gemfile.lock ├── capture.sh ├── config.rb ├── frontend.rb ├── logic.rb ├── test_participants.yml └── test_service.png /.gitignore: -------------------------------------------------------------------------------- 1 | out/ 2 | tmp/ 3 | .idea/ 4 | *.iml 5 | .bundle/ 6 | participants.yml 7 | *~ 8 | \#*\# 9 | .DS_Store 10 | -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | 2.4.2 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/.travis.yml -------------------------------------------------------------------------------- /.travis/expected_output: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/.travis/expected_output -------------------------------------------------------------------------------- /.travis/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/.travis/test.sh -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | gem 'activesupport' 4 | -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENCE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/LICENCE.txt -------------------------------------------------------------------------------- /NOTICE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/NOTICE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/README.md -------------------------------------------------------------------------------- /generate_html.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/generate_html.rb -------------------------------------------------------------------------------- /src/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/src/application.rb -------------------------------------------------------------------------------- /src/diagram_per_test_writer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/src/diagram_per_test_writer.rb -------------------------------------------------------------------------------- /src/extract_bodies.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/src/extract_bodies.lua -------------------------------------------------------------------------------- /src/file_manager.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/src/file_manager.rb -------------------------------------------------------------------------------- /src/html_interaction_diagram_canvas.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/src/html_interaction_diagram_canvas.rb -------------------------------------------------------------------------------- /src/http_request_interaction_diagram_mapper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/src/http_request_interaction_diagram_mapper.rb -------------------------------------------------------------------------------- /src/http_response_interaction_diagram_mapper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/src/http_response_interaction_diagram_mapper.rb -------------------------------------------------------------------------------- /src/interaction_diagram.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/src/interaction_diagram.rb -------------------------------------------------------------------------------- /src/interaction_diagram_formatter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/src/interaction_diagram_formatter.rb -------------------------------------------------------------------------------- /src/interaction_diagram_http_message_writer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/src/interaction_diagram_http_message_writer.rb -------------------------------------------------------------------------------- /src/interactive_tcpdump_network_traffic_writer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/src/interactive_tcpdump_network_traffic_writer.rb -------------------------------------------------------------------------------- /src/model.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/src/model.rb -------------------------------------------------------------------------------- /src/pcap_tools/pcap_tools_http_message_row_mapper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/src/pcap_tools/pcap_tools_http_message_row_mapper.rb -------------------------------------------------------------------------------- /src/pcap_tools/tshark_pcap_parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/src/pcap_tools/tshark_pcap_parser.rb -------------------------------------------------------------------------------- /src/tcpdump_http_message_listener.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/src/tcpdump_http_message_listener.rb -------------------------------------------------------------------------------- /src/util/system_command_executor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/src/util/system_command_executor.rb -------------------------------------------------------------------------------- /src/views/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/src/views/index.html.erb -------------------------------------------------------------------------------- /src/visitable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/src/visitable.rb -------------------------------------------------------------------------------- /test_service/.ruby-version: -------------------------------------------------------------------------------- 1 | 2.4.2 2 | -------------------------------------------------------------------------------- /test_service/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/test_service/Gemfile -------------------------------------------------------------------------------- /test_service/Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/test_service/Gemfile.lock -------------------------------------------------------------------------------- /test_service/capture.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/test_service/capture.sh -------------------------------------------------------------------------------- /test_service/config.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/test_service/config.rb -------------------------------------------------------------------------------- /test_service/frontend.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/test_service/frontend.rb -------------------------------------------------------------------------------- /test_service/logic.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/test_service/logic.rb -------------------------------------------------------------------------------- /test_service/test_participants.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/test_service/test_participants.yml -------------------------------------------------------------------------------- /test_service/test_service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/interaction-diagrams/HEAD/test_service/test_service.png --------------------------------------------------------------------------------