diff --git a/pom.xml b/pom.xml index f159b77..b6a65e8 100644 --- a/pom.xml +++ b/pom.xml @@ -5,22 +5,22 @@ 078efef1-d139-48ed-92f5-f8d4a0592374 common-parent-pom - 1.0.30 + 1.0.33 078efef1-d139-48ed-92f5-f8d4a0592374 common-core - 1.0.25 + 1.0.27 mule-application common-core Shared Mule library that provides reusable flows, resources and configuration settings common for all applications - https://github.com/jpontdia/mule-common-core + https://github.com/jpontdia/common-core Common - Common, Salesfoce, OpenTelemetry + Common, Salesforce, OpenTelemetry, Snowflake, SQLServer, Email @@ -31,12 +31,23 @@ true mule-plugin + + + com.microsoft.sqlserver + mssql-jdbc + + + net.snowflake + snowflake-jdbc + + + com.mulesoft.connectors @@ -44,6 +55,40 @@ mule-plugin + + + org.mule.connectors + mule-email-connector + mule-plugin + + + + + org.mule.connectors + mule-db-connector + mule-plugin + + + com.mulesoft.connectors + mule4-snowflake-connector + mule-plugin + + + + + com.microsoft.sqlserver + mssql-jdbc + + + com.microsoft.sqlserver + mssql-jdbc_auth + dll + + + net.snowflake + snowflake-jdbc + + 078efef1-d139-48ed-92f5-f8d4a0592374 diff --git a/src/main/mule/global-configuration-snowflake.xml b/src/main/mule/global-configuration-snowflake.xml new file mode 100644 index 0000000..38b0034 --- /dev/null +++ b/src/main/mule/global-configuration-snowflake.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + diff --git a/src/main/mule/global-configuration-sqlserver.xml b/src/main/mule/global-configuration-sqlserver.xml new file mode 100644 index 0000000..77b2a48 --- /dev/null +++ b/src/main/mule/global-configuration-sqlserver.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + diff --git a/src/main/mule/global-configuration.xml b/src/main/mule/global-configuration.xml index 0ac7d29..e5fc1bc 100644 --- a/src/main/mule/global-configuration.xml +++ b/src/main/mule/global-configuration.xml @@ -20,4 +20,28 @@ serviceName="${otel.servicename}" additionalTags="env=${env}" collectorEndpoint="${otel.collectorendpoint}"/> + + + + + + + + + + + + diff --git a/src/main/resources/global-config.yaml b/src/main/resources/global-config.yaml index b2fd728..ef9c44b 100644 --- a/src/main/resources/global-config.yaml +++ b/src/main/resources/global-config.yaml @@ -1,9 +1,17 @@ # Default environment env: local +# Java Keystore for SSL and TLS-Context +jks: + keypassword: 'myKeypassword' + path: 'myJksPath' + # Listening port of the serivce +httpprotocol: "HTTPS" http: port: "8081" +https: + port: "8082" # Salesfoce Connection salesforce: @@ -24,6 +32,20 @@ otel: logzio.token: "MyToken" logzio.url: "MyUrl" +# Email +email: + host: 'outlook.office365.com' + port: '587' + user: 'myUser' + pass: 'myPass' + +# SQL Server +mssql: + host: 'myHost' + user: 'myUser' + pass: 'myPAss' + name: 'master' + # Service messages messages: backend-error: "There was a problem while trying to access the backend repository" @@ -33,10 +55,9 @@ messages: apikit-406: "Not acceptable" apikit-415: "Unsupported media type" apikit-501: "Not Implemented" + one-query-filter: "At least one query filter must be sent other than maxRecords or pagination parameters" 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" - - + record-exists: "The record already exists" \ No newline at end of file