From e20fbeeaf313163fa94180d5498f8baae976310d Mon Sep 17 00:00:00 2001 From: Joaquin Esteban Ponte Diaz Date: Tue, 24 Oct 2023 19:58:13 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=8C=20IMPROVE:=20Add=20messages=20for?= =?UTF-8?q?=20CRUD=20operations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/main/resources/global-config.yaml | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 7416957..b4cb90b 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ 078efef1-d139-48ed-92f5-f8d4a0592374 common-core - 1.0.20 + 1.0.21 mule-application common-core Shared Mule library that provides reusable flows, resources and configuration settings common for all applications diff --git a/src/main/resources/global-config.yaml b/src/main/resources/global-config.yaml index 6b95cef..16f13d1 100644 --- a/src/main/resources/global-config.yaml +++ b/src/main/resources/global-config.yaml @@ -16,6 +16,10 @@ otel: collectorendpoint: "http://localhost:4317" servicename: "myservice" +# Logging - logz.io +logzio.token: "MyToken" +logzio.url: "MyUrl" + # Service messages messages: backend-error: "There was a problem while trying to access the backend repository" @@ -25,7 +29,10 @@ messages: apikit-406: "Not acceptable" apikit-415: "Unsupported media type" apikit-501: "Not Implemented" + record-delete-success: "The record was deleted successfully" + record-delete-error: "The record cannot be deleted; it doesn´t exist or has relationships with other resources" + record-create-success: "The record was created successfully" + record-create-error: "There was a problem while creating the record" + record-exists: "The record already exists" + -# Logging - logz.io -logzio.token: "MyToken" -logzio.url: "MyUrl" \ No newline at end of file