Created
February 8, 2018 00:45
-
-
Save JedIV/d0eac1f9dbbff96de9bee5254fb7b8b9 to your computer and use it in GitHub Desktop.
prepare recipe curl
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 --request POST \ | |
--url http://localhost:8000/public/api/projects/CLEANPROJ/recipes/ \ | |
--header 'content-type: application/json' \ | |
--data ' | |
{ | |
"name": "compute_crm_last_year_prepared", | |
"projectKey": "CLEANPROJ", | |
"type": "shaker", | |
"neverRecomputeExistingPartitions": false, | |
"optionalDependencies": false, | |
"params": { | |
"engineParams": { | |
"spark": { | |
"pipelineAllowStart": true, | |
"pipelineAllowMerge": true, | |
"sparkConfig": { | |
"inheritConf": "default", | |
"conf": [] | |
}, | |
"readParams": { | |
"map": { | |
"crm_last_year": { | |
"repartition": 10, | |
"cache": false | |
} | |
} | |
} | |
}, | |
"hadoopConfigKeys": [], | |
"maxThreads": 8 | |
} | |
}, | |
"customMeta": { | |
"kv": {} | |
}, | |
"redispatchPartitioning": false, | |
"inputs": { | |
"main": { | |
"items": [ | |
{ | |
"ref": "crm_last_year", | |
"deps": [] | |
} | |
] | |
} | |
}, | |
"outputs": { | |
"main": { | |
"items": [ | |
{ | |
"ref": "crm_last_year_prepared", | |
"appendMode": false | |
} | |
] | |
} | |
}, | |
"versionTag": { | |
"versionNumber": 1, | |
"lastModifiedBy": { | |
"login": "jed" | |
}, | |
"lastModifiedOn": 1518050155181 | |
}, | |
"creationTag": { | |
"versionNumber": 0, | |
"lastModifiedBy": { | |
"login": "jed" | |
}, | |
"lastModifiedOn": 1518050151024 | |
}, | |
"tags": [], | |
"checklists": { | |
"checklists": [] | |
} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment