122 lines
3.6 KiB
JSON
122 lines
3.6 KiB
JSON
{
|
|
"title": "WordCloud Urls",
|
|
"description": "word cloud generator. rif https://github.com/amueller/word_cloud",
|
|
"version": "1.0.0",
|
|
"jobControlOptions": "async-execute",
|
|
"metadata": [
|
|
{
|
|
"title": "Alfredo Oliviero",
|
|
"role": "author",
|
|
"href": "https://accounts.dev.d4science.org/auth/admin/realms/d4science/users/b9969b51-578f-4b69-a53f-2c8adf9efcc7"
|
|
},
|
|
{
|
|
"role": "category",
|
|
"title": "WordCloud"
|
|
},
|
|
{
|
|
"role": "category",
|
|
"title": "Examples"
|
|
}
|
|
],
|
|
"inputs": {
|
|
"ccpimage": {
|
|
"id": "ccpimage",
|
|
"title": "Runtime",
|
|
"description": "The image of the runtime to use for method execution. This depends on the infrastructure specific protocol for interacting with registries.",
|
|
"minOccurs": 1,
|
|
"maxOccurs": 1,
|
|
"schema": {
|
|
"type": "string",
|
|
"format": "url",
|
|
"contentMediaType": "text/plain",
|
|
"default": "python:3.9.19",
|
|
"readOnly": false
|
|
}
|
|
},
|
|
"file_url": {
|
|
"id": "file_url",
|
|
"title": "file",
|
|
"description": "the file to analyze",
|
|
"minOccurs": 1,
|
|
"maxOccurs": 1,
|
|
"schema": {
|
|
"type": "string",
|
|
"format": "url",
|
|
"contentMediaType": "text/plain",
|
|
"default": "https://data.d4science.net/WWxr"
|
|
}
|
|
}
|
|
},
|
|
"outputs": {
|
|
"stdout": {
|
|
"id": "stdout",
|
|
"title": "Standard output",
|
|
"description": "Standard output channel",
|
|
"minOccurs": 1,
|
|
"maxOccurs": 1,
|
|
"metadata": [
|
|
{
|
|
"role": "file",
|
|
"title": "stdout",
|
|
"href": "stdout"
|
|
}
|
|
],
|
|
"schema": {
|
|
"type": "string",
|
|
"contentMediaType": "text/plain"
|
|
}
|
|
},
|
|
"stderr": {
|
|
"id": "stderr",
|
|
"title": "Standard error",
|
|
"description": "Standard error channel",
|
|
"minOccurs": 1,
|
|
"maxOccurs": 1,
|
|
"metadata": [
|
|
{
|
|
"role": "file",
|
|
"title": "stderr",
|
|
"href": "stderr"
|
|
}
|
|
],
|
|
"schema": {
|
|
"type": "string",
|
|
"contentMediaType": "text/plain"
|
|
}
|
|
}
|
|
},
|
|
"additionalParameters": {
|
|
"parameters": [
|
|
{
|
|
"name": "deploy-script",
|
|
"value": [
|
|
"pip install --root-user-action=ignore --disable-pip-version-check wordcloud",
|
|
"curl -L {{file_url}} -o /ccp_data/input.txt",
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"name": "execute-script",
|
|
"value": [
|
|
"wordcloud_cli --text /ccp_data/input.txt --imagefile /ccp_data/wordcloud.png"
|
|
]
|
|
},
|
|
{
|
|
"name": "undeploy-script",
|
|
"value": []
|
|
}
|
|
]
|
|
},
|
|
"links": [
|
|
{
|
|
"rel": "compatibleWith",
|
|
"title": "D4Science development Infrastructure",
|
|
"href": "infrastructures/d4science-dev-swarm"
|
|
}
|
|
],
|
|
"keywords": [
|
|
"python",
|
|
"wordcloud"
|
|
],
|
|
"id": "e21acefd-d584-454d-bb53-a0e5b8b77e1a"
|
|
} |