---++ POST api/entities/validate/entity-type?skipDryRun=false
* Description
* Parameters
* Results
* Examples
---++ Description
Validates the submitted entity.
---++ Parameters
* :entity-type can be cluster, feed or process.
* skipDryRun : Optional query param, Falcon skips oozie dryrun when value is set to true.
---++ Results
Result of the validation.
---++ Examples
---+++ Rest Call
POST http://localhost:15000/api/entities/validate/cluster
---+++ Result
{
"requestId": "dd3f6c3a-a6f1-4c50-97fb-3f9a3f698e10",
"message": "Validated successfully (CLUSTER) primary-cluster",
"status": "SUCCEEDED"
}
---+++ Rest Call
POST http://localhost:15000/api/entities/validate/feed?skipDryRun=true
group
hours(1)
---+++ Result
{
"requestId": "c85b190e-e653-493a-a863-d62de9c2e3b0",
"message": "Validated successfully (FEED) SampleInput",
"status": "SUCCEEDED"
}
---+++ Rest Call
POST http://localhost:15000/api/entities/validate/feed
group
hours(1)
---+++ Result
{
"requestId": "60781732-460e-4c6c-ba86-a75fae574b05",
"message": "Validated successfully (FEED) SampleOutput",
"status": "SUCCEEDED"
}
---+++ Rest Call
POST http://localhost:15000/api/entities/validate/process
1
FIFO
hours(1)
---+++ Result
{
"requestId": "e4a965c6-c7a2-41d9-ba08-2e77f1c43f57",
"message": "Validated successfully (PROCESS) SampleProcess",
"status": "SUCCEEDED"
}