Skip to main content

Installation

The Cegid ORLI Connector installation consists of three steps: installing the connector files, adding the Cegid ORLI job subtype to Enterprise Manager, and configuring the connector.

What is it?​

The Cegid ORLI Connector is a Java program that runs on a Windows Agent machine, using a Java runtime supplied by the installer. It communicates with the Cegid ORLI application using REST APIs and returns job status and output to OpCon.

  • Install this connector when you need OpCon to automate jobs in the Cegid ORLI commercial management application
  • The connector can be installed on the OpCon server or on a separate Windows machine that has the Windows Agent installed

Supported software versions​

The following software versions are required to run the Cegid ORLI Connector:

ComponentRequired version
Cegid ORLI22.x or higher (Connector 25.0 requires v22)
OpCon23.x or higher
JavaEmbedded Java 11 (included — no separate installation required)

Install the connector​

To install the connector, complete the following steps:

  1. Copy the CegidORLIConnector-win.zip file to the target Windows machine in a temporary directory (for example, c:\temp).
  2. Extract the zip file to the desired installation directory.

After extraction, the installation directory contains the following:

ItemDescription
orli.exeThe connector program
Encrypt.exeUtility for encoding password values
Connector.configConfiguration file
java/Embedded Java 11 runtime
emplugins/Enterprise Manager job subtype plugin

Install the job subtype​

To add the Cegid ORLI job subtype to Enterprise Manager, complete the following steps:

  1. Copy the Enterprise Manager plugin file from the connector's emplugins/ directory to the dropins/ directory of your Enterprise Manager installation.
  2. If the dropins/ directory does not exist, create it in the Enterprise Manager root directory.
  3. Restart Enterprise Manager. The Cegid ORLI job subtype appears in the Windows job subtype list.

NOTE: If the job subtype does not appear after restarting, close Enterprise Manager and reopen it using Run as Administrator. After this step, Enterprise Manager can be used normally.

Create the global property​

To configure the connector path, complete the following steps:

  1. In OpCon, create a global property named OrliPath.
  2. Set the value to the full path of the connector installation directory.

NOTE: If more than one Cegid ORLI Connector is installed on the same machine, create an additional global property with a unique name and update the Connector Path field in each job definition accordingly.

Configure the connector​

The connector reads its settings from the Connector.config file in the installation directory. All password values must be encoded using Encrypt.exe before being placed in the file.

Encode a password value​

To encode a password value, complete the following steps:

  1. Open a command prompt in the connector installation directory.
  2. Run the following command, replacing yourpassword with the value to encode:
Encrypt.exe -v yourpassword
  1. Copy the encoded output and paste it into the appropriate field in Connector.config.
caution

Encoding obscures a credential; it does not protect it. A value produced by Encrypt.exe can be reversed by anyone who can read it, so treat Connector.config as a file that contains a live credential. Restrict access to it using file system permissions, and replace credential values with placeholders before sharing the file in a ticket, a screenshot or a repository.

Configuration settings​

The Connector.config file contains the following settings:

SettingDescriptionDefault
[CONNECTOR]
CONNECTOR_NAMEThe name the connector records in its own log outputCegid OrliWeb
POLL_DELAYSeconds to wait before submitting the first status request after starting a job5
POLL_INTERVALSeconds to wait between subsequent status requests3
DEBUGEnables detailed logging when set to ON. Set to OFF during normal operation. Required — the connector does not start if this setting is absentON in the file supplied with the connector
[ORLI]
ORLI_TOKEN_URLThe host and path where authentication token requests are submitted. Enter it without https://—
ORLI_TOKEN_CLIENT_IDThe client ID used to retrieve the authentication token—
ORLI_WEB_SERVICES_ENDPOINTThe host and path of the Cegid ORLI REST API endpoint for job requests. Enter it without https://—
ORLI_USERThe username included in the authentication request—
ORLI_USER_PASSWORDThe password for the defined user, encoded using Encrypt.exe. Required—
caution

ORLI_TOKEN_URL and ORLI_WEB_SERVICES_ENDPOINT must be entered without a scheme. The connector prepends https:// to both values, so a value that already includes it produces an address the connector cannot reach, and a job that fails while authenticating.

Example configuration file​

The following example shows a configured file rather than the one supplied with the connector: DEBUG has been set to OFF for normal operation, and both endpoint values are entered without a scheme.

[CONNECTOR]
CONNECTOR_NAME=Cegid Orli
POLL_DELAY=5
POLL_INTERVAL=3
DEBUG=OFF

[ORLI]
ORLI_TOKEN_URL=test.fr/orli-auth/realms/Cegid-Orli/protocol/openid-connect/token
ORLI_TOKEN_CLIENT_ID=orli-TEST-CLIENT
ORLI_WEB_SERVICES_ENDPOINT=test.fr/orli-ws/ORTS2/soap/v1/BatchManage
ORLI_USER=usera
ORLI_USER_PASSWORD=**********************

FAQs​

Can I install the connector on a machine other than the OpCon server?

Yes. The connector can be installed on any Windows machine that has the Windows Agent installed and configured in OpCon. The connector runs as a Windows batch job under the Windows Agent.

What happens if the dropins/ directory does not exist in Enterprise Manager?

Create the directory manually in the Enterprise Manager root directory, then copy the plugin file into it and restart Enterprise Manager.

Do I need to install Java separately?

No. The connector includes an embedded Java 11 runtime in the java/ subdirectory. No separately installed Java version is required.

Why must password values be encoded?

The Connector.config file is stored as plain text, so a password written into it directly is readable by anyone who can open the file. Use the included Encrypt.exe utility to produce an encoded value instead.

Encoding is not encryption and does not protect the credential — it can be reversed by anyone holding the file. Restrict access to Connector.config using file system permissions and treat it as a file that contains a live credential.

What does POLL_DELAY and POLL_INTERVAL control?

After submitting an executeRequest job, the connector polls the Cegid ORLI application to check when the job completes. POLL_DELAY sets how long to wait before the first status check, and POLL_INTERVAL sets how long to wait between each subsequent check.

Glossary​

Connector — orli.exe, the Cegid ORLI Connector program that OpCon calls as a Windows batch job to communicate with the Cegid ORLI application.

Connector.config — The configuration file in the connector installation directory that defines connection settings, authentication credentials, and runtime behavior.

Encrypt.exe — The credential encoding utility included with the connector. Encodes password values so they are not stored in readable form in Connector.config. Encoding obscures a credential; it does not protect it.

emplugins — The directory containing the Enterprise Manager job subtype plugin. Copy its contents to the Enterprise Manager dropins/ directory to enable the Cegid ORLI job subtype.

OrliPath — The OpCon global property that stores the full path to the connector installation directory. The job subtype uses this property to locate the connector executable at run time.

Related topics: