Ignore:
Timestamp:
2023-10-03T15:46:28+13:00 (8 months ago)
Author:
davidb
Message:

Updated to work as a GS3 extension without the need for Ruby

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/jena-fuseki/trunk/src/src3/gs-triplestore-reset3

    r37301 r38274  
    1717fi
    1818
    19 # The following line helps with runing a she-bang line of:
    20 #   '#!/usr/bin/env ruby'
    21 # when the current script has been run from Perl under Cygwin
    22 #
    23 export PATH=/usr/bin:$PATH
     19## The following line helps with runing a she-bang line of:
     20##   '#!/usr/bin/env ruby'
     21## when the current script has been run from Perl under Cygwin
     22##
     23#export PATH=/usr/bin:$PATH
    2424
    25 echo s-update --service http://localhost:$port/fuseki3/greenstone/update "DROP GRAPH <$graph_uri>"
    26 s-update --service http://localhost:$port/fuseki3/greenstone/update "DROP GRAPH <$graph_uri>"
     25#echo s-update --service http://localhost:$port/fuseki3/greenstone/update "DROP GRAPH <$graph_uri>"
     26#s-update --service http://localhost:$port/fuseki3/greenstone/update "DROP GRAPH <$graph_uri>"
    2727
     28
     29#echo curl --service http://localhost:$port/fuseki3/greenstone/update "DROP GRAPH <$graph_uri>"
     30#s-update --service http://localhost:$port/fuseki3/greenstone/update "DROP GRAPH <$graph_uri>"
     31
     32echo CURL POST: http://localhost:$port/fuseki3/greenstone/update "DROP GRAPH <$graph_uri>"
     33curl --silent \
     34    -X POST \
     35    -H "Content-Type: application/x-www-form-urlencoded" \
     36    -d "update=DROP GRAPH <$graph_uri>" \
     37    http://localhost:$port/fuseki3/greenstone/update 1>/dev/null
Note: See TracChangeset for help on using the changeset viewer.