The pipelines package provides a way for developers to:
- Define microservices that convert between media formats.
- Compose graphing pipelines of those microservices.
To start a cluster of local pipeline servers:
- Make sure you have node installed
- cd to the project directory
- npm install
- node server.js
You should see messages in the console:
Serving function at crud://media
Serving function at crud://conversion_request
Serving function at http://localhost:3000/create-media
Serving function at http://localhost:3001/search-media
Serving function at http://localhost:3002/create-conversion-request
Serving function at http://localhost:3003/search-conversion-request
Serving function at http://localhost:3004/pipeline-display_ad
Serving function at http://localhost:3005/pipeline-liner_ad
To send a payload to the display_ad entry point:
- Copy the full url for /pipeline-display_ad from the messages in the console.
- curl -H "Content-Type: application/json" -X POST -d '{"pdf":"abc"}' URL
Start by looking at server.js, which is the beginning of the breadcrumb trail.