Skip to content

Commit

Permalink
Merge branch 'master' into add-ireland-changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jpwhitemn authored Jun 24, 2021
2 parents df9013f + 80ba4e2 commit f0738b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require (
bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/edgexfoundry/go-mod-bootstrap/v2 v2.0.0-dev.67
github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0-dev.100
github.com/edgexfoundry/go-mod-core-contracts/v2 v2.0.0-dev.103
github.com/edgexfoundry/go-mod-messaging/v2 v2.0.0-dev.16
github.com/edgexfoundry/go-mod-registry/v2 v2.0.0-dev.8
github.com/edgexfoundry/go-mod-secrets/v2 v2.0.0-dev.26
Expand Down
2 changes: 2 additions & 0 deletions internal/core/metadata/controller/http/deviceprofile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ var testDeviceProfileLabels = []string{"MODBUS", "TEMP"}
var testAttributes = map[string]interface{}{
"TestAttribute": "TestAttributeValue",
}
var testMappings = map[string]string{"0": "off", "1": "on"}

func buildTestDeviceProfileRequest() requests.DeviceProfileRequest {
var testDeviceResources = []dtos.DeviceResource{{
Expand All @@ -58,6 +59,7 @@ func buildTestDeviceProfileRequest() requests.DeviceProfileRequest {
ReadWrite: common.ReadWrite_RW,
ResourceOperations: []dtos.ResourceOperation{{
DeviceResource: TestDeviceResourceName,
Mappings: testMappings,
}},
}}

Expand Down

0 comments on commit f0738b1

Please sign in to comment.