Appendix A: Hawaii application properties

Various properties can be specified inside your application.properties/application.yml file or as command line switches. This section provides a list of available Hawaii application properties.

# ===================================================================
# HAWAII PROPERTIES
#
# This sample file is provided as a guideline. Do NOT copy it in its
# entirety to your own application.               ^^^
# ===================================================================

# HAWAII SPRING BOOT DEFAULTS
spring:
  jackson:
	date-format: com.fasterxml.jackson.databind.util.ISO8601DateFormat
	property-naming-strategy: CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES
	serialization:
	  indent-output: false
	  write-dates-as-timestamps: false
	  write-date-timestamps-as-nanoseconds: false
logging:
  file: log/hawaii.log
  level:
	  org.hawaiiframework: INFO
	  org.springframework: INFO

   
# HAWAII TIME
hawaii:
  time:
    enabled: true # Enable creation of the `HawaiiTime` bean.
    timezone: UTC # The timezone to use like `UTC`, `Europe/Amsterdam` or `GMT+1`.
     async:
       configuration: ./config/async-config.yml # location of the Hawaii async configuration file
     logging:
       filters:
         kibana-log:
           enabled: true
           order: 4
           http-header: X-Hawaii-Frontend-IP-Address
         kibana-log-cleanup:
           enabled: true
           order: 2
         request-duration:
           enabled: true
           order: 3
         request-id:
           enabled: true
           order: 6
           http-header: X-Hawaii-Request-Id
         request-response:
           enabled: true
           order: 7
           fallbackToFile: true
           directory: /tmp
           maxLogSize: 50k
           # For console logging, the allowed content types, empty means allow all.
           allowedContentTypes:
             - application/json
             - text/plain
             - text/xml
         transaction-id:
           enabled: true
           order: 5
           http-header: X-Hawaii-Tx-Id
         user-details:
           enabled: true
           order: 110

---

spring:
  profiles: dev
  jackson:
	serialization.indent-output: true
logging:
  level:
	org.hawaiiframework: DEBUG

---

spring:
  profiles: test

---

spring:
  profiles: prod