#
# Copyright 2014 Open mHealth
#
# 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.
#

# FIXME revise this if mixing data stores
dataStore: mongo

server:
  port: 8083

spring:
  application:
    name: Open mHealth DSU server
  data:
    mongodb:
      host: mongo
      database: omh
      #port: 27017
  datasource:
    driverClassName: org.postgresql.Driver
    url: jdbc:postgresql://localhost:5432/omh
    username: postgres
    password: postgres

http:
  mappers:
    jsonPrettyPrint: true
#
# Copyright 2014 Open mHealth
#
# 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.
#

# FIXME revise this if mixing data stores
dataStore: mongo

server:
  port: 8083

spring:
  application:
    name: Open mHealth DSU server
  data:
    mongodb:
      host: mongo
      database: omh
      #port: 27017
  datasource:
    driverClassName: org.postgresql.Driver
    url: jdbc:postgresql://localhost:5432/omh
    username: postgres
    password: postgres

http:
  mappers:
    jsonPrettyPrint: true

logging:
  level:
    org.springframework: INFO
Add logging property placeholders to resource server configuration to help with debugging.
Add logging property placeholders to resource server configuration to help with debugging.
