diff --git a/conf/openmetadata.yaml b/conf/openmetadata.yaml index 500c24e51d9..163d93960ff 100644 --- a/conf/openmetadata.yaml +++ b/conf/openmetadata.yaml @@ -428,3 +428,8 @@ web: cache-control: ${WEB_CONF_CACHE_CONTROL:-""} pragma: ${WEB_CONF_PRAGMA:-""} +operationalConfig: + enable: ${OPERATIONAL_CONFIG_ENABLED:-true} + operationsConfigFile: ${OPERATIONAL_CONFIG_FILE:-"./conf/operations.yaml"} + + diff --git a/conf/operations.yaml b/conf/operations.yaml new file mode 100644 index 00000000000..ab82ba40652 --- /dev/null +++ b/conf/operations.yaml @@ -0,0 +1,15 @@ +email: + emailingEntity: ${OM_EMAIL_ENTITY:-"OpenMetadata"} + supportUrl: ${OM_SUPPORT_URL:-"https://slack.open-metadata.org"} + enableSmtpServer : ${AUTHORIZER_ENABLE_SMTP:-false} + senderMail: ${OPENMETADATA_SMTP_SENDER_MAIL:-"sender@gmail.com"} + serverEndpoint: ${SMTP_SERVER_ENDPOINT:-"smtp.gmail.com"} + serverPort: ${SMTP_SERVER_PORT:-"587"} + username: ${SMTP_SERVER_USERNAME:-""} + password: ${SMTP_SERVER_PWD:-""} + transportationStrategy: ${SMTP_SERVER_STRATEGY:-"SMTP_TLS"} + templates: ${TEMPLATES:-"collate"} + +serverUrl: + openMetadataUrl: ${OPENMETADATA_SERVER_URL:-"http://localhost:8585"} + diff --git a/openmetadata-spec/src/main/resources/json/schema/configuration/openMetadataBaseUrlConfiguration.json b/openmetadata-spec/src/main/resources/json/schema/configuration/openMetadataBaseUrlConfiguration.json index 61d9f9994b1..3e3cfc53c8e 100644 --- a/openmetadata-spec/src/main/resources/json/schema/configuration/openMetadataBaseUrlConfiguration.json +++ b/openmetadata-spec/src/main/resources/json/schema/configuration/openMetadataBaseUrlConfiguration.json @@ -8,7 +8,8 @@ "properties": { "openMetadataUrl": { "description": "OpenMetadata Server Endpoint", - "type": "string" + "type": "string", + "default": "http://localhost:8585" } }, "additionalProperties": false