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

Missing sortBuildMap function for language script zCEE2 #465

Merged
merged 4 commits into from
Feb 6, 2024

Conversation

M-DLB
Copy link
Collaborator

@M-DLB M-DLB commented Jan 16, 2024

Fixing the z/OS Connect EE 2 processing, where the sortBuildMap() function is used but is missing from the BuildUtilities.groovy script.

/*
* sortBuildMap - sorts a build Map by rank property values
*/
def sortBuildMap(HashMap<String, String> buildMap, String rankPropertyName) {
Copy link
Member

Choose a reason for hiding this comment

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

Could we call this sortBuildListMap ?

Build Map is a reserved term, and might be confusing.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Agreed, did the changes accordingly.

Signed-off-by: Mathieu Dalbin <[email protected]>
@@ -123,11 +123,14 @@ sortedList.each { buildFile, inputType ->
StringBuffer shellError = new StringBuffer()

String JAVA_HOME = props.getFileProperty('zcee2_JAVA_HOME', buildFile)
Copy link
Member

Choose a reason for hiding this comment

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

@M-DLB .
Can we probably use javaHome as a variable name, instead of the environment variable name?

Signed-off-by: Mathieu Dalbin <[email protected]>
@dennis-behm dennis-behm changed the title Implemented the missing sortBuildMap function Missing sortBuildMap function for language script zCEE2 Jan 23, 2024
@dennis-behm dennis-behm merged commit 616a5b5 into IBM:develop Feb 6, 2024
1 check passed
@dennis-behm dennis-behm linked an issue Feb 6, 2024 that may be closed by this pull request
@M-DLB M-DLB deleted the zCEE2-fix-sortBuildMap branch September 12, 2024 12:03
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.

Config JAVA environment settings for ZOS connect V2
2 participants