Skip to content

Commit

Permalink
fix: Fix Wiki page name upgrade plugin test faied - MEED-Meeds-io/MIP…
Browse files Browse the repository at this point in the history
…s#157 (#272)
  • Loading branch information
AzmiTouil committed Jan 22, 2025
1 parent c5ab9c3 commit 1021a2b
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
xmlns="http://www.exoplatform.org/xml/ns/kernel_1_2.xsd">

<import>jar:/conf/portal/wiki-configuration.xml</import>
<import>jar:/conf/portal/metadata-configuration.xml</import>

<remove-configuration>org.exoplatform.wiki.service.NotesExportService</remove-configuration>
<remove-configuration>org.exoplatform.wiki.service.rest.NotesRestService</remove-configuration>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!--
*
* This file is part of the Meeds project (https://meeds.io/).
*
* Copyright (C) 2020 - 2025 Meeds Association [email protected]
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
-->
<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.social.metadata.MetadataService</target-component>
<component-plugin>
<name>NotesMetadataTypePlugin</name>
<set-method>addMetadataTypePlugin</set-method>
<type>org.exoplatform.social.metadata.MetadataTypePlugin</type>
<init-params>
<object-param>
<name>metadataType</name>
<object type="org.exoplatform.social.metadata.model.MetadataType">
<field name="id">
<int>1001</int>
</field>
<field name="name">
<string>notes</string>
</field>
</object>
</object-param>
</init-params>
</component-plugin>
</external-component-plugins>
</configuration>

0 comments on commit 1021a2b

Please sign in to comment.