From 67af72965b6a00c94f9c396d8d366ed5553d460e Mon Sep 17 00:00:00 2001 From: Leonard Goodell Date: Tue, 13 Jun 2023 14:07:09 -0700 Subject: [PATCH] fix: Use released SDK version in App Template fixes #1427 Signed-off-by: Leonard Goodell --- app-service-template/README.md | 2 ++ app-service-template/go.mod | 8 ++++---- app-service-template/go.sum | 11 ++++++----- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/app-service-template/README.md b/app-service-template/README.md index bd966b35d..1bbe423b7 100644 --- a/app-service-template/README.md +++ b/app-service-template/README.md @@ -14,6 +14,8 @@ Follow the instructions below to create your new customer application service: 3. Remove the `replace` statement from the go.mod file +4. Ensure the SDK version in the go.mod file is set to the proper release version (i.e no -dev.x) + 4. Do a global search and replace on `app-new-service` to replace it with the name of your service - Note that this name is used as the service key, so it needs to use dashes rather than spaces in the name and avoid other special characters diff --git a/app-service-template/go.mod b/app-service-template/go.mod index 16af1c121..c6f72adaf 100644 --- a/app-service-template/go.mod +++ b/app-service-template/go.mod @@ -9,11 +9,11 @@ go 1.20 replace github.com/edgexfoundry/app-functions-sdk-go/v3 => ../ require ( - github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0-dev.9 + github.com/edgexfoundry/app-functions-sdk-go/v3 v3.0.0 github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0 github.com/google/uuid v1.3.0 github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 - github.com/stretchr/testify v1.8.2 + github.com/stretchr/testify v1.8.4 ) require ( @@ -23,11 +23,11 @@ require ( github.com/davecgh/go-spew v1.1.1 // 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 // indirect + github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.1 // indirect github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0 // indirect github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0 // indirect github.com/edgexfoundry/go-mod-registry/v3 v3.0.0 // indirect - github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0 // indirect + github.com/edgexfoundry/go-mod-secrets/v3 v3.0.1 // 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 diff --git a/app-service-template/go.sum b/app-service-template/go.sum index aa325c207..557e4ab1c 100644 --- a/app-service-template/go.sum +++ b/app-service-template/go.sum @@ -27,8 +27,8 @@ 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/go-mod-bootstrap/v3 v3.0.0 h1:I6Zb7YH7bggHMVEOoM9eWZXZp25mE+eSkIyXKKPVEhk= -github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.0/go.mod h1:qcO8Ac55QP0lyEQV9NI2IE4mx5g76xdAX6Sg3d70+fw= +github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.1 h1:gXVxaZPcRJl2MhCIK/GOXZnQL+21xOUpGDTLTcVCxSk= +github.com/edgexfoundry/go-mod-bootstrap/v3 v3.0.1/go.mod h1:Or09TpF5HF3FjlqX3kJEFhBCsTvbHY0Nu28UF0MvB3w= github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0 h1:rdk8KMcU8fA6o9MCb0O68bboxZTdLiXTZByNttEtRwE= github.com/edgexfoundry/go-mod-configuration/v3 v3.0.0/go.mod h1:8RlYm5CPzZgUsfXDWVP1TIeUMhsDNIdRdj1HXdomtOI= github.com/edgexfoundry/go-mod-core-contracts/v3 v3.0.0 h1:xjwCI34DLM31cSl1q9XmYgXS3JqXufQJMgohnLLLDx0= @@ -37,8 +37,8 @@ github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0 h1:nU37Uo4/kloTMrdqDN9SJuDoXb github.com/edgexfoundry/go-mod-messaging/v3 v3.0.0/go.mod h1:x2CueD9gn/CmtCvDNFgrgBnR+B1iWJMSrC5+gesfDJ0= github.com/edgexfoundry/go-mod-registry/v3 v3.0.0 h1:6LXGElSScCCQzNpR3WjcgVz0RUc9GbfxETvif/4++iI= github.com/edgexfoundry/go-mod-registry/v3 v3.0.0/go.mod h1:SGyo4fAHzOhDAd2Usa9RaBT/sOzkbceIqLrDG0+iYy8= -github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0 h1:B2uw6BpkIRq5xuwvVfmysDl7/+RkXhPkfw4XLPWjbQM= -github.com/edgexfoundry/go-mod-secrets/v3 v3.0.0/go.mod h1:Ts9l+TknRKaqFsXmrTuKyV1Y5qIr+eiexVYkQuXnfxk= +github.com/edgexfoundry/go-mod-secrets/v3 v3.0.1 h1:XyoDjeeVBMNwlJb6ljcTOl1QOp5gabcJc7pYSPYKNPA= +github.com/edgexfoundry/go-mod-secrets/v3 v3.0.1/go.mod h1:Ts9l+TknRKaqFsXmrTuKyV1Y5qIr+eiexVYkQuXnfxk= 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= @@ -231,8 +231,9 @@ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81P github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM= github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=