Created
September 30, 2019 13:45
-
-
Save chatman/2f231b0db5aef491d35657fb266c57f2 to your computer and use it in GitHub Desktop.
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
[ | |
{ | |
"id": "question-answer", | |
"description": "A natural language question answering plugin", | |
"versions": [ | |
{ | |
"version": "1.0.0", | |
"date": "2019-01-01", | |
"url": "question-answer-request-handler-1.0.jar", | |
"sig": "C9UWKkucmY3UNzqn0VLneVMe9kCbJjw7Urc76vGenoRwp32xvNn5ZIGZ7G34xZP7cVjqn/ltDlLWBZ/C3eAtuw==", | |
"metadata": { | |
"min-solr-version": "8.0", | |
"max-solr-version": "8.99", | |
"dependencies": [], | |
"plugins": [ | |
{ | |
"id": "request-handler", | |
"setup-command": "{\"add-requesthandler\": {\"name\": \"\/mypath\", \"class\": \"fullstory.QARequestHandler\", \"defaults\":{ \"x\": \"y\" ,\"a\": \"b\", \"rows\":10 }, \"useParams\": \"x\", \"package\": \"question-answer\"}}", | |
"update-command": "{\"update-requesthandler\": {\"name\": \"\/mypath\", \"class\": \"fullstory.QARequestHandler\", \"defaults\":{ \"x\": \"y\" ,\"a\": \"b\", \"rows\":10 }, \"useParams\": \"x\", \"package\": \"question-answer\"}}", | |
"uninstall-command": null, | |
"verify-command": { | |
"path": "/api/collections/{collection}/config/requestHandler?componentName=/mypath&meta=true", | |
"method": "GET", | |
"condition": "$['config'].['requestHandler'].['/mypath'].['_packageinfo_'].['version']", | |
"expected": "{package-version}" | |
} | |
} | |
] | |
} | |
}, | |
{ | |
"version": "1.1.0", | |
"date": "2019-01-01", | |
"url": "question-answer-request-handler-1.1.jar", | |
"sig": "VKfK8aAgH8Ys8vZ0Pym3vnWalhC8WpfcwADw3pvUHG9Kui0UMJ0L6hTNuH41tuo5FrfG7cu2roPGsYXg2WzV5g==", | |
"metadata": { | |
"min-solr-version": "8.0", | |
"max-solr-version": "8.99", | |
"dependencies": [], | |
"plugins": [ | |
{ | |
"id": "request-handler", | |
"setup-command": "{\"add-requesthandler\": {\"name\": \"\/mypath\", \"class\": \"fullstory.QARequestHandler\", \"defaults\":{ \"x\": \"y\" ,\"a\": \"b\", \"rows\":10 }, \"useParams\": \"x\", \"package\": \"question-answer\"}}", | |
"update-command": "{\"update-requesthandler\": {\"name\": \"\/mypath\", \"class\": \"fullstory.QARequestHandler\", \"defaults\":{ \"x\": \"y\" ,\"a\": \"b\", \"rows\":10 }, \"useParams\": \"x\", \"package\": \"question-answer\"}}", | |
"uninstall-command": null, | |
"verify-command": { | |
"path": "/api/collections/{collection}/config/requestHandler?componentName=/mypath&meta=true", | |
"method": "GET", | |
"condition": "$['config'].['requestHandler'].['/mypath'].['_packageinfo_'].['version']", | |
"expected": "{package-version}" | |
} | |
} | |
] | |
} | |
} | |
] | |
} | |
] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment