blob: f303911f2268905a78b8cd5f0e59f6a95e9d1c60 [file] [log] [blame]
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF 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.
#
# spring.datasource.x
spring.datasource.driver-class-name=org.h2.Driver
spring.datasource.url=jdbc:h2:mem:db;DB_CLOSE_DELAY=-1
spring.datasource.username=sa
spring.datasource.password=sa
#spring.datasource.url= jdbc:mysql://localhost:3306/quartz?autoReconnect=true&useSSL=false
#spring.datasource.username =griffin
#spring.datasource.password =123456
# hibernate.X
hibernate.dialect=org.hibernate.dialect.H2Dialect
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.H2Dialect
hibernate.show_sql=true
spring.jpa.hibernate.ddl-auto = create-drop
#hibernate.hbm2ddl.auto=create-drop
hibernate.cache.use_second_level_cache=true
hibernate.cache.use_query_cache=true
hibernate.cache.region.factory_class=org.hibernate.cache.ehcache.EhCacheRegionFactory
# hive metastore
hive.metastore.uris = thrift://10.9.246.187:9083
hive.metastore.dbname = default
hive.hmshandler.retry.attempts = 15
hive.hmshandler.retry.interval = 2000ms
# kafka schema registry
kafka.schema.registry.url = http://10.65.159.119:8081
#logging level
logging.level.root=ERROR
logging.level.org.hibernate=ERROR
logging.level.org.springframework.test=ERROR
logging.level.org.apache.griffin=ERROR
logging.file=target/test.log
jobInstance.fixedDelay.in.milliseconds=60000
# spring cache
cache.evict.hive.fixedRate.in.milliseconds=900000