Skip to content
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

feat(iot_hub): add mqtt certificate attributes #2368

Merged
merged 3 commits into from
Feb 7, 2024

Conversation

Laure-di
Copy link
Contributor

close #2264

@codecov-commenter
Copy link

codecov-commenter commented Jan 18, 2024

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (cca019e) 73.77% compared to head (acddcd8) 73.77%.

Files Patch % Lines
scaleway/resource_iot_hub.go 66.66% 7 Missing and 1 partial ⚠️
scaleway/helpers_iot.go 84.21% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2368   +/-   ##
=======================================
  Coverage   73.77%   73.77%           
=======================================
  Files         229      229           
  Lines       35515    35559   +44     
=======================================
+ Hits        26200    26233   +33     
- Misses       7064     7073    +9     
- Partials     2251     2253    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Laure-di Laure-di force-pushed the feat/provide_iot_mqtt_ca branch 5 times, most recently from e5bcf8f to 0242d71 Compare January 18, 2024 13:50
@Laure-di Laure-di changed the title provide_iot_mqtt_ca feat(iot):provide_iot_mqtt_ca Jan 18, 2024
@Laure-di Laure-di force-pushed the feat/provide_iot_mqtt_ca branch 2 times, most recently from a9e7e15 to 7ea6460 Compare January 18, 2024 16:53
@Laure-di Laure-di force-pushed the feat/provide_iot_mqtt_ca branch 3 times, most recently from 681d47b to a881587 Compare January 18, 2024 17:23
@Laure-di Laure-di force-pushed the feat/provide_iot_mqtt_ca branch 3 times, most recently from 633e1f4 to 6688d92 Compare January 19, 2024 09:16
@Laure-di Laure-di force-pushed the feat/provide_iot_mqtt_ca branch 2 times, most recently from 3284792 to 43d88e9 Compare January 22, 2024 15:08
@Codelax Codelax changed the title feat(iot):provide_iot_mqtt_ca feat(iot_hub): add mqtt certificate attributes Jan 22, 2024
@Laure-di Laure-di force-pushed the feat/provide_iot_mqtt_ca branch from 43d88e9 to 70efaa0 Compare February 5, 2024 09:22
_ = diag.Diagnostic{
Severity: diag.Warning,
AttributePath: cty.GetAttrPath("mqtt_ca"),
Summary: err.Error(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Diagnostic allows a Summary and details.
Summary could be used to summarize the issue (ex: Failed to fetch io hub mqtt certificate).
And details can contain the real error that may be an error from go http client.

@Laure-di Laure-di force-pushed the feat/provide_iot_mqtt_ca branch from 70efaa0 to 79eb69c Compare February 6, 2024 09:56
@remyleone remyleone enabled auto-merge February 7, 2024 14:11
@remyleone remyleone added this pull request to the merge queue Feb 7, 2024
Merged via the queue into scaleway:master with commit 4141aa5 Feb 7, 2024
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide IoT Hub MQTT CA
4 participants