diff --git a/docs/fdl.md b/docs/fdl.md index d8836c44..7425ebf9 100644 --- a/docs/fdl.md +++ b/docs/fdl.md @@ -74,6 +74,7 @@ storage_providers: | `cluster_id`
*string* | Identifier for the current cluster, used to specify the cluster's StorageProvider in job delegations. OSCAR-CLI sets it using the ClusterID from the FDL. Optional. (default: "") | | `image`
*string* | Docker image for the service | | `vo`
*string* | Virtual Organization (VO) in which the user creating the service is enrolled. Optional (default: "") | +| `allowed_users`
*string array* | Array EGI UIDs to grant specific users permissions over the service. If empty, the service is viewed as public. (Enabled since OSCAR version v3.0.0). | | `alpine`
*boolean* | Alpine parameter to set if image is based on Alpine. If `true` a custom release of faas-supervisor will be used. Optional (default: false) | | `script`
*string* | Local path to the user script to be executed in the service container | | `file_stage_in`
*bool* | Parameter to skip the download of the input files by the FaaS Supervisor (default: false) | diff --git a/examples/plant-classification-sync/script.sh b/examples/plant-classification-sync/script.sh index 96ce8a4c..bc36ede5 100755 --- a/examples/plant-classification-sync/script.sh +++ b/examples/plant-classification-sync/script.sh @@ -5,5 +5,5 @@ OUTPUT_FILE="$TMP_OUTPUT_DIR/$IMAGE_NAME" mv $INPUT_FILE_PATH "$INPUT_FILE_PATH.jpg" -echo "SCRIPT: Invoked deepaas-predict command. File available in $INPUT_FILE_PATH." -deepaas-predict -i "$INPUT_FILE_PATH.jpg" -o $OUTPUT_FILE +echo "SCRIPT: Invoked deepaas-cli command." +deepaas-cli --deepaas_method_output $OUTPUT_FILE predict --files "$INPUT_FILE_PATH.jpg"