Documentation June 5, 2020

How to build services

You can add new data sources to your MetaMate by building services. Services receive mql requests, map them on vendor specific requests and map the responses back onto mql responses.

We will use metactl gen to generate a service sdk for our service and metactl test service to test our service.

We will implement a service that authenticates with a data source and gets SocialAccounts, PostFeeds and Posts.

  • Generate sdk
  • Implement service
    • Define authenticateServiceAccount
    • Define endpoint test cases and request filters
    • Handle requests
  • Test service
  • Distribute service as docker image
comments powered by Disqus