Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RANCHER-1961. Implement Configuration class (eHolgins, SMTP, reset password link) on Eureka. #748

Open
wants to merge 2 commits into
base: RANCHER-1334
Choose a base branch
from

Conversation

epam-avramenko
Copy link
Contributor

No description provided.

Introduced a new class `Configurations` for handling tenant-specific configurations such as RMAPI, WorldCat, SMTP settings, and password reset links. This addition supports streamlined integration and management of these configurations using existing Kong and Keycloak services. Also includes methods for checking and setting these configurations.
…onfigurations, including SMTP, reset password links, eHolding and copycat.

Constants.CONFIGURATIONS.smtpConfig.each { config ->
def content = context.readFile file: tools.copyResourceFileToCurrentDirectory("okapi/configurations/" + config)
String entries = new GStringTemplateEngine().createTemplate(content).make(binding).toString()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why use template here?

return this
}

@NonCPS
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can cause many problems....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants