Closed Oleksiivanov closed 12 months ago
can we change it to warning, since we get a lot of support requests. We are still supporting the old format, but we want to deprecate it, that's why we should throw a warning and not an error
The information about a currently supported pattern we want to deprecate was missing in the original issue. This is vital information. The error message should then be adjusted as well (e.g. The secret format you're using will be deprecated in future versions of Camunda 8. Use {{secrets.FOO}} instead.
).
Added to description current support secrets format , as was also described here : https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/116
I agree with format of message : The secret format you're using will be deprecated in future versions of Camunda 8. Use {{secrets.FOO}} instead.
. @bastiankoerber , it is ok for you?
looks good, are we adding a hint in our documentation as well?
looks good, are we adding a hint in our documentation as well?
Yes , PR with docs - https://github.com/camunda/camunda-platform-docs/pull/2554
as was also described here
I cannot find that information in the original pull request. I was assuming that we introduced secrets altogether. We can ship a patch release adjusting the error to be a warning with the adjusted message.
as was also described here
I cannot find that information in the original pull request. I was assuming that we introduced secrets altogether. We can ship a patch release adjusting the error to be a warning with the adjusted message.
it will be cool to add this as a patch release, Thank you.
Since we can't show warnings in the properties panel right now, I will disable the rule until we're ready to report warnings instead of errors.
Closed by https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/133. We'll enable the rule once we've fixed the issues.
secrets.FOO
produces a lint error stating that the secret expression is not valid. In fact, this format is currently supported but will be deprecated in the future. Therefore the lint error should be a warning instead. The message should indicate the future deprecation and the new format ({{secrets.FOO}}
).Follow-up to https://github.com/camunda/bpmnlint-plugin-camunda-compat/pull/119