Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send a message when new files are completed #37

Closed
3 tasks done
chillfig opened this issue Jul 12, 2022 · 0 comments · Fixed by #39
Closed
3 tasks done

Send a message when new files are completed #37

chillfig opened this issue Jul 12, 2022 · 0 comments · Fixed by #39
Assignees
Milestone

Comments

@chillfig
Copy link
Contributor

chillfig commented Jul 12, 2022

Checklist (Please check before submitting)

  • I reviewed the Contributing Guide.
  • I reviewed the README file to see if the feature is in the major future work.
  • I performed a cursory search to see if the feature request is relevant, not redundant, nor in conflict with other tickets.

Is your feature request related to a problem? Please describe.
Send a message when new files are completed in DS.

Describe the solution you'd like

  • Initialize and send a message using CFE_MSG_INIT() and CFS_SB_TransmitMsg() respectively.
  • Define a new packet DS_FileCompletePkt_t for a single DS_FileInfo_t payload.
  • Define a new MsgID.
  • May need to include logic that will use "movename" when DS_MOVE_FILES == FALSE and use "filename" when DS_MOVES_FILES == TRUE.
  • This feature will be implemented at the close of a file within the FileCloseDest() function.

Describe alternatives you've considered
None

Additional context
None

Requester Info
Justin Figueroa, ASRC Federal

@chillfig chillfig self-assigned this Jul 12, 2022
@skliper skliper added this to the Draco milestone Jul 14, 2022
chillfig added a commit to chillfig/DS that referenced this issue Jul 21, 2022
chillfig added a commit to chillfig/DS that referenced this issue Jul 21, 2022
Adds reference of DS_FileTransmit() within DS_FileCloseDest()
chillfig added a commit to chillfig/DS that referenced this issue Jul 21, 2022
Adds reference of DS_FileTransmit() within DS_FileCloseDest()
Adds forgotten semi-colon
chillfig added a commit to chillfig/DS that referenced this issue Jul 21, 2022
Adds reference of DS_FileTransmit() within DS_FileCloseDest()
Adds forgotten semi-colon, Changes function header comment
chillfig added a commit to chillfig/DS that referenced this issue Jul 21, 2022
Adds reference of DS_FileTransmit() within DS_FileCloseDest()
Adds forgotten semi-colon, Changes function header comment,
Adds msgid for complete file info, Changes struct header comment
chillfig added a commit to chillfig/DS that referenced this issue Jul 25, 2022
Adds reference of DS_FileTransmit() within DS_FileCloseDest()
Adds forgotten semi-colon, Changes function header comment,
Adds msgid for complete file info, Changes struct header comment
chillfig added a commit to chillfig/DS that referenced this issue Jul 25, 2022
Adds FileStatus as the sole parameter to DS_FileTransmit(), Adds unit test
chillfig added a commit to chillfig/DS that referenced this issue Jul 25, 2022
Adds FileStatus as the sole parameter to DS_FileTransmit(), Adds unit test,
Adds inclusion of ds_apps.h to ds_msg.h, Removes whitespaces
chillfig added a commit to chillfig/DS that referenced this issue Jul 25, 2022
Adds FileStatus as the sole parameter to DS_FileTransmit(), Adds unit test,
Adds inclusion of ds_apps.h to ds_msg.h, Removes whitespaces, Adds dereference
chillfig added a commit to chillfig/DS that referenced this issue Jul 26, 2022
Adds FileStatus as the sole parameter to DS_FileTransmit(), Adds unit test,
Adds inclusion of ds_apps.h to ds_msg.h, Removes whitespaces, Adds dereference,
Adds logic to extract data from FileStatus, Adds copy of Move Directory
chillfig added a commit to chillfig/DS that referenced this issue Jul 27, 2022
Adds FileStatus as the sole parameter to DS_FileTransmit(), Adds unit test,
Adds inclusion of ds_apps.h to ds_msg.h, Removes whitespaces, Adds dereference,
Adds logic to extract data from FileStatus, Adds copy of Move Directory,
Removes ds_apps.h inclusion, Sets OpenState to DS_CLOSED
chillfig added a commit to chillfig/DS that referenced this issue Jul 27, 2022
…plete

Adds unit test, Adds buffer struct, Adds CFE_SB_AllocateMessageBuffer
and CFE_SB_TransmitBuffer
chillfig added a commit to chillfig/DS that referenced this issue Jul 27, 2022
…plete

Adds unit test, Adds buffer struct, Adds CFE_SB_AllocateMessageBuffer
and CFE_SB_TransmitBuffer, Adds pointer cast in CFE_SB_AllocateMessageBuffer
chillfig added a commit to chillfig/DS that referenced this issue Jul 27, 2022
…plete

Adds unit test, Adds buffer struct, Adds CFE_SB_AllocateMessageBuffer
and CFE_SB_TransmitBuffer, Adds pointer cast in CFE_SB_AllocateMessageBuffer,
Adds CFE_SB_ValueToMsgId to CFE_MSG_Init
chillfig added a commit to chillfig/DS that referenced this issue Jul 27, 2022
…plete

Adds unit test, Adds buffer struct, Adds CFE_SB_AllocateMessageBuffer
and CFE_SB_TransmitBuffer, Adds pointer cast in CFE_SB_AllocateMessageBuffer,
Adds CFE_SB_ValueToMsgId to CFE_MSG_Init, Adds & to CFE_SB_TransmitBuffer
chillfig added a commit to chillfig/DS that referenced this issue Jul 27, 2022
…plete

Adds unit test, Adds buffer struct, Adds CFE_SB_AllocateMessageBuffer
and CFE_SB_TransmitBuffer, Adds pointer cast in CFE_SB_AllocateMessageBuffer,
Adds CFE_SB_ValueToMsgId to CFE_MSG_Init, Adds & to CFE_SB_TransmitBuffer,
Adds pointer cast to CFE_SB_TransmitBuffer
chillfig added a commit to chillfig/DS that referenced this issue Jul 27, 2022
…plete

Adds unit test, Adds buffer struct, Adds CFE_SB_AllocateMessageBuffer
and CFE_SB_TransmitBuffer, Adds pointer cast in CFE_SB_AllocateMessageBuffer,
Adds CFE_SB_ValueToMsgId to CFE_MSG_Init, Adds & to CFE_SB_TransmitBuffer,
Adds pointer cast to CFE_SB_TransmitBuffer, Adds format correction
chillfig added a commit to chillfig/DS that referenced this issue Jul 27, 2022
Adds CFE_SB_Buffer_t to DS_FileCompletePkt_t
chillfig added a commit to chillfig/DS that referenced this issue Jul 27, 2022
Adds FileStatus as the sole parameter to DS_FileTransmit(), Adds unit test,
Adds inclusion of ds_apps.h to ds_msg.h, Removes whitespaces, Adds dereference,
Adds logic to extract data from FileStatus, Adds copy of Move Directory,
Removes ds_apps.h inclusion, Sets OpenState to DS_CLOSED,
Adds unit test, Adds buffer struct, Adds CFE_SB_AllocateMessageBuffer
and CFE_SB_TransmitBuffer, Adds pointer cast in CFE_SB_AllocateMessageBuffer,
Adds CFE_SB_ValueToMsgId to CFE_MSG_Init, Adds & to CFE_SB_TransmitBuffer,
Adds pointer cast to CFE_SB_TransmitBuffer, Adds format correction,
Adds CFE_SB_Buffer_t to DS_FileCompletePkt_t, Adds requirement to csv
skliper added a commit to chillfig/DS that referenced this issue Jul 27, 2022
chillfig added a commit to chillfig/DS that referenced this issue Jul 28, 2022
Adds FileStatus as the sole parameter to DS_FileTransmit(), Adds unit test,
Adds inclusion of ds_apps.h to ds_msg.h, Removes whitespaces, Adds dereference,
Adds logic to extract data from FileStatus, Adds copy of Move Directory,
Removes ds_apps.h inclusion, Sets OpenState to DS_CLOSED,
Adds unit test, Adds buffer struct, Adds CFE_SB_AllocateMessageBuffer
and CFE_SB_TransmitBuffer, Adds pointer cast in CFE_SB_AllocateMessageBuffer,
Adds CFE_SB_ValueToMsgId to CFE_MSG_Init, Adds & to CFE_SB_TransmitBuffer,
Adds pointer cast to CFE_SB_TransmitBuffer, Adds format correction,
Adds CFE_SB_Buffer_t to DS_FileCompletePkt_t, Adds requirement to csv,
Update software buffer use to work correctly, Corrects whitespace in csv
chillfig added a commit to chillfig/DS that referenced this issue Jul 28, 2022
Adds FileStatus as the sole parameter to DS_FileTransmit(), Adds unit test,
Adds inclusion of ds_apps.h to ds_msg.h, Removes whitespaces, Adds dereference,
Adds logic to extract data from FileStatus, Adds copy of Move Directory,
Removes ds_apps.h inclusion, Sets OpenState to DS_CLOSED,
Adds unit test, Adds buffer struct, Adds CFE_SB_AllocateMessageBuffer
and CFE_SB_TransmitBuffer, Adds pointer cast in CFE_SB_AllocateMessageBuffer,
Adds CFE_SB_ValueToMsgId to CFE_MSG_Init, Adds & to CFE_SB_TransmitBuffer,
Adds pointer cast to CFE_SB_TransmitBuffer, Adds format correction,
Adds CFE_SB_Buffer_t to DS_FileCompletePkt_t, Adds requirement to csv,
Update software buffer use to work correctly, Corrects whitespace in csv
chillfig added a commit to chillfig/DS that referenced this issue Jul 28, 2022
chillfig added a commit to chillfig/DS that referenced this issue Jul 28, 2022
chillfig added a commit to chillfig/DS that referenced this issue Jul 28, 2022
chillfig added a commit to chillfig/DS that referenced this issue Jul 28, 2022
chillfig added a commit to chillfig/DS that referenced this issue Jul 28, 2022
Adds FileStatus as the sole parameter to DS_FileTransmit(), Adds unit test,
Adds inclusion of ds_apps.h to ds_msg.h, Removes whitespaces, Adds dereference,
Adds logic to extract data from FileStatus, Adds copy of Move Directory,
Removes ds_apps.h inclusion, Sets OpenState to DS_CLOSED,
Adds unit test, Adds buffer struct, Adds CFE_SB_AllocateMessageBuffer
and CFE_SB_TransmitBuffer, Adds pointer cast in CFE_SB_AllocateMessageBuffer,
Adds CFE_SB_ValueToMsgId to CFE_MSG_Init, Adds & to CFE_SB_TransmitBuffer,
Adds pointer cast to CFE_SB_TransmitBuffer, Adds format correction,
Adds CFE_SB_Buffer_t to DS_FileCompletePkt_t, Adds requirement to csv,
Update software buffer use to work correctly, Corrects whitespace in csv,
Adds buffer to unit test
chillfig added a commit to chillfig/DS that referenced this issue Aug 2, 2022
Adds FileStatus as the sole parameter to DS_FileTransmit(), Adds unit test,
Adds inclusion of ds_apps.h to ds_msg.h, Removes whitespaces, Adds dereference,
Adds logic to extract data from FileStatus, Adds copy of Move Directory,
Removes ds_apps.h inclusion, Sets OpenState to DS_CLOSED,
Adds unit test, Adds buffer struct, Adds CFE_SB_AllocateMessageBuffer
and CFE_SB_TransmitBuffer, Adds pointer cast in CFE_SB_AllocateMessageBuffer,
Adds CFE_SB_ValueToMsgId to CFE_MSG_Init, Adds & to CFE_SB_TransmitBuffer,
Adds pointer cast to CFE_SB_TransmitBuffer, Adds format correction,
Adds CFE_SB_Buffer_t to DS_FileCompletePkt_t, Adds requirement to csv,
Update software buffer use to work correctly, Corrects whitespace in csv,
Adds buffer to unit test, Adds comment changes for doxygen and readability
chillfig added a commit to chillfig/DS that referenced this issue Aug 2, 2022
Adds FileStatus as the sole parameter to DS_FileTransmit(), Adds unit test,
Adds inclusion of ds_apps.h to ds_msg.h, Removes whitespaces, Adds dereference,
Adds logic to extract data from FileStatus, Adds copy of Move Directory,
Removes ds_apps.h inclusion, Sets OpenState to DS_CLOSED,
Adds unit test, Adds buffer struct, Adds CFE_SB_AllocateMessageBuffer
and CFE_SB_TransmitBuffer, Adds pointer cast in CFE_SB_AllocateMessageBuffer,
Adds CFE_SB_ValueToMsgId to CFE_MSG_Init, Adds & to CFE_SB_TransmitBuffer,
Adds pointer cast to CFE_SB_TransmitBuffer, Adds format correction,
Adds CFE_SB_Buffer_t to DS_FileCompletePkt_t, Adds requirement to csv,
Update software buffer use to work correctly, Corrects whitespace in csv,
Adds buffer to unit test, Adds comment changes for doxygen and readability
chillfig added a commit to chillfig/DS that referenced this issue Aug 2, 2022
Adds FileStatus as the sole parameter to DS_FileTransmit(), Adds unit test,
Adds inclusion of ds_apps.h to ds_msg.h, Removes whitespaces, Adds dereference,
Adds logic to extract data from FileStatus, Adds copy of Move Directory,
Removes ds_apps.h inclusion, Sets OpenState to DS_CLOSED,
Adds unit test, Adds buffer struct, Adds CFE_SB_AllocateMessageBuffer
and CFE_SB_TransmitBuffer, Adds pointer cast in CFE_SB_AllocateMessageBuffer,
Adds CFE_SB_ValueToMsgId to CFE_MSG_Init, Adds & to CFE_SB_TransmitBuffer,
Adds pointer cast to CFE_SB_TransmitBuffer, Adds format correction,
Adds CFE_SB_Buffer_t to DS_FileCompletePkt_t, Adds requirement to csv,
Update software buffer use to work correctly, Corrects whitespace in csv,
Adds buffer to unit test, Adds comment changes for doxygen and readability
chillfig added a commit to chillfig/DS that referenced this issue Aug 2, 2022
Adds FileStatus as the sole parameter to DS_FileTransmit(), Adds unit test,
Adds inclusion of ds_apps.h to ds_msg.h, Removes whitespaces, Adds dereference,
Adds logic to extract data from FileStatus, Adds copy of Move Directory,
Removes ds_apps.h inclusion, Sets OpenState to DS_CLOSED,
Adds unit test, Adds buffer struct, Adds CFE_SB_AllocateMessageBuffer
and CFE_SB_TransmitBuffer, Adds pointer cast in CFE_SB_AllocateMessageBuffer,
Adds CFE_SB_ValueToMsgId to CFE_MSG_Init, Adds & to CFE_SB_TransmitBuffer,
Adds pointer cast to CFE_SB_TransmitBuffer, Adds format correction,
Adds CFE_SB_Buffer_t to DS_FileCompletePkt_t, Adds requirement to csv,
Update software buffer use to work correctly, Corrects whitespace in csv,
Adds buffer to unit test, Adds comment changes for doxygen and readability,
Changes \sa references in comment header of DS_FileTransmit()
chillfig added a commit to chillfig/DS that referenced this issue Aug 2, 2022
Adds FileStatus as the sole parameter to DS_FileTransmit(), Adds unit test,
Adds inclusion of ds_apps.h to ds_msg.h, Removes whitespaces, Adds dereference,
Adds logic to extract data from FileStatus, Adds copy of Move Directory,
Removes ds_apps.h inclusion, Sets OpenState to DS_CLOSED,
Adds unit test, Adds buffer struct, Adds CFE_SB_AllocateMessageBuffer
and CFE_SB_TransmitBuffer, Adds pointer cast in CFE_SB_AllocateMessageBuffer,
Adds CFE_SB_ValueToMsgId to CFE_MSG_Init, Adds & to CFE_SB_TransmitBuffer,
Adds pointer cast to CFE_SB_TransmitBuffer, Adds format correction,
Adds CFE_SB_Buffer_t to DS_FileCompletePkt_t, Adds requirement to csv,
Update software buffer use to work correctly, Corrects whitespace in csv,
Adds buffer to unit test, Adds comment changes for doxygen and readability,
Changes \sa references in comment header of DS_FileTransmit(),
Adds DS_FileCompletePktBuf_t element comments
dzbaker added a commit that referenced this issue Aug 3, 2022
Fix #37, Sends message when file complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants