A recipe is a pre-configured Mashling json file which can be customized or used as is for a specific gateway use case. The pre-compiled recipe binaries along with the json files are available in mashling.io website.
A recipe should be contained in its own folder under 'recipes' folder. The recipe folder should have a Mashling json file, README.md and an optional icon image file. In the absence of the icon image file, the default Mashling icon image is used by mashling.io for the recipe. When the icon image file is present, the Mashling json file should have an icon image file field as follows:
{
"mashling_schema": "0.2",
"gateway": {
"name": "allRecipe",
"version": "1.0.0",
"display_name":"KafkaTrigger to KafkaPublisher",
"display_image":"displayImage.svg",
"..."
}
}If "display_name" field is present in the json, its value is used as the recipe name in mashling.io. Otherwise, the value of "name" field is used.
recipe_registry.json contains the list of recipe providers and the recipes to publish. The recipe folder name should be added to the "publish" field for the recipe to be made available in mashling.io. For example, KafkaTrigger-To-KafkaPublisher recipe gateway binaries are built and made downloadable from mashling.io given the following recipe_registry.json:
{
"recipe_repos": [
{
"provider": "TIBCOSoftware Engineering",
"description": "Mashling gateway recipes from TIBCOSoftware Engineering",
"publish": "KafkaTrigger-To-KafkaPublisher, KafkaTrigger-To-RestInvoker"
},
{
"provider": "TIBCOSoftware Services",
"description": "Mashling gateway recipes from TIBCO Services",
"publish": ""
}
]
}mashling-recipes is licensed under a BSD-type license. See license text here.
You can post your questions via GitHub issues.