Giter Site home page Giter Site logo

cmis-search-connector's Introduction

CMIS Search Connector

This addon provides a eXo Search connector for CMIS repositories.

Getting Started

Step 1 : Build

Prerequisite : install Maven 3

Clone the project with

git clone https://github.com/exo-addons/cmis-search-connector.git
cd cmis-search-connector

Build it with

mvn clean package

Step 2 : Deploy

Prerequisite : install eXo Platform 4.0 Tomcat bundle (EXO_TOMCAT_ROOT_FOLDER will be used to designate the eXo Tomcat root folder).

Copy the extension binary :

cp target/cmis-search-connector-*.jar EXO_TOMCAT_ROOT_FOLDER/lib

Step 3 : Configure

In your extension, declare the CMIS Search connector with the parameters of your CMIS repository. Examples are provided in src/main/resources/conf/portal/configuration.xml :

<!-- Alfresco CMIS example -->
<external-component-plugins>
  <target-component>org.exoplatform.commons.api.search.SearchService</target-component>
  <component-plugin>
    <name>CmisSearchConnector</name>
    <set-method>addConnector</set-method>
    <type>org.exoplatform.search.cmis.CmisSearchConnector</type>
    <description>CMIS Search Connector</description>
    <init-params>
      <properties-param>
        <name>constructor.params</name>
        <property name="searchType" value="alfresco"/>
        <property name="displayName" value="Alfresco"/>
        <property name="cmisProviderHost" value="localhost"/>
        <property name="cmisProviderPort" value="8080"/>
        <property name="cmisProviderAtomUrl" value="/alfresco/cmisatom"/>
        <property name="cmisProviderUser" value="admin"/>
        <property name="cmisProviderPassword" value="alfresco"/>
        <property name="cmisProviderThumbnailUrl" value="https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcScSv7LiwhO23tccPs2v4anv0KSNDT2DeR6vOy-qoHLgQJ0JvDh"/>
      </properties-param>
    </init-params>
  </component-plugin>
</external-component-plugins>

Step 4 : Run

cd EXO_TOMCAT_ROOT_FOLDER
./start_eXo.sh

cmis-search-connector's People

Contributors

aheritier avatar thomasdelhomenie avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.