Skip to main content

Configure AutomationEdge environment

In the chapter, you will learn about configuring the AutomationEdge environment.

The chapter includes the following topics:- Configure AutomationEdge environment

Configure application settings

After deploying the applications, configure their settings.

AutomationEdge Engine Settings

Create a directory named /conf is created under <AE home>. In the conf folder add a file ae.properties. Configure the properties with appropriate values.

Configure ae.properties (#configure-ae.properties)

Set the following properties with appropriate values depending on the installed database.

List of ae.properties

NameDescriptionExample
Database:
database.typeProvide the data type from:- Postgres - SQLServer - Oracledatabase.type=
database.urlProvide the JDBC URL of the database.POSTGRES: database.url= jdbc:postgresql://localhost:5432/wfmetrics?autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true
SQL SERVER: database.url= jdbc:sqlserver://10.41.5.157:1433;databaseName=wfmetrics;encrypt=true;trustServerCertificate=true ORACLE:database.url= jdbc:oracle:thin:@//localhost:1521/orcl.autoedgecorp.com
database.userProvide the login username of the database.postgres
database.passwordProvide the password of the database. Note: On startup AE encrypts the password if it is in plain text.
ActiveMQ:
activemq.broker.urlURL of the ActiveMQ broker.tcp://locahost:61616
mq.usernameLogin user of the broker.admin
mq.passwordLogin password of the broker. **Note:**On startup AE encrypts the password if it is in plain text.admin
activemq.jmx.endpointsConfigure the connection endpoints to ActiveMQ's JMX. Used to monitor ActiveMQ cluster and queue status.localhost:1234
**ac**Login user ofmonitorrole
tivemq.jmx.user**ActiveMQ jmx
endpoint.**
-------------------------------------------------------------------
activemq.jmx.userLogin user of ActiveMQ jmx endpoint.monitorrole
mq.jmx.password**Login password of ActiveMQ jmx endpoint. **Note:**On startup AE encrypts the password if it is in plain text.
Hazelcast:
-------------------------------------------------------------------
ae.clusters.membersIn the case of HA, list of member addresses (IP or hostname csv separated) that form the cluster.
If there are 3 nodes in HA cluster the values will be 10.41.4.1, 10.41.4.2, 10.41.4.3Localhost
ae.clusters.portPort that the Hazelcast instance will bind to for communication with other nodes.
It must be the same for all nodes in the cluster.5900
AE-UI:
-------------------------------------------------------------------
ae.portal.baseURLBase URL of the application’s UI portal.This URL is used for generating links for features such as password reset verification, account activation and other user actions that require navigation to the portal. It ensures that the links generated by the backend point to the correct UI locationtcp://locahost:8080/aeui
Session Tokens:
-------------------------------------------------------------------
ae.sessiontoken.validityInMinutesDuration (in minutes) for which a session can remain idle.
After this time, the token will expire, and the user will need to reauthenticate.15
ae.sessiontoken.autoRenewalInHoursDuration (in hours) for which a session token remains valid.
After this time, the token will expire, and the user will need to reauthenticate.
-1 indicates only ae.sessiontoken.validityInMinute will be applied-1
File Upload:
ae.banned.file.extensionComma separated list of file extensions to be restricted from upload.exe,.msi
ae.validate.files.in.archiveAlways restrict the uploading of archives that contain banned files or files except allowed file types.False
ae.scan.embedded.filesAlways scan .docx, .xlsx, .xls, and .doc files before upload to restrict any banned files or embedded file types that are not allowed.False
ae.file.upload.size.limit.in.mbInput,Output upload. And file managemnet tab200
Workflow Requests:
ae.pendingreq.lower.thresholdLower threshold for pending requests. For Pending Requests Threshold feature to be available, configure the details under Settings -> Email Notification, and specify the users for sending email notification. If the agent is down, requests remain in New State. If the number of pending requests goes over the lower threshold, then users receive an email notification if an email notification is configured.300
ae.pendingreq.higher.thresholdHigher threshold for pending requests.If number of pending requests goes over the higher threshold, then no more requests can be submitted.800
ae.pending.request.limit.per.tenantIf value is greater than 0, then whenever pending requests (New + Retry state) for a tenant crosses this threshold a mail is sent to Tenant Admins and System Admins.If the request is submitted by scheduler, then a record is created with Failure status and an error message is displayed to the users.0
ae.new.request.cleanup.job.interval.minutesFrequency (in minutes) at which the cleanup job runs to remove requests that have remained in the "new" state for longer than a defined threshold.
Min value can be 15 minutes and Max value can be 60 minutes.30
Archive:
-------------------------------------------------------------------
ae.archive.locationDirectory path where the application should store archived files.If specified tenant archive location will be ae.archive.location/ORG_CODE. Note: Archive location ends with file separator. In the file path, use the forward (/) slash, and if you are using the back () slash, use two slashes (\).The archive location stores thes purged data of the four entities - workflow requests, audit logs, notification history and user session history in the form of zip files.AE_HOME/Archives/Tenants/ORG_CODE
Quartz:
-------------------------------------------------------------------
ae.scheduler.threadpool.sizeDeprecated in 8.0. Use spring.quartz.properties.org.quartz.threadPool.threadCount instead.20
spring.quartz.properties.org.quartz.threadPool.threadCountSpecifies the number of threads in the Quartz scheduler's thread pool.It controls how many concurrent jobs can be executed by Quartz.A higher thread count allows more jobs to be run simultaneously.20
SMTP:
ae.mail.smtp.connectiontimeout.secondsMaximum time, in seconds, to wait for a connection to the SMTP server30
ae.mail.smtp.timeout.secondsMaximum time, in seconds, to wait for the SMTP server to respond during email transmission.If no response is received within this period, a timeout occurs.30
Schedule:
ae.schedules.enable.cron.expression.inputIf true you can provide cron expression in Scheduler -> Create New Schedulefalse
Workflow Monitoring:
ae.workflow.monitoring.enabledEnable or disable the monitoring of workflows.false
ae.workflowmetrics.service.base-urlBase URL for the workflow metrics service.http://localhost:80/metrics
System Health Checks
ae-engine.health.cron.expressionCron expression that determines how frequently health checks should be performed.
By default this is 1 minute0 */1 * ? * **
management.health.activemq.enabledWhether to enable activemq health check.true
management.health.activemq.queue-size.thresholdThreshold for monitoring the size of an ActiveMQ queue.If the size of the queue exceeds the defined threshold, the health status of the ActiveMQ component may be marked as unhealthy.100
management.health.db.enabledWhether to enable disk space health check.true
management.health.diskspace.pathPath used to compute the available disk space.True
management.health.diskspace.thresholdMinimum disk space that should be available. Example: 1024 (bytes), 1024KB, 512MB, 1GB, 1TB10MB
management.health.http.enabledWhether to enable http health check.Basically, does a ping to itself via HTTP.True
management.health.jms.enabledWhether to enable jms (activemq) health check.true
management.health.memory.enabledWhether to enable JVM memory health check.true
management.health.memory.thresholdThreshold to determine when memory usage of the application is considered unhealthy.Value is between 0 and 1 (inclusive) that represents the percentage of used memory. When the memory usage exceeds this threshold, the health indicator will report the application as unhealthy.0.85
management.health.stuck-thread.enabledEnable or disable the detection of stuck threads in the applicationtrue
management.health.thread.enabledWhether to enable thread health check.true
management.health.thread.thresholdThreshold for the number of active threads in the application.
If the number of active threads exceeds this threshold, the health indicator will report the application as unhealthy.500
management.health.thread-deadlock.enabledEnable or disable the detection of thread deadlocks in the application.true

Deploy .war files

Deploy .war files for configuring AE environment.

To deploy .war files:

  1. Copy the following .war files in <Tomcat home>/webapps.
  • aeengine.war

  • aeui.war

  1. Start Tomcat server.

Configure AutomationEdge UI settings

Configure the AE UI settings in the <Tomcat home>/webapps/aeui/aeui-config.properties file.

tip

By default, after AE installation aeui-config.properties file is in plain text format.

To change the UI settings:

  1. Access aeui-config.properties file in the <Tomcathome>/webapps/aeui directory.

  2. In the aeui-config.properties file configure the following properties:

i. AutomationEdge Base URL

If aeengine and aeui are deployed on two separate Tomcat servers on two different machines, then change the baseurl property with appropriate IP or Host and Port values where AE server (aeengine) is running.

Default value for the baseurl property is, baseurl = /aeengine/rest.
For example, baseurl=https://10.2.4.56:8080/aeengine/rest.

ii. Customer Logo

To view the customer logo in the UI application, add customer logo file under directory <Tomcat home>/webapps/aeui/assets/images.

tip

File types supported are, .jpeg, .png, .svg, and .gif.

Update the property tenantLogoFile with the file name you have added in the previous step.

Default value is, tenantLogoFile = customer-logo.png.

iii. Login Message

To add custom login message that appears on the login screen, enter the text message in the loginMessage property. For example, loginMessage=Welcome to AutomationEdge.

Default value for the property loginMessage is blank.

iv. Storage

Use the property to store browser session data.

For security reasons, the default and recommended option is InMemory, which means that session data is not stored on disk and is lost on browser refresh. The other available option is LocalStorage.

Default value for the storage property is storage = InMemory.

v. Security vault

Use the property to enable the System Administrator to assign vaults to tenants.

Default value for the security vault property is enableSecurityVault = false.

vi. Captcha

Use the property to enable captcha text on the AE login page. Enabling the feature is optional.

Default value for the captcha property is enableCaptcha = false.

tip

To store aeui-config.properties in encrypted format:

  1. Access the following URL, http://AE server host:8080/aeui/#/editconfigfile.
  2. Configure the required AEUI properties and download encrypted file.

  1. Replace the plain text file with the encrypted file.

Verify AutomationEdge UI sign-in

Configure all properties and verify the details as required by the environment, and then restart Tomcat service.

To verify AE UI sign-in:

  1. Open any web browser. For example, Google Chrome.

  2. Enter URL as \http or https://\IP or Host:\PORT /aeui.

  3. Sign in with the following user credentials, configured as part of seed data:

username: sysadmin

password: vY78_h$ia ::: tip If the sign-in is successful, reset the password for the Sysadmin user. After successful password reset, sign in again with the new password. :::

tip

After installing the AE Server, sign-in as the System Administrator and complete the AE post installation tasks. For more details on AE Server post installation steps, see AutomationEdge System Administrator’s guide and AutomationEdge User’s guide.