You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Different server implementations support different types of resources, some support Maven and some only support Docker resources. We should have a way to configure the server with supported types and validate when resources are registered. That way we could provide an error when someone registers an unsupported resource type.
trisberg
changed the title
Add validation and configuration for supported resource type for registered apps
Add validation and configuration for supported resource types for registered apps
Dec 8, 2016
Maybe we can just add a supportsScheme(String scheme) method to the DelegatingResourceLoader.
One thought on this though... we can validate the "type", but it's still completely possible that a user registers a bogus URI. We probably cannot eagerly validate anything more than the scheme, unless we want to provide a boolean flag for eager validation.
Different server implementations support different types of resources, some support Maven and some only support Docker resources. We should have a way to configure the server with supported types and validate when resources are registered. That way we could provide an error when someone registers an unsupported resource type.
https://github.com/spring-cloud/spring-cloud-dataflow-server-kubernetes/issues/157
The text was updated successfully, but these errors were encountered: