Miklos Gergely 5709f438b5 AMBARI-19045 Remove unnecessary Log Feeder Date Mapper tests 8 rokov pred
..
ambari-logsearch-appender 336209a0a0 AMBARI-18077. Clean up Log Search Appender and improve speed (Miklos Gergely via oleewere) 9 rokov pred
ambari-logsearch-assembly 72953633b5 AMBARI-18898. Multiple kerberos name rules can not be set up for Ambari Infra Solr (Miklos Gergely via oleewere) 9 rokov pred
ambari-logsearch-it 39ffb74f22 Update ambari-logsearch-it version to 2.5.0.0.0 (oleewere) 9 rokov pred
ambari-logsearch-logfeeder 5709f438b5 AMBARI-19045 Remove unnecessary Log Feeder Date Mapper tests 8 rokov pred
ambari-logsearch-portal 80b5348cac AMBARI-19033. Log Search: Cannot increase the number of shards per node for solr collections (oleewere) 8 rokov pred
ambari-logsearch-solr-client 336209a0a0 AMBARI-18077. Clean up Log Search Appender and improve speed (Miklos Gergely via oleewere) 9 rokov pred
docker 59c839c873 AMBARI-18660. Log Search schema meta data loader fix (Miklos Gergely via oleewere) 9 rokov pred
README.md d78f303160 AMBARI-18076. JBehave and docker based Integration Test Framework for Log Search components (oleewere) 9 rokov pred
pom.xml d78f303160 AMBARI-18076. JBehave and docker based Integration Test Framework for Log Search components (oleewere) 9 rokov pred

README.md

Log Search

Setup local environment with docker

Prerequisites

Install docker For Mac OS X use Docker Machine

Build and start Log Search in docker container

# to see available commands: run start-logsearch without arguments
cd docker
./logsearch-docker build-and-run

If you run the script at first time, it will generate you a new Profile file inside docker directory, in that file you should set AMBARI_LOCATION (point to the local ambari root folder) and MAVEN_REPOSITORY_LOCATION (point to local maven repository location). These will be used as volumes for the docker container. If Profile is generated for first time use ./logsearch-docker start command to start container without rebuild the project/container again.

After the logsearch container is started you can enter to it with following command:

docker exec -it logsearch bash

Package build process

  1. Check out the code from GIT repository

  2. On the logsearch root folder (ambari/ambari-logsearch), please execute the following Maven command to build RPM/DPKG:

    mvn -Dbuild-rpm clean package
    

    or

    mvn -Dbuild-deb clean package
    
  3. Generated RPM/DPKG files will be found in ambari-logsearch-assembly/target folder

Running Integration Tests

By default integration tests are not a part of the build process, you need to set ${it.skip} variable to true (docker needed here too)

# from ambari-logsearch folder
mvn clean integration-test -Dit.skip=false

Also you can run from the IDE, but make sure all of the ambari logsearch modules are built.