-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README.md for Post-Deployment (#19)
* Update README.md Signed-off-by: Shelley Chase <[email protected]> * Modify the status CLI script to halt any further processing if no applications were returned (indicates a configuration issue or non-running instance). Improved documentation on post-deployment tailoring which should be done prior to usage. * Correcting bad PROPATH entry * Correcting logic for session metrics * Correcting line endings for shell script * Refactoring bin scripts, adjusting comments in configs * Minor change to default logfile name * Set execute bit on .sh on deployment * Always use the ABL logger framework for command logging --------- Signed-off-by: Shelley Chase <[email protected]> Co-authored-by: DustinGrau-PSC <[email protected]>
- Loading branch information
Showing
14 changed files
with
147 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<# | ||
.NOTES | ||
=========================================================================== | ||
Created on: 05/16/2023 | ||
Updated on: 05/16/2023 | ||
Created by: dugrau | ||
Organization: Progress Software Corp. | OpenEdge | ||
Filename: oemanager.ps1 | ||
=========================================================================== | ||
.DESCRIPTION | ||
This Powershell script is a called by the oemanager.bat script to execute | ||
the Ant utility in the DLC installation directory (DLC/ant). It utilizes | ||
the oemanager.xml file to configure all tasks and parameters available. | ||
This provides a command line interface to the OEManager webapp installed | ||
to a PAS instance to manage and monitor that instance. | ||
#> | ||
|
||
#---- Local Variables ----# | ||
[string]$script:_dlcPath=(Get-ChildItem -Path Env:DLC).Value | ||
[string]$script:_antPath="$script:_dlcPath\ant\bin\ant.bat" | ||
[string]$script:_taskFilePath="$PSScriptRoot\oemanager.xml" | ||
[string]$script:_taskArgs="" | ||
|
||
# Prefix arguments with a "-D" as necessary. This allows the user to pass parameters | ||
# without the prefix (if they forgot) and allows the task name to be anywhere within | ||
# the list of arguments passed to this script. Note that multiple tasks may be run, | ||
# in the order by which they are given. | ||
|
||
foreach ($arg in $args) { | ||
if ($arg.Contains("=") -and $arg -notlike "-D*") { | ||
$thisArg = " -D$arg" | ||
} | ||
else { | ||
$thisArg = " $arg" | ||
} | ||
$script:_taskArgs += $thisArg | ||
} | ||
|
||
# Run the ant utility from DLC/ant as previously discovered | ||
Invoke-Expression "& $script:_antPath -f $script:_taskFilePath $script:_taskArgs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2023-03-10T15:01:53.454 | ||
2023-05-18T07:26:44.981 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.