Skip to content

Commit

Permalink
Update to newer alignment package format (#4)
Browse files Browse the repository at this point in the history
* update to newer alignment package format

* update changelog

* remove old aligned from build

* remove last mention of alignment_service

* fix changelog
  • Loading branch information
aschenbecherwespe committed Aug 23, 2022
1 parent ab3165d commit 729f338
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 15 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- DRIFT-492: Port to Github, [PR-1](https://github.com/panda-official/DriftProtocol/pull/1)

### Removed

- Remove AlignedPackage and add meta to PackageInfo, [PR-4](https://github.com/panda-official/DriftProtocol/pull/4)
5 changes: 0 additions & 5 deletions cpp/cmake/ProtobufGen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ set(PROTO_SPEC_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../proto_specs)

# Generate protoc files
set(PROTOBUF_SPEC_FILES
${PROTO_SPEC_ROOT_DIR}/drift_protocol/alignment_service/aligned_package.proto
${PROTO_SPEC_ROOT_DIR}/drift_protocol/common/drift_package.proto
${PROTO_SPEC_ROOT_DIR}/drift_protocol/common/data_payload.proto
${PROTO_SPEC_ROOT_DIR}/drift_protocol/common/status_code.proto
Expand All @@ -12,7 +11,6 @@ set(PROTOBUF_SPEC_FILES
)

set(PROTOBUF_FILES
${CMAKE_BINARY_DIR}/drift_protocol/alignment_service/aligned_package.pb.cc
${CMAKE_BINARY_DIR}/drift_protocol/common/drift_package.pb.cc
${CMAKE_BINARY_DIR}/drift_protocol/common/data_payload.pb.cc
${CMAKE_BINARY_DIR}/drift_protocol/common/status_code.pb.cc
Expand All @@ -23,9 +21,6 @@ set(PROTOBUF_FILES


add_custom_command(OUTPUT ${PROTOBUF_FILES}
COMMAND ${Protobuf_PROTOC_EXECUTABLE} -I=${PROTO_SPEC_ROOT_DIR}/
--cpp_out=${CMAKE_BINARY_DIR} ${PROTO_SPEC_ROOT_DIR}/drift_protocol/alignment_service/*

COMMAND ${Protobuf_PROTOC_EXECUTABLE} -I=${PROTO_SPEC_ROOT_DIR}/
--cpp_out=${CMAKE_BINARY_DIR} ${PROTO_SPEC_ROOT_DIR}/drift_protocol/common/*

Expand Down
10 changes: 0 additions & 10 deletions proto_specs/drift_protocol/alignment_service/aligned_package.proto

This file was deleted.

1 change: 1 addition & 0 deletions proto_specs/drift_protocol/meta/meta_info.proto
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@ message AlignmentInfo {
repeated PackageInfo packages = 1;
message PackageInfo {
string topic = 1; // name of source MQTT topic
MetaInfo meta = 2; // meta information
}
}

0 comments on commit 729f338

Please sign in to comment.