Closed sfoulkes closed 12 years ago
rickw: It's not a REST service. It's just a web page, with one exposed index(), and one exposed handler.
sfoulkes: We need to support people injecting requests into the ReqMgr using a REST interface. DataOps will occasionally receive requests with O(1000) workflows in them, which would be tedious to enter into the WebRequestSchema by hand. The current exposed handler is fine for this, we just need to document it.
rickw: Oh. The command line interface. It hasn't been updated in a long time, or even included in this release, but it should be easy to dust it off and start using it again.
sfoulkes: I don't think we need a command line interface. There will be external services that will want to create requests in the ReqMgr (GenDB) and all we really need to do for them is document the interfaces for creating requests.
rickw: I think you just want to use the ReqMgrRESTModel's PUT request, like in
self.jsonSender.put('/reqMgr/request/'+requestName, requestSchema)
where requestSchema is an instance of ReRecoSchema, MonteCarloSchema, etc.
I'll update https://twiki.cern.ch/twiki/bin/viewauth/CMS/ReqMgrSystemDesign
rickw: Added Steve's technique of sending the schema directly to the HTTP handler that he posted to the wave to the wiki.
I don't see it with the rest of the REST calls...