From 6b237ef6e9c3727c01ab825f13e3319a41d1b02e Mon Sep 17 00:00:00 2001 From: Martynas Date: Mon, 30 Oct 2023 23:43:51 +0100 Subject: [PATCH] More script renaming --- http-tests/admin/model/{create-class.sh => add-class.sh} | 2 +- ...eate-property-constraint.sh => add-property-constraint.sh} | 4 ++-- .../admin/model/{create-restriction.sh => add-restriction.sh} | 2 +- scripts/admin/model/{create-class.sh => add-class.sh} | 2 +- scripts/admin/model/{create-construct.sh => add-construct.sh} | 2 +- ...eate-property-constraint.sh => add-property-constraint.sh} | 0 .../admin/model/{create-restriction.sh => add-restriction.sh} | 0 scripts/admin/model/{create-select.sh => add-select.sh} | 2 +- scripts/admin/model/create-ontology.sh | 4 ++-- 9 files changed, 9 insertions(+), 9 deletions(-) rename http-tests/admin/model/{create-class.sh => add-class.sh} (98%) rename http-tests/admin/model/{create-property-constraint.sh => add-property-constraint.sh} (97%) rename http-tests/admin/model/{create-restriction.sh => add-restriction.sh} (98%) rename scripts/admin/model/{create-class.sh => add-class.sh} (99%) rename scripts/admin/model/{create-construct.sh => add-construct.sh} (98%) rename scripts/admin/model/{create-property-constraint.sh => add-property-constraint.sh} (100%) rename scripts/admin/model/{create-restriction.sh => add-restriction.sh} (100%) rename scripts/admin/model/{create-select.sh => add-select.sh} (98%) diff --git a/http-tests/admin/model/create-class.sh b/http-tests/admin/model/add-class.sh similarity index 98% rename from http-tests/admin/model/create-class.sh rename to http-tests/admin/model/add-class.sh index 81bf0088d..2e0f09c5b 100755 --- a/http-tests/admin/model/create-class.sh +++ b/http-tests/admin/model/add-class.sh @@ -16,7 +16,7 @@ namespace="${namespace_doc}#" ontology_doc="${ADMIN_BASE_URL}model/ontologies/namespace/" class="${namespace_doc}#NewClass" -./create-class.sh \ +./add-class.sh \ -f "$OWNER_CERT_FILE" \ -p "$OWNER_CERT_PWD" \ -b "$ADMIN_BASE_URL" \ diff --git a/http-tests/admin/model/create-property-constraint.sh b/http-tests/admin/model/add-property-constraint.sh similarity index 97% rename from http-tests/admin/model/create-property-constraint.sh rename to http-tests/admin/model/add-property-constraint.sh index 62d6acccd..435b5a362 100755 --- a/http-tests/admin/model/create-property-constraint.sh +++ b/http-tests/admin/model/add-property-constraint.sh @@ -16,7 +16,7 @@ namespace="${namespace_doc}#" ontology_doc="${ADMIN_BASE_URL}model/ontologies/namespace/" constraint="${namespace_doc}#NewConstraint" -./create-property-constraint.sh \ +./add-property-constraint.sh \ -f "$OWNER_CERT_FILE" \ -p "$OWNER_CERT_PWD" \ -b "$ADMIN_BASE_URL" \ @@ -28,7 +28,7 @@ constraint="${namespace_doc}#NewConstraint" # create a class with the constraint -./create-class.sh \ +./add-class.sh \ -f "$OWNER_CERT_FILE" \ -p "$OWNER_CERT_PWD" \ -b "$ADMIN_BASE_URL" \ diff --git a/http-tests/admin/model/create-restriction.sh b/http-tests/admin/model/add-restriction.sh similarity index 98% rename from http-tests/admin/model/create-restriction.sh rename to http-tests/admin/model/add-restriction.sh index fb8a8221b..33f43946f 100755 --- a/http-tests/admin/model/create-restriction.sh +++ b/http-tests/admin/model/add-restriction.sh @@ -16,7 +16,7 @@ namespace="${namespace_doc}#" ontology_doc="${ADMIN_BASE_URL}model/ontologies/namespace/" restriction="${namespace_doc}#Restriction" -./create-restriction.sh \ +./add-restriction.sh \ -f "$OWNER_CERT_FILE" \ -p "$OWNER_CERT_PWD" \ -b "$ADMIN_BASE_URL" \ diff --git a/scripts/admin/model/create-class.sh b/scripts/admin/model/add-class.sh similarity index 99% rename from scripts/admin/model/create-class.sh rename to scripts/admin/model/add-class.sh index c7dd4f13d..ba0cfe736 100755 --- a/scripts/admin/model/create-class.sh +++ b/scripts/admin/model/add-class.sh @@ -2,7 +2,7 @@ print_usage() { - printf "Creates an ontology class.\n" + printf "Adds an ontology class.\n" printf "\n" printf "Usage: %s options [TARGET_URI]\n" "$0" printf "\n" diff --git a/scripts/admin/model/create-construct.sh b/scripts/admin/model/add-construct.sh similarity index 98% rename from scripts/admin/model/create-construct.sh rename to scripts/admin/model/add-construct.sh index 24b52c71a..20201bf11 100755 --- a/scripts/admin/model/create-construct.sh +++ b/scripts/admin/model/add-construct.sh @@ -2,7 +2,7 @@ print_usage() { - printf "Creates a SPARQL CONSTRUCT query.\n" + printf "Adds a SPARQL CONSTRUCT query.\n" printf "\n" printf "Usage: %s options [TARGET_URI]\n" "$0" printf "\n" diff --git a/scripts/admin/model/create-property-constraint.sh b/scripts/admin/model/add-property-constraint.sh similarity index 100% rename from scripts/admin/model/create-property-constraint.sh rename to scripts/admin/model/add-property-constraint.sh diff --git a/scripts/admin/model/create-restriction.sh b/scripts/admin/model/add-restriction.sh similarity index 100% rename from scripts/admin/model/create-restriction.sh rename to scripts/admin/model/add-restriction.sh diff --git a/scripts/admin/model/create-select.sh b/scripts/admin/model/add-select.sh similarity index 98% rename from scripts/admin/model/create-select.sh rename to scripts/admin/model/add-select.sh index a6cb6ab85..2f95f8c01 100755 --- a/scripts/admin/model/create-select.sh +++ b/scripts/admin/model/add-select.sh @@ -2,7 +2,7 @@ print_usage() { - printf "Creates a SPARQL SELECT query in the Domain ontology.\n" + printf "Adds a SPARQL SELECT query.\n" printf "\n" printf "Usage: %s options [TARGET_URI]\n" "$0" printf "\n" diff --git a/scripts/admin/model/create-ontology.sh b/scripts/admin/model/create-ontology.sh index 128a30ba9..2de3852f6 100755 --- a/scripts/admin/model/create-ontology.sh +++ b/scripts/admin/model/create-ontology.sh @@ -2,7 +2,7 @@ print_usage() { - printf "Creates a new ontology in its own named graph.\n" + printf "Creates a new ontology.\n" printf "\n" printf "Usage: %s options [TARGET_URI]\n" "$0" printf "\n" @@ -143,4 +143,4 @@ if [ -n "$fragment" ] ; then fi # submit Turtle doc to the server -echo -e "$turtle" | turtle --base="$base" | ../../post.sh "${args[@]}" \ No newline at end of file +echo -e "$turtle" | turtle --base="$base" | ../../put.sh "${args[@]}" \ No newline at end of file