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

Support System env value #29704

Closed
wants to merge 3 commits into from

Conversation

xiaomizhou2
Copy link

Fixes #29657.

Changes proposed in this pull request:
Support System env value.


Before committing this PR, I'm sure that I have checked the following options:

  • My code follows the code of conduct of this project.
  • I have self-reviewed the commit code.
  • I have (or in comment I request) added corresponding labels for the pull request.
  • I have passed maven check locally : ./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e.
  • I have made corresponding changes to the documentation.
  • I have added corresponding unit tests for my changes.

builder.append(line).append('\n');
}
}
return builder.toString().getBytes(StandardCharsets.UTF_8);
}
}

private String replaceVariables(final String line) {
Pattern variablePattern = Pattern.compile("\\$\\{(.+?)\\}");
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

  • I should know where the conflict is going to be, but using #{(.+?)} would be considered a comment, so my current approach may not work well.

@xiaomizhou2
Copy link
Author

Because this scheme conflicts with other configurations, I'll close this PR.

@xiaomizhou2 xiaomizhou2 deleted the support-system-value branch January 19, 2024 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

profiles support global env value
2 participants