It seems that while the bbop-rest-manager engine works fine POSTing in Noctua with bbop-manager-minerva, it does not work properly with bbop-manager-golr. When attempting to switch amigo's bin/amigo.js over to method POST for the engine in the terms resolution, I got an error like:
TypeError: first argument must be a string or Buffer
at ClientRequest.OutgoingMessage.write (_http_outgoing.js:459:11)
at manager_node.start (/home/sjcarbon/local/src/git/amigo/node_modules/bbop-rest-manager/lib/manager.js:457:6)
at anchor._runner (/home/sjcarbon/local/src/git/amigo/node_modules/bbop-manager-golr/lib/manager.js:93:27)
at manager.update (/home/sjcarbon/local/src/git/amigo/node_modules/bbop-manager-golr/lib/manager.js:2730:24)
at search (/home/sjcarbon/local/src/git/amigo/node_modules/bbop-manager-golr/lib/manager.js:1126:16)
at /home/sjcarbon/local/src/git/amigo/bin/amigo.js:595:10
at Layer.handle [as handle_request] (/home/sjcarbon/local/src/git/amigo/node_modules/express/lib/router/layer.js:95:5)
at next (/home/sjcarbon/local/src/git/amigo/node_modules/express/lib/router/route.js:131:13)
at next (/home/sjcarbon/local/src/git/amigo/node_modules/express/lib/router/route.js:125:14)
at next (/home/sjcarbon/local/src/git/amigo/node_modules/express/lib/router/route.js:125:14)
Looks like I messed up argument order somewhere; I note that the GOlr code is older and has no POST tests.
For reference:
geneontology/amigo#432 (comment)
It seems that while the bbop-rest-manager engine works fine POSTing in Noctua with bbop-manager-minerva, it does not work properly with bbop-manager-golr. When attempting to switch amigo's bin/amigo.js over to method POST for the engine in the terms resolution, I got an error like:
TypeError: first argument must be a string or Buffer
at ClientRequest.OutgoingMessage.write (_http_outgoing.js:459:11)
at manager_node.start (/home/sjcarbon/local/src/git/amigo/node_modules/bbop-rest-manager/lib/manager.js:457:6)
at anchor._runner (/home/sjcarbon/local/src/git/amigo/node_modules/bbop-manager-golr/lib/manager.js:93:27)
at manager.update (/home/sjcarbon/local/src/git/amigo/node_modules/bbop-manager-golr/lib/manager.js:2730:24)
at search (/home/sjcarbon/local/src/git/amigo/node_modules/bbop-manager-golr/lib/manager.js:1126:16)
at /home/sjcarbon/local/src/git/amigo/bin/amigo.js:595:10
at Layer.handle [as handle_request] (/home/sjcarbon/local/src/git/amigo/node_modules/express/lib/router/layer.js:95:5)
at next (/home/sjcarbon/local/src/git/amigo/node_modules/express/lib/router/route.js:131:13)
at next (/home/sjcarbon/local/src/git/amigo/node_modules/express/lib/router/route.js:125:14)
at next (/home/sjcarbon/local/src/git/amigo/node_modules/express/lib/router/route.js:125:14)
Looks like I messed up argument order somewhere; I note that the GOlr code is older and has no POST tests.
For reference:
geneontology/amigo#432 (comment)