Added the possibility to add parameters to a SQL view. See geoserver docs.
The optional argument 'query_params' was added to the function publish_featurestore_sqlview.
When provided it should be a list of dicts where each dict represents a parameter of the SQL view. The dict should be in the following format: {'name':parameter name, 'default_value': default parameter value, 'regex_val':regular expression for validation}, regex_val can be omitted if not necessary.
Additionaly, the escape_sql parameter was added. This is an optional parameter which is set to False if not provided.
Added the possibility to add parameters to a SQL view. See geoserver docs.
The optional argument 'query_params' was added to the function
publish_featurestore_sqlview
.When provided it should be a list of dicts where each dict represents a parameter of the SQL view. The dict should be in the following format:
{'name':parameter name, 'default_value': default parameter value, 'regex_val':regular expression for validation}
, regex_val can be omitted if not necessary.Additionaly, the escape_sql parameter was added. This is an optional parameter which is set to False if not provided.