Skip to content

Commit

Permalink
👌 IMPROVE: Add messages for CRUD operations
Browse files Browse the repository at this point in the history
  • Loading branch information
jpontdia committed Oct 25, 2023
1 parent 4c08fda commit e20fbee
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>078efef1-d139-48ed-92f5-f8d4a0592374</groupId>
<artifactId>common-core</artifactId>
<version>1.0.20</version>
<version>1.0.21</version>
<packaging>mule-application</packaging>
<name>common-core</name>
<description>Shared Mule library that provides reusable flows, resources and configuration settings common for all applications</description>
Expand Down
13 changes: 10 additions & 3 deletions src/main/resources/global-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"

0 comments on commit e20fbee

Please sign in to comment.