January 2018
Intermediate to advanced
336 pages
7h 56m
English
The helping-hands.service.core namespace defines all the interceptors that are used for the routes of the Service microservice. Since business model interceptors of Service are exactly the same as those of the Provider service and depend only on the Validation interceptors, let's focus only on the interceptors that validate the input parameters for Service routes. The implementation of the validation interceptor is shown in the following code snippet:
(ns helping-hands.service.core "Initializes Helping Hands Service Service" (:require [cheshire.core :as jp] [clojure.string :as s] [helping-hands.service.persistence :as p] [io.pedestal.interceptor.chain :as chain]) (:import [java.io IOException] [java.util UUID]));; delay ...
Read now
Unlock full access