Skip to content

Commit

Permalink
Updated example configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
canademar committed Jan 27, 2017
1 parent 117c4d7 commit 92623ef
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 45 deletions.
4 changes: 0 additions & 4 deletions src/main/resources/dockerServices/audioemotion_service.conf

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ serviceId = "topic-container"
requestUrl = "/?text=${videoUrl}"
outputField = "topics"
method = "GET"
responsePath = ""
response.json.path = ""
30 changes: 30 additions & 0 deletions src/main/resources/examplePipeline.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#List of modules to be sequentialy executed for each input entry
#Configuration for modules starting with "rest" will be in "rest_conf_folder"
#Configuration for modules starting with "docker" will be in "docker"
modules = ["rest_module1", "rest_module2","docker_module3"]

#Optional. If not present will not write to elasticsearch
elasticsearch {
ip = "elasticsearchip"
port = 9300
clusterName = "Elasticsearch"
indexName = "myanalyzed"
documentType = "texts"
}

#Only mandatory when using docker modules
mesos_dns {
ip="mesos_dns_ip"
port=8123
}

#Mandatory
docker_conf_folder="/absolute/path/to/docker/services/configuration/files/"
rest_conf_folder="/absolute/path/to/docker/services/configuration/files/"

#Optional if not present will not write results to file
outputFilePath="/absolute/path/to/docker/services/configuration/files"

#Time until a timeout exception will be thrown. Useful when some process could get hang up
executionTimeoutSeconds=5000

9 changes: 0 additions & 9 deletions src/main/resources/mockedAudio.conf

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ip = "localhost"
port = 32769
method = "GET"
requestUrl = "?text=${text}"
outputField = "concepts"
responsePath = "concepts"
outputField = "output"
response.json.path = "output"
requestTimeoutSeconds=30
requestDelayMs=500
requestDelayMs=500
8 changes: 0 additions & 8 deletions src/main/resources/restServices/topic_pt.conf

This file was deleted.

20 changes: 0 additions & 20 deletions src/main/resources/textPipelineUPM_PT.conf

This file was deleted.

0 comments on commit 92623ef

Please sign in to comment.