User ENOVIA for the operations

The application Techcenter Bridge is connected to application 3DEXPERIENCE to carry out the following operations:

  • Selection of the document to be published in the 3DEXPERIENCE
  • Extraction of the files in a temporary folder
  • Modification of attributes on the document allowing to know the statute of publication

With this intention a user is declared in the application Techcenter Bridge and must have the sufficient rights.

To add to the user right “System Administrator”.



Model module ERP/TC dated

  • To extract the MoovappsBridgeFor3DEXPERIENCE-ENOVIA-VX.X.X-20XXXXXX.zip contents in a temporary folder
  • To open a window MQL

MQL<1>set context to use creator;

Context successfully set

MQL<2>verb one;

MQL<3>tcl;

Cd <path to folder> installation/enovia/param/

exit

MQL<3>run DM-install-all.tcl

  • To check the files of logs


Application 

  • To extract the MoovappsBridgeFor3DEXPERIENCE-ENOVIA-VX.X.X-20XXXXXX.zip contents in a temporary folder
  • To modify the file  <path to installation folder> \ enovia \ applications \ staging \ ematrix \ properties \ VISBridge.properties according to your environment

visbridge.config.kafka.url=VSOL-BRIDGE: 9092

visbridge.config.techcenter.url = https://bridge.preprod.moovapps.com/vdoc

visbridge.config.techcenter.login = sysadmin

visbridge.config.techcenter.password = <password>

visbridge.config.techcenter.timeout = 30

  • Copy/Paste contents of the folder <path to installation folder> \ enovia \ applications \ staging \ ematrix towards the folder <path to 3dspace server> \ STAGING \ ematrix
  • To add the contents of the files property <path to installation folder> \ enovia \ applications \ staging \ properties_modified towards their respective file in <path to 3dspace server> \ STAGING \ ematrix \ properties
  • Copy/Paste <path to installation folder> \ enovia \ applications \ staging \ ematrix \ WEB-INF \ lib \ visbridge.jar in C:\App\R2017X\3dspace\server\win _b64 \ docs \ javaserver
  • To deploy applications CA and NOCAS while launching the tools for standard deployment
    • Run ace administrator BuildDeploy3DSpace_CAS.bat
    • Run ace administrator BuildDeploy3DSpace_NoCAS.bat

Note: The services are stopped/started automatically by the deployment.


Installation Visiativ Bridge

  • To extract the MoovappsBridgeFor3DEXPERIENCE-SERVER-VX.X.X-20XXXXXX.ZIp contents in a temporary folder
  • Copy/Paste the VISBridge folder in C: /app
  • To go in the C:\App\VISBridge\zookeeper folder - 3.4.11 \ conf and to modify the file zoo.cfg

dataDir= C:\ \ App \ \ VISBridge \ \ dated \ \ zoo-dated

  • To go in the folder C:\App\VISBridge\kafka _2.11-1.1.0 \ configuration and to modify the file server.properties

log.dirs=C: /App/VISBridge/data/kafka-logs

#VISBridge - Sayable logs due to Windows deployment resulting

log.cleaner.enable = false

log.flush.interval.ms=1000

group.initial.rebalance.delay.ms=3000

  • To go in the C:\App\VISBridge\config folder and to modify the VISWorker.properties file


######################### Bridge Server basics #########################


# Bridge server basics

# <HOSTNAME>: <PORT>

visbridge.config.bridge.url=VSOL-BRIDGE: 9092


######################### 3DEXPERIENCE Server basics #########################


# ENOVIA server URL

# http:// <URL>: <PORT>/<NOCAS application>

visbridge.config.enovia.url=http://3dspace-dev.internal.ds.visiativ.com:8070/internal

#visbridge.config.enovia.url= http://local.moovapps.ds.visiativ.com:8080/internal



# ENOVIA system administrator to use

# <USERNAME>

visbridge.config.enovia.login=user1


# ENOVIA system administrator to use

# <PASSWORD>

visbridge.config.enovia.password=3Dexp2017x


# Temporary path used by the workers

# This has UNC path.

# Needs full accesses one it

visbridge.config.bridge.state.dir.config=C:\ \temp\ \visbridge


#########################  Techcenter configuration #########################


# MOOVAPPS TECHCENTER server URL

# https:// <URL>/vdoc

visbridge.config.techcenter.url = https://bridge.preprod.moovapps.com/vdoc


# TechCenter administrator to use

# <USERNAME>

visbridge.config.techcenter.login = sysadmin


# TechCenter administrator to use

# <PASSWORD>

visbridge.config.techcenter.password = to manage


# The following configuration specify the time, in seconds, the worker will wait for has answer from Techcenter application.

# Year error is returned and displayed yew the connection has failed

visbridge.config.techcenter.timeout.sec = 30


# Temporary path used to checkout the files from ENOVIA

# This has UNC path.

# Needs full accesses one it

visbridge.config.checkout.temp.path = \ \ \ \ VSOL-DEV2017X/visbridge-temp


# The following configuration specify the attributes to publish to TechCenter application

# This has coma separated EnoviaAttributeName: TechCenterAttributeName pars

# The Enovia attribute name must Be the real name in the database

# The Techcenter attribute must Be configured in the standard document

visbridge.techcenter.attributes = Checkin Reason: checkinreason; revision: revision; Title: title; current: status



######################### ERP related configuration #########################



# Hiring of the root elements exported from the 3DEXPERIENCE application

# This has UNC path

visbridge.erp.export.path = \ \ \ \ VSOL-DEV2017X/visbridge-temp/erp/export


# Hiring of the temporary folder for the files during the export

# Relative to the erp export path

# Property with rename ==> visbridge.erp.export.files.path

visbridge.config.checkout.erp.path.files.folder = export


# Hiring of the root elements to importation in the 3DEXPERIENCE application

# This has UNC path

visbridge.erp.import.path = \ \ \ \ VSOL-DEV2017X/visbridge-temp/erp/import


# Hiring of the elements really imported to the 3DEXPERIENCE application

# They are named “files” elements

# This has UNC path

visbridge.erp.import.archive.path = \ \ \ \ VSOL-DEV2017X/visbridge-temp/erp/import/archive


# Hiring of the XSL transformation spins for the EXPORT process

# This has UNC path

visbridge.erp.export.xsl = \ \ \ \ VSOL-DEV2017X/visbridge-temp/erp/export/xsl/sample.xsl


# Hiring of the XSL transformation spins for the IMPORTATION process

# This has UNC path

visbridge.erp.import.xsl = \ \ \ \ VSOL-DEV2017X/visbridge-temp/erp/import/xsl/sample.xsl



# Adding has prefix to the XML spins name after XSL transformation operation

visbridge.erp.xsl.stylesheet.target.filename.prefix = TRA-




# Dates format feels by the ERP in the IMPORTATION files for each attribute

visbridge.erp.import.date.format = MMdd/yyyy hh: mm: s aaa


# Lists of relationships traveled for BOM, separated by has coma

# The direction is FROM ==> TO

# <RELATIONSHIP1>, <RELATIONSHIP2>, <RELATIONSHIPX>

visbridge.erp.child.relationship = EBOM


# Lists of relationships traveled for DAC Specification, separated by has coma

# The direction is FROM ==> TO

# <RELATIONSHIP1>, <RELATIONSHIP2>, <RELATIONSHIPX>

visbridge.erp.partspecification.relationship = Part Specification


# Lists of relationships traveled for Viewables, separated by has coma

# The direction is FROM ==> TO

# <RELATIONSHIP1>, <RELATIONSHIP2>, <RELATIONSHIPX>

# Associated Drawing is not one viewable, to separate in 2 property

visbridge.erp.viewable.relationship = Viewable, Associated Drawing, VPMRepInstance, Derived Output


# Lists of relationships traveled for reference documents, separated by has coma

# The direction is FROM ==> TO

# <RELATIONSHIP1>, <RELATIONSHIP2>, <RELATIONSHIPX>

visbridge.erp.document.relationship = Reference Document


# Lists of relationships traveled for classification, separated by has coma

# The direction is FROM ==> TO

# <RELATIONSHIP1>, <RELATIONSHIP2>, <RELATIONSHIPX>

visbridge.erp.classification.relationship = Classified Item


# Relationship name used to locate the minor object of the DOCUMENTS enovia model dated

visbridge.erp.native.relationship = Latest Version


# Lists of relationships in which extract files

visbridge.erp.relationship.extract.files = ROOT, Part Specification, Viewable, Associated Drawing, VPMRepInstance, Reference Document, Derived Output


# Lists of relationships in which extract attributes

visbridge.erp.relationship.extract.attributes = ROOT, Part Specification, Part Specification, Viewable, Associated Drawing, VPMRepInstance, Reference Document, Derived Output


# The following configuration specify the time, in seconds, the worker will delay the export yew the enovia businessobjets are locked by another process in the database.

# This configuration is related to visbridge.erp.export.timer.attempt.number property.

# visbridge.erp.export.timer.sleep.sec * visbridge.erp.export.timer.attempt.number = maximum time for year export to Be has success

# 10 * 180 = 30 minutes

# The defect been worth for this is 10 seconds.

visbridge.erp.export.timer.sleep.sec = 10


# The following configuration specify the number of retry the worker will try to export the enovia businessobjets yew they are locked by another process in the database.

# This configuration is related to visbridge.erp.export.timer.sleep.sec property.

# visbridge.erp.export.timer.sleep.sec * visbridge.erp.export.timer.attempt.number = maximum time for year export to Be has success

# 10 * 180 = 30 minutes

# The defect been worth for this is 180.

visbridge.erp.export.timer.attempt.number = 180


  • To integrate certificate 3DEXPERIENCE into the JRE used by BRIDGE
  • To go in the C:\App\VISBridge\bin folder and to modify the file setenv.bat

@Rem

@echo off


@ Rem Bridge and Java hirings

@ Rem Update according the hiring installation

set BRIDGE_HOME= C:\App\VISBridge

set JAVA_HOME= C:\App\Java\x64\jdk\jre


@Rem zookeeper and kafka hiring

set ZOOKEEPER_HOME=%BRIDGE_HOME% \ zookeeper-3.4.11

set KAFKA_HOME=%BRIDGE_HOME% \ kafka_2.11-1.1.0


@ Rem Logs hiring

set BRIDGE_LOG=%BRIDGE_HOME% \ log

set BRIDGE_DATA_LOG=%BRIDGE_HOME% \ dated

set LOG_DIR=%BRIDGE_LOG% \ kafka-system-logs


@ Rem Fix, need to managed correctly this path in streams

set STREAM_INTERNAL_LOG= C:\temp\kafka - streams


@ Rem Update PATH environment variable

set PATH=%PATH%; %ZOOKEEPER_HOME% \ bin


  • Execute the file installation-services.bat with the right administrator

Microsoft Windows [Version 6.3.9600]

(c) 2013 Microsoft Corporation. All rights reserved.


C:\Windows\system32 >cd C:\App\VISBridge\bin


C:\App\VISBridge\bin >installation-services.bat