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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
isaak yansane-sisk
slapos
Commits
5fd30cc8
Commit
5fd30cc8
authored
Dec 25, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
palo ++
parent
2324cf9c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
107 additions
and
40 deletions
+107
-40
software/palo/instance.cfg
software/palo/instance.cfg
+0
-12
software/palo/instance.cfg.in
software/palo/instance.cfg.in
+75
-0
software/palo/palo.ini.in
software/palo/palo.ini.in
+12
-0
software/palo/software.cfg
software/palo/software.cfg
+20
-28
No files found.
software/palo/instance.cfg
deleted
100644 → 0
View file @
2324cf9c
[buildout]
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
parts = instance
[instance]
recipe = ${instance-recipe:egg}:${instance-recipe:module}
jdbc_location = ${jdbc:location}/mysql-connector-java-5.1.17/mysql-connector-java-5.1.17-bin.jar
tomcat_location = ${tomcat:location}
palo_location = ${palo:location}
java_home = ${java:location}
software/palo/instance.cfg.in
0 → 100644
View file @
5fd30cc8
[buildout]
parts =
instance-parameter
directory
palo
publish-connection-parameter
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true
[instance-parameter]
recipe = slapos.cookbook:slapconfiguration
computer = $${slap_connection:computer_id}
partition = $${slap_connection:partition_id}
url = $${slap_connection:server_url}
key = $${slap_connection:key_file}
cert = $${slap_connection:cert_file}
configuration.name = John Doe
configuration.erp5_url =
[palo_olap_parameter]
palo_olap_host = $${instance-parameter:ipv4-random}
palo_olap_port = 7777
[directory]
recipe = slapos.cookbook:mkdirectory
home = $${buildout:directory}
etc = $${:home}/etc
var = $${:home}/var
script = $${:etc}/run/
service = $${:etc}/service
promise = $${:etc}/promise/
log = $${:var}/log
[TODO]
todo =
worker_login
tunnel
patch ipv6
etl
log_rotation
[palo_ini]
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/palo.ini.in
rendered = $${directory:etc}/palo.ini
extensions = jinja2.ext.do
context = import json_module json
key directory_var directory:var
key directory_log directory:log
key login_woker erp5_login_worker:wrapper-path
key palo_olap_repository_location :palo_olap_repository_location
section parameter instance-parameter
section palo_olap_parameter palo_olap_parameter
key erp5_url instance-parameter:configuration.erp5_url
palo_olap_repository_location = ${palo_olap-repository.git:location}
[palo]
# This recipe will try to "exec" the command-line after separating parameters.
recipe = slapos.cookbook:wrapper
command-line = ${palo:location}/bin/palo --init-file $${palo_ini:rendered} --chdir
wrapper-path = $${directory:service}/palo_olap
[erp5_login_worker]
wrapper-path = TODO
[publish-connection-parameter]
recipe = slapos.cookbook:publish
name = Hello $${instance-parameter:configuration.name}!
palo_olap_url = $${instance-parameter:}
software/palo/palo.ini.in
0 → 100644
View file @
5fd30cc8
data-directory {{ directory_var }}
template-directory {{palo_olap_repository_location}}/Api
http {{ instance_parameter:palo_olap_host }} {{ instance_parameter:palo_olap_port }}
http [2001:67c:1254:e:c1::4206] 7770
admin 10.0.221.4 7771
log {{ directory_log }}/palo_olap.log
verbose debug
user-login
#worker /srv/slapgrid/slappart8/srv/runner/instance/slappart0/sbin/erp5_login_worker /srv/slapgrid/slappart8/srv/runner/instance/slappart0/var//log//palo_login_worker.log https://aact.erp5.net/erp5/
#workerlogin authorization
software/palo/software.cfg
View file @
5fd30cc8
...
@@ -2,46 +2,38 @@
...
@@ -2,46 +2,38 @@
extends =
extends =
../../stack/tomcat.cfg
../../stack/tomcat.cfg
../../stack/slapos.cfg
../../stack/slapos.cfg
../../component/git/buildout.cfg
../../component/openssl/buildout.cfg
../../component/gperf/buildout.cfg
../../component/gperf/buildout.cfg
../../component/boost-lib/buildout.cfg
../../component/boost-lib/buildout.cfg
../../component/subversion/buildout.cfg
parts += palo
parts =
palo
slapos-cookbook
instance-profile
[instance-recipe]
[boost-lib]
egg = slapos.cookbook
<= boost-lib-1.53
module = palo
[instance-recipe-egg]
[instance-profile]
recipe = zc.recipe.egg
eggs = ${instance-recipe:egg}
[template]
# Default template for the instance.
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
url = ${:_profile_base_location_}/instance.cfg
.in
md5sum = dbdc297502f0258c85fe7dfbddc8e501
output = ${buildout:directory}/instance.cfg
output = ${buildout:directory}/template.cfg
#md5sum =
mode = 0644
mode = 0644
[palo_olap_checkout]
[palo_olap-repository.git]
recipe = infrae.subversion
recipe = slapos.recipe.build:gitclone
urls = https://palo.svn.sourceforge.net/svnroot/palo/molap/server/3.X/Source palo_olap
repository = https://gitlab.com/perrinjerome/palo_olap.git
; known good revision: 456
branch = master
git-executable = ${git:location}/bin/git
[palo]
[palo]
recipe = hexagonit.recipe.cmmi
recipe = hexagonit.recipe.cmmi
;path = ${palo_olap_checkout:location}/palo_olap
path = ${palo_olap-repository.git:location}
path = /home/jerome/src/palo_olap
; XXX in svn repo, configure is not exectuable
configure-command = chmod +x ./configure && ./configure --prefix=${buildout:parts-directory}/${:_buildout_section_name_}/
#; patch to actually install palo binary
#patches = ${buildout:directory}/patches/palo_olap_install_palo.diff
#patch-options = -p0
environment =
environment =
CPPFLAGS=-I${gperf:location}/include -I${boost-lib:location}/include
CPPFLAGS=-I${gperf:location}/include -I${
openssl:location}/include -I${
boost-lib:location}/include
LDFLAGS=-L${gperf:location}/lib -Wl,-rpath=${gperf:location}/lib -L${
boost-lib:location}/lib -Wl,-rpath=${boost-lib:location}/lib
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
PATH=${gperf:location}/bin:%(PATH)s
[versions]
[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