diff --git a/backend/files/misc/workflows/actions/file/load-file.hl b/backend/files/misc/workflows/actions/file/file-load.hl similarity index 100% rename from backend/files/misc/workflows/actions/file/load-file.hl rename to backend/files/misc/workflows/actions/file/file-load.hl diff --git a/backend/files/misc/workflows/actions/file/save-file.hl b/backend/files/misc/workflows/actions/file/file-save.hl similarity index 84% rename from backend/files/misc/workflows/actions/file/save-file.hl rename to backend/files/misc/workflows/actions/file/file-save.hl index 65beb3ce8e..8b1ef9ebc4 100644 --- a/backend/files/misc/workflows/actions/file/save-file.hl +++ b/backend/files/misc/workflows/actions/file/file-save.hl @@ -1,6 +1,6 @@ /* - * Loads the specified [file] and returns to caller as [content]. + * Saves the specified [content] to the specified [file]. */ .arguments file diff --git a/backend/files/misc/workflows/actions/http/get-http-headers.hl b/backend/files/misc/workflows/actions/http/http-headers.hl similarity index 100% rename from backend/files/misc/workflows/actions/http/get-http-headers.hl rename to backend/files/misc/workflows/actions/http/http-headers.hl diff --git a/backend/files/misc/workflows/actions/http/get-ip.hl b/backend/files/misc/workflows/actions/http/http-ip.hl similarity index 72% rename from backend/files/misc/workflows/actions/http/get-ip.hl rename to backend/files/misc/workflows/actions/http/http-ip.hl index 984b7fa0ce..88435cf82c 100644 --- a/backend/files/misc/workflows/actions/http/get-ip.hl +++ b/backend/files/misc/workflows/actions/http/http-ip.hl @@ -1,6 +1,6 @@ /* - * Returns all specified HTTP headers to caller. + * Returns the HTTP request's originating IP address. */ .arguments .icon:http diff --git a/backend/files/misc/workflows/actions/misc/config-get.hl b/backend/files/misc/workflows/actions/misc/config.hl similarity index 100% rename from backend/files/misc/workflows/actions/misc/config-get.hl rename to backend/files/misc/workflows/actions/misc/config.hl diff --git a/backend/files/misc/workflows/actions/misc/email-send.hl b/backend/files/misc/workflows/actions/misc/email.hl similarity index 100% rename from backend/files/misc/workflows/actions/misc/email-send.hl rename to backend/files/misc/workflows/actions/misc/email.hl diff --git a/backend/files/misc/workflows/actions/misc/workflow-conditionally-execute.hl b/backend/files/misc/workflows/actions/misc/execute-workflow-if.hl similarity index 100% rename from backend/files/misc/workflows/actions/misc/workflow-conditionally-execute.hl rename to backend/files/misc/workflows/actions/misc/execute-workflow-if.hl diff --git a/backend/files/misc/workflows/actions/misc/workflow-execute.hl b/backend/files/misc/workflows/actions/misc/execute-workflow.hl similarity index 100% rename from backend/files/misc/workflows/actions/misc/workflow-execute.hl rename to backend/files/misc/workflows/actions/misc/execute-workflow.hl diff --git a/backend/files/misc/workflows/actions/misc/slot-invoke.hl b/backend/files/misc/workflows/actions/misc/execute.hl similarity index 75% rename from backend/files/misc/workflows/actions/misc/slot-invoke.hl rename to backend/files/misc/workflows/actions/misc/execute.hl index 3b14662152..b14c315778 100644 --- a/backend/files/misc/workflows/actions/misc/slot-invoke.hl +++ b/backend/files/misc/workflows/actions/misc/execute.hl @@ -1,9 +1,8 @@ /* - * Invokes the specified [slot]. + * Executes the specified [slot]. * - * Will pass in all [arguments] to the specified [slot] and return whatever the - * slot returns. + * Will pass in all [arguments] and return whatever the slot returns. */ .arguments slot @@ -21,8 +20,6 @@ set-value:x:./*/execute get-value:x:@.arguments/*/slot add:x:./*/execute get-nodes:x:@.arguments/*/args/* -lambda2hyper:x:../* -log.info:x:- // Invokes slot. execute diff --git a/backend/files/misc/workflows/actions/misc/hash-create.hl b/backend/files/misc/workflows/actions/misc/hash.hl similarity index 100% rename from backend/files/misc/workflows/actions/misc/hash-create.hl rename to backend/files/misc/workflows/actions/misc/hash.hl diff --git a/backend/files/misc/workflows/actions/misc/log-create.hl b/backend/files/misc/workflows/actions/misc/log.hl similarity index 100% rename from backend/files/misc/workflows/actions/misc/log-create.hl rename to backend/files/misc/workflows/actions/misc/log.hl diff --git a/backend/files/misc/workflows/actions/misc/publish-socket-message.hl b/backend/files/misc/workflows/actions/misc/socket.hl similarity index 100% rename from backend/files/misc/workflows/actions/misc/publish-socket-message.hl rename to backend/files/misc/workflows/actions/misc/socket.hl diff --git a/backend/files/misc/workflows/snippets/get-cache.hl b/backend/files/misc/workflows/snippets/get-cache.hl deleted file mode 100644 index c49cedd40f..0000000000 --- a/backend/files/misc/workflows/snippets/get-cache.hl +++ /dev/null @@ -1,3 +0,0 @@ - -// Returns the specified item from your memory cache. -cache.get:cache-key diff --git a/backend/files/misc/workflows/snippets/join.hl b/backend/files/misc/workflows/snippets/join.hl deleted file mode 100644 index 7075a1ff20..0000000000 --- a/backend/files/misc/workflows/snippets/join.hl +++ /dev/null @@ -1,18 +0,0 @@ - -// Creates 2 new threads and waits for both threads to finish before proceeding. -join - - // First thread. - fork - - // This executes on thread 1. - log.info:Hello from thread 1 - - // Second thread. - fork - - // This executes on thread 2. - log.info:Hello from thread 2 - -// Both threads are finished executing. -log.info:Both threads are done executing diff --git a/backend/files/misc/workflows/snippets/semaphore.hl b/backend/files/misc/workflows/snippets/semaphore.hl deleted file mode 100644 index f32d89c505..0000000000 --- a/backend/files/misc/workflows/snippets/semaphore.hl +++ /dev/null @@ -1,3 +0,0 @@ - -// Ensures only one thread at the time can execute the code inside of [semaphore]. -semaphore:whatever-key diff --git a/backend/files/misc/workflows/snippets/set-cache.hl b/backend/files/misc/workflows/snippets/set-cache.hl deleted file mode 100644 index 5622d8f1f7..0000000000 --- a/backend/files/misc/workflows/snippets/set-cache.hl +++ /dev/null @@ -1,4 +0,0 @@ - -// Saves a value to the memory cache with the specified key. -cache.set:cache-key - value:x:@.some-value