All Downloads are FREE. Search and download functionalities are using the official Maven repository.

inkler.sprinkler.2.2.0.source-code.application.yaml Maven / Gradle / Ivy

Go to download

Sprinkler - Spring Boot application for controlling sprinklers using Raspberry Pi

The newest version!
#
# Copyright (C) 2021 by Sebastian Hasait (sebastian at hasait dot de)
#
# Licensed 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:
  profiles:
    active: 'prod'

server:
  port: 8080

---
spring:
  config:
    activate:
      on-profile: 'dev'
  h2:
    console:
      enabled: false
  datasource:
    url:                 'jdbc:h2:mem:devdb'
    username:            'sa'
    password:            'password'
    provider-class-name: 'org.h2.Provider'
  sql:
    init:
      mode: 'always'
  jpa:
    database-platform:               'org.hibernate.dialect.H2Dialect'
    defer-datasource-initialization: true
    show-sql:                        true
    hibernate:
      ddl-auto: 'create-drop'

logging:
  level:
    de.hasait: 'debug'

vaadin:
  production-mode: false
  servlet:
    close-idle-sessions: true
  whitelisted-packages:
    - 'com.vaadin'
    - 'org.vaadin'
    - 'dev.hilla'
    - 'de.hasait'

---
spring:
  config:
    activate:
      on-profile: 'test'
  h2:
    console:
      enabled: false
  datasource:
    url:                 'jdbc:h2:mem:testdb'
    username:            'sa'
    password:            'password'
    provider-class-name: 'org.h2.Provider'
  sql:
    init:
      mode: 'always'
  jpa:
    database-platform:               'org.hibernate.dialect.H2Dialect'
    defer-datasource-initialization: true
    show-sql:                        true
    hibernate:
      ddl-auto: 'create-drop'

logging:
  level:
    de.hasait: 'debug'

vaadin:
  production-mode: true
  servlet:
    close-idle-sessions: true

---
spring:
  config:
    activate:
      on-profile: 'prod'
  h2:
    console:
      enabled: false
  datasource:
    url:                 'jdbc:h2:./data.h2;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE'
    username:            'sa'
    password:            'password'
    provider-class-name: 'org.h2.Provider'
  sql:
    init:
      mode: 'never'
  jpa:
    database-platform: 'org.hibernate.dialect.H2Dialect'
    show-sql:          false
    hibernate:
      ddl-auto: 'update'
  devtools:
    add-properties: false

logging:
  level:
    de.hasait: 'info'

vaadin:
  production-mode: true
  servlet:
    close-idle-sessions: true




© 2015 - 2025 Weber Informatics LLC | Privacy Policy