# Copyright © 2018 AT&T USA
#
# 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.
aai:
  auth: 65885E7C4E860E420808030D8BC653073E6782CB5026EC8F49E3E5C6F3E27F6A
  dme2:
    timeout: '30000'
  endpoint: https://aai.{{ include "common.namespace" . }}:8443
  workflowAaiDistributionDelay: PT30S
  pnfEntryNotificationTimeout: P14D
camunda:
  bpm:
    admin-user:
      id: admin
      password: admin
    history-level: full
    job-execution:
      max-pool-size: 30
      core-pool-size: 3
entitymanager:
  packagesToScan: com
pnf:
  dmaap:
    host: message-router
    port: 3904
    protocol: http
    uriPathPrefix: events
    topicName: pnfReady
    consumerGroup: consumerGroup
    consumerId: consumerId
    topicListenerDelayInSeconds: 5
mso:
  msoKey: 07a7159d3bf51a0e53be7a8f89699be7
  correlation:
    timeout: 60
  logPath: logs
  async:
    core-pool-size: 50
    max-pool-size: 50
    queue-capacity: 500
  adapters:
    completemsoprocess:
      endpoint: http://so-openstack-adapter.{{ include "common.namespace" . }}:8087/CompleteMsoProcess
    requestDb:
      endpoint: http://so-request-db-adapter.{{ include "common.namespace" . }}:8083
      auth: Basic YnBlbDpwYXNzd29yZDEk
    db:
      auth: 33293332AEC4930F655D8E2E8BB08937
      password: wLg4sjrAFUS8rfVfdvTXeQ==
      endpoint: http://so-request-db-adapter.{{ include "common.namespace" . }}:8083/services/RequestsDbAdapter
      spring:
        endpoint: http://so-request-db-adapter.{{ include "common.namespace" . }}:8083
    network:
      endpoint: http://so-openstack-adapter.{{ include "common.namespace" . }}:8087/services/NetworkAdapter
      rest:
        endpoint: http://so-openstack-adapter.{{ include "common.namespace" . }}:8087/services/rest/v1/networks
    openecomp:
      db:
        endpoint: http://so-request-db-adapter.{{ include "common.namespace" . }}:8083/services/RequestsDbAdapter
    po:
      auth: 33293332AEC4930F655D8E2E8BB08937
      password: B8EBDE0311F0AF355CF3F2FD505A8CAD
    sdnc:
      endpoint: http://so-sdnc-adapter.{{ include "common.namespace" . }}:8086/adapters/SDNCAdapter
      rest:
        endpoint: http://so-sdnc-adapter.{{ include "common.namespace" . }}:8086/adapters/rest/v1/sdnc
      timeout: PT60M
    tenant:
      endpoint: http://so-openstack-adapter.{{ include "common.namespace" . }}:8087/services/TenantAdapter
    vnf:
      endpoint: http://so-openstack-adapter.{{ include "common.namespace" . }}:8087/services/VnfAdapter
      rest:
        endpoint: http://so-openstack-adapter.{{ include "common.namespace" . }}:8087/services/rest/v1/vnfs
    volume-groups:
      rest:
        endpoint: http://so-openstack-adapter.{{ include "common.namespace" . }}g:8087/services/rest/v1/volume-groups
    vnf-async:
      endpoint: http://so-openstack-adapter.{{ include "common.namespace" . }}:8087/services/VnfAsync
    workflow:
      message:
        endpoint: http://so-bpmn-infra.{{ include "common.namespace" . }}:8081/mso/WorkflowMessage
  bpmn:
    process:
      historyTimeToLive: '30'
  callbackRetryAttempts: '5'
  catalog:
    db:
      endpoint: http://so-catalog-db-adapter.{{ include "common.namespace" . }}:8082/ecomp/mso/catalog
      spring:
        endpoint: http://so-catalog-db-adapter.{{ include "common.namespace" . }}:8082
  db:
    auth: Basic YnBlbDpwYXNzd29yZDEk
  default:
    adapter:
      namespace: http://org.onap.mso
  healthcheck:
    log:
      debug: 'false'
  infra:
    customer:
      id: testCustIdInfra
  po:
    timeout: PT60M
  request:
    db:
      endpoint: http://so-request-db-adapter.{{ include "common.namespace" . }}:8083/
  rollback: 'true'
  sdnc:
    password: 3141634BF7E070AA289CF2892C986C0B
  service:
    agnostic:
      sniro:
        endpoint: /sniro/api/v2/placement
        host: http://sniro-emulator:80
  site-name: CamundaEngine
  sniro:
    auth: test:testpwd
    callback: http://so-openstack-adapter.{{ include "common.namespace" . }}:8087/adapters/rest/SDNCNotify
    endpoint: http://replaceme:28090/optimizationInstance/V1/create
    timeout: PT30M
  oof:
    auth: test:testpwd
    callbackEndpoint: http://so-bpmn-infra.{{ include "common.namespace" . }}:8081/mso/WorkflowMessage
    endpoint: http://oof-osdf.{{ include "common.namespace" . }}:8698/api/oof/v1/placement
    timeout: PT30M
  workflow:
    CreateGenericVNFV1:
      aai:
        volume-group:
          uri: /aai/v6/cloud-infrastructure/volume-groups/volume-group
    default:
      aai:
        version: '14'
        cloud-region:
          version: '14'
        generic-vnf:
          version: '14'
        v14:
          customer:
            uri: /aai/v14/business/customers/customer
          generic-query:
            uri: /aai/v14/search/generic-query
          generic-vnf:
            uri: /aai/v14/network/generic-vnfs/generic-vnf
          l3-network:
            uri: /aai/v14/network/l3-networks/l3-network
          network-policy:
            uri: /aai/v14/network/network-policies/network-policy
          nodes-query:
            uri: /aai/v14/search/nodes-query
          route-table-reference:
            uri: /aai/v14/network/route-table-references/route-table-reference
          tenant:
            uri: /aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant
          vce:
            uri: /aai/v14/network/vces/vce
          vpn-binding:
            uri: /aai/v14/network/vpn-bindings/vpn-binding
        v11:
          customer:
            uri: /aai/v11/business/customers/customer
          generic-query:
            uri: /aai/v11/search/generic-query
          generic-vnf:
            uri: /aai/v11/network/generic-vnfs/generic-vnf
          l3-network:
            uri: /aai/v11/network/l3-networks/l3-network
          network-policy:
            uri: /aai/v11/network/network-policies/network-policy
          nodes-query:
            uri: /aai/v11/search/nodes-query
          route-table-reference:
            uri: /aai/v11/network/route-table-references/route-table-reference
          tenant:
            uri: /aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant
          vce:
            uri: /aai/v11/network/vces/vce
          vpn-binding:
            uri: /aai/v11/network/vpn-bindings/vpn-binding
        v8:
          configuration:
            uri: /aai/v11/network/configurations/configuration
          customer:
            uri: /aai/v8/business/customers/customer
          generic-query:
            uri: /aai/v8/search/generic-query
          l3-network:
            uri: /aai/v8/network/l3-networks/l3-network
          network-policy:
            uri: /aai/v8/network/network-policies/network-policy
          nodes-query:
            uri: /aai/v8/search/nodes-query
          route-table-reference:
            uri: /aai/v8/network/route-table-references/route-table-reference
          tenant:
            uri: /aai/v8/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant
          vce:
            uri: /aai/v8/network/vces/vce
          vpn-binding:
            uri: /aai/v8/network/vpn-bindings/vpn-binding
        v9:
          cloud-region:
            uri: /aai/v9/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner
          generic-vnf:
            uri: /aai/v9/network/generic-vnfs/generic-vnf
      retry:
        attempts: '1'
    deleteCinderVolumeV1:
      aai:
        volume-group:
          uri: /aai/v6/cloud-infrastructure/volume-groups/volume-group
    global:
      default:
        aai:
          namespace: http://org.onap.aai.inventory/
          version: 14
    message:
      endpoint: http://so-bpmn-infra.{{ include "common.namespace" . }}:8081/mso/WorkflowMessage
    notification:
      name: GenericNotificationServiceATT
    sdncadapter:
      callback: http://so-bpmn-infra.{{ include "common.namespace" . }}:8081/mso/SDNCAdapterCallbackService
    vnfadapter:
      create:
        callback: http://so-bpmn-infra.{{ include "common.namespace" . }}:8081/mso/vnfAdapterNotify
      delete:
        callback: http://so-bpmn-infra.{{ include "common.namespace" . }}:8081/mso/vnfAdapterNotify
      query:
        callback: http://so-bpmn-infra.{{ include "common.namespace" . }}:8081/mso/vnfAdapterNotify
      rollback:
        callback: http://so-bpmn-infra.{{ include "common.namespace" . }}:8081/mso/vnfAdapterNotify
  global:
    dmaap:
      username: testuser
      password: alRyMzJ3NUNeakxl
      host: http://10.42.111.36:904
      publisher:
        topic: replaceme
policy:
  auth: Basic dGVzdHBkcDphbHBoYTEyMw==
  client:
    auth: Basic bTAzNzQzOnBvbGljeVIwY2sk
  endpoint: http://pdp.{{ include "common.namespace" . }}:8081/pdp/api/
  environment: TEST
sdnc:
  auth: Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ==
  host: http://sdnc.{{ include "common.namespace" . }}:8282
  path: /restconf/operations/GENERIC-RESOURCE-API
  si:
    svc:
      types: PORT-MIRROR,PPROBE
appc:
  client:
    topic:
      read:
        name: APPC-LCM-WRITE
        timeout: 360000
      write: APPC-LCM-READ
      sdnc:
        read: SDNC-LCM-WRITE
        write: SDNC-LCM-READ
    response:
      timeout: 360000
    key: VIlbtVl6YLhNUrtU
    secret: 64AG2hF4pYeG2pq7CT6XwUOT
    service: ueb
    poolMembers: message-router.{{ include "common.namespace" . }}:3904,message-router.{{ include "common.namespace" . }}:3904
sniro:
  conductor:
    enabled: true
    host: http://sniro-emulator:80
    uri: /v1/release-orders
    headers.auth: Basic dGVzdDp0ZXN0cHdk
  manager:
    timeout: PT30M
    host: http://sniro-emulator:80
    uri.v1: /sniro/api/v2/placement
    uri.v2: /sniro/api/placement/v2
    headers.auth: Basic dGVzdDp0ZXN0cHdk
    headers.patchVersion: 1
    headers.minorVersion: 1
    headers.latestVersion: 2
server:
  port: {{ index .Values.containerPort }}
  tomcat:
    max-threads: 50
spring:
  datasource:
     driver-class-name: org.mariadb.jdbc.Driver
     url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/camundabpmn
     username: ${DB_USERNAME}
     password: ${DB_PASSWORD}
     dbcp2:
      initial-size: 5
      max-total: 20
      validation-query: select 1
      test-on-borrow: true
  security:
    usercredentials:
    -
      username: apihBpmn
      password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
      role: BPMN-Client
    -
      username: sdncaBpmn
      password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
      role: BPMN-Client
    -
      username: poBpmn
      password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
      role: BPMN-Client
    -
      username: wmaBpmn
      password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
      role: BPMN-Client
    -
      username: sniro
      password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
      role: SNIRO-Client
    -
      username: mso_admin
      password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
      role: ACTUATOR