# Copyright © 2017 Amdocs, Bell Canada,
# Copyright © 2020 highstreet technologies GmbH
# Copyright © 2021 Nokia
#
# 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.

dependencies:
  - name: common
    version: ~7.x-0
    repository: '@local'
  - name: certInitializer
    version: ~7.x-0
    repository: '@local'
  - name: cmpv2Certificate
    version: ~7.x-0
    repository: '@local'
  - name: certManagerCertificate
    version: ~7.x-0
    repository: '@local'
  - name: logConfiguration
    version: ~7.x-0
    repository: '@local'
  - name: network-name-gen
    version: ~7.x-0
    repository: '@local'
    condition: network-name-gen.enabled
  - name: dgbuilder
    version: ~7.x-0
    repository: '@local'
    condition: dgbuilder.enabled
  - name: sdnc-prom
    version: ~7.x-0
    repository: '@local'
    condition: config.geoEnabled
  - name: mariadb-galera
    version: ~7.x-0
    repository: '@local'
    condition: global.mariadbGalera.localCluster
  - name: elasticsearch
    version: ~7.x-0
    repository: '@local'
    condition: config.sdnr.enabled
  # conditions for sdnc-subcharts
  - name: dmaap-listener
    version: ~7.x-0
    repository: 'file://components/dmaap-listener/'
    condition: sdnc.dmaap-listener.enabled,dmaap-listener.enabled
  - name: ueb-listener
    version: ~7.x-0
    repository: 'file://components/ueb-listener/'
    condition: sdnc.ueb-listener.enabled,ueb-listener.enabled
  - name: sdnc-ansible-server
    version: ~7.x-0
    repository: 'file://components/sdnc-ansible-server/'
    condition: sdnc.sdnc-ansible-server.enabled,sdnc-ansible-server.enabled
  - name: sdnc-web
    version: ~7.x-0
    repository: 'file://components/sdnc-web/'
    condition: sdnc.sdnc-web.enabled,sdnc-web.enabled
  - name: repositoryGenerator
    version: ~7.x-0
    repository: '@local'