Please check if your PR fulfills the following requirements:
[x] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[x] I am not introducing a new dependency (add notes below if you are)
[ ] I have added unit tests for the new feature or bug fix (if not, why?)
[x] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?)
Testing Instructions
Non-secure mode testing
From the latest compose builder run make run no-secty.
Set the environment variable for non-secure testing export EDGEX_SECURITY_SECRET_STORE=false
Run device-random example (/src/c/examples/random) with -cc=../commonconfiguration.yaml argument.
The device-random service should bootstrap successfully without having the following error
level=ERROR ts=2023-10-06T04:34:11Z app=device-random msg="Unable to load common config file: Unable to open configuration file"
Error: 1: Unable to open configuration file
From the latest compose builder, modify add-security.yml to add secret store token and registry ACL role for device-random, and then run make run.
Set the environment variable for secure testing export EDGEX_SECURITY_SECRET_STORE=true
Run device-random example (/src/c/examples/random) with -cc=../commonconfiguration.yaml argument.
The device-random service should bootstrap successfully without the following error
level=ERROR ts=2023-10-06T04:34:11Z app=device-random msg="Unable to load common config file: Unable to open configuration file"
Error: 1: Unable to open configuration file
fix: #485
Hold until https://github.com/edgexfoundry/device-sdk-c/pull/484 is merged
PR Checklist
Please check if your PR fulfills the following requirements:
BREAKING CHANGE:
describing the break)Testing Instructions
Non-secure mode testing
make run no-secty
.export EDGEX_SECURITY_SECRET_STORE=false
-cc=../commonconfiguration.yaml
argument.Secure mode testing
make run
.export EDGEX_SECURITY_SECRET_STORE=true
-cc=../commonconfiguration.yaml
argument.New Dependency Instructions (If applicable)