Version Control | Restore HTTP Integrations Auto-generate integration key
Describe the bug After restoring a integration on another tenant with "auto-generate integration key" enabled, the old integration url and key is still displayed. Only after changing base URL to another random URL the integration key in the endpoint URL field will be updated to the new one.
It seems to be only a displaying issue. If one restore without "auto-generate integration key", version control is failing because of duplicated integration keys
Your Server Environment
- own setup
- Deployment: microservices
- Deployment type: k8s
- ThingsBoard 4.3.1.3 Professional Edition
Your Client Environment
- OS: Win11
- Browser Crheom
- Version 152.0.4191.53
To Reproduce Steps to reproduce the behavior:
- Create HTTP Integration and Dataconverter on Tenant1
- Create Backup with Version Control for HTTP Integration and Dataconverter on Tenant1
- Switch to Tenant2
- Restore Version of HTTP Integration and Dataconverter on Tenant2, enable "Auto-generate integration key"
- Compare integration endpoint URL they are the same
- change Integration Base URL on Tenant2, so endpoint URL and therefore integration key will be updated
Expected behavior endpoint URL will be updated after restore automatically
Screenshots
Additional context Please feel free to add any other context about the problem here.
Disclaimer
We appreciate your contribution whether it is a bug report, feature request, or pull request with improvement (hopefully). Please comply with the Community ethics policy, and do not expect us to answer your requests immediately. Also, do not treat GitHub issues as a support channel.
Source: thingsboard/thingsboard