Save profile data on the server side #1360
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
What is implemented or fixed? Mention the linked issue(s), if any.
Implement [data interfacing] save profile data at the server-side (backend) #1342.
How does this PR solve the issue? Give a brief summary.
Create a class
DataExporter
to handle the export of profile data on the server side. The frontend sendsCARTA::EventType::EXPORT_DATA
withCARTA::ExportData
message to the backend. The backend repliesCARTA::EventType::EXPORT_DATA_ACK
withCARTA::ExportDataAck
message to indicate whether the data export is successful or not. Note that the profile data file can not be saved on the directory that does not exist.Are there any companion PRs (frontend, protobuf)?
It requires changes in the frontend and protobuf (temporary branch: mark/save_profile_data).
Is there anything else that testers should know (e.g. exactly how to reproduce the issue)?
Checklist
/ no changelog update needed/ no protobuf update needed