sofa-boot
sofa-boot copied to clipboard
Schema location change to subdomain.
Now the schema location is like this http://sofastack.io/schema/sofaboot. But sofastack.io is an apex domain. sofastack.io is managed by Alipay DNS server, which not supports setting an apex domain.
Maybe we can change the location to a www subdomain, like http://www.sofastack.io/schema/sofaboot.
I noticed that Spring did it like this too:
-
http://www.springframework.org/schema/beans
Is this will cause some compatible problem?
If both two domain is specified, I think there should be no problem.
spring.handlers:
http\://sofastack.io/schema/sofaboot=com.alipay.sofa.infra.config.spring.namespace.handler.SofaBootNamespaceHandler
http\://www.sofastack.io/schema/sofaboot=com.alipay.sofa.infra.config.spring.namespace.handler.SofaBootNamespaceHandler
spring.schemas:
http\://sofastack.io/schema/sofaboot.xsd=META-INF/com/alipay/sofa/infra/config/spring/namespace/schema/sofaboot.xsd
http\://www.sofastack.io/schema/sofaboot.xsd=META-INF/com/alipay/sofa/infra/config/spring/namespace/schema/sofaboot.xsd
We need also to provide xsd files, as IDE uses xsd files schema to provide auto-completion @ujjboy