Advanced Parameters

The following table lists the parameters available in the connector Configuration > Advanced parameters.

This page discusses:

Parameter Description
Pushed documents before checkpoint

Minimum number of documents pushed between 2 consecutive checkpoints. It is better to specify a low value when Exalead CloudView documents are sorted (default behavior), and take time to process (for example, documents in OnePart).

Connect to ENOVIA on apply configuration

The connector connects to ENOVIA automatically when you click Apply, to verify that the configuration is correct. For example, to verify that there are no references to types that do not exist.

Push API thread count

Number of threads used to push data into the Exalead CloudView Push API server. It is useful when converting documents using PushAPI filters.

Push API queue size

Maximum number of intermediary documents stored between the ENOVIA database and the Exalead CloudView Push API server. When the number of documents reaches this limit, the connector stops reading the ENOVIA database, to stop receiving more documents.

Verbose

Useful to debug the connector configuration. Logs each event sent to the Exalead CloudView Push API. For internal use by Support teams only.

Enovia indexing thread count

Number of threads used by query or vault tenant producers.

Multithreading strategy

Choose how to organize your thread pool.

  • Event Monitor: Calls the event monitor to retrieve events for Business Objects and Relationships.
  • Query: For on-premises deployment, Business Object and Relationship queries are executed in parallel on a single ENOVIA source.
  • Tenant: For cloud deployment, it allows you to index multiple ENOVIA sources at the same time.
Refresh the data model at each scan

Each time a scan starts, it looks for changes in the data model. This is a costly operation. Use it only when your data model changes regularly. Do not use it if the data model never changes, or very rarely.

Graph management mode
  • Default E/R graph manager - This is the most simple mode as it allows you to simplify the naming of URIs. You can use the trace tenant option for cloud deployments, to trace the ENOVIA vault and tenant.
  • ENOVIA SBA graph manager - The connector manages graphs like the legacy SBA connector (Exalead CloudView processes URIs and consolidation server object graph the same way).
File container handler

Specifies how to attach ENOVIA files as binary parts to Exalead CloudView documents.

Incremental scan options
  • Incremental timestamp offset: Specify the number of minutes to add to the last modified date checkpoint.
  • Incremental path scan: Deletes and reindexes the paths if the owner has changed, instead of deleting and reindexing all the paths.
    Important: It works only for the paths defined in Relationships and Business objects.
  • Force strict ordering: Specify the number of seconds between 2 consecutive scans. If the previous scan happened before this duration, then the connectors make a partial ordering over the modified date, else this is a strict ordering.
    • A negative value disables the partial ordering
    • 0 forces the partial ordering
    • A positive value gives the duration in seconds such as:

      Tn - Tn-1 this value, the where clause for query indexing is: modified previous checkpoint.

      Tn - Tn-1 > this value, the where clause for query indexation is: modified > previous checkpoint.

Delete options
  • Delete time-stamp offset: Specify the number of minutes to add to the last delete date checkpoint.
  • Delete API preference: Specify if you want to retrieve:
    • Ids only: select the Legacy option (default option).
    • physicalIds and Ids: select the DeletedObject option

    Note: You need to have administration rights to change this option.

  • Disable Where clause: If you do not select this option, the connector deletes all the documents corresponding to the reverse of the where clause, for each query made to the ENOVIA database. This can be costly.
    Recommendation: For better performance, select this option to avoid querying the ENOVIA database.
  • Do a delete query per subtype: If the DeletedObject option is selected in Delete API preference, you can select this option to perform a delete query per indexed type instead of a query per indexed kind (kind is BUS, CNX, and Path).
Send data model in consobox
  • Send the data model to consobox: Shows options to send documents describing the ENOVIA data model in the Exalead CloudView consolidation server.
  • Send dimension: Use it to see the dimensions referenced by the pushed attributes.
  • Arcs to interfaces: Draw arcs between the business objects or connections, and the interface types they reference. The connector requires this configuration to send interfaces to the consolidation server.
  • Arcs to relationships: Draw arcs between the connections and the relationship types that they reference. The connector requires this configuration to send relationships to the consolidation server.
  • Arcs to types: Draw arcs between business objects and the types that they reference. The connector requires this configuration to send types to the consolidation server.
  • Metadata type to send to the consobox can be of 3 types: Type, Relationship, or Interface. The Send attribute option sends the attributes attached to the Type. Select the User name for URI option to use the type name instead of the type id, to identify the documents stored in Exalead CloudView.
  • Properties: You can define the properties of metadata (the attributes) as document metas. Use the property_ prefix before the meta name.
Error management

Specifies how to handle retry on errors for Business Objects retrieved from the ENOVIA database. It does not handle errors that may occur to the document afterward, for example, a faulty Push API filter or a consolidation server error.

  • Enable error management: Enables retry on error. If disabled:
    • The connector fails at the first error when retrieving data.
    • It does start a retry, even if there is a major error requiring one.
  • Maximum number of retries: Specifies the maximum number of consecutive fetch retrieval errors that a single object can trigger before being ignored. The connector starts each retry only once per scan, provided the query that fetched the object is still present. Possible values:
    • A negative value means that there is no upper limit.
    • 0 means that no retry is launched. The connector discards and logs every error.
    • A positive value (above 0) specifies the number of retries.
    Note: If the scan of a Business Object fails as many times as the maximum number of retries, but matches the WHERE clause in the following scan, the cycle starts once again.
  • Maximum number of errors: Specifies the maximum number of errors tolerated for a single scan. Once this number is reached, the connector generates an error. Possible values:
    • A negative value means that there is no limit in the number of errors.
    • 0 means that the first error stops the entire scan.
    • A positive value (above 0) specifies the number of tolerated errors for a given scan. This value may sometimes be crossed as the query can be executed in parallel.

Formatting

A value has 2 formats:

  • Source format: the format in the database
  • Target format: the format requested by the user
By default the target format is STRING, the string format is a verbatim copy of the value.

Now, given the source format:

  • Boolean: Given the target format
    • INTEGER or LONG: 0 is FALSE, 1 is TRUE, other values raise an error
    • BOOLEAN: “false” is FALSE, 1 is “true” (regardless of the case), other values raise an error
    • Else returned verbatim
  • Integer, Long: Given the target format
    • DOUBLE, REAL, FLOAT: format it to integer
    • BOOLEAN: 0 is FALSE, 1 is TRUE, other values raise an error
    • Else returned verbatim
  • Real, Double, Float: Given the target format
    • Integer: format it to integer
    • Else returned verbatim
  • Date, Timestamp: Given the target format
    • Date, Timestamp: format the date as an Exalead CloudView date
    • Long, format is UNIX epoch time (in milliseconds instead of seconds)
    • Else returned verbatim
  • Else returned verbatim

Configuration File Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<query-config>
    <businessobject-meta-groups>
        <metas>
            <name>basics</name>
            <selects>
                <select select="policy" translated="false">
                    <target-metas>
                        <meta-name>policy</meta-name>
                    </target-metas>
                    <data-type>STRING</data-type>
                </select>
            </selects>
            <programs/>
        </metas>
        <metas>
            <name>attributes</name>
            <selects>
                <select select="attrE" translated="false">
                    <target-metas>
                        <meta-name>attribute-e</meta-name>
                    </target-metas>
                    <data-type>STRING</data-type>
                </select>
                <select select="attrB" translated="false">
                    <target-metas/>
                    <data-type>STRING</data-type>
                </select>
            </selects>
            <programs/>
        </metas>
        <metas>
            <name>programs</name>
            <selects/>
            <programs>
                <program code="CURRENT" meta-name="current_state"/>
            </programs>
        </metas>
    </businessobject-meta-groups>
    <businessobject-queries>
        <query>
            <name>EType</name>
            <cloudview-types>
                <name>e-type-in-cloudview</name>
            </cloudview-types>
            <index-all-basics>false</index-all-basics>
            <sorted>false</sorted>
            <preserve-empty-values>false</preserve-empty-values>
            <index-all-attributes>false</index-all-attributes>
            <make-a-query-by-subtype>false</make-a-query-by-subtype>
            <includes>
                <name>basics</name>
                <name>attributes</name>
                <name>programs</name>
            </includes>
            <metas/>
            <trace-tenant>false</trace-tenant>
            <trace-type-lineage>false</trace-type-lineage>
            <paths>
                <path name="FPathTypeTest">
                    <preserve-empty-values>false</preserve-empty-values>
                    <cloudview-types>
                        <name>f-path-of-e</name>
                    </cloudview-types>
                    <selects/>
                </path>
                <path name="EPathTypeTest">
                    <preserve-empty-values>false</preserve-empty-values>
                    <cloudview-types/>
                    <selects/>
                </path>
            </paths>
            <step-in-date-ranges>
                <range>
                    <lower-bound>2020-01-01+01:00</lower-bound>
                    <step>MONTH</step>
                    <upper-bound>2023-05-15+02:00</upper-bound>
                </range>
                <range>
                    <lower-bound>1970-01-01+01:00</lower-bound>
                    <step>DAY</step>
                    <upper-bound>1978-01-15+01:00</upper-bound>
                </range>
            </step-in-date-ranges>
            <index-files>false</index-files>
            <include-policies/>
            <exclude-policies/>
            <file-filter>
                <max-file-size>-1</max-file-size>
                <trace-reason>false</trace-reason>
            </file-filter>
            <trace-history>false</trace-history>
        </query>
    </businessobject-queries>
    <relationship-meta-groups/>
    <relationship-queries>
        <query>
            <name>ARel</name>
            <cloudview-types/>
            <index-all-basics>false</index-all-basics>
            <sorted>false</sorted>
            <preserve-empty-values>false</preserve-empty-values>
            <index-all-attributes>false</index-all-attributes>
            <make-a-query-by-subtype>false</make-a-query-by-subtype>
            <includes/>
            <metas/>
            <trace-tenant>false</trace-tenant>
            <trace-type-lineage>false</trace-type-lineage>
            <paths/>
            <step-in-date-ranges/>
        </query>
    </relationship-queries>
    <path-meta-groups/>
    <path-queries>
        <query>
            <name>SemanticRelation</name>
            <cloudview-types/>
            <index-all-basics>false</index-all-basics>
            <includes/>
            <metas/>
            <preserveEmptyValues>false</preserveEmptyValues>
            <step-in-date-ranges/>
        </query>
    </path-queries>
    <translation-locale>en</translation-locale>
    <translate-all-selects>false</translate-all-selects>
    <datamodel-metaname-conformant>false</datamodel-metaname-conformant>
</query-config>