-
Notifications
You must be signed in to change notification settings - Fork 83
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: Rework SDK to use Interfaces and factory methods #741
refactor: Rework SDK to use Interfaces and factory methods #741
Conversation
Added mocks for interfaces for use is custom service unit tests. Refactored to make better use of the dependency injection container (dic) to propigate the common dependecies throught the layers General file clean up for items flag by IDE as non-standard code. closes #573 Signed-off-by: lenny <[email protected]>
Added mocks for interfaces for use is custom service unit tests. Refactored to make better use of the dependency injection container (dic) to propagate the common dependencies through out the layers General file clean up for items flag by IDE as non-standard code. closes #573 BREAKING CHANGE: App Services will require refactoring to use new interfaces and factory methods Signed-off-by: lenny <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just reviewed some of them, not totally done yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done with PR reviews
Signed-off-by: lenny <[email protected]>
…el/app-functions-sdk-go into refactor-to-interfaces
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Code needed to be refactored to use interfaces and factory methods
Issue Number: #573
What is the new behavior?
Added mocks for interfaces for use is custom service unit tests.
Refactored to make better use of the dependency injection container (dic) to propagate the common dependencies through out the layers
General file clean up for items flag by IDE as non-standard code.
Renamed
OutputData
toResponseData
These ASC draft PR shows the impact of these changes
edgexfoundry/app-service-configurable#214
as well as the changes made to the template app service in this repo
Does this PR introduce a breaking change?
BREAKING CHANGE: App Services will require refactoring to use new interfaces and factory methods
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?
Start your review with these files, then the changes in the other files will make more sense.
Other information