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

Asset type input factories #26

Merged
merged 28 commits into from
Feb 13, 2020
Merged

Asset type input factories #26

merged 28 commits into from
Feb 13, 2020

Conversation

sebastian-peter
Copy link
Member

@sebastian-peter sebastian-peter commented Feb 4, 2020

Addresses parts of #16

@codecov
Copy link

codecov bot commented Feb 4, 2020

Codecov Report

Merging #26 into master will increase coverage by 0.79%.
The diff coverage is 62.71%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #26      +/-   ##
============================================
+ Coverage     32.58%   33.37%   +0.79%     
- Complexity      283      297      +14     
============================================
  Files           114      118       +4     
  Lines          2434     2514      +80     
  Branches        406      416      +10     
============================================
+ Hits            793      839      +46     
- Misses         1618     1650      +32     
- Partials         23       25       +2
Impacted Files Coverage Δ Complexity Δ
.../models/input/thermal/CylindricalStorageInput.java 0% <0%> (ø) 0 <0> (?)
src/main/java/edu/ie3/io/FileNamingStrategy.java 88.23% <100%> (ø) 18 <0> (ø) ⬇️
src/main/java/edu/ie3/models/StandardUnits.java 95.45% <100%> (+0.33%) 1 <0> (ø) ⬇️
...ain/java/edu/ie3/io/processor/EntityProcessor.java 87.5% <100%> (+2.08%) 17 <0> (+2) ⬆️
.../ie3/models/result/thermal/ThermalHouseResult.java 26.66% <26.66%> (ø) 2 <2> (?)
...odels/result/thermal/CylindricalStorageResult.java 46.66% <46.66%> (ø) 3 <3> (?)
...e3/models/result/thermal/ThermalStorageResult.java 46.66% <46.66%> (ø) 3 <3> (?)
...u/ie3/models/result/thermal/ThermalUnitResult.java 46.66% <46.66%> (ø) 3 <3> (?)
...u/ie3/models/result/thermal/ThermalSinkResult.java 50% <50%> (ø) 1 <1> (?)
...du/ie3/io/factory/result/ThermalResultFactory.java 81.81% <81.81%> (ø) 7 <7> (?)
... and 6 more

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 a5eba5a...fb4a915. Read the comment docs.

@sebastian-peter sebastian-peter changed the title Sp/#16 input factories More inpuct factories Feb 4, 2020
@sebastian-peter sebastian-peter changed the title More inpuct factories Asset type input factories Feb 5, 2020
@johanneshiry johanneshiry self-requested a review February 5, 2020 13:47
@johanneshiry johanneshiry added this to In progress in TaskBoard via automation Feb 5, 2020
@johanneshiry johanneshiry added the enhancement New feature or request label Feb 5, 2020
@sebastian-peter sebastian-peter marked this pull request as ready for review February 5, 2020 15:40
@sebastian-peter sebastian-peter moved this from In progress to Review in progress in TaskBoard Feb 5, 2020
@sebastian-peter sebastian-peter self-assigned this Feb 5, 2020
Copy link
Member

@johanneshiry johanneshiry left a comment

Choose a reason for hiding this comment

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

Really good work and nice to read code.

Added some remarks on things that where unclear to me as well as some stylistic stuff.
Willing to merge if these things are resolved.

Thank you for the good work! 👍

# Conflicts:
#	src/main/java/edu/ie3/io/factory/result/ThermalSinkResultFactory.java
#	src/test/groovy/edu/ie3/io/factory/result/ThermalSinkResultFactoryTest.groovy
@sebastian-peter
Copy link
Member Author

It would be nice if this branch could be merged soon, as I spend most of my day today merging ever-new changes from master.

There is a problem now within SystemParticipantTypeInputFactory because ChpTypeInput now needs ThermalStorageInput to be built. I guess this is a case for a special complex entity factory, but probably we should talk about this beforehand.

@johanneshiry
Copy link
Member

It would be nice if this branch could be merged soon, as I spend most of my day today merging ever-new changes from master.

There is a problem now within SystemParticipantTypeInputFactory because ChpTypeInput now needs ThermalStorageInput to be built. I guess this is a case for a special complex entity factory, but probably we should talk about this beforehand.

Thanks for your work. I'll merge it now and opened a new issue for the ChpTypeInput (see #39). Please let me know when you're in office again so that we can talk about that.

TaskBoard automation moved this from Review in progress to Reviewer approved Feb 13, 2020
@johanneshiry johanneshiry merged commit c17064b into master Feb 13, 2020
TaskBoard automation moved this from Reviewer approved to Done Feb 13, 2020
@sebastian-peter sebastian-peter linked an issue Feb 13, 2020 that may be closed by this pull request
@sebastian-peter sebastian-peter deleted the sp/#16-input-factories branch February 18, 2020 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
TaskBoard
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants