You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to rework the 'con' to be more in line with REST and modular. The main goals are:
The con CLI script needs to be modular. Currently, the known resources are hard coded and the resource discovery logic is poor. The script should dynamically discover resources.
We need to be able to use the same scripts for requests received through HTTP-REST and CLI. In practice, this means moving all the actual resource logic into PHP (though we should design to make handlers implemented in other languages trivial).
We will need to add a 'text' accept into the data processing in order to maintain the current level of usability. In other words, we do NOT want to force users to slavishly work in REST, though we will parallel closely. The majority of the simplification will be on he results which will give short command line like responses. If the user wants to see json, they can add 'result-format=json' (aliased to 'f=json') to any command.
We want to support referencing the script documentation with 'GET /documentation/resources/ and meta-descriptions '/GET /resources/'. For now the meta-information can just reference the documentation.
Before returning to master, the work branch will support the current workflow unit tests (allowing for updates to the CLI commands and responses).
We will be able to access /projects and /projects/ from the Dog Food and Liquid Labs sites.
Files 100% up to testable conveyor-documentation standards and reviewed for non-tested standards.
Decent test coverage for 50% of the projects.
Non-Goals:
We're not going to worry about the final REST API. Request parameters and response data are entirely fluid at this point. You should probably not develop anything against the REST or CLI APIs at this point unless you're okay with radical changes.
The text was updated successfully, but these errors were encountered:
We need to rework the 'con' to be more in line with REST and modular. The main goals are:
Non-Goals:
The text was updated successfully, but these errors were encountered: