-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[hdpowerview] Restructure DTO classes #13630
[hdpowerview] Restructure DTO classes #13630
Conversation
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
@andrewfg - in order to avoid conflicts when rebasing #13355 towards this after a merge, in your branch beforehand:
For reference:
|
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.
This change causes the HDPowerViewJUnitTests now to fail. The reason is that the test JSON files are located in a relative path from the module path.
I'll have a look at this in the evening, but didn't notice it locally or on build server. Where do you see this? https://ci.openhab.org/job/PR-openHAB-Addons/12015/console
|
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
I don't know how I was able to build and run tests, but I found inconsistencies caused by unsaved changes locally (from refactoring in VS Code). Should be fixed now. |
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
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
@jlaur : I assume you don't want to see that in the release notes ? |
Correct, this is just some renamed files and namespaces without any user impact. |
@jlaur there are still some merge conflicts with the naming adopted in my Gen 3 PR, but I will adapt that PR again to match this one. |
* Extract nested DTO's to separate classes * Rename api to dto * Move test classes into internal * Finish moving of files and fix namespaces Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Extract nested DTO's to separate classes * Rename api to dto * Move test classes into internal * Finish moving of files and fix namespaces Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Extract nested DTO's to separate classes * Rename api to dto * Move test classes into internal * Finish moving of files and fix namespaces Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Extract nested DTO's to separate classes * Rename api to dto * Move test classes into internal * Finish moving of files and fix namespaces Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This PR picks up on small cleanup suggested in #13352:
api
has been renamed todto
.internal
to conform with related classes being tested.Related to: #12678