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: Renamed GolangRuntime to FunctionPipelineRuntime #1229

Merged
merged 2 commits into from
Nov 30, 2022

Conversation

marcpfuller
Copy link
Contributor

Signed-off-by: Marc-Philippe Fuller [email protected]

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/app-functions-sdk-go/blob/main/.github/CONTRIBUTING.md

PR Checklist

Please check if your PR fulfills the following requirements:

  • I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
  • I am not introducing a new dependency (add notes below if you are)
  • I have added unit tests for the new feature or bug fix (if not, why?) N/A
  • I have fully tested (add details below) this the new feature or bug fix (if not, why?)
  • I have opened a PR for the related docs change (if not, why?)

Testing Instructions

make test

New Dependency Instructions (If applicable)

N/A

@codecov-commenter
Copy link

codecov-commenter commented Nov 28, 2022

Codecov Report

Merging #1229 (9840e4e) into main (0ecd0af) will not change coverage.
The diff coverage is 78.78%.

@@           Coverage Diff           @@
##             main    #1229   +/-   ##
=======================================
  Coverage   66.70%   66.70%           
=======================================
  Files          39       39           
  Lines        3325     3325           
=======================================
  Hits         2218     2218           
  Misses        961      961           
  Partials      146      146           
Impacted Files Coverage Δ
internal/app/service.go 53.82% <0.00%> (ø)
internal/app/triggermessageprocessor.go 50.52% <ø> (ø)
internal/runtime/storeforward.go 54.76% <ø> (ø)
internal/runtime/runtime.go 78.27% <79.59%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@@ -66,8 +66,8 @@ func NewFunctionPipeline(id string, topics []string, transforms []interfaces.App
return pipeline
}

// GolangRuntime represents the golang runtime environment
type GolangRuntime struct {
// AppServiceRuntime represents the golang runtime environment
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// AppServiceRuntime represents the golang runtime environment
// AppServiceRuntime represents the runtime environment for App Services' Functions Pipelines

Copy link
Member

Choose a reason for hiding this comment

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

Would a better name be FunctionsPipelineRuntime or PipelineRuntime since that is what the runtime is about?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think FunctionsPipelinetRuntime would be more descriptive

marcpfuller added a commit to marcpfuller/app-functions-sdk-go that referenced this pull request Nov 29, 2022
lenny-goodell
lenny-goodell previously approved these changes Nov 29, 2022
Copy link
Member

@lenny-goodell lenny-goodell left a comment

Choose a reason for hiding this comment

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

Approve

@lenny-goodell lenny-goodell changed the title fix: Renamed GolangRuntime to AppServiceRuntime fix: Renamed GolangRuntime to FunctionPipelineRuntime Nov 29, 2022
@lenny-goodell lenny-goodell changed the title fix: Renamed GolangRuntime to FunctionPipelineRuntime refactor: Renamed GolangRuntime to FunctionPipelineRuntime Nov 29, 2022
@lenny-goodell lenny-goodell added this to the Minnesota milestone Nov 29, 2022
marcpfuller added a commit to marcpfuller/app-functions-sdk-go that referenced this pull request Nov 30, 2022
@marcpfuller
Copy link
Contributor Author

Approve

I have rebased and fixed all conflicts

lenny-goodell
lenny-goodell previously approved these changes Nov 30, 2022
Copy link
Member

@lenny-goodell lenny-goodell left a comment

Choose a reason for hiding this comment

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

LGTM

rename  Golangruntine to FunctionPipelineRuntime for better readability

Closes edgexfoundry#1199

Signed-off-by: Marc-Philippe Fuller <[email protected]>
Copy link
Member

@lenny-goodell lenny-goodell 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 77b43ae into edgexfoundry:main Nov 30, 2022
@lenny-goodell lenny-goodell linked an issue Nov 30, 2022 that may be closed by this pull request
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.

Change the GolangRuntime to FunctionPipelineRuntime
3 participants