Open JoacimV opened 1 year ago
Sorry for missing to answer timely. Yes, this is a mistake. We should have implemented the rule more general to allow customizing the domain used for the functional host name. You are welcome to make the rule configurable and contribute this back to Zally. Until we have done this, you can disable the rule by either using:
x-zally-ignore: 224
,application.yml
by adding #zally/ingoreRules
(see application.yml#L41).
As far as i can tell, it seems like the FunctionalNamingForHostnamesRule only work on zalando domains, i guess this must be a mistake?
https://github.com/zalando/zally/blob/main/server/zally-ruleset-zalando/src/test/kotlin/org/zalando/zally/ruleset/zalando/FunctionalNamingForHostnamesRuleTest.kt