::
:: Modify variables in this section to configure and define behavior of
:: this program
::
:: upload.bat.sample (spend vis data upload)
::
::------------------------------------------------------------------
:: You must set the following options:
::------------------------------------------------------------------
::

::
:: Site is the name of your company defined
:: with the Ariba On-Demand Product. You also use the site
:: to access Ariba products online.
::
:: If you use something like:
:: http://mycoolcompany.procurement.ariba.com to access Ariba
:: product, your site is "mycoolcompany" without the quotes.
:: For the On Premise product, the site will be the partition.
::
set site=InternalSvGsoSupport

::
:: Specify 0 if the data transfer tool is run against an On-Demand product (default)
:: Specify 1 if the data transfer tool is run against the On Premise product
:: You must specify either 0 or 1.
::
set serviceMode=0

::
:: Set the path to a file containing the Integration Password/sharedSecret.
:: (For security, use the encryptstring.bat to encrypt the password that is specified in the file)
::
set integrationPasswordKeyPath=C:\ITKCI7\encryptedSharedSecret.txt

::
:: Specifies the location of the file that contains the encrypted customer key. 
:: (Use encryptcustomerkey.bat to encrypt the customer key specified in the file)
:: This key must be 24 character long.
::
set encryptionKeyPath=C:\ITKCI7\EncryptionKey.txt

::
:: Set username and password (For security, use the encryptstring utility to
:: encrypt the password you specify here)
::
set authUser=vntest
::set password=d0n+SHar3

::
:: Enables the client certificate used for authenticating the client on the remote site.
:: The keystore pointed by this configuration has to contain the pair of public/private keys
:: for authentication. Correct set of passwords must be provided to access the keystore.
::
:: set clientKeystore=C:\cert\MyKeyStore.jks
:: set clientKeystorePassword=storePass
:: set clientKeyPassword=keyPass

::
:: List of protocols to be enabled for the connection to the Server e.g. TLSv1,TLSv1.1,TLSv1.2
::
set httpsProtocolsEnabled=TLSv1,TLSv1.1,TLSv1.2

::
:: List of cipher suites to be enabled for the connection to the Server. If this list is
:: empty then the default list with the connection is used.
:: set cipherSuitesEnabled=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_DHE_RSA_WITH_AES_256_GCM_SHA384,TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,TLS_DHE_RSA_WITH_AES_256_CBC_SHA256,TLS_DHE_RSA_WITH_AES_256_CBC_SHA,TLS_DHE_RSA_WITH_AES_128_CBC_SHA256,TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA,TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA,TLS_DHE_DSS_WITH_AES_256_CBC_SHA256,TLS_DHE_DSS_WITH_AES_128_CBC_SHA256,TLS_DHE_DSS_WITH_AES_256_CBC_SHA,TLS_DHE_DSS_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA256,TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_CAMELLIA_256_CBC_SHA,TLS_RSA_WITH_CAMELLIA_128_CBC_SHA,TLS_RSA_WITH_3DES_EDE_CBC_SHA

::
:: Directory or file which you want to upload 
::
::set dataFile=C:\TEMP\SpendVisData.csv
set dataFile=C:\ITKCI7\UploadDir

::
:: Specify where the tool must put your CSV file subdirectories
:: after an upload operation. The tool creates directories called
:: 'success' and 'failure' within outDir and moves the data there
:: based on the result of the upload operation.
::
set outDir=C:\ITKCI7\OutDir

::
:: sourcesystem, if any, from where the data is exported
::
set sourceSystem=TEST

::
:: The location where you want to store logs
::
set logDir=C:\ITKCI7\logs

::
:: Specify the Simple Mail Transfer Protocol (SMTP) server that the 
:: Ariba Data Transfer Tool email client must use to send notification
:: messages.
::
::set smtpMailServer=mycompany.com

::
:: If you do not specify a value for fromEmail, by default,
:: the system assigns donotreply as the value.
::
set fromEmail=

::
:: If you want email notifications generated from this program, specify
:: comma-delimited list of email addresses that must receive notifications.
::
set notifyEmail=

::
:: Specify 1 to turn the notification features on.
:: Specify 0 to turn the notification features off.
::
set notifyonSuccess=1
set notifyonFailure=1

::
:: Specify the subject line of the notification emails.
::
set notificationSuccessSubject=AribaFileTransfer Transactional Data Upload: Successful
set notificationFailureSubject=AribaFileTransfer Transactional Data Upload: Failed

::
:: Uncomment the following parameters to enable proxy server support for 
:: communication with the remote site.
:: The following authentication methods are available depending on the value of the parameter proxyAuthMode:
:: B: basic
:: D: Digest
:: N: NTLM
:: (For security, use encryptstring utility to encrypt the password)
::
:: set proxyHost=myproxyhost
:: set proxyPort=8081
:: set proxyAuthMode=N
:: set proxyUser=username
:: set proxyPassword=password
:: set proxyDomain=domain

::
:: The location of JAVA installation on your system
::
::set JAVA_HOME=C:\Java
set JAVA_HOME=C:\Program Files (x86)\Java\jre1.8.0_281

::
:: ------------------------------------------------------
:: Do not modify anything after this line
:: ------------------------------------------------------
::
set operation=sv-upload

::
:: URL to use to transfer your data
:: Possible values:
::
set urlPrefix=https://s1.ariba.com/Sourcing/Main/ad/uploadDataFile/StarSchemaActions
::

::
:: If the text on the command line is very long, the command line is not able to process it. 
:: In this case, you can use a config file that typically contains:
:: username/password/shared secret etc.
::
set config=

::
:: Additional server arguments:
::
set additionalServerArgs=-sourceSystem %sourceSystem% -checkDimensionReference true -checkDuplicateRow true

::
:: Additional client arguments:
::
set additionalClientArgs=-verbose
