The normalization of application names happens when the runtime is labeled with isNormalized=false or such a label is missing on the runtime. At the moment all runtimes in Compass are labeled with isNormalized=true by default.
Adding checks during application synchronisation with Compass that detects duplicate application names to be created on Kyma side and in such a case the synchronisation fails.
Unit test update, adding new controller tests
Note:
The scope is limited only to adjust to upcoming changes of the data received from compass side. We just normalise names of synchronized applications and if there are name conflict we fail synchronization process.
We do not support in App Connector multiple applications with the same names and identification based on some kind of unique ID.
Description:
Changes proposed in this pull request:
isNormalized=false
or such a label is missing on the runtime. At the moment all runtimes in Compass are labeled withisNormalized=true
by default.Note:
The scope is limited only to adjust to upcoming changes of the data received from compass side. We just normalise names of synchronized applications and if there are name conflict we fail synchronization process. We do not support in App Connector multiple applications with the same names and identification based on some kind of unique ID.
Related issue(s): Original issue - https://github.com/kyma-project/kyma/issues/10070 Current issue - https://github.com/kyma-project/application-connector-manager/issues/290