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

Verify that EVSE exists. #531

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

gberardi-pillar
Copy link
Contributor

These changes apply to K01.FR.28.

If the specified EVSE does not exist, then validation should reject it.

@gberardi-pillar
Copy link
Contributor Author

@shankari Please review these changes.

Copy link

@shankari shankari left a comment

Choose a reason for hiding this comment

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

I thought that the PRs would be in draft until I approved them

@@ -27,12 +28,19 @@ enum class ProfileValidationResultEnum {
/// to calculate the composite schedules
class SmartChargingHandler {
private:
std::map<int32_t, std::unique_ptr<Evse>>& evses;
Copy link

@shankari shankari Mar 15, 2024

Choose a reason for hiding this comment

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

Here's another of these static code analysis checkers. Before community review, can you please clarify why this error is not important?

Copy link
Contributor

Choose a reason for hiding this comment

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

This is one of the area where the checker that codacy uses seems to consistently have problems. The member is clearly used in the .cpp but a false positive is raised in the header anyway

@gberardi-pillar gberardi-pillar force-pushed the gberardi/v201-validate-evse branch from 3c06bc9 to 86f569e Compare March 18, 2024 15:47
@gberardi-pillar
Copy link
Contributor Author

@Pietfried @hikinggrass Are you able to review this PR?

Signed-off-by: Gianfranco Berardi <[email protected]>

Capitalization change.

Co-authored-by: Piet Gömpel <[email protected]>
Signed-off-by: Gianfranco Berardi <[email protected]>

Capitalization suggestion.

Co-authored-by: Piet Gömpel <[email protected]>
Signed-off-by: Gianfranco Berardi <[email protected]>

Capitalization suggestion.

Co-authored-by: Piet Gömpel <[email protected]>
Signed-off-by: Gianfranco Berardi <[email protected]>
@gberardi-pillar gberardi-pillar force-pushed the gberardi/v201-validate-evse branch from 2814d15 to c215fd9 Compare March 21, 2024 19:49
@Pietfried Pietfried merged commit 45d7e89 into EVerest:main Mar 21, 2024
3 of 4 checks passed
@drmrd
Copy link
Collaborator

drmrd commented May 2, 2024

Contributes to #361

@gberardi-pillar gberardi-pillar deleted the gberardi/v201-validate-evse branch June 21, 2024 14:59
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.

5 participants