From 854f534d4a67b2fde3aeef1d6e9d93426471473c Mon Sep 17 00:00:00 2001 From: "Fuentes Serna Juan Mariano (ID SIS)" <juanf@bs-mbpr28.d.ethz.ch> Date: Tue, 6 Feb 2018 14:08:51 +0100 Subject: [PATCH] SSDM-6001 - More documentation, Service class description --- microservice-server/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/microservice-server/README.md b/microservice-server/README.md index 4b84061a974..f1089d807bd 100644 --- a/microservice-server/README.md +++ b/microservice-server/README.md @@ -32,7 +32,11 @@ JSON object mapper interface and implementations. Logging interface and implementation. ### ch.ethz.sis.microservices.server.services ### -Service interface and implementation. +Service interface and implementations. + +To implement a new service is sufficient to extend the class ch.ethz.sis.microservices.server.services.Service. This class extends the standard J2EE HttpServlet and is up to the implementer to decide to accept the different http methods. + +This class just provides a convenience method getServiceConfig() to retrieve the configuration. ### ch.ethz.sis.microservices.server.startup ### Main class and launcher. -- GitLab