Reader small image

You're reading from  Microservices with Clojure

Product typeBook
Published inJan 2018
Reading LevelIntermediate
PublisherPackt
ISBN-139781788622240
Edition1st Edition
Languages
Right arrow
Author (1)
Anuj Kumar
Anuj Kumar
author image
Anuj Kumar

Anuj Kumar is the co-founder and chief architect of FORMCEPT, a data analytics startup based in Bangalore, India. He has more than 10 years of experience in designing large-scale distributed systems for storage, retrieval, and analytics. He has been in industry hacking, mainly in the area of data integration, data quality, and data analytics using NLP and machine learning techniques. He has published research papers at ACM conferences, got a few patents granted, and has spoken at TEDx. Prior to FORMCEPT, he has worked with the Oracle Server Technologies division in Bangalore, India.
Read more about Anuj Kumar

Right arrow

Creating a microservice for Services


The Service microservice manages the list of services offered by the service providers via the Helping Hands application. It exposes APIs for service providers to register services that are offered by them. As per the workflow of Service, defined in Chapter 3, Microservices for Helping Hands Application, the following APIs are required to create a new service, get service details, and update service details. Each service must already have the service provider registered with the Helping Hands application via the Service Provider microservice. Since only an existing service provider can register a service, the service provider ID is retrieved by the Auth token received with the request calling the Service API to create a new service:

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Microservices with Clojure
Published in: Jan 2018Publisher: PacktISBN-13: 9781788622240

Author (1)

author image
Anuj Kumar

Anuj Kumar is the co-founder and chief architect of FORMCEPT, a data analytics startup based in Bangalore, India. He has more than 10 years of experience in designing large-scale distributed systems for storage, retrieval, and analytics. He has been in industry hacking, mainly in the area of data integration, data quality, and data analytics using NLP and machine learning techniques. He has published research papers at ACM conferences, got a few patents granted, and has spoken at TEDx. Prior to FORMCEPT, he has worked with the Oracle Server Technologies division in Bangalore, India.
Read more about Anuj Kumar

URI

Description

GET /services/:id/?flds=name,mobile

Gets the details of the service with the specified :id if the :id is specified. Optionally, it accepts a CSV of fields to be returned in the response.

PUT /services/:id

Creates...