Skip to content

Commit 52b8cea

Browse files
authored
Merge branch 'lorenzodonini:master' into feature/observability
2 parents 44085f8 + b22429c commit 52b8cea

File tree

17 files changed

+25
-17
lines changed

17 files changed

+25
-17
lines changed

.github/workflows/autogen.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,16 @@ jobs:
1717
contents: write
1818

1919
steps:
20-
- name: Checkout code
20+
- name: Checkout (pull request)
2121
uses: actions/checkout@v4
22+
if: github.event_name == 'pull_request'
23+
with:
24+
ref: ${{ github.head_ref }}
25+
repository: ${{ github.event.pull_request.head.repo.full_name }}
26+
27+
- name: Checkout (default)
28+
uses: actions/checkout@v4
29+
if: github.event_name != 'pull_request'
2230
with:
2331
ref: ${{ github.head_ref }}
2432

ocpp2.0.1/authorization/authorization.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type ChargingStationHandler interface {
1515
OnClearCache(request *ClearCacheRequest) (confirmation *ClearCacheResponse, err error)
1616
}
1717

18-
const ProfileName = "authorization"
18+
const ProfileName = "Authorization"
1919

2020
var Profile = ocpp.NewProfile(
2121
ProfileName,

ocpp2.0.1/availability/availability.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type ChargingStationHandler interface {
1818
OnChangeAvailability(request *ChangeAvailabilityRequest) (response *ChangeAvailabilityResponse, err error)
1919
}
2020

21-
const ProfileName = "availability"
21+
const ProfileName = "Availability"
2222

2323
var Profile = ocpp.NewProfile(
2424
ProfileName,

ocpp2.0.1/data/data.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type ChargingStationHandler interface {
1515
OnDataTransfer(request *DataTransferRequest) (confirmation *DataTransferResponse, err error)
1616
}
1717

18-
const ProfileName = "data"
18+
const ProfileName = "Data"
1919

2020
var Profile = ocpp.NewProfile(
2121
ProfileName,

ocpp2.0.1/diagnostics/diagnostics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ type ChargingStationHandler interface {
3333
OnSetVariableMonitoring(request *SetVariableMonitoringRequest) (response *SetVariableMonitoringResponse, err error)
3434
}
3535

36-
const ProfileName = "diagnostics"
36+
const ProfileName = "Diagnostics"
3737

3838
var Profile = ocpp.NewProfile(
3939
ProfileName,

ocpp2.0.1/display/display.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type ChargingStationHandler interface {
1919
OnSetDisplayMessage(request *SetDisplayMessageRequest) (response *SetDisplayMessageResponse, err error)
2020
}
2121

22-
const ProfileName = "display"
22+
const ProfileName = "Display"
2323

2424
var Profile = ocpp.NewProfile(
2525
ProfileName,

ocpp2.0.1/firmware/firmware.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type ChargingStationHandler interface {
2121
OnUpdateFirmware(request *UpdateFirmwareRequest) (response *UpdateFirmwareResponse, err error)
2222
}
2323

24-
const ProfileName = "firmware"
24+
const ProfileName = "Firmware"
2525

2626
var Profile = ocpp.NewProfile(
2727
ProfileName,

ocpp2.0.1/iso15118/iso_15118.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type ChargingStationHandler interface {
2525
OnInstallCertificate(request *InstallCertificateRequest) (response *InstallCertificateResponse, err error)
2626
}
2727

28-
const ProfileName = "iso15118"
28+
const ProfileName = "ISO15118"
2929

3030
var Profile = ocpp.NewProfile(
3131
ProfileName,

ocpp2.0.1/localauth/local_auth_list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type ChargingStationHandler interface {
1616
OnSendLocalList(request *SendLocalListRequest) (response *SendLocalListResponse, err error)
1717
}
1818

19-
const ProfileName = "localAuthList"
19+
const ProfileName = "LocalAuthList"
2020

2121
var Profile = ocpp.NewProfile(
2222
ProfileName,

ocpp2.0.1/meter/meter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type CSMSHandler interface {
1313
type ChargingStationHandler interface {
1414
}
1515

16-
const ProfileName = "meter"
16+
const ProfileName = "Meter"
1717

1818
var Profile = ocpp.NewProfile(
1919
ProfileName,

0 commit comments

Comments
 (0)