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

Refactor/rename v201 to v2 #991

Merged
merged 2 commits into from
Feb 24, 2025

* Renamed all occurances of v201 to v2 and V201 to V2

7c69398
Select commit
Loading
Failed to load commit list.
Merged

Refactor/rename v201 to v2 #991

* Renamed all occurances of v201 to v2 and V201 to V2
7c69398
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Feb 24, 2025 in 0s

4 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
- Added 4
           

Clones added
============
- lib/ocpp/v2/messages/SetMonitoringLevel.cpp  11
- lib/ocpp/v2/messages/SendLocalList.cpp  8
- include/ocpp/v2/functional_blocks/remote_transaction_control.hpp  1
- lib/ocpp/v2/messages/Authorize.cpp  1
- include/ocpp/v2/evse.hpp  13
- include/ocpp/v2/messages/StatusNotification.hpp  2
- tests/lib/ocpp/v2/smart_charging_test_utils.hpp  6
- lib/ocpp/v2/messages/DeleteCertificate.cpp  7
- lib/ocpp/v2/messages/UpdateFirmware.cpp  13
- lib/ocpp/v2/evse.cpp  16
- include/ocpp/v2/messages/CancelReservation.hpp  2
- lib/ocpp/v2/messages/SetNetworkProfile.cpp  6
- lib/ocpp/v2/messages/SetMonitoringBase.cpp  8
- lib/ocpp/v2/messages/CertificateSigned.cpp  9
- lib/ocpp/v2/messages/GetLog.cpp  15
- tests/lib/ocpp/v2/test_composite_schedule.cpp  83
- lib/ocpp/v2/messages/SecurityEventNotification.cpp  3
- lib/ocpp/v2/functional_blocks/data_transfer.cpp  1
- include/ocpp/v2/messages/ClearCache.hpp  2
- include/ocpp/v2/messages/DeleteCertificate.hpp  2
- lib/ocpp/v2/functional_blocks/tariff_and_cost.cpp  2
- include/ocpp/v2/messages/LogStatusNotification.hpp  2
- include/ocpp/v2/messages/GetLocalListVersion.hpp  2
- tests/lib/ocpp/v2/functional_blocks/test_data_transfer.cpp  8
- tests/lib/ocpp/v2/functional_blocks/test_authorization.cpp  244
- include/ocpp/v2/messages/GetLog.hpp  2
- lib/ocpp/v2/message_dispatcher.cpp  2
- lib/ocpp/v2/device_model.cpp  3
- include/ocpp/v2/message_dispatcher.hpp  1
- include/ocpp/v2/messages/ClearChargingProfile.hpp  2
- lib/ocpp/v2/messages/BootNotification.cpp  7
- lib/ocpp/v2/ocpp_types.cpp  57
- lib/ocpp/v2/messages/GetLocalListVersion.cpp  1
- include/ocpp/v2/functional_blocks/smart_charging.hpp  1
- lib/ocpp/v2/messages/InstallCertificate.cpp  7
- lib/ocpp/v2/messages/PublishFirmware.cpp  17
- lib/ocpp/v2/messages/ClearedChargingLimit.cpp  7
- lib/ocpp/v2/utils.cpp  1
- lib/ocpp/v2/messages/SetChargingProfile.cpp  7
- lib/ocpp/v2/messages/GetCertificateStatus.cpp  5
- include/ocpp/v2/messages/CertificateSigned.hpp  2
- lib/ocpp/v2/functional_blocks/remote_transaction_control.cpp  1
- include/ocpp/v2/device_model.hpp  2
- lib/ocpp/v2/messages/NotifyEVChargingNeeds.cpp  6
- tests/lib/ocpp/v2/test_charge_point.cpp  17
- lib/ocpp/v2/messages/TriggerMessage.cpp  10
- include/ocpp/v2/messages/UpdateFirmware.hpp  2
- tests/lib/ocpp/v2/test_component_state_manager.cpp  10
- lib/ocpp/v2/monitoring_updater.cpp  1
- include/ocpp/v2/messages/SendLocalList.hpp  2
- lib/ocpp/v2/device_model_storage_sqlite.cpp  1
- include/ocpp/v2/profile.hpp  1
- include/ocpp/v2/messages/InstallCertificate.hpp  2
- tests/lib/ocpp/v2/test_profile.cpp  4
- lib/ocpp/v2/messages/GetDisplayMessages.cpp  6
- include/ocpp/v2/messages/SignCertificate.hpp  2
- tests/lib/ocpp/v2/test_database_handler.cpp  99
- lib/ocpp/v2/messages/ClearChargingProfile.cpp  7
- lib/ocpp/v2/messages/CostUpdated.cpp  1
- lib/ocpp/v2/messages/NotifyEVChargingSchedule.cpp  10
- lib/ocpp/v2/messages/MeterValues.cpp  1
- include/ocpp/v2/charge_point.hpp  17
- lib/ocpp/v2/messages/GetCompositeSchedule.cpp  8
- lib/ocpp/v2/init_device_model_db.cpp  2
- lib/ocpp/v2/messages/ChangeAvailability.cpp  10
- lib/ocpp/v2/functional_blocks/authorization.cpp  1
- lib/ocpp/v2/messages/ClearDisplayMessage.cpp  6
- include/ocpp/v2/messages/TriggerMessage.hpp  2
- lib/ocpp/v2/messages/GetReport.cpp  10
- include/ocpp/v2/messages/ReserveNow.hpp  2
- tests/lib/ocpp/v2/test_device_model.cpp  6
- include/ocpp/v2/evse_manager.hpp  3
- lib/ocpp/v2/functional_blocks/provisioning.cpp  3
- lib/ocpp/v2/messages/NotifyEvent.cpp  2
- include/ocpp/v2/messages/GetInstalledCertificateIds.hpp  2
- include/ocpp/v2/messages/FirmwareStatusNotification.hpp  2
- lib/ocpp/v2/messages/ReportChargingProfiles.cpp  3
- include/ocpp/v2/messages/BootNotification.hpp  2
- tests/lib/ocpp/v2/device_model_test_helper.cpp  14
- lib/ocpp/v2/messages/NotifyCustomerInformation.cpp  3
- include/ocpp/v2/functional_blocks/provisioning.hpp  2
- lib/ocpp/v2/ocpp_enums.cpp  1
- lib/ocpp/v2/messages/GetBaseReport.cpp  8
- include/ocpp/v2/messages/SetChargingProfile.hpp  2
- tests/lib/ocpp/v2/functional_blocks/test_reservation.cpp  76
- tests/lib/ocpp/v2/test_ocsp_updater.cpp  30
- lib/ocpp/v2/database_handler.cpp  3
- include/ocpp/v2/messages/DataTransfer.hpp  2
- lib/ocpp/v2/messages/SetDisplayMessage.cpp  6
- lib/ocpp/v2/messages/CustomerInformation.cpp  6
- lib/ocpp/v2/messages/RequestStartTransaction.cpp  10
- lib/ocpp/v2/profile.cpp  10
- lib/ocpp/v2/messages/UnlockConnector.cpp  8
- lib/ocpp/v2/messages/Heartbeat.cpp  1
- lib/ocpp/v2/messages/ReserveNow.cpp  8
- lib/ocpp/v2/messages/SignCertificate.cpp  13
- lib/ocpp/v2/messages/Get15118EVCertificate.cpp  3
- lib/ocpp/v2/messages/GetChargingProfiles.cpp  10
- lib/ocpp/v2/charge_point.cpp  17
- lib/ocpp/v2/messages/Reset.cpp  13
- lib/ocpp/v2/messages/FirmwareStatusNotification.cpp  3
- lib/ocpp/v2/messages/ClearCache.cpp  7
- lib/ocpp/v2/evse_manager.cpp  4
- tests/lib/ocpp/v2/mocks/evse_manager_fake.hpp  2
- include/ocpp/v2/messages/Authorize.hpp  2
- lib/ocpp/v2/messages/DataTransfer.cpp  8
- include/ocpp/v2/functional_blocks/data_transfer.hpp  2
- include/ocpp/v2/messages/Heartbeat.hpp  2
- tests/lib/ocpp/v2/functional_blocks/test_smart_charging.cpp  137
- tests/lib/ocpp/v2/functional_blocks/test_security.cpp  118
- include/ocpp/v2/functional_blocks/transaction.hpp  15
- include/ocpp/v2/messages/ChangeAvailability.hpp  2
- lib/ocpp/v2/types.cpp  5
- include/ocpp/v2/messages/Reset.hpp  2
- include/ocpp/v2/messages/SecurityEventNotification.hpp  2
- include/ocpp/v2/messages/UnlockConnector.hpp  2
- include/ocpp/v2/messages/GetCompositeSchedule.hpp  2
- lib/ocpp/v2/functional_blocks/transaction.cpp  6
- lib/ocpp/v2/messages/RequestStopTransaction.cpp  9
- include/ocpp/v2/ocpp_types.hpp  2
- tests/lib/ocpp/v2/mocks/evse_mock.hpp  1
- include/ocpp/v2/messages/MeterValues.hpp  2
- lib/ocpp/v2/messages/GetMonitoringReport.cpp  10
- lib/ocpp/v2/messages/CancelReservation.cpp  7
- lib/ocpp/v2/messages/LogStatusNotification.cpp  3
- tests/lib/ocpp/v2/test_notify_report_requests_splitter.cpp  6
- tests/lib/ocpp/v2/test_init_device_model_db.cpp  24
- tests/lib/ocpp/v2/device_model_test_helper.hpp  11
- lib/ocpp/v2/messages/GetInstalledCertificateIds.cpp  6
- lib/ocpp/v2/messages/StatusNotification.cpp  2
         

See the complete overview on Codacy

Annotations

Check notice on line 47 in doc/common/getting_started.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

doc/common/getting_started.md#L47

Expected: 80; Actual: 86

Check notice on line 72 in doc/common/getting_started.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

doc/common/getting_started.md#L72

Expected: 80; Actual: 234

Check notice on line 13 in doc/v2/getting_started.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

doc/v2/getting_started.md#L13

Expected: 80; Actual: 146

Check notice on line 12 in doc/v2/ocpp_201_device_model_initialization.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

doc/v2/ocpp_201_device_model_initialization.md#L12

Lists should be surrounded by blank lines