|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ca.dso.itpam.webservice.cli.ItpamWebServiceCLIConstants
com.ca.dso.itpam.webservice.cli.ItpamWebServiceCLIUtils
com.ca.dso.itpam.webservice.cli.ItpamWebServiceCLI
public class ItpamWebServiceCLI
CA ITPAM Web Service Command Line Interface
caitpamwsu.cmd [/? or /h or /help]Service Configuration and Authentication:
Displays general usage.
caitpamwsu.cmd
Invokes web service methods silently. Commands that produce output will write to STDOUT. Error messages will be written to STDERR. Environment variable "ERRORLEVEL" will be set to one of the success/error codes listed below and the success/error code will be returned:
0 Completed successfully
9001 Attempt to initialize CLI utilities failed
9002 Unexpected Java or web service exception
9003 IT PAM entity not found or inaccessible
9004 Method not supported for action/entities specified
9005 Required argument or parameter not specified
9006 Unsupported date format specified
9007 Host specified not found or inaccessible
9008 Insufficient user permissions
9009 Unexpected web service exception thrown by web service host
caitpamwsu.cmd [/i]
Invokes web service methods interactively (i.e., results and errors) are displayed on the console. The "/i" switch must be the first argument specified.
Actions that communicate with the IT PAM web service require the user to specify values for the following parameters:
user=
password=
uri=: /itpam/soap)>
version=
For security reasons user name and password are not stored and must be specified each time the utility is invoked.
The action, "setServiceConfig", has been provided to store the "uri" and "version" to eliminate the need to specify the values each time. The saved values may be superseded by specifying the arguments when a command is issued. The current stored values may be retrieved using the "getServiceConfig" command.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.ca.dso.itpam.webservice.cli.ItpamWebServiceCLIUtils |
---|
com.ca.dso.itpam.webservice.cli.ItpamWebServiceCLIUtils.ItpamCLIParameterMissingOrInvalidException, com.ca.dso.itpam.webservice.cli.ItpamWebServiceCLIUtils.ItpamCLIUnexpectedReturnException |
Field Summary | |
---|---|
static java.lang.String |
CACOPYRIGHT
Public string constant required by CA |
Fields inherited from class com.ca.dso.itpam.webservice.cli.ItpamWebServiceCLIUtils |
---|
bolAbsolutePath, bolAllowPartialMatch, bolEnablePatternMatch, bolEventSingleSubscriber, bolHelpRequested, bolImportMakeAvailable, bolImportMakeCurrent, bolInteractiveMode, bolOverwriteTargetFile, bolRecursive, bolTargetPathIsLocal, client, intExitCode, intLevelsToSearch, lEventExpirationDuration, lInteractionId, logger, lProcessId, lStartRequestId, messages, propertiesAttachments, propertiesParameters, strAction, strActionFile, strAttachmentParameterName, strContentId, strContentType, strEndDate, strEventDestination, strEventExpression, strEventName, strEventPayload, strEventSource, strEventType, strImportSourcePathFileName, strImportTargetLibraryPathName, strItpamPassword, strItpamUri, strItpamUser, strItpamVersion, strLevel, strOutputFormat, strProcessName, strSearchPath, strSourceLibraryPath, strStartDate, strStartRequestName, strStartRequestPath, strStartTime, strTargetFileName, strTargetPath, strUsageResourceBundle, vActionsSupported, vAttachmentIds, vCategories, vKeywords, vObjectTypes |
Fields inherited from class com.ca.dso.itpam.webservice.cli.ItpamWebServiceCLIConstants |
---|
ARG_NAME_ABSOLUTE_PATH, ARG_NAME_ACTION, ARG_NAME_ACTION_FILE, ARG_NAME_ALLOW_PARTIAL_MATCH, ARG_NAME_ATTACHMENT_ID, ARG_NAME_ATTACHMENT_NAME, ARG_NAME_ATTACHMENT_PARAMETER_NAME, ARG_NAME_CATEGORY, ARG_NAME_CONNNECTION_ID, ARG_NAME_CONTENT_ID, ARG_NAME_CONTENT_TYPE, ARG_NAME_DESCRIPTION, ARG_NAME_EARLIEST_START_DATE, ARG_NAME_ENABLE_PATTERN_MATCH, ARG_NAME_END_DATE, ARG_NAME_EVENT_CREATION_TIME, ARG_NAME_EVENT_DESTINATION, ARG_NAME_EVENT_EXPIRATION_DURATION, ARG_NAME_EVENT_EXPIRATION_TIME, ARG_NAME_EVENT_EXPRESSION, ARG_NAME_EVENT_NAME, ARG_NAME_EVENT_PAYLOAD, ARG_NAME_EVENT_SINGLE_SUBSCRIBER, ARG_NAME_EVENT_SOURCE, ARG_NAME_EVENT_TYPE, ARG_NAME_EVENT_USER, ARG_NAME_IMPORT_MAKE_AVAILABLE, ARG_NAME_IMPORT_MAKE_CURRENT, ARG_NAME_IMPORT_SOURCE_PATH_FILE_NAME, ARG_NAME_IMPORT_TARGET_LIBRARY_PATH_NAME, ARG_NAME_INTERACTION_ID, ARG_NAME_ITPAM_PASSWORD, ARG_NAME_ITPAM_URI, ARG_NAME_ITPAM_USER, ARG_NAME_ITPAM_VERSION, ARG_NAME_KEYWORD, ARG_NAME_LEVEL, ARG_NAME_LEVELS_TO_SEARCH, ARG_NAME_LOG_LEVEL, ARG_NAME_MESSAGE, ARG_NAME_MESSAGE_STATUS, ARG_NAME_OBJECT_TYPE, ARG_NAME_OUTPUT_FORMAT, ARG_NAME_OVERWRITE_TARGET_FILE, ARG_NAME_PROCESS_DISPLAY_NAME, ARG_NAME_PROCESS_ID, ARG_NAME_PROCESS_INSTANCE_NAME, ARG_NAME_PROCESS_LIBRARY_PATH_NAME, ARG_NAME_PROCESS_NAME, ARG_NAME_PROCESS_STATE, ARG_NAME_RECUSIVE, ARG_NAME_SEARCH_PATH, ARG_NAME_SENDER_ADDRESS, ARG_NAME_SOURCE_LIBRARY_PATH, ARG_NAME_START_DATE, ARG_NAME_START_REQUEST_ID, ARG_NAME_START_REQUEST_NAME, ARG_NAME_START_REQUEST_PATH, ARG_NAME_START_REQUEST_STATE, ARG_NAME_START_TIME, ARG_NAME_SUBMISSION_TIME, ARG_NAME_TARGET_FILE_NAME, ARG_NAME_TARGET_PATH, ARG_NAME_TARGET_PATH_IS_LOCAL, ARG_NAME_TIME_STAMP, ARG_PREFIX_ATTACHMENT, ARG_PREFIX_PARAMETER, DEFAULT_LOG_LEVEL, DEFAULT_OUTPUT_FORMAT, DEFAULT_USAGE_RESOURCE_BUNDLE_NAME, DELIMITER_PROPERTIES, DELIMITER_XML_ELEMENT, DELIMITER_XML_INDENT, LIST_ACTIONS_CLIENT_NOT_REQUIRED, LOG_LAYOUT, LOG_MAX_BACKUPS, LOG_MAX_FILE_SIZE, LOG_PATH_FILE, OUTPUT_FORMAT_PROPERTIES, OUTPUT_FORMAT_XML, SERVER_CONFIG_FILE, SERVER_CONFIG_PATH |
Constructor Summary | |
---|---|
ItpamWebServiceCLI()
|
Method Summary | |
---|---|
private static void |
abortProcess()
Abort process specified by process ID. |
private static void |
approvePendingInteraction()
Approve pending user interaction request. |
private static void |
deleteArchivedInstances()
Delete archived instances in date range specified. |
private static void |
deleteAttachments()
Delete specified attachments. |
private static void |
exportObject()
Export objects from IT PAM library to file. |
private static void |
generateEvent()
Generate an event consumable by waiting IT PAM process operator. |
private static void |
getAttachments()
Get information for existing attachments. |
private static void |
getMatchingEvents()
Get event data for events matching criteria specified. |
private static void |
getPendingInteraction()
Get information related to pending user interaction specified. |
private static void |
getPendingInteractions()
Get pending interaction information. |
private static void |
getProcessLogs()
Get process logs. |
private static void |
getProcessParameters()
Get parameter name/values for process specified. |
private static void |
getProcessPendingInteractions()
Get list of pending interactions related to the process ID specified. |
private static void |
getProcessStatus()
Get current status of process specified. |
private static void |
getServerStatus()
Get current status of the ITPAM web service server. |
private static void |
getServiceConfig()
Get URI and version properties of the ITPAM web service server. |
private static void |
getStartRequestForms()
Search for and return available start request forms. |
private static void |
getStartRequestParameters()
Get start request parameter information. |
private static void |
getStartRequestProcessReferenced()
Get process name referenced by the start request form specified. |
private static void |
getStartRequestStatus()
Get start request status object that includes the following information. |
private static void |
importObject()
Import file into ITPAM library. |
static void |
main(java.lang.String[] args)
Main to support launch from command line. |
private static void |
rejectPendingInteraction()
Reject pending user interaction request. |
private static void |
resumeProcess()
Resume process specified by process ID. |
private static void |
setServiceConfig()
Set URI and version properties of the ITPAM web service server. |
private static void |
startProcess()
Start process specified. |
private static void |
startRequest()
Initiate process via start request form. |
private static void |
suspendProcess()
Suspend process specified by process ID. |
Methods inherited from class com.ca.dso.itpam.webservice.cli.ItpamWebServiceCLIUtils |
---|
displayUsage, getAttachmentsString, getEventDataString, getMatchingEventsDataString, getParametersString, getProcessLogEntriesString, getProcessParametersString, getProcessPendingInteractionsString, getProcessStatusString, getStartRequestFormsString, getStartRequestStatusString, initUtils, isNullEmpty, isNumeric, setExitCode, storeServiceConfig |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CACOPYRIGHT
Constructor Detail |
---|
public ItpamWebServiceCLI()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- private static void abortProcess() throws java.lang.Exception
2.2 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair processId=[Process ID]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
Message indicating command completed successfully
java.lang.Exception
private static void approvePendingInteraction() throws java.lang.Exception
2.1 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair interactionId=[Interaction ID]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
Message indicating command completed successfully
java.lang.Exception
private static void deleteArchivedInstances() throws java.lang.Exception
2.2 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair startDate=[Start date of date range]
Name/value pair endDate=[End date of date range]
Supported date formats 'yyyy-MM-dd', 'yyyy/MM/dd', 'MM-dd-yyyy', 'MM/dd/yyyy'
Supported time formats 'hh:mm:ss', 'hh:mm'
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
Message indicating command completed successfully
java.lang.Exception
private static void deleteAttachments() throws java.lang.Exception
2.1 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
At least one name/value pair attachmentId=[Attachment ID to be deleted]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
Message indicating command completed successfully
java.lang.Exception
private static void exportObject() throws java.lang.Exception
3.0 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=exportObjectOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair sourceLibraryPath=[Source ITPAM library path to search for content to be exported (include object name to export a specific object)]
Name/value pair targetPath=[Target file system path for resulting object export file (Note: Content may exported to existing directory on the IT PAM server or an accessible UNC path)]
Name/value pair targetFileName=[Target file name for resulting object export file]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
Name/value pair levelsToSearch=[Integer set levels relative to source library path to search/include for content to be exported (default is 0)]
Name/value pair absolutePath=[Flag set to true if library paths in resulting export file should be absolute or false if paths should be relative (default is false)]
Name/value pair overwriteTargetFile=[Flag set to true if any existing export file with the same name in the same location should be overwritten (default is false)]
Name/value pair(s) objectType=[String set to a valid object type applied as a filter that determines which objects in the source path to include in the exported content (Note: Multiple name/value pairs may be specified)]
Supported object type filter strings:
- Agenda
- Calendar
- Commander
- CustomIcon
- CustomOperator
- CustomSensor
- Dataset
- InteractionRequestForm
- LogViewer
- Package
- Process
- ProcessWatch
- Resources
- StatePolicy
- System
Message indicating command completed successfully
java.lang.Exception
private static void generateEvent() throws java.lang.Exception
3.0 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=generateEventThe following parameter(s) must be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair eventName=[Event Name]Optional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
Name/value pair eventType=[Event Type]
Name/value pair eventDestination=[Event Destination]
Name/value pair eventSource=[Event Source]
Name/value pair eventExpirationDuration=[Event Duration in Seconds]
Name/value pair eventSingleSubscriber=[True or False to flag event as "consumable" by a single listener only]
Name/value pair eventPayload=[Event Pay Load (content to be used by waiting process operator(s)]
Name/value pair eventSingleSubscriber=[True or False to flag event as "consumable" by a single listener only]
One or more name/value pairs param.[Parameter Name]=[Parameter Value]
NOTE: Event pay load will be superseded by parameters.
String of event data for the event generated formatted as specified by user.
java.lang.Exception
private static void getAttachments() throws java.lang.Exception
2.1 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOne or both value(s) for the following parameter(s) must be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair contentId=[Content ID]Optional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair contentType=[Content Type]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
String of attachment properties formatted as specified by user matching the filter criteria (Content ID and/or Content Type) specified.
java.lang.Exception
private static void getMatchingEvents() throws java.lang.Exception
3.0 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair eventName=[Event Name]
Name/value pair eventType=[Event Type]Output when successful:
Name/value pair eventDestination=[Event Destination]
Name/value pair eventSource=[Event Source]
Name/value pair eventExpression=[Expression that will be compared to event "payload" parameter(s) (ex. payload.paramName=="paramValue"). Note that entire expression must be encapsulated in double quotes and double equal signs ("==") are required.]
Name/value pair allowPartialMatch=[Specify true to return data for events that partially match the specified criteria (default is false)]
Name/value pair enablePatternMatch=[Specify true if criteria specified should be interpreted as regex-type patterns (default is false)]
String of event data formatted as specified by user for events matching criteria specified.
java.lang.Exception
private static void getPendingInteraction() throws java.lang.Exception
2.1 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair interactionId=[Interaction ID]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
String of interaction properties formatted as specified by user.
java.lang.Exception
private static void getPendingInteractions() throws java.lang.Exception
2.1 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
String of attachment properties formatted as specified by user.
java.lang.Exception
private static void getProcessLogs() throws java.lang.Exception
2.2 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair processId=[Process ID]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
Name/value pair level=[Minimum severity of log entries to be return (all messages returned by default)]
One or more name/value pairs category=[Log category ("Process", "Operator", "Handler", "Response", "Other", "Custom" (all messages return by default, invalid entries are ignored))
String of log entries formatted as specified by user.
java.lang.Exception
private static void getProcessParameters() throws java.lang.Exception
2.1 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair processId=[Process ID]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
String of parameter properties formatted as specified by user.
java.lang.Exception
private static void getProcessPendingInteractions() throws java.lang.Exception
2.1 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair processId=[Process ID]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
String of interaction properties formatted as specified by user.
java.lang.Exception
private static void getProcessStatus() throws java.lang.Exception
2.1 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair processId=[Process ID]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
String of interaction properties formatted as specified by user.
java.lang.Exception
private static void getServerStatus() throws java.lang.Exception
2.1 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
String set to server status.
java.lang.Exception
private static void getServiceConfig() throws java.lang.Exception
2.1 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getServerConfigOutput when successful:
String set to service uri and version.
java.lang.Exception
private static void getStartRequestParameters() throws java.lang.Exception
2.1 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getStartRequestParametersOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair startRequestName=[Start Request Form Name]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
Name/value pair startRequestPath=[Start Request Form Library Path (default is "/")]
String of attachment properties formatted as specified by user.
java.lang.Exception
private static void getStartRequestForms() throws java.lang.Exception
2.1 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair startRequestName=[Start request form name]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
Name/value pair startRequestPath=[ITPAM library search path (default is root ("/"))
String of start request form parameters formatted as specified by user.
java.lang.Exception
private static void getStartRequestProcessReferenced() throws java.lang.Exception
2.1 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair startRequestName=[Start Request Name]
Name/value pair startRequestPath=[Start Request Library Path]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
String set to fully qualified process name referenced by the start request form specified.
java.lang.Exception
private static void getStartRequestStatus() throws java.lang.Exception
2.1 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair interactionId=[Start Request Interaction ID]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
String of start request status properties formatted as specified by user.
java.lang.Exception
private static void importObject() throws java.lang.Exception
2.2 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=importObjectOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair sourcePathFileName=[Path/file name of source object definition file to be imported to be imported]
Name/value pair targetLibraryPathName=[Target IT PAM library path/name of the object to be created]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
Name/value pair importMakeAvailable=[True or False to make the object(s) resulting from the import available for use]
Name/value pair importMakeCurrent=[True or False to make the object(s) resulting from the import the current version]
Message indicating command completed successfully
java.lang.Exception
private static void rejectPendingInteraction() throws java.lang.Exception
2.1 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair interactionId=[Interaction ID]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
Message indicating command completed successfully
java.lang.Exception
private static void resumeProcess() throws java.lang.Exception
2.2 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair processId=[Process ID]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
Message indicating command completed successfully
java.lang.Exception
private static void setServiceConfig() throws java.lang.Exception
2.1 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=setServerConfigOutput when successful:
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]
Name/value pair version=[ITPAM version]
Message indicating command completed successfully
java.lang.Exception
private static void startProcess() throws java.lang.Exception
2.1 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair processName=[Fully qualified process name]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
One or more name/value pairs param.[Parameter Name]=[Parameter Value]
Name/value pair startTime=[Start time ('hh:mm:ss', 'hh:mm') (default is now)]
Name/value pair startDate=[Start date ('yyyy-MM-dd', 'yyyy/MM/dd', 'MM-dd-yyyy', 'MM/dd/yyyy') required if "startTime" specified (default is today)]
One or more name/value pairs attach.[Attachment Name]=[Attachment URI]
Name/value pairs attachmentParameterName=[Parameter Name to link attachments to (required if on or more attachment parameters are specified]
String set to process ID.
java.lang.Exception
private static void startRequest() throws java.lang.Exception
2.1 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair startRequestName=[Start Request Name]
Name/value pair startRequestPath=[Start Request Path]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
One or more name/value pairs param.[Parameter Name]=[Parameter Value]
Name/value pair startTime=[Start time ('hh:mm:ss', 'hh:mm') (default is now)]
Name/value pair startDate=[Start date ('yyyy-MM-dd', 'yyyy/MM/dd', 'MM-dd-yyyy', 'MM/dd/yyyy') required if "startTime" specified (default is today)]
One or more name/value pairs attach.[Attachment Name]=[Attachment URI]
Name/value pairs attachmentParameterName=[Parameter Name to link attachments to (required if on or more attachment parameters are specified]
String set to start request interaction ID.
java.lang.Exception
private static void suspendProcess() throws java.lang.Exception
2.2 or higherRequires value(s) for the following parameter(s) be specified via the command line:
Name/value pair action=getPendingInteractionsOptional value(s) for the following parameter(s) may be specified via the command line:
Name/value pair user=[ITPAM User Name]
Name/value pair password=[ITPAM User Password]
Name/value pair processId=[Process ID]
Name/value pair uri=[URI for ITPAM web service (ex. http://[Server]:[Port]/itpam/soap]Output when successful:
Name/value pair version=[ITPAM version]
Message indicating command completed successfully
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |