Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
106
Merge Requests
106
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
32920739
Commit
32920739
authored
Jan 07, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
palo: progress with ETL
parent
6dfc49ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
3 deletions
+47
-3
software/palo/instance.cfg.in
software/palo/instance.cfg.in
+37
-3
software/palo/software.cfg
software/palo/software.cfg
+10
-0
No files found.
software/palo/instance.cfg.in
View file @
32920739
...
...
@@ -2,7 +2,8 @@
parts =
instance-parameter
directory
palo
palo_olap
palo_etl
publish-connection-parameter
eggs-directory = ${buildout:eggs-directory}
...
...
@@ -37,6 +38,16 @@ service = $${:etc}/service
promise = $${:etc}/promise/
log = $${:var}/log
[directory_tomcat]
<= directory
catalina_base = $${:home}/var/palo_etl
catalina_logs = $${:catalina_base}/logs
catalina_temp = $${:catalina_base}/temp
catalina_webapps = $${:catalina_base}/webapps
catalina_work = $${:catalina_base}/work
catalina_conf = $${:catalina_base}/conf
[TODO]
todo =
tunnel
...
...
@@ -59,12 +70,35 @@ context = import json_module json
key erp5_url instance-parameter:configuration.erp5_url
raw erp5_login_worker_path ${erp5_login_worker:output}
[palo]
# This recipe will try to "exec" the command-line after separating parameters.
[palo_olap]
recipe = slapos.cookbook:wrapper
command-line = ${palo:location}/bin/palo --init-file $${palo_ini:rendered} --chdir
wrapper-path = $${directory:service}/palo_olap
[palo_etl]
recipe = slapos.cookbook:wrapper
command-line = ${tomcat:location}/bin/catalina.sh run
wrapper-path = $${directory:service}/palo_etl
environment = JAVA_HOME = ${java:location}
CATALINA_BASE = $${directory_tomcat:catalina_base}
dependencies = $${palo_etl_server_xml:rendered}
[palo_etl_server_xml]
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/server.xml.in
rendered = $${directory_tomcat:catalina_conf}/server.xml
extensions = jinja2.ext.do
context = import json_module json
section palo_etl_parameter palo_etl_parameter
raw palo_etl_server_war ${palo_etl_download:location}
[palo_etl_parameter]
tomcat_port = 8888
tomcat_host = $${:ipv4}
tomcat_server_port = 8005
ipv4 = $${instance-parameter:ipv4-random}
ipv6 = $${instance-parameter:ipv6-random}
[publish-connection-parameter]
recipe = slapos.cookbook:publish
palo_olap_url = $${palo_olap_parameter:ipv4}:$${palo_olap_parameter:palo_olap_port}
...
...
software/palo/software.cfg
View file @
32920739
...
...
@@ -9,6 +9,7 @@ extends =
parts =
palo
palo_etl_download
slapos-cookbook
instance-profile
...
...
@@ -43,4 +44,13 @@ environment =
LDFLAGS=-L${gperf:location}/lib -Wl,-rpath=${gperf:location}/lib -L${openssl:location}/lib -Wl,-rpath=${openssl:location}/lib -L${boost-lib:location}/lib -Wl,-rpath=${boost-lib:location}/lib -Wl,-copy-dt-needed-entries -lboost_system
PATH=${gperf:location}/bin:%(PATH)s
[palo_etl_download]
recipe = hexagonit.recipe.download
url = http://switch.dl.sourceforge.net/project/palo-etl-server/etlserver/Palo%20ETL%20Server%203.2/etlserver.war
download-only = true
;destination = ${buildout:directory}/var/tomcat/webapps/
[palo_etl]
needs = ${palo_etl_download:url}
[versions]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment