Skip to content

Fix #1123, Convert global CFE_SB_Default_Qos to macro#1125

Merged
astrogeco merged 1 commit intonasa:integration-candidatefrom
skliper:fix1123-extern_qos
Feb 8, 2021
Merged

Fix #1123, Convert global CFE_SB_Default_Qos to macro#1125
astrogeco merged 1 commit intonasa:integration-candidatefrom
skliper:fix1123-extern_qos

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 skliper force-pushed the fix1123-extern_qos branch from c499db4 to 21fe731 Compare January 25, 2021 21:25
@skliper
Copy link
Contributor Author

skliper commented Jan 25, 2021

Fixed docs in 21fe731.

@skliper skliper force-pushed the fix1123-extern_qos branch from 21fe731 to 7a2dcce Compare January 27, 2021 14:42
@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