Code Monkey home page Code Monkey logo

exo-es-embedded's Introduction

elasticsearch embedded add-on

This add-on embedded an ElasticSearch in eXo Platform Server.

Only localhost node can access the cluster and only localhost request to the node are accepted by default.

Installing

  1. Build the add-on with Maven
$ mvn clean package
  1. Copy exo-es-embedded/packaging/target/exo-es-embedded-packaging-1.0.x-SNAPSHOT.zip to $PLATFORM_HOME/addons
  2. Add the following entry in $PLATFORM_HOME/addons/local.json:
[
 {
 "id": "exo-es-embedded",
 "version": "1.0.x-SNAPSHOT",
 "name": "elasticsearch embedded Add-on",
 "description": "The elasticsearch embedded Add-on",
 "downloadUrl": "file://./exo-es-embedded-packaging-1.0.x-SNAPSHOT.zip",
 "vendor": "eXo platform",
 "license": "LGPLv3",
 "supportedDistributions": ["community","enterprise"],
 "supportedApplicationServers": ["tomcat","jboss"]
 }
]
  1. Install the addon:
$ ./addon install exo-es-embedded --snapshots
  1. Start PLF

Install Plugins

Only working on Tomcat distribtution.

After installation of plugins you need to restart the server

Head

Unzip https://github.com/mobz/elasticsearch-head/archive/master.zip to $PLATFORM_HOME/es/plugins/head/_site

After restart you can access it from http://localhost:9200/_plugin/head/

For more documentation about head plugin you can take a look to official documentation: http://mobz.github.io/elasticsearch-head/

Marvel

Unzip http://download.elasticsearch.org/elasticsearch/marvel/marvel-latest.zip to $PLATFORM_HOME/es/plugins/marvel

After restart you can access it from http://localhost:9200/_plugin/marvel/kibana/index.html

For more documentation about marvel plugin you can take a look to official documentation: https://www.elastic.co/products/marvel

Others

Like Head or Marvel just unzip the plugin in $PLATFORM_HOME/es/plugins/[plugin-name] and restart the server

Testing

After starting eXo Platform you can test as follow:

$ curl -v localhost:9200
$ curl -XPUT 'http://localhost:9200/blog/user/tclement' -d '{ "name" : "Thibault Clement" }'
$ curl -v localhost:9200/blog

exo-es-embedded's People

Contributors

thibaultclem avatar bdechateauvieux avatar mgreau avatar

Watchers

James Cloos 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.