Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

79 - Run-flow transform #107

Merged

Conversation

maeisabelle
Copy link
Contributor

Implemented a run-flow transform that can be invoked from PUT /v1/documents, java code inside a Java container, and REST extension. To verify if the transform is already installed, run http://localhost:8010/LATEST/config/transforms where localhost is the mlHost and 8010 is the port (mlStagingRestPort or mlFinalRestPort). I also updated README.md to guide the users how to use it.

Let me know if I also need to create a JAVA method that inserts multiple documents using the run-flow transform.

…hen inserting/updating documents.

* Updated README.md to guide the users how to use it
{
let $entityName := map:get($params, 'entity-name')
let $flowName := map:get($params, 'flow-name')
let $flowType := map:get($params, 'flow-type')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this transform is only for input flows. There is no need for a flow-type param.

let $entityName := map:get($params, 'entity-name')
let $flowName := map:get($params, 'flow-name')

let $flow := flow:get-flow($entityName,$flowName,())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

close. you still need to pass in input here. Just don't make it a user supplied param.

paxtonhare added a commit that referenced this pull request Mar 11, 2016
@paxtonhare paxtonhare merged commit a2cfe97 into Marklogic-retired:master Mar 11, 2016
@paxtonhare paxtonhare deleted the 79-RunFlowFromTransform branch March 14, 2016 14:35
brucean52 pushed a commit to brucean52/marklogic-data-hub that referenced this pull request Mar 2, 2020
…N/explorer-ui:dhfprod-3462 to develop

* commit 'e1c35ee213e919f400d38aee89c17d4a6e39e1e4':
  added more error handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants