Mercurial > dive4elements > river
view artifacts/contrib/flush_cache.sh @ 9717:6824c447f5b0 3.2.x
Ensure pseudo-boolean values in hws_lines.official
NULL values lead to a null pointer in HWSFactory and the semantic of the
column is clearly boolean. See also rev. aef987124822 for a related fix
in the importer.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 22 Mar 2021 18:14:47 +0100 |
parents | 5aa05a7a34b7 |
children |
line wrap: on
line source
#!/bin/bash if [ $# != 2 ]; then echo "usage $0 <artifact-server-port> <cachename>" echo " cachename is the name of the cache defined in conf/caches.xml" echo " for example: $0 12123 datacage.db" exit 1 fi curl -d @- http://localhost:$1/service/cache-invalidation << EOF <?xml version="1.0" ?> <caches> <cache name="$2"/> </caches> EOF