Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Processes portlet to Tools category - EXO-67323 - Meeds-io/MIPs#88 #328

Merged
merged 2 commits into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you need merge 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>