-
Notifications
You must be signed in to change notification settings - Fork 1
feat: end-2-end mqttt bridge health check #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
lambda/healthCheck.ts
Outdated
key: nrfCloudInfo.accountDevicePrivateKey, | ||
cert: nrfCloudInfo.accountDeviceClientCert, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Account devices to not send data, it's individual devices.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will also be relevant when we want to have shadow fetcher health check.
When using DeleteParametersCommand to delete parameters more than 10, it will error as Member must have length less than or equal to 10
stackName: STACK_NAME, | ||
}), | ||
) | ||
commands.push( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added a new command create-health-check-device
for end-to-end health check purpose. We need to manually call this command once to enable the feature. @coderbyheart
```bash | ||
./cli.sh configure thirdParty nrfcloud apiKey <API key> | ||
./cli.sh initialize-nrfcloud-account | ||
./cli.sh create-health-check-device |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@coderbyheart health check device is created here
It will use simulator device to publish message to nRF Cloud and wait for incoming message from web socket for 10s.