"
5 | exit
6 | fi
7 | docker run --name=postgres -d -p 5432:5432 wmarinho/postgresql:9.3
8 | sleep 30
9 | docker run --name=pentaho01 -d -p 8080:8080 -e INSTALL_PLUGIN=marketplace,cdf,cda,cde,cgg,sparkl,saiku -e RDS_PORT=5432 -e RDS_DB_NAME=postgres -e RDS_USERNAME=pgadmin -e RDS_HOSTNAME=$1 -e RDS_PASSWORD=pgadmin. -e DB_VENDOR=postgres wmarinho/pentaho
10 | sleep 360
11 | docker run --name=pentaho02 -d -p 8081:8080 -e INSTALL_PLUGIN=marketplace,cdf,cda,cde,cgg,sparkl,saiku -e RDS_PORT=5432 -e RDS_DB_NAME=postgres -e RDS_USERNAME=pgadmin -e RDS_HOSTNAME=$1 -e RDS_PASSWORD=pgadmin. -e DB_VENDOR=postgres wmarinho/pentaho
12 |
--------------------------------------------------------------------------------
/scripts/replace.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | str_search="$1"
4 | str_replace="$2"
5 | opts="$3"
6 | file_pattern="$4"
7 | infile=""
8 |
9 | if [ "$5" = "-infile" ]
10 | then
11 | infile="-i"
12 | fi
13 |
14 | case "$opts" in
15 | "-file")
16 | /bin/sed $infile 's/'$str_search'/'$str_replace'/g' $file_pattern
17 | ;;
18 | "-path")
19 | files=`grep -rl $str_search $file_pattern`
20 | #echo $files
21 | echo $files | /usr/bin/xargs /bin/sed $infile 's/'$str_search'/'$str_replace'/g'
22 | ;;
23 | "-file_pattern")
24 | find . -name $file_pattern -type f -print0 | xargs -0 /bin/sed $infile 's/'$str_search'/'$str_replace'/g'
25 | ;;
26 | *)
27 | echo "Usage: $0 old_str new_str -file filename > new_file"
28 | echo "Usage: $0 old_str new_str -file_pattern /path/*.*"
29 | echo "Usage: $0 old_str new_str -path /path/ -infile "
30 | ;;
31 | esac
32 | exit 0
33 |
--------------------------------------------------------------------------------
/config/postgresql/biserver-ce/data/postgresql/create_Databases.sql:
--------------------------------------------------------------------------------
1 | DROP DATABASE IF EXISTS hibernate;
2 | DROP DATABASE IF EXISTS sampledata;
3 | DROP DATABASE IF EXISTS quartz;
4 | DROP DATABASE IF EXISTS shark;
5 |
6 | DROP USER IF EXISTS hibuser, pentaho_user, pentaho_admin;
7 | -- Change passwords for security
8 | -- NOTE: Passwords must match the datasources in the Pentaho BI Platform system
9 | CREATE USER "hibuser" WITH LOGIN PASSWORD '@@hibuser@@';
10 | CREATE USER "pentaho_user" WITH LOGIN PASSWORD '@@pentaho_user@@';
11 | CREATE USER "pentaho_admin" WITH LOGIN PASSWORD '@@pentaho_admin@@';
12 |
13 | CREATE DATABASE hibernate WITH OWNER = hibuser ENCODING = 'UTF8';
14 | CREATE DATABASE sampledata WITH OWNER = pentaho_user ENCODING = 'UTF8';
15 | CREATE DATABASE quartz WITH OWNER = pentaho_user ENCODING = 'UTF8';
16 | CREATE DATABASE shark WITH OWNER = pentaho_user ENCODING = 'UTF8';
17 |
--------------------------------------------------------------------------------
/config/postgresql/biserver-ce/tomcat/webapps/pentaho/META-INF/context.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/config/postgresql/biserver-ce/pentaho-solutions/system/hibernate/hibernate-settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
15 | system/hibernate/postgresql.hibernate.cfg.xml
16 |
17 |
29 |
30 | false
31 |
32 |
--------------------------------------------------------------------------------
/data-integration/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM java:7
2 |
3 | MAINTAINER Wellington Marinho wpmarinho@globo.com
4 |
5 | # Init ENV
6 | ENV PENTAHO_VERSION 5.4
7 | ENV PENTAHO_TAG 5.4.0.1-130
8 |
9 | ENV PENTAHO_HOME /opt/pentaho
10 |
11 | # Apply JAVA_HOME
12 | RUN . /etc/environment
13 | ENV PENTAHO_JAVA_HOME /usr/lib/jvm/java-1.7.0-openjdk-amd64
14 |
15 | RUN apt-get update; \
16 | apt-get install wget unzip git postgresql-client-9.4 vim zip -y; \
17 | apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*; \
18 | curl -O https://bootstrap.pypa.io/get-pip.py; \
19 | python get-pip.py; \
20 | pip install awscli; \
21 | rm -f get-pip.py
22 |
23 | RUN mkdir ${PENTAHO_HOME}; useradd -s /bin/bash -d ${PENTAHO_HOME} pentaho; chown pentaho:pentaho ${PENTAHO_HOME}
24 |
25 | USER pentaho
26 |
27 | # Download Pentaho BI Server
28 | RUN /usr/bin/wget --progress=dot:giga http://downloads.sourceforge.net/project/pentaho/Data%20Integration/${PENTAHO_VERSION}/pdi-ce-${PENTAHO_TAG}.zip -O /tmp/pdi-ce-${PENTAHO_TAG}.zip; \
29 | /usr/bin/unzip -q /tmp/pdi-ce-${PENTAHO_TAG}.zip -d $PENTAHO_HOME; \
30 | rm /tmp/pdi-ce-${PENTAHO_TAG}.zip
31 |
32 | COPY scripts/ /opt/pentaho/data-integration/
33 | COPY slave_dyn.xml /opt/pentaho/data-integration/
34 |
35 |
36 | WORKDIR /opt/pentaho/data-integration
37 |
38 | EXPOSE 8181
39 |
40 | CMD ["./run.sh"]
41 |
--------------------------------------------------------------------------------
/config/postgresql/biserver-ce/pentaho-solutions/system/hibernate/postgresql.hibernate.cfg.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 | net.sf.ehcache.hibernate.SingletonEhCacheProvider
9 |
10 | true
11 | true
12 |
13 | org.postgresql.Driver
14 | jdbc:postgresql://localhost:5432/hibernate
15 | org.hibernate.dialect.PostgreSQLDialect
16 | hibuser
17 | @@hibuser@@
18 | 10
19 | false
20 | true
21 |
22 | update
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Dockerfile:
--------------------------------------------------------------------------------
1 |
2 |
3 | FROM java:7
4 |
5 |
6 | MAINTAINER Wellington Marinho wpmarinho@globo.com
7 |
8 | # Init ENV
9 | ENV BISERVER_VERSION 5.4
10 | ENV BISERVER_TAG 5.4.0.1-130
11 |
12 | ENV PENTAHO_HOME /opt/pentaho
13 |
14 | # Apply JAVA_HOME
15 | RUN . /etc/environment
16 | ENV PENTAHO_JAVA_HOME $JAVA_HOME
17 | ENV PENTAHO_JAVA_HOME /usr/lib/jvm/java-1.7.0-openjdk-amd64
18 | ENV JAVA_HOME /usr/lib/jvm/java-1.7.0-openjdk-amd64
19 |
20 | # Install Dependences
21 | RUN apt-get update; apt-get install zip netcat -y; \
22 | apt-get install wget unzip git postgresql-client-9.4 vim -y; \
23 | apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*; \
24 | curl -O https://bootstrap.pypa.io/get-pip.py; \
25 | python get-pip.py; \
26 | pip install awscli; \
27 | rm -f get-pip.py
28 |
29 | RUN mkdir ${PENTAHO_HOME}; useradd -s /bin/bash -d ${PENTAHO_HOME} pentaho; chown pentaho:pentaho ${PENTAHO_HOME}
30 |
31 | USER pentaho
32 |
33 | # Download Pentaho BI Server
34 | RUN /usr/bin/wget --progress=dot:giga http://downloads.sourceforge.net/project/pentaho/Business%20Intelligence%20Server/${BISERVER_VERSION}/biserver-ce-${BISERVER_TAG}.zip -O /tmp/biserver-ce-${BISERVER_TAG}.zip; \
35 | /usr/bin/unzip -q /tmp/biserver-ce-${BISERVER_TAG}.zip -d $PENTAHO_HOME; \
36 | rm -f /tmp/biserver-ce-${BISERVER_TAG}.zip $PENTAHO_HOME/biserver-ce/promptuser.sh; \
37 | sed -i -e 's/\(exec ".*"\) start/\1 run/' $PENTAHO_HOME/biserver-ce/tomcat/bin/startup.sh; \
38 | chmod +x $PENTAHO_HOME/biserver-ce/start-pentaho.sh
39 |
40 | COPY config $PENTAHO_HOME/config
41 | COPY scripts $PENTAHO_HOME/scripts
42 |
43 | WORKDIR /opt/pentaho
44 | EXPOSE 8080
45 | CMD ["sh", "scripts/run.sh"]
46 |
--------------------------------------------------------------------------------
/config/postgresql/biserver-ce/pentaho-solutions/system/simple-jndi/jdbc.properties:
--------------------------------------------------------------------------------
1 | # Copyright 2008 - 2010 Pentaho Corporation. All rights reserved.
2 | # This program is free software; you can redistribute it and/or modify it under the
3 | # terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
4 | # Foundation.
5 | #
6 | # You should have received a copy of the GNU Lesser General Public License along with this
7 | # program; if not, you can obtain a copy at http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
8 | # or from the Free Software Foundation, Inc.,
9 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
10 | #
11 | # This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
12 | # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 | # See the GNU Lesser General Public License for more details.
14 | SampleData/type=javax.sql.DataSource
15 | SampleData/driver=org.postgresql.Driver
16 | SampleData/url=jdbc:postgresql://localhost:5432/sampledata
17 | SampleData/user=pentaho_user
18 | SampleData/password=@@pentaho_user@@
19 | Hibernate/type=javax.sql.DataSource
20 | Hibernate/driver=org.postgresql.Driver
21 | Hibernate/url=jdbc:postgresql://localhost:5432/hibernate
22 | Hibernate/user=hibuser
23 | Hibernate/password=@@hibuser@@
24 | Quartz/type=javax.sql.DataSource
25 | Quartz/driver=org.postgresql.Driver
26 | Quartz/url=jdbc:postgresql://localhost:5432/quartz
27 | Quartz/user=pentaho_user
28 | Quartz/password=@@pentaho_user@@
29 | Shark/type=javax.sql.DataSource
30 | Shark/driver=org.postgresql.Driver
31 | Shark/url=jdbc:postgresql://localhost:5432/shark
32 | Shark/user=sa
33 | Shark/password=
34 | SampleDataAdmin/type=javax.sql.DataSource
35 | SampleDataAdmin/driver=org.postgresql.Driver
36 | SampleDataAdmin/url=jdbc:postgresql://localhost:5432/sampledata
37 | SampleDataAdmin/user=pentaho_admin
38 | SampleDataAdmin/password=password
39 |
--------------------------------------------------------------------------------
/config/postgresql/biserver-ce/pentaho-solutions/system/sessionStartupActions.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/scripts/setup_postgresql.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | if [ "$RDS_HOSTNAME" ]; then
4 | PGHOST="$RDS_HOSTNAME"
5 | PGUSER="$RDS_USERNAME"
6 | PGPASSWORD="$RDS_PASSWORD"
7 | PGDATABASE="$RDS_DB_NAME"
8 | PGPORT="$RDS_PORT"
9 | fi
10 |
11 | if [ "$PGHOST" ]; then
12 | if [ ! "$PGPORT" ]; then
13 | PGPORT=5432
14 | fi
15 | if [ ! "$PGDATABASE" ]; then
16 | PGDATABASE=postgres
17 | fi
18 | if [ ! "$PGUSER" ]; then
19 | PGUSER=pgadmin
20 | fi
21 | if [ ! "$PGPASSWORD" ]; then
22 | PGPASSWORD=pgadmin.
23 |
24 | fi
25 | export PGPASSWORD="$PGPASSWORD"
26 | echo "Checking PostgreSQL connection ..."
27 |
28 | nc -zv $PGHOST $PGPORT
29 |
30 | if [ "$?" -ne "0" ]; then
31 | echo "PostgreSQL connection failed."
32 | exit 0
33 | fi
34 |
35 | CHK_QUARTZ=`echo "$(psql -U $PGUSER -h $PGHOST -d $PGDATABASE -l | grep quartz | wc -l)"`
36 | CHK_HIBERNATE=`echo "$(psql -U $PGUSER -h $PGHOST -d $PGDATABASE -l | grep hibernate | wc -l)"`
37 | CHK_JCR=`echo "$(psql -U $PGUSER -h $PGHOST -d $PGDATABASE -l | grep jackrabbit | wc -l)"`
38 | CHK_SDATA=`echo "$(psql -U $PGUSER -h $PGHOST -d $PGDATABASE -l | grep sampledata | wc -l)"`
39 |
40 | echo "quartz: $CHK_QUARTZ"
41 | echo "hibernate: $CHK_HIBERNATE"
42 | echo "jcr: $CHK_JCR"
43 | echo "sampledata: $CHK_SDATA"
44 |
45 | cp -r $PENTAHO_HOME/config $PENTAHO_HOME/config_tmp
46 |
47 | rm -rf "$PENTAHO_HOME/biserver-ce/tomcat/conf/Catalina/*"
48 | rm -rf "$PENTAHO_HOME/biserver-ce/tomcat/temp/*"
49 | rm -rf "$PENTAHO_HOME/biserver-ce/tomcat/work/*"
50 | rm -rf "$PENTAHO_HOME/biserver-ce/tomcat/logs/*"
51 |
52 | $PENTAHO_HOME/scripts/replace.sh "localhost:5432" "$PGHOST:$PGPORT" -path "$PENTAHO_HOME/config_tmp/" -infile
53 | $PENTAHO_HOME/scripts/replace.sh "@@hibuser@@" "$PGPASSWORD" -path "$PENTAHO_HOME/config_tmp/" -infile
54 | $PENTAHO_HOME/scripts/replace.sh "@@jcr_user@@" "$PGPASSWORD" -path "$PENTAHO_HOME/config_tmp/" -infile
55 | $PENTAHO_HOME/scripts/replace.sh "@@pentaho_user@@" "$PGPASSWORD" -path "$PENTAHO_HOME/config_tmp/" -infile
56 | $PENTAHO_HOME/scripts/replace.sh "awsbiuser" "$PGUSER" -path "$PENTAHO_HOME/config_tmp/" -infile
57 | if [ "$RDS_HOSTNAME" ]; then
58 | sed -i 's/TABLESPACE = pg_default;/;/g' $PENTAHO_HOME/config_tmp/postgresql/biserver-ce/data/postgresql/*.sql
59 | fi
60 |
61 | cp -r $PENTAHO_HOME/config_tmp/postgresql/biserver-ce/* $PENTAHO_HOME/biserver-ce/
62 | rm -rf $PENTAHO_HOME/config_tmp
63 |
64 |
65 | if [ "$CHK_JCR" -eq "0" ]; then
66 | psql -U $PGUSER -h $PGHOST -d $PGDATABASE -f $PENTAHO_HOME/biserver-ce/data/postgresql/create_jcr_postgresql.sql
67 | fi
68 | if [ "$CHK_HIBERNATE" -eq "0" ]; then
69 | psql -U $PGUSER -h $PGHOST -d $PGDATABASE -f $PENTAHO_HOME/biserver-ce/data/postgresql/create_repository_postgresql.sql
70 | fi
71 | if [ "$CHK_QUARTZ" -eq "0" ]; then
72 | psql -U $PGUSER -h $PGHOST -d $PGDATABASE -f $PENTAHO_HOME/biserver-ce/data/postgresql/create_quartz_postgresql.sql
73 | fi
74 | if [ "$CHK_SDATA" -eq "0" ]; then
75 | psql -U $PGUSER -h $PGHOST -d $PGDATABASE -f $PENTAHO_HOME/biserver-ce/data/postgresql/sampledata.sql
76 | fi
77 |
78 | fi
79 |
80 |
81 |
82 |
--------------------------------------------------------------------------------
/config/postgresql/README.md:
--------------------------------------------------------------------------------
1 | #(Desconsiderar ... pendente de atualização)
2 | #Pentaho 5 CE com PostgreSQL 9.3
3 |
4 | Este diretório reúne todos os arquivos necessários para configuração do Pentaho CE, versão 5.0.1, com PostgreSQL 9.3. Detalhes da configuração podem ser consultados na documentação oficial, [infocenter.pentaho.com](http://infocenter.pentaho.com/)
5 |
6 | Ambiente testado
7 |
8 | cat /etc/system-release
9 | Amazon Linux AMI release 2013.09
10 |
11 | uname -a
12 | Linux 3.4.76-65.111.amzn1.x86_64 #1 SMP Tue Jan 14 21:06:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
13 |
14 | java -version
15 | java version "1.7.0_51"
16 |
17 | psql --version
18 | psql (PostgreSQL) 9.3.3
19 |
20 |
21 | ## Arquivos de configuração
22 |
23 |
24 | biserver-ce/data/postgresql/create_jcr_postgresql.sql
25 | biserver-ce/data/postgresql/create_quartz_postgresql.sql
26 | biserver-ce/data/postgresql/create_repository_postgresql.sql
27 | biserver-ce/pentaho-solutions/system/hibernate/hibernate-settings.xml
28 | biserver-ce/pentaho-solutions/system/hibernate/postgresql.hibernate.cfg.xml
29 | biserver-ce/pentaho-solutions/system/jackrabbit/repository.xml
30 | biserver-ce/pentaho-solutions/system/quartz/quartz.properties
31 | biserver-ce/pentaho-solutions/system/sessionStartupActions.xml
32 | biserver-ce/tomcat/webapps/pentaho/META-INF/context.xml
33 | biserver-ce/tomcat/webapps/pentaho/WEB-INF/web.xml
34 |
35 |
36 |
37 |
38 | ##Procedimento
39 |
40 | ###Instalação do PostgreSQL Local
41 |
42 | * Referência: [Instalação PostgreSQL](https://wiki.postgresql.org/wiki/YUM_Installation)
43 | * Configuração - pg_hba.conf
44 |
45 |
46 | sudo vi /var/lib/pgsql/9.3/data/pg_hba.conf
47 | host all all 0.0.0.0/0 md5
48 |
49 |
50 | * Configuração do PostgreSQL - postgresql.conf
51 |
52 |
53 | sudo vim /var/lib/pgsql/9.3/data/postgresql.conf
54 | listen_addresses = '*'
55 |
56 |
57 | ###Aplicar configurações predefinidas
58 |
59 | As etapas a seguir consideram que a preparação do ambiente já foi realizado. verificar [pentaho5/README.md](https://github.com/wmarinho/pentaho5/)
60 |
61 | ### Baixar repositório Git
62 |
63 | sudo su - pentaho
64 | cd /opt/pentaho
65 | git clone https://github.com/wmarinho/pentaho5.git
66 |
67 |
68 | ###Aplicar configurações do PostgreSQL
69 |
70 |
71 | cp -r config/postgresql/biserver-ce .
72 |
73 |
74 | ### Inicializar repositório
75 |
76 | Usuários e senhas estão predefinidos nos arquivos *.sql.
77 | Para utilizar em produção, é recomendável a alteração em todos os arquivos.
78 |
79 |
80 | cd biserver-ce/data/postgresql
81 |
82 |
83 |
84 | psql -U postgres -h localhost < create_quartz_postgresql.sql
85 | psql -U postgres -h localhost < create_repository_postgresql.sql
86 | psql -U postgres -h localhost < create_jcr_postgresql.sql
87 |
88 |
89 |
90 | ### Inicializar Pentaho
91 |
92 | cd /opt/pentaho/biserver-ce
93 | ./start-pentaho.sh
94 |
95 |
96 | Caso já tenha configurado, utilize:
97 |
98 | service pentaho start
99 |
100 |
101 |
--------------------------------------------------------------------------------
/config/postgresql/biserver-ce/data/postgresql/views_postgres.sql:
--------------------------------------------------------------------------------
1 | DROP VIEW IF EXISTS "QUADRANT_ACTUALS_VIEW";
2 | DROP VIEW IF EXISTS "DEPARTMENT_MANAGERS_VIEW";
3 | DROP VIEW IF EXISTS "CUSTOMERS_VIEW";
4 | DROP VIEW IF EXISTS "EMPLOYEES_VIEW";
5 | DROP VIEW IF EXISTS "OFFICES_VIEW";
6 | DROP VIEW IF EXISTS "ORDERDETAILS_VIEW";
7 | DROP VIEW IF EXISTS "ORDERS_VIEW";
8 | DROP VIEW IF EXISTS "PAYMENTS_VIEW";
9 | DROP VIEW IF EXISTS "ORDERFACT_VIEW"; -- MUST COME BEFORE PRODUCTS
10 | DROP VIEW IF EXISTS "PRODUCTS_VIEW";
11 | DROP VIEW IF EXISTS "TRIAL_BALANCE_VIEW";
12 | DROP VIEW IF EXISTS "DIM_TIME_VIEW";
13 | DROP VIEW IF EXISTS "CUSTOMER_W_TER_VIEW";
14 | -- CREATE VIEWS
15 |
16 | CREATE VIEW "QUADRANT_ACTUALS_VIEW" ("REGION", "DEPARTMENT", "POSITIONTITLE", "ACTUAL", "BUDGET", "VARIANCE")
17 | AS SELECT "REGION", "DEPARTMENT", "POSITIONTITLE", "ACTUAL", "BUDGET", "VARIANCE" from "QUADRANT_ACTUALS";
18 |
19 | CREATE VIEW "DEPARTMENT_MANAGERS_VIEW" ("REGION", "MANAGER_NAME", "EMAIL")
20 | AS SELECT "REGION", "MANAGER_NAME", "EMAIL" FROM "DEPARTMENT_MANAGERS";
21 |
22 | CREATE VIEW "CUSTOMERS_VIEW" ("CUSTOMERNUMBER", "CUSTOMERNAME", "CONTACTLASTNAME", "CONTACTFIRSTNAME", "PHONE", "ADDRESSLINE1", "ADDRESSLINE2", "CITY", "STATE", "POSTALCODE", "COUNTRY", "SALESREPEMPLOYEENUMBER", "CREDITLIMIT")
23 | AS SELECT "CUSTOMERNUMBER", "CUSTOMERNAME", "CONTACTLASTNAME", "CONTACTFIRSTNAME", "PHONE", "ADDRESSLINE1", "ADDRESSLINE2", "CITY", "STATE", "POSTALCODE", "COUNTRY", "SALESREPEMPLOYEENUMBER", "CREDITLIMIT" FROM "CUSTOMERS";
24 |
25 | CREATE VIEW "EMPLOYEES_VIEW" ("EMPLOYEENUMBER", "LASTNAME", "FIRSTNAME", "EXTENSION", "EMAIL", "OFFICECODE", "REPORTSTO", "JOBTITLE")
26 | AS SELECT "EMPLOYEENUMBER", "LASTNAME", "FIRSTNAME", "EXTENSION", "EMAIL", "OFFICECODE", "REPORTSTO", "JOBTITLE" FROM "EMPLOYEES";
27 |
28 | CREATE VIEW "OFFICES_VIEW" ("OFFICECODE", "CITY", "PHONE", "ADDRESSLINE1", "ADDRESSLINE2", "STATE", "COUNTRY", "POSTALCODE", "TERRITORY")
29 | AS SELECT "OFFICECODE", "CITY", "PHONE", "ADDRESSLINE1", "ADDRESSLINE2", "STATE", "COUNTRY", "POSTALCODE", "TERRITORY" FROM "OFFICES";
30 |
31 | CREATE VIEW "ORDERDETAILS_VIEW" ("ORDERNUMBER", "PRODUCTCODE", "QUANTITYORDERED", "PRICEEACH", "ORDERLINENUMBER")
32 | AS SELECT "ORDERNUMBER", "PRODUCTCODE", "QUANTITYORDERED", "PRICEEACH", "ORDERLINENUMBER" FROM "ORDERDETAILS";
33 |
34 | CREATE VIEW "ORDERS_VIEW" ("ORDERNUMBER", "ORDERDATE", "REQUIREDDATE", "SHIPPEDDATE", "STATUS", "COMMENTS", "CUSTOMERNUMBER")
35 | AS SELECT "ORDERNUMBER", "ORDERDATE", "REQUIREDDATE", "SHIPPEDDATE", "STATUS", "COMMENTS", "CUSTOMERNUMBER" FROM "ORDERS";
36 |
37 | CREATE VIEW "PAYMENTS_VIEW" ("CUSTOMERNUMBER", "CHECKNUMBER", "PAYMENTDATE", "AMOUNT")
38 | AS SELECT "CUSTOMERNUMBER", "CHECKNUMBER", "PAYMENTDATE", "AMOUNT" FROM "PAYMENTS";
39 |
40 | CREATE VIEW "PRODUCTS_VIEW" ("PRODUCTCODE", "PRODUCTNAME", "PRODUCTLINE", "PRODUCTSCALE", "PRODUCTVENDOR", "PRODUCTDESCRIPTION", "QUANTITYINSTOCK", "BUYPRICE", "MSRP")
41 | AS SELECT "PRODUCTCODE", "PRODUCTNAME", "PRODUCTLINE", "PRODUCTSCALE", "PRODUCTVENDOR", "PRODUCTDESCRIPTION", "QUANTITYINSTOCK", "BUYPRICE", "MSRP" FROM "PRODUCTS";
42 |
43 | CREATE VIEW "TRIAL_BALANCE_VIEW" ("TYPE", "ACCOUNT_NUM", "CATEGORY", "CATEGORY2", "DETAIL", "AMOUNT")
44 | AS SELECT "TYPE", "ACCOUNT_NUM", "CATEGORY", "CATEGORY2", "DETAIL", "AMOUNT" FROM "TRIAL_BALANCE";
45 |
46 | CREATE VIEW "ORDERFACT_VIEW" ("ORDERNUMBER", "PRODUCTCODE", "QUANTITYORDERED", "PRICEEACH", "ORDERLINENUMBER", "TOTALPRICE", "ORDERDATE", "REQUIREDDATE", "SHIPPEDDATE", "STATUS", "COMMENTS", "CUSTOMERNUMBER", "TIME_ID", "QTR_ID", "MONTH_ID", "YEAR_ID")
47 | AS SELECT "ORDERNUMBER", "PRODUCTCODE", "QUANTITYORDERED", "PRICEEACH", "ORDERLINENUMBER", "TOTALPRICE", "ORDERDATE", "REQUIREDDATE", "SHIPPEDDATE", "STATUS", "COMMENTS", "CUSTOMERNUMBER", "TIME_ID", "QTR_ID", "MONTH_ID", "YEAR_ID" FROM "ORDERFACT";
48 |
49 | CREATE VIEW "DIM_TIME_VIEW" ("TIME_ID", "MONTH_ID", "QTR_ID", "YEAR_ID", "MONTH_NAME", "MONTH_DESC", "QTR_NAME", "QTR_DESC")
50 | AS SELECT "TIME_ID", "MONTH_ID", "QTR_ID", "YEAR_ID", "MONTH_NAME", "MONTH_DESC", "QTR_NAME", "QTR_DESC" FROM "DIM_TIME";
51 |
52 | CREATE VIEW "CUSTOMER_W_TER_VIEW" ("CUSTOMERNUMBER", "CUSTOMERNAME", "CONTACTLASTNAME", "CONTACTFIRSTNAME", "PHONE", "ADDRESSLINE1", "ADDRESSLINE2", "CITY", "STATE", "POSTALCODE", "COUNTRY", "EMPLOYEENUMBER", "CREDITLIMIT", "TERRITORY")
53 | AS SELECT "CUSTOMERNUMBER", "CUSTOMERNAME", "CONTACTLASTNAME", "CONTACTFIRSTNAME", "PHONE", "ADDRESSLINE1", "ADDRESSLINE2", "CITY", "STATE", "POSTALCODE", "COUNTRY", "EMPLOYEENUMBER", "CREDITLIMIT", "TERRITORY" FROM "CUSTOMER_W_TER";
54 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | Pentaho - Rapid Deployment with Docker
2 | =====================
3 |
4 | ##Pentaho
5 | [Pentaho](http://www.pentaho.com/) addresses the barriers that block your organization's ability to get value from all your data. The platform simplifies preparing and blending any data and includes a spectrum of tools to easily analyze, visualize, explore, report and predict. Open, embeddable and extensible, Pentaho is architected to ensure that each member of your team -- from developers to business users -- can easily translate data into value.
6 |
7 | ##Docker
8 | [Docker](http://www.docker.com/) is an open platform for developers and sysadmins to build, ship, and run distributed applications. Consisting of Docker Engine, a portable, lightweight runtime and packaging tool, and Docker Hub, a cloud service for sharing applications and automating workflows, Docker enables apps to be quickly assembled from components and eliminates the friction between development, QA, and production environments. As a result, IT can ship faster and run the same app, unchanged, on laptops, data center VMs, and any cloud.
9 |
10 | ## Install Docker
11 |
12 | ###Ubuntu Trusty 14.04 (LTS) (64-bit)
13 | Ubuntu Trusty comes with a 3.13.0 Linux kernel, and a docker.io package which installs all its prerequisites from Ubuntu's repository.
14 |
15 | Note: Ubuntu (and Debian) contain a much older KDE3/GNOME2 package called docker, so the package and the executable are called docker.io.
16 | Installation
17 | To install the latest Ubuntu package (may not be the latest Docker release):
18 |
19 |
20 | sudo apt-get update
21 | sudo apt-get install docker.io
22 | sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker
23 | sudo sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/docker.io
24 |
25 |
26 |
27 | ### Others
28 | [https://docs.docker.com/installation/](https://docs.docker.com/installation/)
29 |
30 | ###Running Pentaho with PostgreSQL
31 |
32 | git clone https://github.com/wmarinho/docker-postgresql.git
33 | cd docker-postgresql
34 | docker build -t wmarinho/postgresql:9.3 .
35 | docker run --name postgresql -d -p 5432:5432 -d wmarinho/postgresql:9.3
36 |
37 |
38 | docker run --name pentaho -d -p 8080:8080 -e PGHOST={postgres_hostname} wmarinho/pentaho-biserver:5.1-TRUNK
39 |
40 |
41 | docker logs -f pentaho
42 |
43 |
44 | [http://localhost:8080](http://localhost:8080)
45 |
46 | Please see details below
47 |
48 | ##Pull repository
49 | * Release: 5.0-TRUNK
50 |
51 | `sudo docker pull wmarinho/pentaho-biserver:5.0-TRUNK`
52 |
53 | * Release: 5.1.0.0
54 |
55 | `sudo docker pull wmarinho/pentaho-biserver:5.1.0.0`
56 |
57 | * Release: 5.1-TRUNK
58 |
59 | `sudo docker pull wmarinho/pentaho-biserver:5.1-TRUNK`
60 |
61 | More tags available [here](https://registry.hub.docker.com/u/wmarinho/pentaho/tags/manage/)
62 |
63 | * Listing images on the host
64 |
65 | `sudo docker images`
66 |
67 |
68 |
69 | `sudo docker run -p 8080:8080 -d wmarinho/pentaho-biserver:5.0-TRUNK`
70 |
71 | `sudo docker run -p 8081:8080 -d wmarinho/pentaho-biserver:5.1-TRUNK`
72 |
73 |
74 | * Make sure your container is running
75 |
76 | `$ sudo docker ps`
77 |
78 |
79 | * Accessing Pentaho
80 |
81 | [http://localhost:8080](http://localhost:8080)
82 |
83 | [http://localhost:8081](http://localhost:8081)
84 |
85 |
86 | * Stop containers
87 |
88 | `sudo docker stop `
89 |
90 | * Start containers
91 |
92 | `sudo docker start `
93 |
94 |
95 | * Running an interactive container
96 |
97 | `sudo docker run -i -t wmarinho/pentaho-biserver:5.1-TRUNK /bin/bash`
98 |
99 |
100 |
101 |
102 |
103 | * Now we can easily run multiples containers and versions of Pentaho using only one server
104 |
105 | ##Building your image
106 |
107 | ###Clone and edit Dockerfile template
108 |
109 |
110 | sudo git clone https://github.com/wmarinho/docker-pentaho.git
111 | cd docker-pentaho
112 | sudo vi Dockerfile
113 | sudo docker build -t myimage/pentaho:mytag .
114 | sudo docker images
115 | sudo docker run -p 8080:8080 -d myimage/pentaho:mytag
116 |
117 |
118 | Or run in interactive mode
119 |
120 |
121 | sudo docker run -p 8080:8080 -i -t myimage/pentaho:mytag /bin/bash
122 |
123 |
124 | Please see [Dockerfile Reference] (https://docs.docker.com/reference/builder/) for additional information.
125 |
126 |
127 | ##Docker Hub account
128 |
129 | You can create a docker account and push your images. Please see [Working with Docker Hub](https://docs.docker.com/userguide/dockerrepos/)
130 |
--------------------------------------------------------------------------------
/config/postgresql/biserver-ce/data/postgresql/create_quartz_postgresql.sql:
--------------------------------------------------------------------------------
1 | --Begin--
2 | -- note: this script assumes pg_hba.conf is configured correctly
3 | --
4 |
5 |
6 | ALTER DATABASE quartz OWNER TO awsbiuser;
7 |
8 | drop database if exists quartz;
9 | drop role if exists pentaho_user;
10 |
11 | create role pentaho_user with password '@@pentaho_user@@' login;
12 |
13 | CREATE DATABASE quartz ENCODING = 'UTF8' TABLESPACE = pg_default;
14 |
15 |
16 | --End--
17 | --Begin Connect--
18 | --\connect quartz pentaho_user
19 | \connect quartz
20 |
21 | begin;
22 |
23 | drop table if exists "QRTZ";
24 | drop table if exists qrtz5_job_listeners;
25 | drop table if exists qrtz5_trigger_listeners;
26 | drop table if exists qrtz5_fired_triggers;
27 | drop table if exists qrtz5_paused_trigger_grps;
28 | drop table if exists qrtz5_scheduler_state;
29 | drop table if exists qrtz5_locks;
30 | drop table if exists qrtz5_simple_triggers;
31 | drop table if exists qrtz5_cron_triggers;
32 | drop table if exists qrtz5_blob_triggers;
33 | drop table if exists qrtz5_triggers;
34 | drop table if exists qrtz5_job_details;
35 | drop table if exists qrtz5_calendars;
36 |
37 | CREATE TABLE "QRTZ" ( NAME VARCHAR(200) NOT NULL, PRIMARY KEY (NAME) );
38 | CREATE TABLE qrtz5_job_details
39 | (
40 | JOB_NAME VARCHAR(200) NOT NULL,
41 | JOB_GROUP VARCHAR(200) NOT NULL,
42 | DESCRIPTION VARCHAR(250) NULL,
43 | JOB_CLASS_NAME VARCHAR(250) NOT NULL,
44 | IS_DURABLE BOOL NOT NULL,
45 | IS_VOLATILE BOOL NOT NULL,
46 | IS_STATEFUL BOOL NOT NULL,
47 | REQUESTS_RECOVERY BOOL NOT NULL,
48 | JOB_DATA BYTEA NULL,
49 | PRIMARY KEY (JOB_NAME,JOB_GROUP)
50 | );
51 |
52 | CREATE TABLE qrtz5_job_listeners
53 | (
54 | JOB_NAME VARCHAR(200) NOT NULL,
55 | JOB_GROUP VARCHAR(200) NOT NULL,
56 | JOB_LISTENER VARCHAR(200) NOT NULL,
57 | PRIMARY KEY (JOB_NAME,JOB_GROUP,JOB_LISTENER),
58 | FOREIGN KEY (JOB_NAME,JOB_GROUP)
59 | REFERENCES qrtz5_JOB_DETAILS(JOB_NAME,JOB_GROUP)
60 | );
61 |
62 | CREATE TABLE qrtz5_triggers
63 | (
64 | TRIGGER_NAME VARCHAR(200) NOT NULL,
65 | TRIGGER_GROUP VARCHAR(200) NOT NULL,
66 | JOB_NAME VARCHAR(200) NOT NULL,
67 | JOB_GROUP VARCHAR(200) NOT NULL,
68 | IS_VOLATILE BOOL NOT NULL,
69 | DESCRIPTION VARCHAR(250) NULL,
70 | NEXT_FIRE_TIME BIGINT NULL,
71 | PREV_FIRE_TIME BIGINT NULL,
72 | PRIORITY INTEGER NULL,
73 | TRIGGER_STATE VARCHAR(16) NOT NULL,
74 | TRIGGER_TYPE VARCHAR(8) NOT NULL,
75 | START_TIME BIGINT NOT NULL,
76 | END_TIME BIGINT NULL,
77 | CALENDAR_NAME VARCHAR(200) NULL,
78 | MISFIRE_INSTR SMALLINT NULL,
79 | JOB_DATA BYTEA NULL,
80 | PRIMARY KEY (TRIGGER_NAME,TRIGGER_GROUP),
81 | FOREIGN KEY (JOB_NAME,JOB_GROUP)
82 | REFERENCES qrtz5_JOB_DETAILS(JOB_NAME,JOB_GROUP)
83 | );
84 |
85 | CREATE TABLE qrtz5_simple_triggers
86 | (
87 | TRIGGER_NAME VARCHAR(200) NOT NULL,
88 | TRIGGER_GROUP VARCHAR(200) NOT NULL,
89 | REPEAT_COUNT BIGINT NOT NULL,
90 | REPEAT_INTERVAL BIGINT NOT NULL,
91 | TIMES_TRIGGERED BIGINT NOT NULL,
92 | PRIMARY KEY (TRIGGER_NAME,TRIGGER_GROUP),
93 | FOREIGN KEY (TRIGGER_NAME,TRIGGER_GROUP)
94 | REFERENCES qrtz5_TRIGGERS(TRIGGER_NAME,TRIGGER_GROUP)
95 | );
96 |
97 | CREATE TABLE qrtz5_cron_triggers
98 | (
99 | TRIGGER_NAME VARCHAR(200) NOT NULL,
100 | TRIGGER_GROUP VARCHAR(200) NOT NULL,
101 | CRON_EXPRESSION VARCHAR(120) NOT NULL,
102 | TIME_ZONE_ID VARCHAR(80),
103 | PRIMARY KEY (TRIGGER_NAME,TRIGGER_GROUP),
104 | FOREIGN KEY (TRIGGER_NAME,TRIGGER_GROUP)
105 | REFERENCES qrtz5_TRIGGERS(TRIGGER_NAME,TRIGGER_GROUP)
106 | );
107 |
108 | CREATE TABLE qrtz5_blob_triggers
109 | (
110 | TRIGGER_NAME VARCHAR(200) NOT NULL,
111 | TRIGGER_GROUP VARCHAR(200) NOT NULL,
112 | BLOB_DATA BYTEA NULL,
113 | PRIMARY KEY (TRIGGER_NAME,TRIGGER_GROUP),
114 | FOREIGN KEY (TRIGGER_NAME,TRIGGER_GROUP)
115 | REFERENCES qrtz5_TRIGGERS(TRIGGER_NAME,TRIGGER_GROUP)
116 | );
117 |
118 | CREATE TABLE qrtz5_trigger_listeners
119 | (
120 | TRIGGER_NAME VARCHAR(200) NOT NULL,
121 | TRIGGER_GROUP VARCHAR(200) NOT NULL,
122 | TRIGGER_LISTENER VARCHAR(200) NOT NULL,
123 | PRIMARY KEY (TRIGGER_NAME,TRIGGER_GROUP,TRIGGER_LISTENER),
124 | FOREIGN KEY (TRIGGER_NAME,TRIGGER_GROUP)
125 | REFERENCES qrtz5_TRIGGERS(TRIGGER_NAME,TRIGGER_GROUP)
126 | );
127 |
128 |
129 | CREATE TABLE qrtz5_calendars
130 | (
131 | CALENDAR_NAME VARCHAR(200) NOT NULL,
132 | CALENDAR BYTEA NOT NULL,
133 | PRIMARY KEY (CALENDAR_NAME)
134 | );
135 |
136 |
137 | CREATE TABLE qrtz5_paused_trigger_grps
138 | (
139 | TRIGGER_GROUP VARCHAR(200) NOT NULL,
140 | PRIMARY KEY (TRIGGER_GROUP)
141 | );
142 |
143 | CREATE TABLE qrtz5_fired_triggers
144 | (
145 | ENTRY_ID VARCHAR(95) NOT NULL,
146 | TRIGGER_NAME VARCHAR(200) NOT NULL,
147 | TRIGGER_GROUP VARCHAR(200) NOT NULL,
148 | IS_VOLATILE BOOL NOT NULL,
149 | INSTANCE_NAME VARCHAR(200) NOT NULL,
150 | FIRED_TIME BIGINT NOT NULL,
151 | PRIORITY INTEGER NOT NULL,
152 | STATE VARCHAR(16) NOT NULL,
153 | JOB_NAME VARCHAR(200) NULL,
154 | JOB_GROUP VARCHAR(200) NULL,
155 | IS_STATEFUL BOOL NULL,
156 | REQUESTS_RECOVERY BOOL NULL,
157 | PRIMARY KEY (ENTRY_ID)
158 | );
159 |
160 | CREATE TABLE qrtz5_scheduler_state
161 | (
162 | INSTANCE_NAME VARCHAR(200) NOT NULL,
163 | LAST_CHECKIN_TIME BIGINT NOT NULL,
164 | CHECKIN_INTERVAL BIGINT NOT NULL,
165 | PRIMARY KEY (INSTANCE_NAME)
166 | );
167 |
168 | CREATE TABLE qrtz5_locks
169 | (
170 | LOCK_NAME VARCHAR(40) NOT NULL,
171 | PRIMARY KEY (LOCK_NAME)
172 | );
173 |
174 | INSERT INTO qrtz5_locks values('TRIGGER_ACCESS');
175 | INSERT INTO qrtz5_locks values('JOB_ACCESS');
176 | INSERT INTO qrtz5_locks values('CALENDAR_ACCESS');
177 | INSERT INTO qrtz5_locks values('STATE_ACCESS');
178 | INSERT INTO qrtz5_locks values('MISFIRE_ACCESS');
179 |
180 | ALTER TABLE "QRTZ" OWNER TO pentaho_user;
181 | ALTER TABLE qrtz5_job_listeners OWNER TO pentaho_user;
182 | ALTER TABLE qrtz5_trigger_listeners OWNER TO pentaho_user;
183 | ALTER TABLE qrtz5_fired_triggers OWNER TO pentaho_user;
184 | ALTER TABLE qrtz5_paused_trigger_grps OWNER TO pentaho_user;
185 | ALTER TABLE qrtz5_scheduler_state OWNER TO pentaho_user;
186 | ALTER TABLE qrtz5_locks OWNER TO pentaho_user;
187 | ALTER TABLE qrtz5_simple_triggers OWNER TO pentaho_user;
188 | ALTER TABLE qrtz5_cron_triggers OWNER TO pentaho_user;
189 | ALTER TABLE qrtz5_blob_triggers OWNER TO pentaho_user;
190 | ALTER TABLE qrtz5_triggers OWNER TO pentaho_user;
191 | ALTER TABLE qrtz5_job_details OWNER TO pentaho_user;
192 | ALTER TABLE qrtz5_calendars OWNER TO pentaho_user;
193 |
194 | ALTER DATABASE quartz OWNER TO pentaho_user;
195 | GRANT ALL ON DATABASE quartz to pentaho_user;
196 | commit;
197 | --End Connect--
198 |
--------------------------------------------------------------------------------
/config/postgresql/biserver-ce/data/postgresql/quartz.sql:
--------------------------------------------------------------------------------
1 | --
2 | -- PostgreSQL database dump
3 | --
4 |
5 | SET client_encoding = 'SQL_ASCII';
6 | SET check_function_bodies = false;
7 | SET client_min_messages = warning;
8 |
9 | SET search_path = public, pg_catalog;
10 |
11 | SET default_tablespace = '';
12 |
13 | SET default_with_oids = false;
14 |
15 | --
16 | -- Name: qrtz_blob_triggers; Type: TABLE; Schema: public; Owner: pentaho_user; Tablespace:
17 | --
18 |
19 | CREATE TABLE qrtz_blob_triggers (
20 | trigger_name character varying(80) NOT NULL,
21 | trigger_group character varying(80) NOT NULL,
22 | blob_data bytea
23 | );
24 |
25 |
26 | ALTER TABLE public.qrtz_blob_triggers OWNER TO pentaho_user;
27 |
28 | --
29 | -- Name: qrtz_calendars; Type: TABLE; Schema: public; Owner: pentaho_user; Tablespace:
30 | --
31 |
32 | CREATE TABLE qrtz_calendars (
33 | calendar_name character varying(80) NOT NULL,
34 | calendar bytea NOT NULL
35 | );
36 |
37 |
38 | ALTER TABLE public.qrtz_calendars OWNER TO pentaho_user;
39 |
40 | --
41 | -- Name: qrtz_cron_triggers; Type: TABLE; Schema: public; Owner: pentaho_user; Tablespace:
42 | --
43 |
44 | CREATE TABLE qrtz_cron_triggers (
45 | trigger_name character varying(80) NOT NULL,
46 | trigger_group character varying(80) NOT NULL,
47 | cron_expression character varying(80) NOT NULL,
48 | time_zone_id character varying(80)
49 | );
50 |
51 |
52 | ALTER TABLE public.qrtz_cron_triggers OWNER TO pentaho_user;
53 |
54 | --
55 | -- Name: qrtz_fired_triggers; Type: TABLE; Schema: public; Owner: pentaho_user; Tablespace:
56 | --
57 |
58 | CREATE TABLE qrtz_fired_triggers (
59 | entry_id character varying(95) NOT NULL,
60 | trigger_name character varying(80) NOT NULL,
61 | trigger_group character varying(80) NOT NULL,
62 | is_volatile boolean NOT NULL,
63 | instance_name character varying(80) NOT NULL,
64 | fired_time bigint NOT NULL,
65 | state character varying(16) NOT NULL,
66 | job_name character varying(80),
67 | job_group character varying(80),
68 | is_stateful boolean,
69 | requests_recovery boolean
70 | );
71 |
72 |
73 | ALTER TABLE public.qrtz_fired_triggers OWNER TO pentaho_user;
74 |
75 | --
76 | -- Name: qrtz_job_details; Type: TABLE; Schema: public; Owner: pentaho_user; Tablespace:
77 | --
78 |
79 | CREATE TABLE qrtz_job_details (
80 | job_name character varying(80) NOT NULL,
81 | job_group character varying(80) NOT NULL,
82 | description character varying(120),
83 | job_class_name character varying(128) NOT NULL,
84 | is_durable boolean NOT NULL,
85 | is_volatile boolean NOT NULL,
86 | is_stateful boolean NOT NULL,
87 | requests_recovery boolean NOT NULL,
88 | job_data bytea
89 | );
90 |
91 |
92 | ALTER TABLE public.qrtz_job_details OWNER TO pentaho_user;
93 |
94 | --
95 | -- Name: qrtz_job_listeners; Type: TABLE; Schema: public; Owner: pentaho_user; Tablespace:
96 | --
97 |
98 | CREATE TABLE qrtz_job_listeners (
99 | job_name character varying(80) NOT NULL,
100 | job_group character varying(80) NOT NULL,
101 | job_listener character varying(80) NOT NULL
102 | );
103 |
104 |
105 | ALTER TABLE public.qrtz_job_listeners OWNER TO pentaho_user;
106 |
107 | --
108 | -- Name: qrtz_locks; Type: TABLE; Schema: public; Owner: pentaho_user; Tablespace:
109 | --
110 |
111 | CREATE TABLE qrtz_locks (
112 | lock_name character varying(40) NOT NULL
113 | );
114 |
115 |
116 | ALTER TABLE public.qrtz_locks OWNER TO pentaho_user;
117 |
118 | --
119 | -- Name: qrtz_paused_trigger_grps; Type: TABLE; Schema: public; Owner: pentaho_user; Tablespace:
120 | --
121 |
122 | CREATE TABLE qrtz_paused_trigger_grps (
123 | trigger_group character varying(80) NOT NULL
124 | );
125 |
126 |
127 | ALTER TABLE public.qrtz_paused_trigger_grps OWNER TO pentaho_user;
128 |
129 | --
130 | -- Name: qrtz_scheduler_state; Type: TABLE; Schema: public; Owner: pentaho_user; Tablespace:
131 | --
132 |
133 | CREATE TABLE qrtz_scheduler_state (
134 | instance_name character varying(80) NOT NULL,
135 | last_checkin_time bigint NOT NULL,
136 | checkin_interval bigint NOT NULL,
137 | recoverer character varying(80)
138 | );
139 |
140 |
141 | ALTER TABLE public.qrtz_scheduler_state OWNER TO pentaho_user;
142 |
143 | --
144 | -- Name: qrtz_simple_triggers; Type: TABLE; Schema: public; Owner: pentaho_user; Tablespace:
145 | --
146 |
147 | CREATE TABLE qrtz_simple_triggers (
148 | trigger_name character varying(80) NOT NULL,
149 | trigger_group character varying(80) NOT NULL,
150 | repeat_count bigint NOT NULL,
151 | repeat_interval bigint NOT NULL,
152 | times_triggered bigint NOT NULL
153 | );
154 |
155 |
156 | ALTER TABLE public.qrtz_simple_triggers OWNER TO pentaho_user;
157 |
158 | --
159 | -- Name: qrtz_trigger_listeners; Type: TABLE; Schema: public; Owner: pentaho_user; Tablespace:
160 | --
161 |
162 | CREATE TABLE qrtz_trigger_listeners (
163 | trigger_name character varying(80) NOT NULL,
164 | trigger_group character varying(80) NOT NULL,
165 | trigger_listener character varying(80) NOT NULL
166 | );
167 |
168 |
169 | ALTER TABLE public.qrtz_trigger_listeners OWNER TO pentaho_user;
170 |
171 | --
172 | -- Name: qrtz_triggers; Type: TABLE; Schema: public; Owner: pentaho_user; Tablespace:
173 | --
174 |
175 | CREATE TABLE qrtz_triggers (
176 | trigger_name character varying(80) NOT NULL,
177 | trigger_group character varying(80) NOT NULL,
178 | job_name character varying(80) NOT NULL,
179 | job_group character varying(80) NOT NULL,
180 | is_volatile boolean NOT NULL,
181 | description character varying(120),
182 | next_fire_time bigint,
183 | prev_fire_time bigint,
184 | trigger_state character varying(16) NOT NULL,
185 | trigger_type character varying(8) NOT NULL,
186 | start_time bigint NOT NULL,
187 | end_time bigint,
188 | calendar_name character varying(80),
189 | misfire_instr smallint,
190 | job_data bytea
191 | );
192 |
193 |
194 | ALTER TABLE public.qrtz_triggers OWNER TO pentaho_user;
195 |
196 | --
197 | -- Data for Name: qrtz_blob_triggers; Type: TABLE DATA; Schema: public; Owner: pentaho_user
198 | --
199 |
200 | COPY qrtz_blob_triggers (trigger_name, trigger_group, blob_data) FROM stdin;
201 | \.
202 |
203 |
204 | --
205 | -- Data for Name: qrtz_calendars; Type: TABLE DATA; Schema: public; Owner: pentaho_user
206 | --
207 |
208 | COPY qrtz_calendars (calendar_name, calendar) FROM stdin;
209 | \.
210 |
211 |
212 | --
213 | -- Data for Name: qrtz_cron_triggers; Type: TABLE DATA; Schema: public; Owner: pentaho_user
214 | --
215 |
216 | COPY qrtz_cron_triggers (trigger_name, trigger_group, cron_expression, time_zone_id) FROM stdin;
217 | \.
218 |
219 |
220 | --
221 | -- Data for Name: qrtz_fired_triggers; Type: TABLE DATA; Schema: public; Owner: pentaho_user
222 | --
223 |
224 | COPY qrtz_fired_triggers (entry_id, trigger_name, trigger_group, is_volatile, instance_name, fired_time, state, job_name, job_group, is_stateful, requests_recovery) FROM stdin;
225 | \.
226 |
227 |
228 | --
229 | -- Data for Name: qrtz_job_details; Type: TABLE DATA; Schema: public; Owner: pentaho_user
230 | --
231 |
232 | COPY qrtz_job_details (job_name, job_group, description, job_class_name, is_durable, is_volatile, is_stateful, requests_recovery, job_data) FROM stdin;
233 | \.
234 |
235 |
236 | --
237 | -- Data for Name: qrtz_job_listeners; Type: TABLE DATA; Schema: public; Owner: pentaho_user
238 | --
239 |
240 | COPY qrtz_job_listeners (job_name, job_group, job_listener) FROM stdin;
241 | \.
242 |
243 |
244 | --
245 | -- Data for Name: qrtz_locks; Type: TABLE DATA; Schema: public; Owner: pentaho_user
246 | --
247 |
248 | COPY qrtz_locks (lock_name) FROM stdin;
249 | TRIGGER_ACCESS
250 | JOB_ACCESS
251 | CALENDAR_ACCESS
252 | STATE_ACCESS
253 | MISFIRE_ACCESS
254 | \.
255 |
256 |
257 | --
258 | -- Data for Name: qrtz_paused_trigger_grps; Type: TABLE DATA; Schema: public; Owner: pentaho_user
259 | --
260 |
261 | COPY qrtz_paused_trigger_grps (trigger_group) FROM stdin;
262 | \.
263 |
264 |
265 | --
266 | -- Data for Name: qrtz_scheduler_state; Type: TABLE DATA; Schema: public; Owner: pentaho_user
267 | --
268 |
269 | COPY qrtz_scheduler_state (instance_name, last_checkin_time, checkin_interval, recoverer) FROM stdin;
270 | \.
271 |
272 |
273 | --
274 | -- Data for Name: qrtz_simple_triggers; Type: TABLE DATA; Schema: public; Owner: pentaho_user
275 | --
276 |
277 | COPY qrtz_simple_triggers (trigger_name, trigger_group, repeat_count, repeat_interval, times_triggered) FROM stdin;
278 | \.
279 |
280 |
281 | --
282 | -- Data for Name: qrtz_trigger_listeners; Type: TABLE DATA; Schema: public; Owner: pentaho_user
283 | --
284 |
285 | COPY qrtz_trigger_listeners (trigger_name, trigger_group, trigger_listener) FROM stdin;
286 | \.
287 |
288 |
289 | --
290 | -- Data for Name: qrtz_triggers; Type: TABLE DATA; Schema: public; Owner: pentaho_user
291 | --
292 |
293 | COPY qrtz_triggers (trigger_name, trigger_group, job_name, job_group, is_volatile, description, next_fire_time, prev_fire_time, trigger_state, trigger_type, start_time, end_time, calendar_name, misfire_instr, job_data) FROM stdin;
294 | \.
295 |
296 |
297 | --
298 | -- Name: qrtz_blob_triggers_pkey; Type: CONSTRAINT; Schema: public; Owner: pentaho_user; Tablespace:
299 | --
300 |
301 | ALTER TABLE ONLY qrtz_blob_triggers
302 | ADD CONSTRAINT qrtz_blob_triggers_pkey PRIMARY KEY (trigger_name, trigger_group);
303 |
304 |
305 | --
306 | -- Name: qrtz_calendars_pkey; Type: CONSTRAINT; Schema: public; Owner: pentaho_user; Tablespace:
307 | --
308 |
309 | ALTER TABLE ONLY qrtz_calendars
310 | ADD CONSTRAINT qrtz_calendars_pkey PRIMARY KEY (calendar_name);
311 |
312 |
313 | --
314 | -- Name: qrtz_cron_triggers_pkey; Type: CONSTRAINT; Schema: public; Owner: pentaho_user; Tablespace:
315 | --
316 |
317 | ALTER TABLE ONLY qrtz_cron_triggers
318 | ADD CONSTRAINT qrtz_cron_triggers_pkey PRIMARY KEY (trigger_name, trigger_group);
319 |
320 |
321 | --
322 | -- Name: qrtz_fired_triggers_pkey; Type: CONSTRAINT; Schema: public; Owner: pentaho_user; Tablespace:
323 | --
324 |
325 | ALTER TABLE ONLY qrtz_fired_triggers
326 | ADD CONSTRAINT qrtz_fired_triggers_pkey PRIMARY KEY (entry_id);
327 |
328 |
329 | --
330 | -- Name: qrtz_job_details_pkey; Type: CONSTRAINT; Schema: public; Owner: pentaho_user; Tablespace:
331 | --
332 |
333 | ALTER TABLE ONLY qrtz_job_details
334 | ADD CONSTRAINT qrtz_job_details_pkey PRIMARY KEY (job_name, job_group);
335 |
336 |
337 | --
338 | -- Name: qrtz_job_listeners_pkey; Type: CONSTRAINT; Schema: public; Owner: pentaho_user; Tablespace:
339 | --
340 |
341 | ALTER TABLE ONLY qrtz_job_listeners
342 | ADD CONSTRAINT qrtz_job_listeners_pkey PRIMARY KEY (job_name, job_group, job_listener);
343 |
344 |
345 | --
346 | -- Name: qrtz_locks_pkey; Type: CONSTRAINT; Schema: public; Owner: pentaho_user; Tablespace:
347 | --
348 |
349 | ALTER TABLE ONLY qrtz_locks
350 | ADD CONSTRAINT qrtz_locks_pkey PRIMARY KEY (lock_name);
351 |
352 |
353 | --
354 | -- Name: qrtz_paused_trigger_grps_pkey; Type: CONSTRAINT; Schema: public; Owner: pentaho_user; Tablespace:
355 | --
356 |
357 | ALTER TABLE ONLY qrtz_paused_trigger_grps
358 | ADD CONSTRAINT qrtz_paused_trigger_grps_pkey PRIMARY KEY (trigger_group);
359 |
360 |
361 | --
362 | -- Name: qrtz_scheduler_state_pkey; Type: CONSTRAINT; Schema: public; Owner: pentaho_user; Tablespace:
363 | --
364 |
365 | ALTER TABLE ONLY qrtz_scheduler_state
366 | ADD CONSTRAINT qrtz_scheduler_state_pkey PRIMARY KEY (instance_name);
367 |
368 |
369 | --
370 | -- Name: qrtz_simple_triggers_pkey; Type: CONSTRAINT; Schema: public; Owner: pentaho_user; Tablespace:
371 | --
372 |
373 | ALTER TABLE ONLY qrtz_simple_triggers
374 | ADD CONSTRAINT qrtz_simple_triggers_pkey PRIMARY KEY (trigger_name, trigger_group);
375 |
376 |
377 | --
378 | -- Name: qrtz_trigger_listeners_pkey; Type: CONSTRAINT; Schema: public; Owner: pentaho_user; Tablespace:
379 | --
380 |
381 | ALTER TABLE ONLY qrtz_trigger_listeners
382 | ADD CONSTRAINT qrtz_trigger_listeners_pkey PRIMARY KEY (trigger_name, trigger_group, trigger_listener);
383 |
384 |
385 | --
386 | -- Name: qrtz_triggers_pkey; Type: CONSTRAINT; Schema: public; Owner: pentaho_user; Tablespace:
387 | --
388 |
389 | ALTER TABLE ONLY qrtz_triggers
390 | ADD CONSTRAINT qrtz_triggers_pkey PRIMARY KEY (trigger_name, trigger_group);
391 |
392 |
393 | --
394 | -- Name: qrtz_blob_triggers_trigger_name_fkey; Type: FK CONSTRAINT; Schema: public; Owner: pentaho_user
395 | --
396 |
397 | ALTER TABLE ONLY qrtz_blob_triggers
398 | ADD CONSTRAINT qrtz_blob_triggers_trigger_name_fkey FOREIGN KEY (trigger_name, trigger_group) REFERENCES qrtz_triggers(trigger_name, trigger_group);
399 |
400 |
401 | --
402 | -- Name: qrtz_cron_triggers_trigger_name_fkey; Type: FK CONSTRAINT; Schema: public; Owner: pentaho_user
403 | --
404 |
405 | ALTER TABLE ONLY qrtz_cron_triggers
406 | ADD CONSTRAINT qrtz_cron_triggers_trigger_name_fkey FOREIGN KEY (trigger_name, trigger_group) REFERENCES qrtz_triggers(trigger_name, trigger_group);
407 |
408 |
409 | --
410 | -- Name: qrtz_job_listeners_job_name_fkey; Type: FK CONSTRAINT; Schema: public; Owner: pentaho_user
411 | --
412 |
413 | ALTER TABLE ONLY qrtz_job_listeners
414 | ADD CONSTRAINT qrtz_job_listeners_job_name_fkey FOREIGN KEY (job_name, job_group) REFERENCES qrtz_job_details(job_name, job_group);
415 |
416 |
417 | --
418 | -- Name: qrtz_simple_triggers_trigger_name_fkey; Type: FK CONSTRAINT; Schema: public; Owner: pentaho_user
419 | --
420 |
421 | ALTER TABLE ONLY qrtz_simple_triggers
422 | ADD CONSTRAINT qrtz_simple_triggers_trigger_name_fkey FOREIGN KEY (trigger_name, trigger_group) REFERENCES qrtz_triggers(trigger_name, trigger_group);
423 |
424 |
425 | --
426 | -- Name: qrtz_trigger_listeners_trigger_name_fkey; Type: FK CONSTRAINT; Schema: public; Owner: pentaho_user
427 | --
428 |
429 | ALTER TABLE ONLY qrtz_trigger_listeners
430 | ADD CONSTRAINT qrtz_trigger_listeners_trigger_name_fkey FOREIGN KEY (trigger_name, trigger_group) REFERENCES qrtz_triggers(trigger_name, trigger_group);
431 |
432 |
433 | --
434 | -- Name: qrtz_triggers_job_name_fkey; Type: FK CONSTRAINT; Schema: public; Owner: pentaho_user
435 | --
436 |
437 | ALTER TABLE ONLY qrtz_triggers
438 | ADD CONSTRAINT qrtz_triggers_job_name_fkey FOREIGN KEY (job_name, job_group) REFERENCES qrtz_job_details(job_name, job_group);
439 |
440 |
441 | --
442 | -- PostgreSQL database dump complete
443 | --
444 |
445 |
--------------------------------------------------------------------------------
/config/postgresql/biserver-ce/tomcat/webapps/pentaho/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 | solution-path
10 |
11 |
12 |
13 |
16 |
17 |
18 | base-url
19 |
20 |
21 |
22 |
23 |
24 | fully-qualified-server-url
25 | http://localhost:8080/pentaho/
26 |
27 |
28 |
29 | locale-language
30 |
31 |
32 |
33 |
34 |
35 | locale-country
36 |
37 |
38 |
39 |
40 | contextClass
41 | org.pentaho.platform.web.http.context.PentahoSolutionSpringApplicationContext
42 |
43 |
44 |
45 | contextConfigLocation
46 |
47 |
48 | pentaho-spring-beans.xml
49 |
50 |
51 |
52 | pentahoObjectFactory
53 | org.pentaho.platform.web.http.context.WebSpringPentahoObjectFactory
54 |
55 |
56 |
61 |
62 | encoding
63 | UTF-8
64 |
65 |
66 |
72 |
73 |
74 |
80 |
81 |
82 |
83 |
84 |
85 | Set Character Encoding Filter
86 | org.pentaho.platform.web.http.filters.PentahoAwareCharacterEncodingFilter
87 |
88 | ignore
89 | yes
90 |
91 |
92 |
93 |
96 |
97 |
98 | Pentaho Request Context Filter
99 | org.pentaho.platform.web.http.filters.PentahoRequestContextFilter
100 |
101 |
102 |
103 | WEBAPP_ROOT URL rewrite filter
104 | org.pentaho.platform.web.http.filters.WebappRootForwardingFilter
105 |
106 |
107 |
108 | Spring Security Filter Chain Proxy
109 | org.springframework.security.util.FilterToBeanProxy
110 |
111 | targetBean
112 | filterChainProxy
113 |
114 |
115 |
116 |
117 | SystemStatusFilter
118 | org.pentaho.platform.web.http.filters.SystemStatusFilter
119 |
120 | initFailurePage
121 | InitFailure
122 | This page is displayed if the PentahoSystem fails to
123 | properly initialize.
124 |
125 |
126 |
127 |
128 | Proxy Trusting Filter
129 | org.pentaho.platform.web.http.filters.ProxyTrustingFilter
130 |
131 | TrustedIpAddrs
132 | 127.0.0.1,0\:0\:0\:0\:0\:0\:0\:1(%.+)*$
133 | Comma separated list of IP addresses of a trusted hosts.
134 |
135 |
136 |
137 |
140 |
141 | Pentaho Web Context Filter
142 | org.pentaho.platform.web.http.filters.PentahoWebContextFilter
143 |
144 |
145 |
146 |
147 |
148 | WEBAPP_ROOT URL rewrite filter
149 | /*
150 |
151 |
152 |
153 | Set Character Encoding Filter
154 | /*
155 |
156 |
157 |
158 | SystemStatusFilter
159 | /*
160 |
161 |
162 |
163 | Proxy Trusting Filter
164 | /ServiceActionService
165 |
166 |
167 |
171 |
172 | Spring Security Filter Chain Proxy
173 | /*
174 |
175 |
176 |
177 | Pentaho Request Context Filter
178 | /*
179 |
180 |
181 |
182 | Pentaho Web Context Filter
183 | /*
184 |
185 |
186 |
187 |
188 |
189 |
190 | org.pentaho.platform.web.http.context.SpringEnvironmentSetupListener
191 |
192 |
193 |
194 | org.springframework.web.context.request.RequestContextListener
195 |
196 |
197 |
198 |
203 |
204 |
205 |
206 | org.pentaho.platform.web.http.session.PentahoHttpSessionListener
207 |
208 |
209 |
210 |
211 | org.springframework.web.context.ContextLoaderListener
212 |
213 |
214 |
215 | org.pentaho.platform.web.http.context.SolutionContextListener
216 |
217 |
218 |
219 |
220 | org.springframework.security.ui.session.HttpSessionEventPublisher
221 |
222 |
223 |
224 | org.pentaho.platform.web.http.context.PentahoCacheContextListener
225 |
226 |
227 |
228 | org.pentaho.platform.web.http.session.PentahoCacheSessionListener
229 |
230 |
231 |
232 | net.sf.ehcache.constructs.web.ShutdownListener
233 |
234 |
235 |
236 |
237 |
238 | ViewAction
239 | org.pentaho.platform.web.servlet.ViewAction
240 |
241 |
242 | SolutionEngineInteractivityService
243 | org.pentaho.platform.web.servlet.SolutionEngineInteractivityService
244 |
245 |
246 |
247 | content
248 | org.pentaho.platform.web.servlet.UIServlet
249 |
250 |
251 |
252 | ServiceAction
253 | org.pentaho.platform.web.servlet.HttpWebService
254 |
255 |
256 |
257 | GetImage
258 | org.pentaho.platform.web.servlet.GetImage
259 |
260 |
261 |
262 | Xmla
263 | org.pentaho.platform.web.servlet.PentahoXmlaServlet
264 |
265 | DataSourcesConfig
266 | ${pentaho.solutionpath}${pentaho.olap.xmladatasources}
267 |
268 |
269 | CharacterEncoding
270 | UTF-8
271 |
272 |
273 |
274 |
275 | GenericServlet
276 | org.pentaho.platform.web.servlet.GenericServlet
277 |
278 | showDeprecationMessage
279 | true
280 |
281 |
282 |
283 |
284 | GwtRpcPluginProxyServlet
285 | org.pentaho.platform.web.servlet.GwtRpcPluginProxyServlet
286 |
287 |
288 |
289 | GwtRpcProxyServlet
290 | org.pentaho.platform.web.servlet.GwtRpcProxyServlet
291 |
292 |
293 |
294 | PluggableUploadFileServlet
295 | org.pentaho.platform.web.servlet.PluggableUploadFileServlet
296 |
297 |
298 |
299 | PluginDispatchServlet
300 | org.pentaho.platform.web.servlet.PluginDispatchServlet
301 |
302 |
303 |
304 | Home
305 | /mantle/Mantle.jsp
306 |
307 |
308 |
309 | DebugHome
310 | /mantle/MantleDebug.jsp
311 |
312 |
313 |
314 | InitFailure
315 | /jsp/InitFailure.jsp
316 |
317 |
318 |
319 |
320 | BrowserLocale
321 | /jsp/browserLocale.jsp
322 |
323 |
324 |
325 |
326 | LocalizationServlet
327 | org.pentaho.platform.web.servlet.LocalizationServlet
328 |
329 |
330 |
331 |
332 | CacheExpirationService
333 | org.pentaho.platform.web.servlet.CacheExpirationService
334 |
335 |
336 |
337 | Login
338 | /jsp/PUCLogin.jsp
339 |
340 | send401List
341 | ServiceActionService,gwtrpc,ws/gwt,mantle/images/spacer.gif
342 | List of things to throw a 401 to when seen in the login
343 |
344 |
345 |
346 |
347 | Carte
348 | org.pentaho.di.www.CarteServlet
349 |
350 |
351 |
352 | GetResource
353 | org.pentaho.platform.web.servlet.GetResource
354 |
355 |
356 |
357 | UploadService
358 | org.pentaho.platform.web.servlet.UploadFileServlet
359 |
360 |
361 |
362 |
363 |
364 | jaxwsEndpoint-spring
365 | jaxwsEndpoint-spring
366 | JAX-WS endpoint
367 | org.pentaho.platform.web.servlet.PentahoWSSpringServlet
368 |
369 |
370 |
371 | jaxrsEndpoint-spring
372 | JAX-RS endpoint
373 | org.pentaho.platform.web.servlet.JAXRSServlet
374 |
375 |
376 |
377 | ThemeServlet
378 | org.pentaho.platform.web.servlet.ThemeServlet
379 |
380 |
381 |
382 |
383 |
384 | Carte
385 | /kettle/*
386 |
387 |
388 |
389 | jaxwsEndpoint-spring
390 | /webservices/*
391 |
392 |
393 |
394 | jaxrsEndpoint-spring
395 | /api/*
396 |
397 |
398 |
399 | UploadService
400 | /UploadService
401 |
402 |
403 |
404 | Xmla
405 | /Xmla
406 |
407 |
408 |
409 | GenericServlet
410 | /content/*
411 |
412 |
413 |
414 | GwtRpcPluginProxyServlet
415 | /gwtrpc/*
416 |
417 |
418 |
419 | GwtRpcProxyServlet
420 | /ws/gwt/*
421 |
422 |
423 |
424 | PluggableUploadFileServlet
425 | /upload/*
426 |
427 |
428 |
429 | PluginDispatchServlet
430 | /plugin/*
431 |
432 |
433 |
434 |
435 |
436 | ViewAction
437 | /ViewAction
438 |
439 |
440 |
441 | SolutionEngineInteractivityService
442 | /SolutionEngineInteractivityService
443 |
444 |
445 |
446 | content
447 | /content
448 |
449 |
450 |
451 | ServiceAction
452 | /ServiceAction
453 |
454 |
455 |
456 | ServiceAction
457 | /ServiceActionService
458 |
459 |
460 |
461 | GetImage
462 | /getImage
463 |
464 |
465 |
466 | GetImage
467 | /content/getImage
468 |
469 |
470 |
471 | Home
472 | /Home
473 |
474 |
475 |
476 | DebugHome
477 | /DebugHome
478 |
479 |
480 |
481 | InitFailure
482 | /InitFailure
483 |
484 |
485 |
486 |
487 | BrowserLocale
488 | /js/browserLocale.js
489 |
490 |
491 |
492 |
493 | LocalizationServlet
494 | /i18n
495 |
496 |
497 |
498 |
499 |
500 |
501 | Login
502 | /Login
503 |
504 |
505 |
506 | GetResource
507 | /GetResource
508 |
509 |
510 |
511 | GetResource
512 | /content/GetResource
513 |
514 |
515 |
516 | CacheExpirationService
517 | /CacheExpirationService
518 |
519 |
520 |
521 | ThemeServlet
522 | /js/themes.js
523 |
524 |
525 |
526 |
527 | 120
528 |
529 |
530 |
531 | properties
532 | text/plain
533 |
534 |
535 |
536 | js
537 | text/javascript
538 |
539 |
540 |
541 | index.jsp
542 |
543 |
544 |
545 |
546 |
547 | Quartz Connection
548 | jdbc/Quartz
549 | javax.sql.DataSource
550 | Container
551 |
552 |
553 |
554 | Hibernate
555 | jdbc/Hibernate
556 | javax.sql.DataSource
557 | Container
558 |
559 |
560 |
561 |
562 |
563 | Default JSP Security Constraints
564 |
565 | Portlet Directory
566 | /jsp/*
567 | GET
568 | POST
569 |
570 |
571 | PENTAHO_ADMIN
572 |
573 |
574 | NONE
575 |
576 |
577 |
578 |
579 |
580 | 404
581 | /unavailable.html
582 |
583 |
584 | 403
585 | /unavailable.html
586 |
587 |
588 | 500
589 | /unavailable.html
590 |
591 |
592 |
593 |
594 |
--------------------------------------------------------------------------------
/config/postgresql/biserver-ce/pentaho-solutions/system/jackrabbit/repository.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
22 |
23 |
24 |
34 |
42 |
43 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
75 |
78 |
86 |
87 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
131 |
134 |
135 |
139 |
140 |
144 |
145 |
146 |
147 |
148 |
152 |
153 |
154 |
155 |
156 |
157 |
160 |
161 |
164 |
165 |
166 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
178 |
179 |
183 |
184 |
188 |
196 |
214 |
215 |
216 |
217 |
218 |
219 |
220 |
221 |
222 |
223 |
229 |
230 |
234 |
242 |
261 |
262 |
263 |
264 |
265 |
266 |
267 |
268 |
269 |
270 |
271 |
277 |
281 |
282 |
283 |
284 |
285 |
286 |
287 |
288 |
289 |
290 |
291 |
292 |
293 |
294 |
295 |
296 |
298 |
300 |
302 |
304 |
305 |
306 |
307 |
308 |
309 |
312 |
313 |
317 |
325 |
343 |
344 |
345 |
346 |
347 |
348 |
349 |
350 |
351 |
352 |
357 |
363 |
371 |
390 |
391 |
392 |
393 |
394 |
395 |
396 |
397 |
398 |
399 |
405 |
406 |
407 |
411 |
412 |
413 |
414 |
415 |
416 |
419 |
420 |
421 |
422 |
423 |
424 |
425 |
426 |
427 |
428 |
429 |
430 |
431 |
432 |
--------------------------------------------------------------------------------
/config/postgresql/biserver-ce/pentaho-solutions/system/quartz/quartz.properties:
--------------------------------------------------------------------------------
1 | # Copyright 2008 Pentaho Corporation. All rights reserved.
2 | # This software was developed by Pentaho Corporation and is provided under the terms
3 | # of the Mozilla Public License, Version 1.1, or any later version. You may not use
4 | # this file except in compliance with the license. If you need a copy of the license,
5 | # please go to http://www.mozilla.org/MPL/MPL-1.1.txt. The Original Code is the Pentaho
6 | # BI Platform. The Initial Developer is Pentaho Corporation.
7 | #
8 | # Software distributed under the Mozilla Public License is distributed on an "AS IS"
9 | # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. Please refer to
10 | # the license for the specific language governing your rights and limitations.
11 | # Properties file for use by StdSchedulerFactory
12 | # to create a Quartz Scheduler Instance.
13 | #
14 | # Instances of the specified JobStore, ThreadPool and Logger classes will
15 | # be created by name, and then any additional properties specified for them
16 | # in this file will be set on the instance by calling an equivalent 'set'
17 | # method. (see below for more examples)
18 | #
19 | # ===========================================================================
20 | # Configure Main Scheduler Properties ======================================
21 | # ===========================================================================
22 | #
23 | # The general pattern for defining the scheduler's main properties is:
24 | #
25 | # org.quartz.scheduler.instanceName = SCHED_NAME
26 | # org.quartz.scheduler.instanceId = INSTANCE_ID
27 | # org.quartz.scheduler.threadName = THREAD_NAME
28 | # org.quartz.scheduler.rmi.export = false
29 | # org.quartz.scheduler.rmi.proxy = false
30 | # org.quartz.scheduler.rmi.registryHost = localhost
31 | # org.quartz.scheduler.rmi.registryPort = 1099
32 | # org.quartz.scheduler.rmi.createRegistry = never
33 | # org.quartz.scheduler.userTransactionURL = USER_TX_LOCATION
34 | # org.quartz.scheduler.wrapJobExecutionInUserTransaction = JOBS_IN_USER_TX
35 | # org.quartz.scheduler.idleWaitTime = IDLE_WAIT_TIME
36 | # org.quartz.scheduler.dbFailureRetryInterval = DB_FAILURE_RETRY_INTERVAL
37 | # org.quartz.scheduler.classLoadHelper.class = CLASS_LOAD_HELPER_CLASS
38 | # org.quartz.context.key.SOME_KEY = SOME_VALUE
39 | #
40 | #
41 | # "SCHED_NAME" can be any string, and has no meaning to the scheduler itself -
42 | # but rather serves as a mechanism for client code to distinguish schedulers
43 | # when multiple instances are used within the same program. If you are using
44 | # the clustering features, you must use the same name for every instance in
45 | # the cluster that is 'logically' the same Scheduler.
46 | #
47 | # "INSTANCE_ID" can be any string, and but must be unique for all schedulers
48 | # working as if they are the same 'logical' Scheduler within a cluster.
49 | # you may use the value "AUTO" as the instanceId if you wish the Id to be
50 | # generated for you.
51 | #
52 | # "THREAD_NAME" can be any String that is a valid name for a java thread. If
53 | # this property is not specified, the thread will receive the scheduler's
54 | # name ("org.quartz.scheduler.instanceName").
55 | #
56 | # "USER_TX_LOCATION" should be set to the JNDI URL at which Quartz can locate
57 | # the Application Server's UserTransaction manager. The default value (if not
58 | # specified) is "java:comp/UserTransaction" - which works for almost all
59 | # Application Servers. Websphere users may need to set this property to
60 | # "jta/usertransaction". This is only used if Quartz is configured to use
61 | # JobStoreCMT, and "JOBS_IN_USER_TX" is set to true.
62 | #
63 | # "JOBS_IN_USER_TX" should be set to "true" if you want Quartz to start a
64 | # UserTransaction before calling execute on your job. The Tx will commit after
65 | # the job's execute method completes, and the JobDataMap is updated (if it is
66 | # a StatefulJob). The default value is "false".
67 | #
68 | # "IDLE_WAIT_TIME" is the amount of time in milliseconds that the scheduler
69 | # will wait before re-queries for available triggers when the scheduler is otherwise
70 | # idle. Normally you should not have to 'tune' this parameter, unless you're using
71 | # XA transactions, and are having problems with delayed firings of triggers that
72 | # should fire immediately.
73 | #
74 | # "DB_FAILURE_RETRY_INTERVAL" is the amount of time in milliseconds that the
75 | # scheduler will wait between re-tries when it has detected a loss of
76 | # connectivity to the database (obviously not meaningful with RamJobStore)
77 | #
78 | # "CLASS_LOAD_HELPER_CLASS" defaults to the most robust approach, which is to
79 | # use the "org.quartz.simpl.CascadingClassLoadHelper" class - which in turn
80 | # uses every other ClassLoadHelper class until one works. You should probably
81 | # not find the need to specify any other class for this property, though strange
82 | # things seem to happen within application servers. All of the current
83 | # ClassLoadHelper implementation can be found in the "org.quartz.simpl" package.
84 | #
85 | # "SOME_KEY" and "SOME_VALUE" represent a name-value pair that will be placed
86 | # into the "scheduler context" as strings. (see Scheduler.getContext()).
87 | # So for example, the setting "org.quartz.context.key.MyKey = MyValue" would
88 | # perform the equivalent of scheduler.getContext().put("MyKey", "MyValue").
89 | #
90 | #
91 | # RMI notes:
92 | #
93 | # If you want the Quartz Scheduler exported via RMI as a server then set
94 | # the 'rmi.export' flag to true. You must also then specify a host and
95 | # port for the rmiregistry process - which is typically 'localhost' port 1099.
96 | #
97 | # Set the 'rmi.createRegistry' flag according to how you want Quartz to cause
98 | # the creation of an RMI Registry. Use "false" or "never" if you don't want
99 | # Quartz to create a registry. Use "true" or "as_needed" if you want Quartz
100 | # to first attempt to use an existing registry, and then fall back to creating
101 | # one. Use "always" if you want Quartz to attempt creating a Registry, and
102 | # then fall back to using an existing one.
103 | # If a registry is created, it will be bound to port number in the given
104 | # the 'rmi.registryPort' property, and 'rmi.registryHost' should be "localhost".
105 | #
106 | # If you want to connect (use) a remotely served scheduler, then set the
107 | # 'rmi.proxy' flag to true. You must also then specify a host and port
108 | # for the rmiregistry process - which is typically 'localhost' port 1099.
109 | #
110 | # You cannot specify a 'true' value for both 'export' and 'proxy' - if you
111 | # do, the 'export' option will be ignored. A value of 'false' for both
112 | # 'export' and 'proxy' properties is of course valid.
113 | #
114 | #
115 | org.quartz.scheduler.instanceName = PentahoQuartzScheduler
116 | org.quartz.scheduler.instanceId = AUTO
117 | org.quartz.scheduler.rmi.export = false
118 | org.quartz.scheduler.rmi.proxy = false
119 | org.quartz.scheduler.wrapJobExecutionInUserTransaction = false
120 | #
121 | # ===========================================================================
122 | # Configure ThreadPool =====================================================
123 | # ===========================================================================
124 | #
125 | # The general pattern for defining a thread pool is the following:
126 | #
127 | # org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
128 | # org.quartz.threadPool.threadCount = THREAD_COUNT
129 | # org.quartz.threadPool.threadPriority = THREAD_PRIO
130 | #
131 | # optional parameters for SimpleThreadPool are:
132 | #
133 | # org.quartz.threadPool.makeThreadsDaemons = DAEMON_THREADS
134 | # org.quartz.threadPool.threadsInheritGroupOfInitializingThread = INHERIT_GRP
135 | # org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread = INHERIT_LDR
136 | #
137 | # or
138 | #
139 | # org.quartz.threadPool.class = com.mycompany.goo.FooThreadPool
140 | # org.quartz.threadPool.somePropOfFooThreadPool = someValue
141 | #
142 | # "THREAD_COUNT" can be any positive integer, although you should realize that
143 | # only numbers between 1 and 100 are very practical. This is the number of
144 | # threads that are available for concurrent execution of jobs. If you only
145 | # have a few jobs that fire a few times a day, then 1 thread is plenty! If you
146 | # have tens of thousands of jobs, with many firing every minute, then you
147 | # probably want a thread count more like 50 or 100 (this highly depends on the
148 | # nature of the work that your jobs perform, and your systems resources!)
149 | #
150 | # "THREAD_PRIO" can be any int between Thread.MIN_PRIORITY (1) and
151 | # Thread.MAX_PRIORITY (10). The default is Thread.NORM_PRIORITY (5).
152 | #
153 | # "DAEMON_THREADS" can be set to "true" to have the threads in the pool created
154 | # as daemon threads. Default is "false".
155 | #
156 | # "INHERIT_GRP" can be "true" or "false", and defaults to true.
157 | #
158 | # "INHERIT_LDR" can be "true" or "false", and defaults to false.
159 | #
160 | org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
161 | org.quartz.threadPool.threadCount = 10
162 | org.quartz.threadPool.threadPriority = 5
163 | org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread = true
164 | #
165 | # ===========================================================================
166 | # Configure JobStore =======================================================
167 | # ===========================================================================
168 | #
169 | # The general pattern for defining a JobStore is one of the following:
170 | #
171 | # org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore
172 | # org.quartz.jobStore.misfireThreshold = MISFIRE_THRESHOLD
173 | #
174 | # or
175 | #
176 | # org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.
177 | # Where JobStoreClass is one of:
178 | # - JobStoreTX is for standalone-Quartz implementations
179 | # - JobStoreCMT is for appserver-based container-managed
180 | # transaction Quartz implementations
181 | #
182 | # org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.
183 | # Where DriverDelegateClass is one of:
184 | # - StdJDBCDelegate (for many JDBC-compliant drivers)
185 | # - MSSQLDelegate (for Microsoft SQL Server drivers)
186 | # - PostgreSQLDelegate (for PostgreSQL drivers)
187 | # - WebLogicDelegate (for WebLogic drivers)
188 | # - oracle.OracleDelegate (for Oracle drivers)
189 | #
190 | # org.quartz.jobStore.useProperties = USE_PROPERTIES
191 | # org.quartz.jobStore.dataSource = DS_NAME
192 | # org.quartz.jobStore.tablePrefix = TABLE_PREFIX
193 | # org.quartz.jobStore.isClustered = IS_CLUSTERED
194 | # org.quartz.jobStore.selectWithLockSQL = LOCKING_SELECT_STATEMENT
195 | # org.quartz.jobStore.dontSetAutoCommitFalse = DONT_TURN_OFF_AUTO_COMMIT
196 | # org.quartz.jobStore.maxMisfiresToHandleAtATime = MAX_MISFIRE_HANDLE
197 | # org.quartz.jobStore.txIsolationLevelSerializable = SERIALIZABLE_ISOLATION
198 | #
199 | # If you're using JobStoreCMT then you need this param also:
200 | #
201 | # org.quartz.jobStore.nonManagedTXDataSource = NON_MANAGED_TX_DS_NAME
202 | #
203 | # And, if you're using JobStoreCMT, then these params are optional:
204 | #
205 | # org.quartz.jobStore.dontSetNonManagedTXConnectionAutoCommitFalse = DONT_TURN_OFF_AUTO_COMMIT
206 | # org.quartz.jobStore.txIsolationLevelReadCommitted = READ_COMMITTED_ISOLATION
207 | #
208 | #
209 | # or, for a custom JobStore implementation:
210 | #
211 | # org.quartz.jobStore.class = com.mycompany.goo.FooJobStore
212 | # org.quartz.jobStore.somePropOfFooJobStore = someValue
213 | #
214 | #
215 | # The value of "MISFIRE_THRESHOLD" should be the number of milliseconds the
216 | # scheduler will 'tolerate' a trigger to pass its next-fire-time by, before
217 | # being considered "misfired". The default value (if you don't make an entry
218 | # of this property in your configuration) is 60000 (60 seconds).
219 | #
220 | # The value of "MAX_MISFIRE_HANDLE" is the maximum number of misfired triggers
221 | # that the misfire handlingthread will try to recover at one time (within one
222 | # transaction). If unspecified, the default is 20.
223 | #
224 | # The "USE_PROPERTIES" flag (true or false value - defaults to false) instructs
225 | # JDBCJobStore that all values in JobDataMaps will be Strings, and therefore
226 | # can be stored as name-value pairs, rather than storing more complex objects
227 | # in their serialized form in the BLOB column. This is much safer in the long
228 | # term, as you avoid the class versioning issues that there are with
229 | # serializing your non-String classes into a BLOB.
230 | #
231 | # JDBCJobStore's "DS_NAME" must be the name of one the datasources
232 | # defined in this file. JobStoreCMT _requires_ a datasource that contains
233 | # container-managed-transaction-capable connections. Typically this means a
234 | # datasource that is managed by an application server, and used by Quartz by
235 | # specifying the JNDI url of the datasource.
236 | #
237 | # JobStoreCMT also _requires_ a (second) datasource that contains connections
238 | # that will not be part of container-managed transactions.
239 | # "NON_MANAGED_TX_DS_NAME" must be the name of one the datasources defined in
240 | # this file. - This datasource must contain non-container-transaction managed
241 | # connections.
242 | #
243 | # JDBCJobStore's "TABLE_PREFIX" property is a string equal to the prefix
244 | # given to Quartz's tables that were created in your database.
245 | #
246 | # JDBCJobStore's "IS_CLUSTERED" property must be set to either "true" or
247 | # "false". If unset, the default is "false". This property must be set
248 | # to "true" if you are having multiple instances of Quartz use the same
249 | # set of database tables... otherwise you will experience havoc. Also
250 | # note that each instance in the cluster MUST have a unique "instance id"
251 | # (the "org.quartz.scheduler.instanceId" property), but should have the
252 | # same "scheduler instance name" ("org.quartz.scheduler.instanceName").
253 | #
254 | # * NOTE: Never run clustering on separate machines, unless their clocks are
255 | # synchronized using some form of time-sync service (daemon) that runs
256 | # very regularly (the clocks must be within a second of each other).
257 | # See http://www.boulder.nist.gov/timefreq/service/its.htm if you are
258 | # unfamiliar with how to do this.
259 | #
260 | # Also: never fire-up a non-clustered instance against the same set
261 | # of tables that any other instance is running against. You will
262 | # get serious data corruption, and eratic behavior.
263 | #
264 | #
265 | # JDBCJobStore's "LOCKING_SELECT_STATEMENT" property must be a SQL string
266 | # that selects a row in the "LOCKS" table and places a lock on it. If not
267 | # set, the default is "SELECT * FROM {0}LOCKS WHERE LOCK_NAME = ? FOR UPDATE",
268 | # which works for most databases. The "{0}" is replaced during run-time
269 | # with the TABLE_PREFIX that you configured above.
270 | #
271 | # "DONT_TURN_OFF_AUTO_COMMIT" tells Quartz not to call setAutoCommit(false)
272 | # on connections obtained from the DataSource(s). This can be helpful
273 | # in a few situations, such as if you have a driver that complains if
274 | # it is called when it is already off. This property defaults to false.
275 | #
276 | # "SERIALIZABLE_ISOLATION" tells Quartz (when using JobStoreTX or CMT) to call
277 | # setTransactionIsolation(Connection.TRANSACTION_SERIALIZABLE); on JDBC
278 | # connections. This can be helpful to prevent lock timeouts with some databases
279 | # under high load, and "longer"-lasting transactions.
280 | #
281 | # "READ_COMMITTED_ISOLATION" tells Quartz (When using JobStoreCMT) to call
282 | # setTransactionIsolation(Connection.TRANSACTION_READ_UNCOMMITTED); on the
283 | # non-managed JDBC connections. This can be helpful to prevent lock timeouts
284 | # with some databases (such as DB2) under high load, and "longer"-lasting
285 | # transactions.
286 | #
287 | #org.quartz.jobStore.misfireThreshold = 60000
288 | #org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate
289 | #org.quartz.jobStore.useProperties = false
290 | #org.quartz.jobStore.dataSource = myDS
291 | #org.quartz.jobStore.tablePrefix = QRTZ5_
292 | #org.quartz.jobStore.isClustered = false
293 |
294 | # Job Store
295 | org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreTX
296 |
297 | #_replace_jobstore_properties
298 |
299 | org.quartz.jobStore.misfireThreshold = 60000
300 | org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.PostgreSQLDelegate
301 | org.quartz.jobStore.useProperties = false
302 | org.quartz.jobStore.dataSource = myDS
303 | org.quartz.jobStore.tablePrefix = QRTZ5_
304 | org.quartz.jobStore.isClustered = true
305 | org.quartz.jobStore.clusterCheckinInterval = 20000
306 |
307 | # ===========================================================================
308 | # Configure Datasources ====================================================
309 | # ===========================================================================
310 | #
311 | # (only needed when using JDBCJobStore, or a plugin that requires JDBC)
312 | #
313 | # -- If your Scheduler is very busy (i.e. nearly always executing the same
314 | # number of jobs as the size of the thread pool, then you should probably
315 | # set the number of connections in the DataSource to be the size of the
316 | # thread pool + 1
317 | #
318 | # The general pattern for defining a DataSource is one of the following:
319 | #
320 | # org.quartz.dataSource.NAME.driver = DRIVER_CLASS_NAME
321 | # org.quartz.dataSource.NAME.URL = DB_URL
322 | # org.quartz.dataSource.NAME.user = DB_USER
323 | # org.quartz.dataSource.NAME.password = DB_PASSWORD
324 | # org.quartz.dataSource.NAME.maxConnections = DB_POOL_SIZE
325 | # org.quartz.dataSource.NAME.validationQuery= VALIDATION_QUERY
326 | #
327 | # or
328 | #
329 | # org.quartz.dataSource.NAME.jndiURL = DB_JNDI_URL
330 | #
331 | # or
332 | # org.quartz.dataSource.NAME.jndiURL = DB_JNDI_URL
333 | # org.quartz.dataSource.NAME.jndiAlwaysLookup = DB_JNDI_ALWAYS_LOOKUP
334 | # org.quartz.dataSource.NAME.java.naming.factory.initial = JNDI_CTXT_FACTORY
335 | # org.quartz.dataSource.NAME.java.naming.provider.url = JNDI_PROVIDER_URL
336 | # org.quartz.dataSource.NAME.java.naming.security.principal = JNDI_PRINCIPAL
337 | # org.quartz.dataSource.NAME.java.naming.security.credentials = JNDI_CREDENTIALS
338 | #
339 | #
340 | # The DataSource's "NAME" can be anything you want, and has no meaning other
341 | # than being able to 'define' a DataSource here, and assign it by name to the
342 | # JDBCJobStore.
343 | #
344 | # With the two types of DataSource definition shown above, a DataSource can
345 | # either be created with the given database connection information, or can
346 | # be "logically mapped" to use a DataSource that is managed by an application
347 | # server an made available via JNDI.
348 | #
349 | # "DRIVER_CLASS_NAME" must be the java class name of the JDBC driver for your
350 | # database.
351 | #
352 | # "DB_URL" must be the connection URL (host, port, etc.) for connection to your
353 | # database.
354 | #
355 | # "DB_USER" is the user name to use when connecting to your database.
356 | #
357 | # "DB_USER" is the password to use when connecting to your database.
358 | #
359 | # "DB_POOL_SIZE" is the maximum number of connections that the DataSource can
360 | # create in it's pool of connections.
361 | #
362 | # "VALIDATION_QUERY" is an optional SQL query string that the DataSource
363 | # can use to detect and replace failed/corrupt connections. For example an
364 | # oracle user might choose "select table_name from user_tables" - which is a
365 | # query that should never fail - unless the connection is actually bad.
366 | #
367 | # "DB_JNDI_URL" is the JNDI URL for a DataSource that is managed by your
368 | # application server. Additionally, you can provide the class name of the
369 | # JNDI InitialContextFactory that you wish to use, the provider's URL, and
370 | # a username & password for connecting to the JNDI provider, if it is not
371 | # the default provider of your environment.
372 | #
373 | # "DB_JNDI_ALWAYS_LOOKUP" can be "true" or "false" - if the property is not
374 | # set, the default is "false". This option tells Quartz whether or not it
375 | # should always lookup the DataSource under the JNDI tree each time it
376 | # needs to get a connection from it. If set to (the default) "false",
377 | # Quartz will "hold on to" the DataSource after looking it up only once.
378 | #
379 |
380 | org.quartz.dataSource.myDS.jndiURL = Quartz
381 |
382 | #
383 | #org.quartz.dataSource.myDS.jndiURL=jdbc/PAWS
384 | #org.quartz.dataSource.myDS.jndiAlwaysLookup=false
385 | #org.quartz.dataSource.myDS.java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
386 | #org.quartz.dataSource.myDS.java.naming.provider.url=ormi://localhost
387 | #org.quartz.dataSource.myDS.java.naming.security.principal=admin
388 | #org.quartz.dataSource.myDS.java.naming.security.credentials=123
389 | #
390 | # ===========================================================================
391 | # Configure SchedulerPlugins ===============================================
392 | # ===========================================================================
393 | #
394 | # The general pattern for defining a SchedulerPlugin is the following:
395 | #
396 | # org.quartz.plugin.NAME.class = PLUGIN_CLASS_NAME
397 | #
398 | # If the plugin class has properties you want set via some "setter" methods
399 | # on the class, name the properties and values as such
400 | #
401 | # org.quartz.plugin.NAME.propName = propValue
402 | #
403 | # ...where "propName" corrisponds to a "setPropName" method on the plugin
404 | # class. Only primitive data type values (including Strings) are supported.
405 | #
406 | #
407 | # Configure Plugins =========================================================
408 | #
409 | #org.quartz.plugin.triggHistory.class = org.quartz.plugins.history.LoggingTriggerHistoryPlugin
410 | #org.quartz.plugin.triggHistory.triggerFiredMessage = Trigger {1}.{0} fired job {6}.{5} at: {4, date, HH:mm:ss MM/dd/yyyy}
411 | #org.quartz.plugin.triggHistory.triggerCompleteMessage = Trigger {1}.{0} completed firing job {6}.{5} at {4, date, HH:mm:ss MM/dd/yyyy} with resulting trigger instruction code: {9}
412 | #
413 | #org.quartz.plugin.jobInitializer.class = org.quartz.plugins.xml.JobInitializationPlugin
414 | #org.quartz.plugin.jobInitializer.fileName = data/my_job_data.xml
415 | #org.quartz.plugin.jobInitializer.overWriteExistingJobs = false
416 | #org.quartz.plugin.jobInitializer.failOnFileNotFound = true
417 | #
418 | #org.quartz.plugin.shutdownhook.class = org.quartz.plugins.management.ShutdownHookPlugin
419 | #org.quartz.plugin.shutdownhook.cleanShutdown = true
420 | #
421 | # ===========================================================================
422 | # Configure Listeners ===============================================
423 | # ===========================================================================
424 | #
425 | # The general pattern for defining a "Global" TriggerListener is:
426 | #
427 | # org.quartz.triggerListener.NAME.class = TRIGGER_LISTENER_CLASS_NAME
428 | #
429 | # The general pattern for defining a "Global" JobListener is the following:
430 | #
431 | # org.quartz.jobListener.NAME.class = JOB_LISTENER_CLASS_NAME
432 | #
433 | # "NAME" becomes the listener's name, and a "setName(String)" method is
434 | # reflectively found and called on the class that is instantiated.
435 | #
436 | # If the listener class has properties you want set via some "setter" methods
437 | # on the class, name the properties and values as such
438 | #
439 | # org.quartz.triggerListener.NAME.propName = propValue
440 | # or
441 | # org.quartz.jobListener.NAME.propName = propValue
442 | #
443 | # ...where "propName" corrisponds to a "setPropName" method on the listener
444 | # class. Only primitive data type values (including Strings) are supported.
445 | #
446 | #
447 | # Configure Plugins =========================================================
448 | #
449 | #org.quartz.triggerListener.dummy.class = org.quartz.examples.DumbTriggerListener
450 |
451 |
452 |
--------------------------------------------------------------------------------