#
# Copyright (c) 2019, 2020 Oracle and/or its affiliates. All rights reserved.
#
# 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.
#

grpc:
  channels:
    default_host_port:
    default_host:
      port: 4096
    default_port:
      host: "non_default_host.com"
    default_host_port_ssl_disabled:
      tls:
        enabled: false
        tls-key-resource-path: "ssl/clientKey.pem"
        tls-cert-resource-path: "ssl/clientCert.pem"
        tls-ca-cert-resource-path: "ssl/ca.pem"
    default_host_ssl_one_way:
      port: 4096
      tls:
        enabled: true
        tls-ca-cert-resource-path: "ssl/ca.pem"
    default_port_ssl:
      host: "non_default_host.com"
      tls:
        tls-key-resource-path: "ssl/clientKey.pem"
        tls-cert-resource-path: "ssl/clientCert.pem"
        tls-ca-cert-resource-path: "ssl/ca.pem"
    with_target:
      target: "dns://localhost:1408"
      load-balancer-policy: "round-robin"