Skip to content

Commit

Permalink
refactor: Consume MakeItRun rename to Run (#198)
Browse files Browse the repository at this point in the history
* feat: Upgrade ibm-mqtt-export configurable example to V3

Signed-off-by: Leonard Goodell <[email protected]>
  • Loading branch information
Lenny Goodell authored May 9, 2023
1 parent 0efe153 commit 8c3d355
Show file tree
Hide file tree
Showing 18 changed files with 84 additions and 84 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module advanced-filter-convert-publish
go 1.18

require (
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.59
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.39
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.61
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.40
)

require (
Expand All @@ -13,11 +13,11 @@ require (
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
github.com/diegoholiveira/jsonlogic/v3 v3.2.7 // indirect
github.com/eclipse/paho.mqtt.golang v1.4.2 // indirect
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.79 // indirect
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.81 // indirect
github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.10 // indirect
github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.28 // indirect
github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.7 // indirect
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.14 // indirect
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.15 // indirect
github.com/fatih/color v1.9.0 // indirect
github.com/fxamacker/cbor/v2 v2.4.0 // indirect
github.com/go-jose/go-jose/v3 v3.0.0 // indirect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@ github.com/diegoholiveira/jsonlogic/v3 v3.2.7 h1:awX07pFPnlntZzRNBcO4a2Ivxa77NMt
github.com/diegoholiveira/jsonlogic/v3 v3.2.7/go.mod h1:9oE8z9G+0OMxOoLHF3fhek3KuqD5CBqM0B6XFL08MSg=
github.com/eclipse/paho.mqtt.golang v1.4.2 h1:66wOzfUHSSI1zamx7jR6yMEI5EuHnT1G6rNA5PM12m4=
github.com/eclipse/paho.mqtt.golang v1.4.2/go.mod h1:JGt0RsEwEX+Xa/agj90YJ9d9DH2b7upDZMK9HRbFvCA=
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.59 h1:0cRrMpjJ9Sg2LXKUsi92qyKjePGqpZ6d2orgCsubnDE=
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.59/go.mod h1:jhYiizj61F0td/hsBwDiY+8OcReXg+Qs4e9GzV7MF9I=
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.79 h1:KRgTkaR36hfijNXfyPr0r/D0Ysc0GMinpC5CVu51ocs=
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.79/go.mod h1:oXI84yFlBa+wNwX92tU7hYLaq/XwhUuBgiVGRLzZpMs=
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.61 h1:uDqSHsjYz5X+iGkzimp9OEaaTjQEATDi6++5XeMWi2I=
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.61/go.mod h1:UKQ5z+GPia1nm6GV9bPfA//qtsXpTFJ4aaNLIE8WfbM=
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.81 h1:h5nfqRxNzd3c27G4hVczG4b3Z5m1u7l5shbgRS0X2Kg=
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.81/go.mod h1:DkbiITVp5Dajs61zQMdBCsFLvBp0ww8DWncpB1y3FtM=
github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.10 h1:iDuAO3vpBQnlQuFhai/NATbJkiYXxo3bPCtSnFl07Yw=
github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.10/go.mod h1:8RlYm5CPzZgUsfXDWVP1TIeUMhsDNIdRdj1HXdomtOI=
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.39 h1:tlw1Bd/hq4D6PQFo3BaN0JUkSqDuAPduaGBYCvoEYTg=
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.39/go.mod h1:zzzWGWij6wAqm1go9TLs++TFMIsBqBb1eRnIj4mRxGw=
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.40 h1:30hNBz5Hrhp4gRBs3oXJaOIAtklZ+yrD5EqVXjlwRgE=
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.40/go.mod h1:zzzWGWij6wAqm1go9TLs++TFMIsBqBb1eRnIj4mRxGw=
github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.28 h1:7i64Llcg8xRS/kuMDRPcBP0NuKS3tbeiGm0Rz1kUrco=
github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.28/go.mod h1:/hUUM2+h8ajcQlNuyxCM6PeDE1Tz1S/EfvR4TmJAja8=
github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.7 h1:sje0agoLi8ayEFxGO3xtN7P/IXwjZUUxpC8G2fCTu44=
github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.7/go.mod h1:SGyo4fAHzOhDAd2Usa9RaBT/sOzkbceIqLrDG0+iYy8=
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.14 h1:2jG1CBKBXPQdkM8AN1PweaTIaCgudZ6tua/BBBHgq+A=
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.14/go.mod h1:FRKg6x/tVpYHfy/aMy5flTxxw3+YeYaQds8csCUqNTE=
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.15 h1:i58fwqZYksuC6IkdDENBluE7084tBn4O5uv4oV4I1mI=
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.15/go.mod h1:+JOtlbiePy66w2zsUFdSWC9fWoL9xPceKdbE98IZFHc=
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s=
github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ func main() {

// 4) Lastly, we'll go ahead and tell the SDK to "start" and begin listening for events
// to trigger the pipeline.
err = service.MakeItRun()
err = service.Run()
if err != nil {
lc.Error("MakeItRun returned error: ", err.Error())
lc.Error("Run returned error: ", err.Error())
os.Exit(-1)
}

Expand Down
8 changes: 4 additions & 4 deletions application-services/custom/advanced-target-type/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ module advanced-target-type

go 1.20

require github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.59
require github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.61

require (
github.com/Microsoft/go-winio v0.6.0 // indirect
github.com/armon/go-metrics v0.3.10 // indirect
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
github.com/diegoholiveira/jsonlogic/v3 v3.2.7 // indirect
github.com/eclipse/paho.mqtt.golang v1.4.2 // indirect
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.79 // indirect
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.81 // indirect
github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.10 // indirect
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.39 // indirect
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.40 // indirect
github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.28 // indirect
github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.7 // indirect
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.14 // indirect
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.15 // indirect
github.com/fatih/color v1.9.0 // indirect
github.com/fxamacker/cbor/v2 v2.4.0 // indirect
github.com/go-jose/go-jose/v3 v3.0.0 // indirect
Expand Down
16 changes: 8 additions & 8 deletions application-services/custom/advanced-target-type/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@ github.com/diegoholiveira/jsonlogic/v3 v3.2.7 h1:awX07pFPnlntZzRNBcO4a2Ivxa77NMt
github.com/diegoholiveira/jsonlogic/v3 v3.2.7/go.mod h1:9oE8z9G+0OMxOoLHF3fhek3KuqD5CBqM0B6XFL08MSg=
github.com/eclipse/paho.mqtt.golang v1.4.2 h1:66wOzfUHSSI1zamx7jR6yMEI5EuHnT1G6rNA5PM12m4=
github.com/eclipse/paho.mqtt.golang v1.4.2/go.mod h1:JGt0RsEwEX+Xa/agj90YJ9d9DH2b7upDZMK9HRbFvCA=
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.59 h1:0cRrMpjJ9Sg2LXKUsi92qyKjePGqpZ6d2orgCsubnDE=
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.59/go.mod h1:jhYiizj61F0td/hsBwDiY+8OcReXg+Qs4e9GzV7MF9I=
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.79 h1:KRgTkaR36hfijNXfyPr0r/D0Ysc0GMinpC5CVu51ocs=
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.79/go.mod h1:oXI84yFlBa+wNwX92tU7hYLaq/XwhUuBgiVGRLzZpMs=
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.61 h1:uDqSHsjYz5X+iGkzimp9OEaaTjQEATDi6++5XeMWi2I=
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.61/go.mod h1:UKQ5z+GPia1nm6GV9bPfA//qtsXpTFJ4aaNLIE8WfbM=
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.81 h1:h5nfqRxNzd3c27G4hVczG4b3Z5m1u7l5shbgRS0X2Kg=
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.81/go.mod h1:DkbiITVp5Dajs61zQMdBCsFLvBp0ww8DWncpB1y3FtM=
github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.10 h1:iDuAO3vpBQnlQuFhai/NATbJkiYXxo3bPCtSnFl07Yw=
github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.10/go.mod h1:8RlYm5CPzZgUsfXDWVP1TIeUMhsDNIdRdj1HXdomtOI=
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.39 h1:tlw1Bd/hq4D6PQFo3BaN0JUkSqDuAPduaGBYCvoEYTg=
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.39/go.mod h1:zzzWGWij6wAqm1go9TLs++TFMIsBqBb1eRnIj4mRxGw=
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.40 h1:30hNBz5Hrhp4gRBs3oXJaOIAtklZ+yrD5EqVXjlwRgE=
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.40/go.mod h1:zzzWGWij6wAqm1go9TLs++TFMIsBqBb1eRnIj4mRxGw=
github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.28 h1:7i64Llcg8xRS/kuMDRPcBP0NuKS3tbeiGm0Rz1kUrco=
github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.28/go.mod h1:/hUUM2+h8ajcQlNuyxCM6PeDE1Tz1S/EfvR4TmJAja8=
github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.7 h1:sje0agoLi8ayEFxGO3xtN7P/IXwjZUUxpC8G2fCTu44=
github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.7/go.mod h1:SGyo4fAHzOhDAd2Usa9RaBT/sOzkbceIqLrDG0+iYy8=
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.14 h1:2jG1CBKBXPQdkM8AN1PweaTIaCgudZ6tua/BBBHgq+A=
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.14/go.mod h1:FRKg6x/tVpYHfy/aMy5flTxxw3+YeYaQds8csCUqNTE=
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.15 h1:i58fwqZYksuC6IkdDENBluE7084tBn4O5uv4oV4I1mI=
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.15/go.mod h1:+JOtlbiePy66w2zsUFdSWC9fWoL9xPceKdbE98IZFHc=
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s=
github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=
Expand Down
4 changes: 2 additions & 2 deletions application-services/custom/advanced-target-type/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ func main() {

// 3) Lastly, we'll go ahead and tell the service to "start" and begin listening for Persons
// to trigger the pipeline.
err = appService.MakeItRun()
err = appService.Run()
if err != nil {
appService.LoggingClient().Errorf("MakeItRun returned error: %s", err.Error())
appService.LoggingClient().Errorf("Run returned error: %s", err.Error())
os.Exit(-1)
}

Expand Down
8 changes: 4 additions & 4 deletions application-services/custom/simple-cbor-filter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module simple-cbor-filter
go 1.20

require (
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.59
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.39
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.61
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.40
)

require (
Expand All @@ -13,11 +13,11 @@ require (
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
github.com/diegoholiveira/jsonlogic/v3 v3.2.7 // indirect
github.com/eclipse/paho.mqtt.golang v1.4.2 // indirect
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.79 // indirect
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.81 // indirect
github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.10 // indirect
github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.28 // indirect
github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.7 // indirect
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.14 // indirect
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.15 // indirect
github.com/fatih/color v1.9.0 // indirect
github.com/fxamacker/cbor/v2 v2.4.0 // indirect
github.com/go-jose/go-jose/v3 v3.0.0 // indirect
Expand Down
16 changes: 8 additions & 8 deletions application-services/custom/simple-cbor-filter/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@ github.com/diegoholiveira/jsonlogic/v3 v3.2.7 h1:awX07pFPnlntZzRNBcO4a2Ivxa77NMt
github.com/diegoholiveira/jsonlogic/v3 v3.2.7/go.mod h1:9oE8z9G+0OMxOoLHF3fhek3KuqD5CBqM0B6XFL08MSg=
github.com/eclipse/paho.mqtt.golang v1.4.2 h1:66wOzfUHSSI1zamx7jR6yMEI5EuHnT1G6rNA5PM12m4=
github.com/eclipse/paho.mqtt.golang v1.4.2/go.mod h1:JGt0RsEwEX+Xa/agj90YJ9d9DH2b7upDZMK9HRbFvCA=
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.59 h1:0cRrMpjJ9Sg2LXKUsi92qyKjePGqpZ6d2orgCsubnDE=
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.59/go.mod h1:jhYiizj61F0td/hsBwDiY+8OcReXg+Qs4e9GzV7MF9I=
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.79 h1:KRgTkaR36hfijNXfyPr0r/D0Ysc0GMinpC5CVu51ocs=
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.79/go.mod h1:oXI84yFlBa+wNwX92tU7hYLaq/XwhUuBgiVGRLzZpMs=
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.61 h1:uDqSHsjYz5X+iGkzimp9OEaaTjQEATDi6++5XeMWi2I=
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.61/go.mod h1:UKQ5z+GPia1nm6GV9bPfA//qtsXpTFJ4aaNLIE8WfbM=
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.81 h1:h5nfqRxNzd3c27G4hVczG4b3Z5m1u7l5shbgRS0X2Kg=
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.81/go.mod h1:DkbiITVp5Dajs61zQMdBCsFLvBp0ww8DWncpB1y3FtM=
github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.10 h1:iDuAO3vpBQnlQuFhai/NATbJkiYXxo3bPCtSnFl07Yw=
github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.10/go.mod h1:8RlYm5CPzZgUsfXDWVP1TIeUMhsDNIdRdj1HXdomtOI=
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.39 h1:tlw1Bd/hq4D6PQFo3BaN0JUkSqDuAPduaGBYCvoEYTg=
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.39/go.mod h1:zzzWGWij6wAqm1go9TLs++TFMIsBqBb1eRnIj4mRxGw=
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.40 h1:30hNBz5Hrhp4gRBs3oXJaOIAtklZ+yrD5EqVXjlwRgE=
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.40/go.mod h1:zzzWGWij6wAqm1go9TLs++TFMIsBqBb1eRnIj4mRxGw=
github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.28 h1:7i64Llcg8xRS/kuMDRPcBP0NuKS3tbeiGm0Rz1kUrco=
github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.28/go.mod h1:/hUUM2+h8ajcQlNuyxCM6PeDE1Tz1S/EfvR4TmJAja8=
github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.7 h1:sje0agoLi8ayEFxGO3xtN7P/IXwjZUUxpC8G2fCTu44=
github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.7/go.mod h1:SGyo4fAHzOhDAd2Usa9RaBT/sOzkbceIqLrDG0+iYy8=
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.14 h1:2jG1CBKBXPQdkM8AN1PweaTIaCgudZ6tua/BBBHgq+A=
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.14/go.mod h1:FRKg6x/tVpYHfy/aMy5flTxxw3+YeYaQds8csCUqNTE=
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.15 h1:i58fwqZYksuC6IkdDENBluE7084tBn4O5uv4oV4I1mI=
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.15/go.mod h1:+JOtlbiePy66w2zsUFdSWC9fWoL9xPceKdbE98IZFHc=
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s=
github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=
Expand Down
4 changes: 2 additions & 2 deletions application-services/custom/simple-cbor-filter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ func main() {

// 4) Lastly, we'll go ahead and tell the SDK to "start" and begin listening for events
// to trigger the pipeline.
err = service.MakeItRun()
err = service.Run()
if err != nil {
lc.Error("MakeItRun returned error: ", err.Error())
lc.Error("Run returned error: ", err.Error())
os.Exit(-1)
}

Expand Down
8 changes: 4 additions & 4 deletions application-services/custom/simple-filter-xml-http/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ module simple-filter-xml-http

go 1.20

require github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.59
require github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.61

require (
github.com/Microsoft/go-winio v0.6.0 // indirect
github.com/armon/go-metrics v0.3.10 // indirect
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
github.com/diegoholiveira/jsonlogic/v3 v3.2.7 // indirect
github.com/eclipse/paho.mqtt.golang v1.4.2 // indirect
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.79 // indirect
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.81 // indirect
github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.10 // indirect
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.39 // indirect
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.40 // indirect
github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.28 // indirect
github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.7 // indirect
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.14 // indirect
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.15 // indirect
github.com/fatih/color v1.9.0 // indirect
github.com/fxamacker/cbor/v2 v2.4.0 // indirect
github.com/go-jose/go-jose/v3 v3.0.0 // indirect
Expand Down
16 changes: 8 additions & 8 deletions application-services/custom/simple-filter-xml-http/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@ github.com/diegoholiveira/jsonlogic/v3 v3.2.7 h1:awX07pFPnlntZzRNBcO4a2Ivxa77NMt
github.com/diegoholiveira/jsonlogic/v3 v3.2.7/go.mod h1:9oE8z9G+0OMxOoLHF3fhek3KuqD5CBqM0B6XFL08MSg=
github.com/eclipse/paho.mqtt.golang v1.4.2 h1:66wOzfUHSSI1zamx7jR6yMEI5EuHnT1G6rNA5PM12m4=
github.com/eclipse/paho.mqtt.golang v1.4.2/go.mod h1:JGt0RsEwEX+Xa/agj90YJ9d9DH2b7upDZMK9HRbFvCA=
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.59 h1:0cRrMpjJ9Sg2LXKUsi92qyKjePGqpZ6d2orgCsubnDE=
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.59/go.mod h1:jhYiizj61F0td/hsBwDiY+8OcReXg+Qs4e9GzV7MF9I=
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.79 h1:KRgTkaR36hfijNXfyPr0r/D0Ysc0GMinpC5CVu51ocs=
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.79/go.mod h1:oXI84yFlBa+wNwX92tU7hYLaq/XwhUuBgiVGRLzZpMs=
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.61 h1:uDqSHsjYz5X+iGkzimp9OEaaTjQEATDi6++5XeMWi2I=
github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.61/go.mod h1:UKQ5z+GPia1nm6GV9bPfA//qtsXpTFJ4aaNLIE8WfbM=
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.81 h1:h5nfqRxNzd3c27G4hVczG4b3Z5m1u7l5shbgRS0X2Kg=
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.81/go.mod h1:DkbiITVp5Dajs61zQMdBCsFLvBp0ww8DWncpB1y3FtM=
github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.10 h1:iDuAO3vpBQnlQuFhai/NATbJkiYXxo3bPCtSnFl07Yw=
github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.10/go.mod h1:8RlYm5CPzZgUsfXDWVP1TIeUMhsDNIdRdj1HXdomtOI=
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.39 h1:tlw1Bd/hq4D6PQFo3BaN0JUkSqDuAPduaGBYCvoEYTg=
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.39/go.mod h1:zzzWGWij6wAqm1go9TLs++TFMIsBqBb1eRnIj4mRxGw=
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.40 h1:30hNBz5Hrhp4gRBs3oXJaOIAtklZ+yrD5EqVXjlwRgE=
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.40/go.mod h1:zzzWGWij6wAqm1go9TLs++TFMIsBqBb1eRnIj4mRxGw=
github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.28 h1:7i64Llcg8xRS/kuMDRPcBP0NuKS3tbeiGm0Rz1kUrco=
github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.28/go.mod h1:/hUUM2+h8ajcQlNuyxCM6PeDE1Tz1S/EfvR4TmJAja8=
github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.7 h1:sje0agoLi8ayEFxGO3xtN7P/IXwjZUUxpC8G2fCTu44=
github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.7/go.mod h1:SGyo4fAHzOhDAd2Usa9RaBT/sOzkbceIqLrDG0+iYy8=
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.14 h1:2jG1CBKBXPQdkM8AN1PweaTIaCgudZ6tua/BBBHgq+A=
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.14/go.mod h1:FRKg6x/tVpYHfy/aMy5flTxxw3+YeYaQds8csCUqNTE=
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.15 h1:i58fwqZYksuC6IkdDENBluE7084tBn4O5uv4oV4I1mI=
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.15/go.mod h1:+JOtlbiePy66w2zsUFdSWC9fWoL9xPceKdbE98IZFHc=
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s=
github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=
Expand Down
4 changes: 2 additions & 2 deletions application-services/custom/simple-filter-xml-http/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ func main() {

// 4) Lastly, we'll go ahead and tell the SDK to "start" and begin listening for events
// to trigger the pipeline.
err = service.MakeItRun()
err = service.Run()
if err != nil {
lc.Errorf("MakeItRun returned error: %s", err.Error())
lc.Errorf("Run returned error: %s", err.Error())
os.Exit(-1)
}

Expand Down
8 changes: 4 additions & 4 deletions application-services/custom/simple-filter-xml-mqtt/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ module simple-filter-xml-mqtt

go 1.20

require github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.59
require github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.61

require (
github.com/Microsoft/go-winio v0.6.0 // indirect
github.com/armon/go-metrics v0.3.10 // indirect
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
github.com/diegoholiveira/jsonlogic/v3 v3.2.7 // indirect
github.com/eclipse/paho.mqtt.golang v1.4.2 // indirect
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.79 // indirect
github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0-dev.81 // indirect
github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0-dev.10 // indirect
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.39 // indirect
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0-dev.40 // indirect
github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0-dev.28 // indirect
github.com/edgexfoundry/go-mod-registry/v3 v3.0.0-dev.7 // indirect
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.14 // indirect
github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0-dev.15 // indirect
github.com/fatih/color v1.9.0 // indirect
github.com/fxamacker/cbor/v2 v2.4.0 // indirect
github.com/go-jose/go-jose/v3 v3.0.0 // indirect
Expand Down
Loading

0 comments on commit 8c3d355

Please sign in to comment.