-
-
Save evacchi/72e97f92f7c46337b81a4a40351d756b to your computer and use it in GitHub Desktop.
kie server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST -H 'X-KIE-ContentType: JSON' -H 'Content-type: application/json' -u 'wbadmin:wbadmin' --data @data.json http://localhost:8080/kie-server/services/rest/server/containers/instances/example_1.0.0-SNAPSHOT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"commands":[ | |
{ | |
"insert":{ | |
"object":{ | |
"com.myspace.example.Person":{ | |
"name":"john", | |
"age":25 | |
} | |
} | |
} | |
}, | |
{ | |
"fire-all-rules": { | |
"max": -1, | |
"out-identifier": "fired" | |
} | |
}, | |
{ | |
"get-objects": { | |
"out-identifier": "facts" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment