-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat(12135): Adding support for list access using env variables #12136
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
base: 4.10.x
Are you sure you want to change the base?
feat(12135): Adding support for list access using env variables #12136
Conversation
a15ed02 to
26022fe
Compare
26022fe to
3ae0c10
Compare
|
@davidgammon-mettle need a test |
Added. |
c4e39f0 to
97c314b
Compare
| continue; | ||
| } | ||
| result.put(envVar, entry.getValue()); | ||
| Map<String, String> result = new HashMap<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be a LinkedHashMap to retain order
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
existing code but updated as per comment.
| /** | ||
| * Converts list elemtents defined as _0 or _0_ into names that the resolver can understand; i.e., [0]. | ||
| */ | ||
| private static final String LIST_CONVERTER_REGEX = "_([0-9]{1,2})(?:_|$)"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pre compile this regex
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
e0f020b to
16bcc84
Compare
16bcc84 to
41eb0c9
Compare
|
@graemerocher looks like the failed build might have been a victim of the aws outage? Any chance of rerunning the build? 🙏 |
PR for ticket: #12135