From 49cbfa6d7d8c678fd46ec0278de02f75c462ddbb Mon Sep 17 00:00:00 2001 From: Saad Date: Mon, 30 Sep 2024 23:00:09 -0400 Subject: [PATCH] update --- README.md | 4 ++-- src/controller/ServiceCommand.js | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d9192a9..bbe2c8b 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,8 @@ docker compose up * [Docker](https://en.wikipedia.org/wiki/Docker_(software)) * [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) -#### Legacy Classic JS based Demo -* [Demo: Employee Admin Microservice](https://github.com/PureMVC/puremvc-js-demo-microservice-employeeadmin/tree/1.0.0) +#### Legacy Classic JS-based Demo +* [Demo: Employee Admin Microservice](https://github.com/PureMVC/puremvc-js-demo-microservice-employeeadmin/tree/2.0.0) ## Status Production - [Version 2.0](https://github.com/PureMVC/puremvc-js-demo-microservice-employeeadmin/blob/master/VERSION) diff --git a/src/controller/ServiceCommand.js b/src/controller/ServiceCommand.js index 356b72f..1eec5aa 100644 --- a/src/controller/ServiceCommand.js +++ b/src/controller/ServiceCommand.js @@ -14,6 +14,12 @@ import {URL} from "url"; export class ServiceCommand extends SimpleCommand { + /** + * @param {Notification} notification + * @param {IncomingMessage} notification.body.request + * @param {ServerResponse} notification.body.response + * @returns {Promise} + */ async execute(notification) { const {request, response, requestData} = notification.body; const { method, url } = request;