Skip to content

Commit

Permalink
Merge pull request #308 from electric-cloud/BEE-40404
Browse files Browse the repository at this point in the history
Removed dependency on old perl
  • Loading branch information
eserratocb authored Oct 10, 2023
2 parents f0eba5f + 4604a9c commit 812df6b
Show file tree
Hide file tree
Showing 9 changed files with 79 additions and 72 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ configurations.all {

group = 'com.electriccloud'
description = 'Plugins : EC-WebSphere'
version = '2.9.1'
version = '3.0.0'

apply plugin: 'flow-gradle-plugin'

Expand Down
2 changes: 1 addition & 1 deletion cgi-bin/websphere.cgi
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

exec "$COMMANDER_HOME/bin/ec-perl" -x "$0" "${@}"
exec "$COMMANDER_HOME/bin/cb-perl" -x "$0" "${@}"

################################
#!perl
Expand Down
2 changes: 1 addition & 1 deletion cgi-bin/websphereMonitor.cgi
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

exec "$COMMANDER_HOME/bin/ec-perl" -x "$0" "${@}"
exec "$COMMANDER_HOME/bin/cb-perl" -x "$0" "${@}"

#!perl

Expand Down
2 changes: 2 additions & 0 deletions help/changelog.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
3.0.0:
- Upgraded from Perl 5.8 to Perl 5.32. The plugin is not backward compatible with {PRODUCT} versions prior to 10.3. Starting from this release, a new agent is required to run EC-WebSphere plugin procedures.
2.9.1:
- Added session validation.
2.9.0:
Expand Down
5 changes: 5 additions & 0 deletions help/help.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4424,6 +4424,11 @@ Discover WebSphere instance configuration on a resources or environment
[[rns]]
== Release notes

=== EC-WebSphere 3.0.0

- Upgraded from Perl 5.8 to Perl 5.32. The plugin is not backward compatible with {PRODUCT} versions prior to 10.3. Starting from this release, a new agent is required to run EC-WebSphere plugin procedures.


=== EC-WebSphere 2.9.1

- Added session validation.
Expand Down
2 changes: 1 addition & 1 deletion specs/src/test/resources/dsl/GetResources.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ print $fh $content;
projectName = testProjectName
releaseMode = 'none'
resourceName = '$[wasResourceName]'
shell = 'ec-perl'
shell = 'cb-perl'
subprocedure = null
subproject = null
timeLimit = ''
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<authorUrl>http://www.electric-cloud.com/support</authorUrl>
<category>Application Server</category>
<ecSupportLevel>10</ecSupportLevel>
<commander-version min="4.2" />
<commander-version min="10.3" />
<components>
<component name="ConfigurationManagement">
<javascript>war/ecplugins.websphere.ConfigurationManagement/ecplugins.websphere.ConfigurationManagement.nocache.js
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/project/pdk/FlowPDF/Exception.pm
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ A generic runtime exception.
We strongly recommend to use Try::Tiny for exceptions handling because eval {} approach has a lot of flaws.
One of them is that exception, that was raised during eval {} is automatically being assigned to global variable $@.
There are too many things that could go wrong. Try::Tiny is available in ec-perl.
There are too many things that could go wrong. Try::Tiny is available in cb-perl.
For example:
Expand Down
Loading

0 comments on commit 812df6b

Please sign in to comment.