Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #958 from advancedtelematic/refactor/remove-legacy…
Browse files Browse the repository at this point in the history
…-secondaries

Refactor/remove legacy secondaries
  • Loading branch information
pattivacek authored Oct 5, 2018
2 parents 74bfd23 + 792130e commit 6b0114e
Show file tree
Hide file tree
Showing 33 changed files with 40 additions and 1,357 deletions.
1 change: 0 additions & 1 deletion docs/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,6 @@ INPUT = @CMAKE_CURRENT_SOURCE_DIR@/../CONTRIBUTING.md \
@CMAKE_CURRENT_SOURCE_DIR@/../src/aktualizr_repo \
@CMAKE_CURRENT_SOURCE_DIR@/../src/aktualizr_secondary \
@CMAKE_CURRENT_SOURCE_DIR@/../src/cert_provider \
@CMAKE_CURRENT_SOURCE_DIR@/../src/external_secondaries \
@CMAKE_CURRENT_SOURCE_DIR@/../src/hmi_stub \
@CMAKE_CURRENT_SOURCE_DIR@/../src/implicit_writer \
@CMAKE_CURRENT_SOURCE_DIR@/../src/libaktualizr \
Expand Down
2 changes: 0 additions & 2 deletions docs/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ link:./hsm-provisioning.adoc[hsm-provisioning.adoc] - An explanation of aktualiz

link:./implicit-provisioning.adoc[implicit-provisioning.adoc] - Implicit provisioning an alternative to automatic provisioning. It's distinct from automatic provisioning in that it requires each image to have some unique credentials side-loaded.

link:./legacysecondary.adoc[legacysecondary.adoc] - Aktualizr is designed for automotive use cases, including sending updates to secondary ECUs that don't have their own internet connection.

link:./linux-secondaries.adoc[linux-secondaries.adoc] - A quick how-to demonstrating aktualizr on a secondary ECU, using two QEMU devices.

link:./opcua-bridge.adoc[opcua-bridge.adoc] - Some basic documentation on getting OPC-UA working. OPC-UA is a protocol for in-vehicle inter-ECU communication.
Expand Down
1 change: 0 additions & 1 deletion docs/configuration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ Options for Uptane.
| `repo_server` | | Image repository server URL. If empty, set to `tls.server` with `/repo` appended.
| `key_source` | `"file"` | Where to read the device's private key from. Options: `"file"`, `"pkcs11"`.
| `key_type` | `"RSA2048"` | Type of cryptographic keys to use. Options: `"ED25519"`, `"RSA2048"`, `"RSA3072"` or `"RSA4096"`.
| `legacy_interface` | | Path to an executable interface for communicating with legacy secondary ECUs. See link:{aktualizr-github-url}/docs/legacysecondary.adoc[] for more information.
|==========================================================================================

== `discovery`
Expand Down
88 changes: 0 additions & 88 deletions docs/legacysecondary.adoc

This file was deleted.

97 changes: 22 additions & 75 deletions docs/secondaries.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,4 @@ add_subdirectory("cert_provider")
add_subdirectory("implicit_writer")
add_subdirectory("hmi_stub")

add_subdirectory("external_secondaries")

add_subdirectory("load_tests")
5 changes: 1 addition & 4 deletions src/aktualizr_primary/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ bpo::variables_map parse_options(int argc, char *argv[]) {
("primary-ecu-serial", bpo::value<std::string>(), "serial number of primary ecu")
("primary-ecu-hardware-id", bpo::value<std::string>(), "hardware ID of primary ecu")
("secondary-config", bpo::value<std::vector<boost::filesystem::path> >()->composing(), "secondary ECU json configuration file")
("legacy-interface", bpo::value<boost::filesystem::path>(), "path to legacy secondary ECU interface program")
("campaign-id", bpo::value<std::string>(), "id of the campaign to act on")
("disable-keyid-validation", "deprecated")
("gateway-socket", bpo::value<bool>(), "deprecated");
("campaign-id", bpo::value<std::string>(), "id of the campaign to act on");
// clang-format on

// consider the first positional argument as the aktualizr running mode
Expand Down
Loading

0 comments on commit 6b0114e

Please sign in to comment.