2.2.3.8. Wiki Chromattic Lifecycle

Warning

You are looking at documentation for an older release. Not what you want? See the current release documentation.

This plugin is used configure workspace and node name with Chromattic. The configuration can be found in wiki-service/src/main/resources/conf/portal/configuration.xml.

Sample configuration:


<external-component-plugins>
        <target-component>org.exoplatform.commons.chromattic.ChromatticManager</target-component>
        <component-plugin>
          <name>chromattic</name>
          <set-method>addLifeCycle</set-method>
          <type>org.exoplatform.wiki.service.impl.WikiChromatticLifeCycle</type>
          <init-params>
            <value-param>
              <name>domain-name</name>
              <value>wiki</value>
            </value-param>
            <value-param>
              <name>workspace-name</name>
              <value>collaboration</value>
            </value-param>
            <values-param>
              <name>entities</name>
              <value>org.exoplatform.wiki.mow.core.api.WikiStoreImpl</value>
              <value>org.exoplatform.wiki.mow.core.api.wiki.PortalWiki</value>
              <value>org.exoplatform.wiki.mow.core.api.wiki.PortalWikiContainer</value>
              <value>org.exoplatform.wiki.mow.core.api.wiki.GroupWiki</value>
              <value>org.exoplatform.wiki.mow.core.api.wiki.GroupWikiContainer</value>
              <value>org.exoplatform.wiki.mow.core.api.wiki.UserWiki</value>
              <value>org.exoplatform.wiki.mow.core.api.wiki.UserWikiContainer</value>
              <value>org.exoplatform.wiki.mow.core.api.content.ParagraphImpl</value>
              <value>org.exoplatform.wiki.mow.core.api.content.MarkupImpl</value>
              <value>org.exoplatform.wiki.mow.core.api.content.WikiLink</value>
              <value>org.chromattic.ext.ntdef.NTFile</value>
              <value>org.chromattic.ext.ntdef.NTResource</value>
              <value>org.exoplatform.wiki.chromattic.ext.ntdef.NTVersionHistory</value>
              <value>org.exoplatform.wiki.chromattic.ext.ntdef.NTVersion</value>
              <value>org.exoplatform.wiki.chromattic.ext.ntdef.NTVersionLabels</value>
              <value>org.exoplatform.wiki.chromattic.ext.ntdef.NTFrozenNode</value>
              <value>org.exoplatform.wiki.chromattic.ext.ntdef.VersionableMixin</value>
              <value>org.exoplatform.wiki.mow.core.api.content.AnnotationImpl</value>
            </values-param>
        </component-plugin>
</external-component-plugins>

In which:

Init-params

Name Type Default value Description
domain-name String wiki The domain name where JCR stores Wiki data.
workspace-name String collaboration The workspace name where JCR stores Wiki data.
entities String List of Wiki classes that contain the Chromattic configuration of node types.
Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus