Hi Darshana,
Is the "indexingConfiguration" only config that has been missed in the
> 5.9.0 when compared to 5.8.0?
>
No. Another config is also missing. I have added below
<handler
class="org.wso2.carbon.identity.entitlement.policy.finder.registry.RegistryPolicyHandler">
<filter
class="org.wso2.carbon.identity.entitlement.policy.finder.registry.RegistryPolicyMediaTypeMatcher">
<property name="mediaType">application/xacml-policy+xml</property>
</filter>
</handler>
But the following configs are added newly in 5.9.0 pack with the new config
model in registry.xml file.
<dbConfig name="govregistry">
<dataSource>jdbc/SHARED_DB</dataSource>
</dbConfig>
<dbConfig name="configregistry">
<dataSource>jdbc/SHARED_DB</dataSource>
</dbConfig>
<remoteInstance url="https://localhost">
<id>gov</id>
<cacheId>wso2carbon@jdbc
:h2:./repository/database/WSO2SHARED_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</cacheId>
<dbConfig>govregistry</dbConfig>
<readOnly>false</readOnly>
<enableCache>true</enableCache>
<registryRoot>/</registryRoot>
</remoteInstance>
<remoteInstance url="https://localhost">
<id>conf</id>
<cacheId>wso2carbon@jdbc
:h2:./repository/database/WSO2SHARED_DB;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</cacheId>
<dbConfig>configregistry</dbConfig>
<readOnly>false</readOnly>
<enableCache>true</enableCache>
<registryRoot>/</registryRoot>
</remoteInstance>
<mount path="/_system/governance" overwrite="true">
<instanceId>gov</instanceId>
<targetPath>/_system/governance</targetPath>
</mount>
<mount path="/_system/config" overwrite="true">
<instanceId>conf</instanceId>
<targetPath>/_system/config</targetPath>
</mount>
Thanks,
Piraveena
*Piraveena Paralogarajah*
Software Engineer | WSO2 Inc.
*(m)* +94776099594 | *(e)* [email protected]
On Sat, Aug 3, 2019 at 9:08 AM Darshana Gunawardana <[email protected]>
wrote:
> Hi Piraveena,
>
> Is the "indexingConfiguration" only config that has been missed in the
> 5.9.0 when compared to 5.8.0?
>
> Thanks,
>
> On Fri, Aug 2, 2019 at 6:28 PM Piraveena Paralogarajah <[email protected]>
> wrote:
>
>> Hi all,
>>
>> When I go through the registry.xml file in the IS-5.9.0-m5 pack, some
>> configs which are in IS 5.8.0 are missing.
>>
>> The following *<indexingConfiguration> *config is found in IS 5.8.0
>> pack. But it is not found in IS-5.9.0-m5 according to the current config
>> model.
>>
>> <indexingConfiguration>
>> <startIndexing>false</startIndexing>
>> <startingDelayInSeconds>35</startingDelayInSeconds>
>> <indexingFrequencyInSeconds>5</indexingFrequencyInSeconds>
>> <!--number of resources submit for given indexing thread -->
>> <batchSize>40</batchSize>
>> <!--number of worker threads for indexing -->
>> <indexerPoolSize>40</indexerPoolSize>
>> <!-- location storing the time the indexing took place-->
>>
>> <lastAccessTimeLocation>/_system/local/repository/components/org.wso2.carbon.registry/indexing/lastaccesstime</lastAccessTimeLocation>
>> <!-- the indexers that implement the indexer interface for a
>> relevant media type/(s) -->
>> <indexers>
>> <indexer
>> class="org.wso2.carbon.registry.indexing.indexer.MSExcelIndexer"
>> mediaTypeRegEx="application/vnd.ms-excel"/>
>> <indexer
>> class="org.wso2.carbon.registry.indexing.indexer.MSPowerpointIndexer"
>> mediaTypeRegEx="application/vnd.ms-powerpoint"/>
>> <indexer
>> class="org.wso2.carbon.registry.indexing.indexer.MSWordIndexer"
>> mediaTypeRegEx="application/msword"/>
>> <indexer
>> class="org.wso2.carbon.registry.indexing.indexer.PDFIndexer"
>> mediaTypeRegEx="application/pdf"/>
>> <indexer
>> class="org.wso2.carbon.registry.indexing.indexer.XMLIndexer"
>> mediaTypeRegEx="application/xml"/>
>> <indexer
>> class="org.wso2.carbon.registry.indexing.indexer.XMLIndexer"
>> mediaTypeRegEx="application/(.)+\+xml"/>
>> <indexer
>> class="org.wso2.carbon.registry.indexing.indexer.PlainTextIndexer"
>> mediaTypeRegEx="application/swagger\+json"/>
>> <indexer
>> class="org.wso2.carbon.registry.indexing.indexer.PlainTextIndexer"
>> mediaTypeRegEx="application/(.)+\+json"/>
>> <indexer
>> class="org.wso2.carbon.registry.indexing.indexer.PlainTextIndexer"
>> mediaTypeRegEx="text/(.)+"/>
>> <indexer
>> class="org.wso2.carbon.registry.indexing.indexer.PlainTextIndexer"
>> mediaTypeRegEx="application/x-javascript"/>
>> </indexers>
>> <exclusions>
>> <exclusion
>> pathRegEx="/_system/config/repository/dashboards/gadgets/swfobject1-5/.*[.]html"/>
>> <exclusion
>> pathRegEx="/_system/local/repository/components/org[.]wso2[.]carbon[.]registry/mount/.*"/>
>> </exclusions>
>> </indexingConfiguration>
>>
>> Some new configs are available according to the new config model in
>> registry.xml file. Are there any reasons for removing this particular
>> config from registry.xml in the new configuration model?
>>
>> Thanks,
>> Piraveena
>> *Piraveena Paralogarajah*
>> Software Engineer | WSO2 Inc.
>> *(m)* +94776099594 | *(e)* [email protected]
>>
>>
>
> --
> Regards,
>
>
> *Darshana Gunawardana*Technical Lead
> WSO2 Inc.; http://wso2.com
>
> *E-mail: [email protected] <[email protected]>*
> *Mobile: +94718566859*Lean . Enterprise . Middleware
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev