This article is not about classic OSGi plugin tia Proxy. For this, please see: KGS Proxy
About
This article is about the tia core proxy functionality.
Content
Introduction
In contrast to the OSGi plugin tia Proxy, which is a real archive link proxy, the described functionality just acting like a proxy while it is embedded inside the tia core and configures to content store backends.
The proxy plugin is used, when a customer had in a past a kgs classic content server or is using a classic content server in parallel.
tia core is able to interact with storages former configured for kgs classic content server.
The picture abobe depicts the situation.
Before, the customer had a classic CS 5 with e.g. an FS storage.
Then he could replace the classic CS using tia core with the backend kgsstore and the specific shape SAPHTTP. It act like an archive link CS but using the tia core. (AD)
The config of SAPHttp can be used with the shape CMISApp as well. Then he could access via CMIS the old AL data.
A typical proxy sceenario it depicted in the picture on top. The customer uses CMIS, the proxy configuration and kgsstore as secondary. Now he can archive via CMIS zu a new storage like SFS or Azure (primary) and access legacy data (read only) via secondary and kgs store.
Availability
Please make sure you are using at least tia core version 2.4.2.
Configuration
The configuration has to be made in repository.cfg.
The content server type is proxy, now.
Please respect, that the meta services are effected, as well.
Pay attention to the secondary meta type!
For performance reasons you van try to set usefallback
= false, but then it can lead to documents that are no longer found. Examples are documents that are decoded only once (on storage like data%37), documents that contains a plus (a+b.pdf is stored as a b.pdf) or documents with wrong encoding (stored like � � �+�.pdf
)
template
FI.contentservice.type=proxy FI.contentservice.proxy.primary.type=azureblobstore FI.contentservice.proxy.primary.azureblobstore.connectionstring=... FI.contentservice.proxy.primary.azureblobstore.invalidcharacters=uFFFE\uFFF9\uFFF0\u0081\u008d FI.contentservice.proxy.secondary.type=kgsstore FI.contentservice.proxy.secondary.kgsstore.configfile=C:/Program Files/Tomcat 9.0/conf/Storage-SRC-CS-conf.txt FI.contentservice.proxy.secondary.kgsstore.context = default FI.contentservice.proxy.secondary.kgsstore.usefallback = true FI.metaservice.type = proxy FI.metaservice.proxy.primary.type= database FI.metaservice.proxy.primary.database.driver = org.h2.Driver FI.metaservice.proxy.primary.database.url = jdbc:h2:C:/Users/m.wodarz/Documents/AutoDigit/configs/configSFS/h2metadata;FILE_LOCK=FS;TRACE_LEVEL_SYSTEM_OUT=1 FI.metaservice.proxy.primary.database.user = sa FI.metaservice.proxy.primary.database.password = FI.metaservice.proxy.secondary.type=kgsstore