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

refactor: Consolidate function pipeline configuration #728

Merged

Conversation

lenny-goodell
Copy link
Member

@lenny-goodell lenny-goodell commented Mar 2, 2021

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Many function configurations have variations by name that can be consolidated to a single name with a new parameter for the variations.

Issue Number: #725

What is the new behavior?

Collapsed multiple function configurations by use of additional parameter and removed redundant configurations
See issue #725 for details about which function configurations changed.

Does this PR introduce a breaking change?

  • Yes
  • No

BEAKING CHANGE: function pipeline configuration changed

Are there any new imports or modules? If so, what are they used for and why?

no

Are there any specific instructions or things that should be known prior to reviewing?

Other information

Copy link
Contributor

@jim-wang-intel jim-wang-intel left a comment

Choose a reason for hiding this comment

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

minor tweaks, seeing unit test failed

appsdk/configurable.go Outdated Show resolved Hide resolved
appsdk/configurable.go Outdated Show resolved Hide resolved
appsdk/configurable_test.go Outdated Show resolved Hide resolved
@lenny-goodell lenny-goodell force-pushed the consolidate-pipeline-confg branch from 064259c to 81352d5 Compare March 2, 2021 21:53
lenny added 2 commits March 2, 2021 14:54
Collapsed multiple function configurations by use of additional parameter and removed redundant configurations

closes #725

BEAKING CHANGE: function pipeline configuration changed

Signed-off-by: lenny <[email protected]>
@lenny-goodell lenny-goodell force-pushed the consolidate-pipeline-confg branch from 81352d5 to 14530c9 Compare March 2, 2021 21:54
@codecov-io
Copy link

Codecov Report

Merging #728 (14530c9) into master (a1af34c) will decrease coverage by 1.39%.
The diff coverage is 60.47%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #728      +/-   ##
==========================================
- Coverage   66.04%   64.64%   -1.40%     
==========================================
  Files          32       32              
  Lines        2082     2110      +28     
==========================================
- Hits         1375     1364      -11     
- Misses        618      652      +34     
- Partials       89       94       +5     
Impacted Files Coverage Δ
appsdk/configurable.go 63.19% <56.66%> (-10.45%) ⬇️
appsdk/sdk.go 38.88% <94.11%> (+3.42%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a1af34c...14530c9. Read the comment docs.

Copy link
Contributor

@jim-wang-intel jim-wang-intel left a comment

Choose a reason for hiding this comment

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

LGTM

@lenny-goodell lenny-goodell merged commit 4a1f060 into edgexfoundry:master Mar 4, 2021
@lenny-goodell lenny-goodell deleted the consolidate-pipeline-confg branch March 4, 2021 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants