You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by dg...@apache.org on 2022/08/25 07:19:10 UTC
[unomi] branch unomi-1.6.x updated: Fixed documentation error as per feedback (#477)
This is an automated email from the ASF dual-hosted git repository.
dgriffon pushed a commit to branch unomi-1.6.x
in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to refs/heads/unomi-1.6.x by this push:
new 9af9714e1 Fixed documentation error as per feedback (#477)
9af9714e1 is described below
commit 9af9714e1364474bcd255efaeb6c7a905959486c
Author: Francois G <fg...@jahia.com>
AuthorDate: Thu Aug 25 03:19:05 2022 -0400
Fixed documentation error as per feedback (#477)
---
manual/src/main/asciidoc/configuration.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/manual/src/main/asciidoc/configuration.adoc b/manual/src/main/asciidoc/configuration.adoc
index 707aca27b..8e825b7ba 100644
--- a/manual/src/main/asciidoc/configuration.adoc
+++ b/manual/src/main/asciidoc/configuration.adoc
@@ -301,7 +301,7 @@ The first step consists in creating the groovy script on your filesystem, start
[source,groovy]
----
@Action(id = "helloWorldGroovyAction",
- actionExecutor = "groovy:helloWorldAction")
+ actionExecutor = "groovy:helloWorldAction",
parameters = [@Parameter(id = "location", type = "string", multivalued = false)])
def execute() {
logger.info("Hello {}", action.getParameterValues().get("location"))
@@ -342,7 +342,7 @@ curl -X POST 'http://localhost:8181/cxs/rules' \
"parameterValues": {
"location": "world!"
},
- "type": "helloWorldAction"
+ "type": "helloWorldGroovyAction"
}
]
}'