-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Missing clientId in application.yml causing an error #293
Comments
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. |
@Tenischev @derberg Hi, could you please take a look at this? Thanks |
@Tenischev please have a look 🙏 |
Hello @VaishnaviNandakumar! java-spring-template/tests/mocks/mqtt.yml Lines 11 to 18 in cc4f300
|
@Tenischev Thanks for the response! |
@VaishnaviNandakumar you could do it. I think, adding mqttClientId to parameters also will be a good option. So I suggest the following order of applying the value (the higher the better):
|
@Tenischev Thank you. Will work on this and let you know once I've made a PR. |
🎉 This issue has been resolved in version 0.29.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Describe the bug
When I first tried to clone and run the template I was stuck at the following issue.
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'mqtt.broker.clientId' in value "${mqtt.broker.clientId}"
This is caused due to a missing property in the application.yml file.
I wanted to know if there was a specific reason for excluding it. If there isn't, I would like to pick this issue up and contribute.
How to Reproduce
asyncapi generate fromTemplate asyncapi.yaml @asyncapi/java-spring-template -o spring-output-test
Expected behavior
Spring boot application will not start.
The text was updated successfully, but these errors were encountered: