<commit_before># "custom": configuration section with not Spring Boot common application properties
# see https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#common-application-properties
custom:
  app:
    security:
      enabled: true
      username: foobar
      password: <PASSWORD>
  mongeez:
    classpathToMongeezXml: '/de/digitalcollections/iiif/bookshelf/config/mongeez/mongeez.xml'
    dbName: 'iiif-bookshelf'
  solr:
    collection: 'bookshelf'
# end of custom configuration section

endpoints:
  hypermedia:
    enabled: true

info:
  app:
    encoding: @project.build.sourceEncoding@
    java:
      source: @maven.compiler.source@
      target: @maven.compiler.target@
    project:
      name: '@project.name@'
      groupId: @project.groupId@
      artifactId: @project.artifactId@
      version: @project.version@

management:
  context-path: '/monitoring'
  port: 9001
  security:
    enabled: true
    roles: 'ACTUATOR, USER'
    # ACTUATOR is default, but we add USER as workaround for not working application.yml name/password
    
security:
  headers:
    cache: false
  user:
    name: admin
    password: <PASSWORD>

server:
  port: 8080
  server-header: '@project.name@ v@project.version@'

spring:
  data:
    mongodb:
      uri: mongodb://localhost:20202/iiif-bookshelf
    solr:
      # collection name see custom-section
      host: 'http://127.0.0.1:21212/solr'
      # Solr host. Ignored if "zk-host" is set.
#      repositories:
#        enabled: true
        # Enable Solr repositories.
#      zk-host: ''
      # ZooKeeper host address in the form HOST:PORT.
  profiles:
    active: local
  thymeleaf:
    cache: false
    mode: HTML

---

custom:
  app:
    security:
      enabled: true
      username: mdz
      password: <PASSWORD>

management:
  security:
    enabled: true

spring:
  data:
    mongodb:
      uri: mongodb://localhost:27017/iiif-bookshelf
    solr:
      host: 'http://127.0.0.1:8983/solr'
      # Solr host. Ignored if "zk-host" is set.
#      repositories:
#        enabled: true
        # Enable Solr repositories.
#      zk-host: ''
      # ZooKeeper host address in the form HOST:PORT.
  profiles: PROD
  thymeleaf:
    cache: true<commit_msg>Update server and managment ports<commit_after># "custom": configuration section with not Spring Boot common application properties
# see https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#common-application-properties
custom:
  app:
    security:
      enabled: true
      username: foobar
      password: <PASSWORD>
  mongeez:
    classpathToMongeezXml: '/de/digitalcollections/iiif/bookshelf/config/mongeez/mongeez.xml'
    dbName: 'iiif-bookshelf'
  solr:
    collection: 'bookshelf'
# end of custom configuration section

endpoints:
  hypermedia:
    enabled: true

info:
  app:
    encoding: @project.build.sourceEncoding@
    java:
      source: @maven.compiler.source@
      target: @maven.compiler.target@
    project:
      name: '@project.name@'
      groupId: @project.groupId@
      artifactId: @project.artifactId@
      version: @project.version@

management:
  context-path: '/monitoring'
  port: 8081
  security:
    enabled: true
    roles: 'ACTUATOR, USER'
    # ACTUATOR is default, but we add USER as workaround for not working application.yml name/password

security:
  headers:
    cache: false
  user:
    name: admin
    password: <PASSWORD>

server:
  port: 8080
  server-header: '@project.name@ v@project.version@'

spring:
  data:
    mongodb:
      uri: mongodb://localhost:20202/iiif-bookshelf
    solr:
      # collection name see custom-section
      host: 'http://127.0.0.1:21212/solr'
      # Solr host. Ignored if "zk-host" is set.
#      repositories:
#        enabled: true
        # Enable Solr repositories.
#      zk-host: ''
      # ZooKeeper host address in the form HOST:PORT.
  profiles:
    active: local
  thymeleaf:
    cache: false
    mode: HTML

---

custom:
  app:
    security:
      enabled: true
      username: mdz
      password: <PASSWORD>

management:
  port: 9001
  security:
    enabled: true

spring:
  data:
    mongodb:
      uri: mongodb://localhost:27017/iiif-bookshelf
    solr:
      host: 'http://127.0.0.1:8983/solr'
      # Solr host. Ignored if "zk-host" is set.
#      repositories:
#        enabled: true
        # Enable Solr repositories.
#      zk-host: ''
      # ZooKeeper host address in the form HOST:PORT.
  profiles: PROD
  thymeleaf:
    cache: true
{'fraction_non_alphanumeric': 0.10619271182651464, 'fraction_numerical': 0.018332215515314106, 'mean_word_length': 2.6883759274525967, 'pattern_counts': {'":': 2, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 6, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '954491', 'n_tokens_mistral': 1554, 'n_tokens_neox': 1448, 'n_words': 375}