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 #1123, Convert global CFE_SB_Default_Qos to macro #1125

Merged
merged 1 commit into from
Feb 8, 2021

Conversation

skliper
Copy link
Contributor

@skliper skliper commented Jan 25, 2021

Describe the contribution
Fix #1123 - deprecates CFE_SB_Default_Qos and replaces with CFE_SB_DEFAULT_QOS macro that avoids global variable exposure, and removed SB internal defines (they aren't implemented anywhere and are not used). These can be added at the appropriate scope once requirements are defined.

Testing performed
Build and ran unit tests

Expected behavior changes
None

System(s) tested on

  • Hardware: cFS Dev Server
  • OS: Ubuntu 18.04
  • Versions: Bundle integration candidate + this commit

Additional context
@ejtimmon - deprecation of CFE_SB_Default_Qos (coding standard all-caps for macros requires change)
Depends on #1126 to compile with OMIT_DEPRECATED

Third party code
None

Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC

@skliper skliper changed the base branch from main to integration-candidate January 25, 2021 20:59
@skliper skliper added CCB:Ready Ready for discussion at the Configuration Control Board (CCB) dependency labels Jan 25, 2021
@skliper
Copy link
Contributor Author

skliper commented Jan 25, 2021

Fixed docs in 21fe731.

@astrogeco astrogeco added CCB:2021-01-27 and removed CCB:Ready Ready for discussion at the Configuration Control Board (CCB) labels Jan 27, 2021
@astrogeco
Copy link
Contributor

astrogeco commented Jan 27, 2021

CCB:2021-01-27 APPROVED

  • Fixes poor design where CFE_SB_DEFAULT_QOS was a "global" global
  • Needs rebase
  • Removes unused internal settings

@skliper skliper changed the base branch from integration-candidate to main January 27, 2021 19:04
@skliper
Copy link
Contributor Author

skliper commented Jan 27, 2021

@astrogeco fixed, I just had the base branch still at integration-candidate

@astrogeco astrogeco changed the base branch from main to integration-candidate February 8, 2021 15:23
@astrogeco astrogeco merged commit 89a3c04 into nasa:integration-candidate Feb 8, 2021
@skliper skliper deleted the fix1123-extern_qos branch March 23, 2021 13:13
@skliper skliper added this to the 7.0.0 milestone Sep 24, 2021
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.

CFE_SB_Default_Qos exposed globally, with internal defaults, passing structure by value
2 participants