#
# Copyright (c) 2017, 2020 Oracle and/or its affiliates.
#
# 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.
#
unit:
  thread-pool:
    core-pool-size: 3
    queue-capacity: 15
    is-daemon: false
    thread-name-prefix: "thread-pool-config-unit-test-"
    should-prestart: false
  scheduled-thread-pool:
    core-pool-size: 3
    is-daemon: false
    thread-name-prefix: "scheduled-thread-pool-config-unit-test-"
    should-prestart: false

# old (deprecated approach) - kept so existing applications may work
resources-prefix:
  test-1.resource-path: "src/test/resources/sample.txt"
  test-2.resource-resource-path: "sample.txt"
  test-3.resource-url: "file:./src/test/resources/sample.txt"
  test-4.resource-content-plain: "content"
  test-5.resource-content: "YWJjZGVmZ8SNxZnFvsO6xa8="

# new approach that does not use a prefix
resources:
  test-1.resource.path: "src/test/resources/sample.txt"
  test-2.resource.resource-path: "sample.txt"
  test-3.resource.url: "file:./src/test/resources/sample.txt"
  test-4.resource.content-plain: "content"
  test-5.resource.content: "YWJjZGVmZ8SNxZnFvsO6xa8="
  test-6.reprosuce: "nothing"