summaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/pom.xml
blob: 28d30049a4acfb5ca10ae76b4396634ad7f243b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.onap.so</groupId>
    <artifactId>so</artifactId>
    <version>1.8.0-SNAPSHOT</version>
  </parent>

  <artifactId>mso-api-handlers</artifactId>
  <name>API Handler</name>
  <description>API Handler for MSO</description>
  <packaging>pom</packaging>

  <modules>
    <module>mso-requests-db</module>
    <module>mso-requests-db-repositories</module>
    <module>mso-api-handler-common</module>
    <module>mso-api-handler-infra</module>
  </modules>
  <dependencies>
    <dependency>
      <groupId>org.apache.httpcomponents</groupId>
      <artifactId>httpcore</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.httpcomponents</groupId>
      <artifactId>httpclient</artifactId>
    </dependency>
    <dependency>
      <groupId>org.onap.so</groupId>
      <artifactId>aai-client</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>
color: #f92672 } /* Name.Tag */ .highlight .nv { color: #f8f8f2 } /* Name.Variable */ .highlight .ow { color: #f92672 } /* Operator.Word */ .highlight .w { color: #f8f8f2 } /* Text.Whitespace */ .highlight .mb { color: #ae81ff } /* Literal.Number.Bin */ .highlight .mf { color: #ae81ff } /* Literal.Number.Float */ .highlight .mh { color: #ae81ff } /* Literal.Number.Hex */ .highlight .mi { color: #ae81ff } /* Literal.Number.Integer */ .highlight .mo { color: #ae81ff } /* Literal.Number.Oct */ .highlight .sa { color: #e6db74 } /* Literal.String.Affix */ .highlight .sb { color: #e6db74 } /* Literal.String.Backtick */ .highlight .sc { color: #e6db74 } /* Literal.String.Char */ .highlight .dl { color: #e6db74 } /* Literal.String.Delimiter */ .highlight .sd { color: #e6db74 } /* Literal.String.Doc */ .highlight .s2 { color: #e6db74 } /* Literal.String.Double */ .highlight .se { color: #ae81ff } /* Literal.String.Escape */ .highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */ .highlight .si { color: #e6db74 } /* Literal.String.Interpol */ .highlight .sx { color: #e6db74 } /* Literal.String.Other */ .highlight .sr { color: #e6db74 } /* Literal.String.Regex */ .highlight .s1 { color: #e6db74 } /* Literal.String.Single */ .highlight .ss { color: #e6db74 } /* Literal.String.Symbol */ .highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #a6e22e } /* Name.Function.Magic */ .highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */ .highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */ .highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */ .highlight .vm { color: #f8f8f2 } /* Name.Variable.Magic */ .highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */ } @media (prefers-color-scheme: light) { .highlight .hll { background-color: #ffffcc } .highlight .c { color: #888888 } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .k { color: #008800; font-weight: bold } /* Keyword */ .highlight .ch { color: #888888 } /* Comment.Hashbang */ .highlight .cm { color: #888888 } /* Comment.Multiline */ .highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .highlight .cpf { color: #888888 } /* Comment.PreprocFile */ .highlight .c1 { color: #888888 } /* Comment.Single */ .highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .gr { color: #aa0000 } /* Generic.Error */ .highlight .gh { color: #333333 } /* Generic.Heading */ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .highlight .go { color: #888888 } /* Generic.Output */ .highlight .gp { color: #555555 } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
# 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: 2630606608347B7124C244AB0FE34F6F
  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