-
Notifications
You must be signed in to change notification settings - Fork 129
Plugin Descriptor JSON
bdrekapil edited this page Jun 1, 2016
·
6 revisions
Following is the high level json schema. Generate equivalent Java bean using http://www.jsonschema2pojo.org/
{
"pluginDetails": {
"pluginId": "td-support",
"name": "Teradata Support",
"description": "This plugin adds Teradata Support",
"version": 1,
"author": "John Doe",
"pluginWebsite": "http://bdreplugin.com",
"uninstallable": true
},
"pluginDependency": [
{
"pluginId": "minimal",
"version": 10,
"versionLevel": ">="
},
{
"pluginId": "semantic-support",
"version": 10,
"versionLevel": "="
}
],
"install": {
"fs": [
[
"action":"FILECOPY",
"sourceLocation":"somefile/in/the/plugin/archive",
"destinationLocation":"ud-ui/jsps/views/xx",
"permission":"777",
"copy":true
],
[
"action":"FILECOPY",
"sourceLocation":"somefile/in/the/plugin/archive",
"destinationLocation""ud-ui/jsps/views/xx",
"permission":"777",
"copy":true
],
[
"action":"FILECOPY",
"sourceLocation":"somefile/in/the/plugin/archive",
"destinationLocation""ud-ui/jsps/views/xx",
"permission":"777",
"copy":true
]
],
"metadata": {
"insert": [
{
"tableName": "PROCESS_TYPE",
"data": [
"1,'rec1',0",
"2,'rec2',0"
]
},
{
"tableName": "PROCESS_TYPE",
"data": [
"1,'rec1',0",
"2,'rec2',0"
]
},
{
"tableName": "WORKFLOW_TYPE",
"data": [
"1,'rec1',0",
"2,'rec2',0"
]
}
]
}
},
"uninstall": {}
}