Skip to content

Commit

Permalink
feat: Configure Processes portlet into Tools category - EXO-67323 - M…
Browse files Browse the repository at this point in the history
  • Loading branch information
IlhemEssaadi authored Nov 23, 2023
1 parent f31861d commit 1b71cc0
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
<import profiles="app-center">war:/conf/processes/app-center-configuration.xml</import>
<import>war:/conf/processes/notification-configuration.xml</import>
<import profiles="analytics">war:/conf/processes/analytics-configuration.xml</import>
<import>war:/conf/processes/application-registry-configuration.xml</import>
</configuration>
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="ISO-8859-1"?>

<configuration
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd
http://www.exoplatform.org/xml/ns/kernel_1_2.xsd"
xmlns="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd">

<external-component-plugins>
<target-component>org.exoplatform.application.registry.ApplicationRegistryService</target-component>
<component-plugin>
<name>Tools.portlets.registry</name>
<set-method>initListener</set-method>
<type>org.exoplatform.application.registry.ApplicationCategoriesPlugins</type>
<description>this listener init the portlets are registered in PortletRegister</description>
<init-params>
<value-param>
<name>system</name>
<value>true</value>
</value-param>
<value-param>
<name>merge</name>
<value>true</value>
</value-param>
<object-param>
<name>tools</name>
<description>description</description>
<object type="org.exoplatform.application.registry.ApplicationCategory">
<field name="name">
<string>Tools</string>
</field>
<field name="displayName">
<string>Tools</string>
</field>
<field name="description">
<string>Applications for tools</string>
</field>
<field name="accessPermissions">
<collection type="java.util.ArrayList" item-type="java.lang.String">
<value>
<string>*:/platform/users</string>
</value>
</collection>
</field>
<field name="applications">
<collection type="java.util.ArrayList">
<value>
<object type="org.exoplatform.application.registry.Application">
<field name="applicationName">
<string>Processes</string>
</field>
<field name="categoryName">
<string>tools</string>
</field>
<field name="displayName">
<string>Processes</string>
</field>
<field name="description">
<string>Processes Portlet</string>
</field>
<field name="type">
<string>portlet</string>
</field>
<field name="contentId">
<string>processes/Processes</string>
</field>
<field name="accessPermissions">
<collection type="java.util.ArrayList" item-type="java.lang.String">
<value>
<string>*:/platform/users</string>
</value>
</collection>
</field>
</object>
</value>
</collection>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
</external-component-plugins>
</configuration>

0 comments on commit 1b71cc0

Please sign in to comment.