Changeset 37301 for gs2-extensions


Ignore:
Timestamp:
2023-02-08T00:19:19+13:00 (15 months ago)
Author:
davidb
Message:

Changed to work with whatever port GS3 install has specified, rather then assuming 8383

Location:
gs2-extensions/apache-jena/trunk/src/src3
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/apache-jena/trunk/src/src3/gs-triplestore-add3

    r37271 r37301  
    1414    graph_uri="$FULL_GREENSTONE_URL_PREFIX/collection/$graph_name"
    1515else
    16     graph_uri="http://localhost:8383/greenstone3/library/collection/$graph_name"
     16    graph_uri="http://localhost:$port/greenstone3/library/collection/$graph_name"
    1717fi
    1818
     
    2424export PATH=/usr/bin:$PATH
    2525
     26echo s-post http://localhost:$port/fuseki3/greenstone/data "$graph_uri" "$file_ttl"
    2627s-post http://localhost:$port/fuseki3/greenstone/data "$graph_uri" "$file_ttl"
    2728
  • gs2-extensions/apache-jena/trunk/src/src3/gs-triplestore-dataset-delete3

    r37274 r37301  
    2323
    2424
    25 echo ""
    26 echo "Early testing with this script did see it report an HTTP Reponse:"
    27 echo "    ERROR 500: (no description)"
    28 echo "The Fuseki server then no longer listed the dataset, but on the filesystem"
    29 echo "it was still there in the run3/databases/ directory"
    30 echo "Catalina.out error message:"
    31 echo "  Admin      INFO  [1979] DELETE dataset=/mydataset"
    32 echo "  Admin      WARN  [1979] RC = 500 : Already closed"
    33 echo ""
     25#echo ""
     26#echo "Early testing with this script did see it report an HTTP Reponse:"
     27#echo "    ERROR 500: (no description)"
     28#echo "The Fuseki server then no longer listed the dataset, but on the filesystem"
     29#echo "it was still there in the run3/databases/ directory"
     30#echo "Catalina.out error message:"
     31#echo "  Admin      INFO  [1979] DELETE dataset=/mydataset"
     32#echo "  Admin      WARN  [1979] RC = 500 : Already closed"
     33#echo ""
  • gs2-extensions/apache-jena/trunk/src/src3/gs-triplestore-query3

    r37271 r37301  
    88port=${FUSEKI3_PORT:-8383}
    99
    10 #pushd "$GEXT_JENA"
    1110
    1211# The following line helps with runing a she-bang line of:
     
    1817s-query --service http://localhost:$port/fuseki3/greenstone/query "$*"
    1918
    20 
    21 #popd
  • gs2-extensions/apache-jena/trunk/src/src3/gs-triplestore-reset3

    r37271 r37301  
    1414    graph_uri="$FULL_GREENSTONE_URL_PREFIX/collection/$graph_name"
    1515else
    16     graph_uri="http://localhost:8383/greenstone3/library/collection/$graph_name"
     16    graph_uri="http://localhost:$port/greenstone3/library/collection/$graph_name"
    1717fi
    1818
     
    2323export PATH=/usr/bin:$PATH
    2424
     25echo s-update --service http://localhost:$port/fuseki3/greenstone/update "DROP GRAPH <$graph_uri>"
    2526s-update --service http://localhost:$port/fuseki3/greenstone/update "DROP GRAPH <$graph_uri>"
    2627
Note: See TracChangeset for help on using the changeset viewer.