Ignore:
Timestamp:
2023-02-04T18:22:10+13:00 (15 months ago)
Author:
davidb
Message:

Progression towards the Fuseki server being run as a war file within Greenstone3's tomcat/webapps area

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

Legend:

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

    r36764 r37271  
    99file_ttl=$2
    1010
    11 port=${FUSEKI3_PORT:-4040}
     11port=${FUSEKI3_PORT:-8383}
    1212
    1313if [ "x$FULL_GREENSTONE_URL_PREFIX" != "x" ] ; then
     
    1515else
    1616    graph_uri="http://localhost:8383/greenstone3/library/collection/$graph_name"
    17     # graph_uri="http://localhost:$port/greenstone/data/$graph_name"
    18     # graph_uri="https://so-we-must-think.space/greenstone3-lod3/greenstone/data/$graph_name"
    1917fi
    2018
     
    2624export PATH=/usr/bin:$PATH
    2725
    28 s-post http://localhost:$port/greenstone/data "$graph_uri" "$file_ttl"
     26s-post http://localhost:$port/fuseki3/greenstone/data "$graph_uri" "$file_ttl"
    2927
  • gs2-extensions/apache-jena/trunk/src/src3/gs-triplestore-file-query3

    r36764 r37271  
    1212sparql_query=`cat "$input_sparql_query_file"`
    1313
    14 port=${FUSEKI3_PORT:-4040}
     14port=${FUSEKI3_PORT:-8383}
    1515
    1616
     
    2121export PATH=/usr/bin:$PATH
    2222
    23 s-query --service http://localhost:$port/greenstone/query \
     23s-query --service http://localhost:$port/fuseki3/greenstone/query \
    2424    "$sparql_query" > "$output_json_queryresult_file"
  • gs2-extensions/apache-jena/trunk/src/src3/gs-triplestore-query3

    r36764 r37271  
    66fi
    77
    8 port=${FUSEKI3_PORT:-4040}
     8port=${FUSEKI3_PORT:-8383}
    99
    1010#pushd "$GEXT_JENA"
     
    1616export PATH=/usr/bin:$PATH
    1717
    18 s-query --service http://localhost:$port/greenstone/query "$*"
     18s-query --service http://localhost:$port/fuseki3/greenstone/query "$*"
    1919
    2020
  • gs2-extensions/apache-jena/trunk/src/src3/gs-triplestore-reset3

    r36764 r37271  
    88graph_name=$1
    99
    10 port=${FUSEKI3_PORT:-4040}
     10port=${FUSEKI3_PORT:-8383}
    1111
    1212
     
    1515else
    1616    graph_uri="http://localhost:8383/greenstone3/library/collection/$graph_name"
    17     # graph_uri="http://localhost:$port/greenstone/data/$graph_name"
    18     # graph_uri="https://so-we-must-think.space/greenstone3-lod3/greenstone/data/$graph_name"
    1917fi
    2018
     
    2523export PATH=/usr/bin:$PATH
    2624
    27 s-update --service http://localhost:$port/greenstone/update "DROP GRAPH <$graph_uri>"
     25s-update --service http://localhost:$port/fuseki3/greenstone/update "DROP GRAPH <$graph_uri>"
    2826
Note: See TracChangeset for help on using the changeset viewer.