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

Fix #418, reorganize header files and restructure messages #419

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

jphickey
Copy link
Contributor

Checklist (Please check before submitting)

Describe the contribution
Move the header files to a "config" directory as documented in the CFE guidelines, which allows easier override.

Organize the content to adhere to the patterns.

Specifically - adds a dedicated structure type for each cmd, and also puts the payload into a separate sub-structure.

Command handlers and tests updated accordingly (many of which were simplified).

Fixes #418

Testing performed
Build and run all tests
Execute local file transfer using 2 instances of CFS + CFDP app

Expected behavior changes
Nothing on the external interface changes

System(s) tested on
Debian

Additional context
First step of making CF adhere to current patterns

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

@jphickey jphickey added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Nov 30, 2023
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CodeQL-coding-standard found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.

@jphickey jphickey force-pushed the fix-418-header-reorg branch 3 times, most recently from adff380 to 5b6fc9a Compare November 30, 2023 19:00
@dzbaker
Copy link
Contributor

dzbaker commented Nov 30, 2023

CCB 30 November 2023: Approved pending rebase.

@dzbaker dzbaker added CCB:Provisionally-Approved and removed CCB:Ready Ready for discussion at the Configuration Control Board (CCB) labels Nov 30, 2023
Move the header files to a "config" directory as documented in the CFE
guidelines, which allows easier override.

Organize the content to adhere to the patterns.

Specifically - adds a dedicated structure type for each cmd, and also
puts the payload into a separate sub-structure.

Command handlers and tests updated accordingly (many of which were simplified).
@jphickey jphickey force-pushed the fix-418-header-reorg branch from 5b6fc9a to 323ff05 Compare November 30, 2023 23:17
@jphickey
Copy link
Contributor Author

@dzbaker -- this is now rebased, should be OK

@dzbaker dzbaker merged commit 515e3a8 into nasa:main Dec 5, 2023
17 checks passed
@jphickey jphickey deleted the fix-418-header-reorg branch January 16, 2024 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reorganize headers and structure them according to documented patterns
2 participants