-
Notifications
You must be signed in to change notification settings - Fork 59
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
feat(charging): provide the charging stations within a certain area #446
feat(charging): provide the charging stations within a certain area #446
Conversation
...n/java/org/eclipse/mosaic/fed/application/ambassador/util/EventNicenessPriorityRegister.java
Outdated
Show resolved
Hide resolved
...n/java/org/eclipse/mosaic/fed/application/ambassador/util/EventNicenessPriorityRegister.java
Outdated
Show resolved
Hide resolved
.../main/java/org/eclipse/mosaic/interactions/electricity/ChargingStationDiscoveryResponse.java
Outdated
Show resolved
Hide resolved
...java/org/eclipse/mosaic/interactions/electricity/VehicleChargingStationDiscoveryRequest.java
Outdated
Show resolved
Hide resolved
...ation/src/main/java/org/eclipse/mosaic/fed/application/ambassador/ApplicationAmbassador.java
Show resolved
Hide resolved
.../main/java/org/eclipse/mosaic/fed/application/ambassador/simulation/ElectricVehicleUnit.java
Outdated
Show resolved
Hide resolved
...java/org/eclipse/mosaic/interactions/electricity/VehicleChargingStationDiscoveryRequest.java
Outdated
Show resolved
Hide resolved
.../main/java/org/eclipse/mosaic/interactions/electricity/ChargingStationDiscoveryResponse.java
Outdated
Show resolved
Hide resolved
.../main/java/org/eclipse/mosaic/interactions/electricity/ChargingStationDiscoveryResponse.java
Outdated
Show resolved
Hide resolved
.../main/java/org/eclipse/mosaic/fed/application/app/api/os/ElectricVehicleOperatingSystem.java
Outdated
Show resolved
Hide resolved
...n/java/org/eclipse/mosaic/fed/application/ambassador/util/EventNicenessPriorityRegister.java
Outdated
Show resolved
Hide resolved
...ic-objects/src/main/java/org/eclipse/mosaic/lib/objects/electricity/ChargingStationData.java
Outdated
Show resolved
Hide resolved
.../main/java/org/eclipse/mosaic/fed/application/app/api/os/ElectricVehicleOperatingSystem.java
Outdated
Show resolved
Hide resolved
...pse/mosaic/fed/application/ambassador/simulation/electric/objects/ChargingStationObject.java
Outdated
Show resolved
Hide resolved
...pse/mosaic/fed/application/ambassador/simulation/electric/objects/ChargingStationObject.java
Show resolved
Hide resolved
...pse/mosaic/fed/application/ambassador/simulation/electric/providers/ChargingStationTree.java
Outdated
Show resolved
Hide resolved
...pse/mosaic/fed/application/ambassador/simulation/electric/providers/ChargingStationTree.java
Outdated
Show resolved
Hide resolved
...pse/mosaic/fed/application/ambassador/simulation/electric/providers/ChargingStationTree.java
Outdated
Show resolved
Hide resolved
...n/java/org/eclipse/mosaic/fed/application/ambassador/util/EventNicenessPriorityRegister.java
Outdated
Show resolved
Hide resolved
...pse/mosaic/fed/application/ambassador/simulation/electric/providers/ChargingStationTree.java
Outdated
Show resolved
Hide resolved
- Merged contents of ChargingStationTree into ChargingStationIndex - ChargingStationIndex is not abstract anymore - small changes regarding function naming and removal of empty lines
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.
Minor changes required. Also, please check if all unit tests are green, currently, ApplicationAmbassadorTest.processInteraction_ChargingStationRegistration
fails
...se/mosaic/fed/application/ambassador/simulation/electric/providers/ChargingStationIndex.java
Outdated
Show resolved
Hide resolved
...se/mosaic/fed/application/ambassador/simulation/electric/providers/ChargingStationIndex.java
Outdated
Show resolved
Hide resolved
...se/mosaic/fed/application/ambassador/simulation/electric/providers/ChargingStationIndex.java
Outdated
Show resolved
Hide resolved
.../main/java/org/eclipse/mosaic/fed/application/ambassador/simulation/ElectricVehicleUnit.java
Outdated
Show resolved
Hide resolved
...pplication/src/main/java/org/eclipse/mosaic/fed/application/ambassador/SimulationKernel.java
Show resolved
Hide resolved
…ingStationRegistration(...)
...se/mosaic/fed/application/ambassador/simulation/electric/providers/ChargingStationIndex.java
Show resolved
Hide resolved
...pse/mosaic/fed/application/ambassador/simulation/electric/providers/ChargingStationTree.java
Outdated
Show resolved
Hide resolved
...pse/mosaic/fed/application/ambassador/simulation/electric/providers/ChargingStationTree.java
Outdated
Show resolved
Hide resolved
...ation/src/main/java/org/eclipse/mosaic/fed/application/ambassador/ApplicationAmbassador.java
Outdated
Show resolved
Hide resolved
...ation/src/main/java/org/eclipse/mosaic/fed/application/ambassador/ApplicationAmbassador.java
Outdated
Show resolved
Hide resolved
...ation/src/main/java/org/eclipse/mosaic/fed/application/ambassador/ApplicationAmbassador.java
Outdated
Show resolved
Hide resolved
...ation/src/main/java/org/eclipse/mosaic/fed/application/ambassador/ApplicationAmbassador.java
Outdated
Show resolved
Hide resolved
.../main/java/org/eclipse/mosaic/fed/application/ambassador/simulation/ElectricVehicleUnit.java
Show resolved
Hide resolved
...pse/mosaic/fed/application/ambassador/simulation/electric/objects/ChargingStationObject.java
Show resolved
Hide resolved
...se/mosaic/fed/application/ambassador/simulation/electric/providers/ChargingStationIndex.java
Outdated
Show resolved
Hide resolved
.../main/java/org/eclipse/mosaic/fed/application/app/api/os/ElectricVehicleOperatingSystem.java
Show resolved
Hide resolved
…struced when the tree is queried IF a CS was added - implement KdTree.size() (returned constant 0) - udpated Unitest to insert, update and query three CSs
...se/mosaic/fed/application/ambassador/simulation/electric/providers/ChargingStationIndex.java
Outdated
Show resolved
Hide resolved
...se/mosaic/fed/application/ambassador/simulation/electric/providers/ChargingStationIndex.java
Outdated
Show resolved
Hide resolved
...se/mosaic/fed/application/ambassador/simulation/electric/providers/ChargingStationIndex.java
Outdated
Show resolved
Hide resolved
...se/mosaic/fed/application/ambassador/simulation/electric/providers/ChargingStationIndex.java
Outdated
Show resolved
Hide resolved
...n/src/test/java/org/eclipse/mosaic/fed/application/ambassador/ApplicationAmbassadorTest.java
Outdated
Show resolved
Hide resolved
I've resolved all threads regarding the Please look into the remaining open threads and also fix the spotbugs and checkstyle warnings (https://ci.eclipse.org/mosaic/job/mosaic/job/PR-446/). Afterwards, we can go on and finalize this PR |
added new test file for charging station index
…Stations from ApplicationAmbassadorTest
...se/mosaic/fed/application/ambassador/simulation/electric/providers/ChargingStationIndex.java
Outdated
Show resolved
Hide resolved
...se/mosaic/fed/application/ambassador/simulation/electric/providers/ChargingStationIndex.java
Outdated
Show resolved
Hide resolved
...n/src/test/java/org/eclipse/mosaic/fed/application/ambassador/ApplicationAmbassadorTest.java
Outdated
Show resolved
Hide resolved
...n/src/test/java/org/eclipse/mosaic/fed/application/ambassador/ApplicationAmbassadorTest.java
Outdated
Show resolved
Hide resolved
.../eclipse/mosaic/fed/application/ambassador/simulation/electric/ChargingStationIndexTest.java
Show resolved
Hide resolved
.../eclipse/mosaic/fed/application/ambassador/simulation/electric/ChargingStationIndexTest.java
Show resolved
Hide resolved
...n/src/test/java/org/eclipse/mosaic/fed/application/ambassador/ApplicationAmbassadorTest.java
Outdated
Show resolved
Hide resolved
...se/mosaic/fed/application/ambassador/simulation/electric/providers/ChargingStationIndex.java
Outdated
Show resolved
Hide resolved
…ges when processing update, Checkstyle warnings, Spotbug warning
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.
There is some final cleanup todo
Description
Issue(s) related to this PR
Affected parts of the online documentation
Changes in the documentation required?
Definition of Done
Prerequisites
Required
type(scope): description
(in the style of Conventional Commits)enhancement
, orbugfix
)origin/main
has been merged into your Fork.Requested (can be enforced by maintainers)
Special notes to reviewer