#
# Licensed to Jasig under one or more contributor license
# agreements. See the NOTICE file distributed with this work
# for additional information regarding copyright ownership.
# Jasig licenses this file to you under the Apache License,
# Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a
# copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on
# an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#

#==================== Maven Filtering ========================
# You can use this file to manage environment-specific settings and supply them 
# to the appropriate locations at build time.  This process uses a Maven feature 
# called "Filtering" (http://maven.apache.org/shared/maven-filtering/).
#
# Place filter tokens for environment-specific settings in configuration files, 
# then provide values for those tokens below.  NOTE:  Files with filter tokens 
# MUST be listed in the <includes> section for filtering in the appropriate 
# pom.xml file.

# Use 'filters.file' to override the location of the properties file for 
# Maven filtering.  The specified location should be a RELATIVE PATH.  If not 
#specified, this file (build.properties or build.{env}.properties) will be used.
#filters.file=filters/prod.properties

## EXAMPLES ##

################################################################################
## Configuration HypersonicSQL                                                ##
################################################################################
environment.build.hsql.port=8887


################################################################################
## Configuration Serveur TomCat                                               ##
################################################################################
environment.build.server.webapps=/home/esup4/webapps
environment.build.server.home=/home/esup4/apache-tomcat-6.0.35


################################################################################
## Configuration de la connexion à la base de données                         ##
##                                                                            ##
## Attention : À chaque changement de SGBD (ci-dessous), il faut également    ##
##             modifier le connecteur JDBC dans pom.xml (à la racine)         ##
################################################################################
# Section MySQL à décommenter si utilisé :
#environment.build.hibernate.connection.driver_class=com.mysql.jdbc.Driver
#environment.build.hibernate.connection.url=jdbc:mysql://localhost:3306/test
#environment.build.hibernate.connection.username=root
#environment.build.hibernate.connection.password=root

# Section PostGreSQL à décommenter si utilisé :
environment.build.hibernate.connection.driver_class=org.postgresql.Driver
environment.build.hibernate.connection.url=jdbc:postgresql://localhost:5432/postgres
environment.build.hibernate.connection.username=A141474
environment.build.hibernate.connection.password=


################################################################################
## Configuration Serveur UPortal                                              ##
################################################################################
environment.build.uportal.server=localhost:8080
#environment.build.real.uportal.server=esup4.univ.fr
environment.build.uportal.protocol=http
environment.build.uportal.context=/uPortal
#environment.build.real.uportal.context=/uPortal
environment.build.uportal.email.fromAddress=portal4@univ.fr


################################################################################
## Configuration Serveur CAS                                                  ##
################################################################################
environment.build.cas.server=localhost:8443
environment.build.cas.protocol=https
environment.build.cas.context=/cas


################################################################################
## Configuration LDAP                                                         ##
################################################################################
environment.build.ldap.url=ldaps://172.24.161.138:10636 ldaps://172.24.161.138:10637
environment.build.ldap.baseDn=dc=univ,dc=fr
environment.build.ldap.userName=
environment.build.ldap.password=
environment.build.ldap.pooled=false
environment.build.ldap.uidAttr=uid


################################################################################
## Configuration logs                                                         ##
################################################################################
environment.build.log.logfileDirectory=/ESUP/logs
environment.build.log.logfileName=uPortal.log
environment.build.log.rootLevel=INFO
environment.build.log.layoutConversionPattern=[${environment.build.host.logicalName}]%5p [%t] %d{MMM/dd HH:mm:ss,SSS} %c{2}.[%x] - %m%n
environment.build.log.rollingLogFileDatePattern='.'yyyy-MM-dd-HH
