Skip to content

Commit

Permalink
feat: Move sites definition into common extension - MEED-2811 - Meeds…
Browse files Browse the repository at this point in the history
…-io/MIPs#100

This change will move sites pages definition into sites.war extension to centralize the configuration of sites which will improve the maintainability and evolutivity.
  • Loading branch information
boubaker authored and rdenarie committed Nov 9, 2023
1 parent 20ef450 commit 6a93b1c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 123 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
<import>war:/conf/kudos/navigation-categories-configuration.xml</import>
<import>war:/conf/kudos/upgrade-configuration.xml</import>

</configuration>
</configuration>
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,6 @@
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.exoplatform.org/xml/ns/kernel_1_3.xsd http://www.exoplatform.org/xml/ns/kernel_1_3.xsd" xmlns="http://www.exoplatform.org/xml/ns/kernel_1_3.xsd">
<external-component-plugins>
<target-component>org.exoplatform.portal.config.UserPortalConfigService</target-component>
<component-plugin>
<name>new.portal.config.user.listener</name>
<set-method>initListener</set-method>
<type>org.exoplatform.portal.config.NewPortalConfigListener</type>
<description>This listener creates Kudos Administration Page</description>
<init-params>
<value-param>
<name>override</name>
<value>true</value>
</value-param>
<object-param>
<name>group.configuration</name>
<description>description</description>
<object type="org.exoplatform.portal.config.NewPortalConfig">
<field name="ownerType">
<string>group</string>
</field>
<field name="override">
<boolean>${exo.kudos.portalConfig.metadata.override:true}</boolean>
</field>
<field name="importMode">
<string>${exo.kudos.portalConfig.metadata.importmode:merge}</string>
</field>
<field name="predefinedOwner">
<collection type="java.util.HashSet">
<value>
<string>/platform/rewarding</string>
</value>
</collection>
</field>
<field name="location">
<string>war:/conf/kudos/portal</string>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
<component-plugin>
<name>new.portal.config.user.listener</name>
<set-method>initListener</set-method>
Expand Down Expand Up @@ -73,4 +36,4 @@
</init-params>
</component-plugin>
</external-component-plugins>
</configuration>
</configuration>

This file was deleted.

This file was deleted.

0 comments on commit 6a93b1c

Please sign in to comment.