Remove Helm Manager and SDNC A1 Controller 47/8047/1
authorelinuxhenrik <henrik.b.andersson@est.tech>
Wed, 6 Apr 2022 07:54:57 +0000 (09:54 +0200)
committerelinuxhenrik <henrik.b.andersson@est.tech>
Wed, 6 Apr 2022 07:55:01 +0000 (09:55 +0200)
Issue-ID: NONRTRIC-718
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I978a9e2b78b6c0c69931064e44bb145a9cc25f0f

128 files changed:
docs/api-docs.rst
docs/developer-guide.rst
docs/overview.rst
docs/release-notes.rst
helm-manager/.gitignore [deleted file]
helm-manager/Dockerfile [deleted file]
helm-manager/LICENSE.txt [deleted file]
helm-manager/README.md [deleted file]
helm-manager/charts/Chart.yaml [deleted file]
helm-manager/charts/templates/_helpers.tpl [deleted file]
helm-manager/charts/templates/_service.tpl [deleted file]
helm-manager/charts/templates/deployment.yaml [deleted file]
helm-manager/charts/templates/pv.yaml [deleted file]
helm-manager/charts/templates/pvc.yaml [deleted file]
helm-manager/charts/templates/service.yaml [deleted file]
helm-manager/charts/templates/serviceaccount.yaml [deleted file]
helm-manager/charts/values.yaml [deleted file]
helm-manager/cm-repo.json [deleted file]
helm-manager/config/application.yaml [deleted file]
helm-manager/docker-cm.sh [deleted file]
helm-manager/docker-hm.sh [deleted file]
helm-manager/helm-manager-sa.yaml [deleted file]
helm-manager/helm-manager.yaml [deleted file]
helm-manager/kube-cm.yaml [deleted file]
helm-manager/mnt/database/.gitignore [deleted file]
helm-manager/pom.xml [deleted file]
helm-manager/simple-app-installation.json [deleted file]
helm-manager/simple-app-values.yaml [deleted file]
helm-manager/simple-app.json [deleted file]
helm-manager/test.sh [deleted file]
pom.xml [deleted file]
sdnc-a1-controller/.gitignore [deleted file]
sdnc-a1-controller/LICENSE.txt [deleted file]
sdnc-a1-controller/README.md [deleted file]
sdnc-a1-controller/northbound/.gitignore [deleted file]
sdnc-a1-controller/northbound/.gitreview [deleted file]
sdnc-a1-controller/northbound/LICENSE.txt [deleted file]
sdnc-a1-controller/northbound/README.md [deleted file]
sdnc-a1-controller/northbound/features/LICENSE.txt [deleted file]
sdnc-a1-controller/northbound/features/README.md [deleted file]
sdnc-a1-controller/northbound/features/features-sdnc-a1-northbound/LICENSE.txt [deleted file]
sdnc-a1-controller/northbound/features/features-sdnc-a1-northbound/README.md [deleted file]
sdnc-a1-controller/northbound/features/features-sdnc-a1-northbound/pom.xml [deleted file]
sdnc-a1-controller/northbound/features/installer/LICENSE.txt [deleted file]
sdnc-a1-controller/northbound/features/installer/README.md [deleted file]
sdnc-a1-controller/northbound/features/installer/pom.xml [deleted file]
sdnc-a1-controller/northbound/features/installer/src/assembly/assemble_installer_zip.xml [deleted file]
sdnc-a1-controller/northbound/features/installer/src/assembly/assemble_mvnrepo_zip.xml [deleted file]
sdnc-a1-controller/northbound/features/installer/src/main/resources/scripts/install-feature.sh [deleted file]
sdnc-a1-controller/northbound/features/pom.xml [deleted file]
sdnc-a1-controller/northbound/features/sdnc-a1-northbound-all/LICENSE.txt [deleted file]
sdnc-a1-controller/northbound/features/sdnc-a1-northbound-all/README.md [deleted file]
sdnc-a1-controller/northbound/features/sdnc-a1-northbound-all/pom.xml [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/.gitignore [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/LICENSE.txt [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/README.md [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/features/LICENSE.txt [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/features/README.md [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/features/features-nonrt-ric-api/LICENSE.txt [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/features/features-nonrt-ric-api/README.md [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/features/features-nonrt-ric-api/pom.xml [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/features/pom.xml [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/features/sdnc-nonrt-ric-api/LICENSE.txt [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/features/sdnc-nonrt-ric-api/README.md [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/features/sdnc-nonrt-ric-api/pom.xml [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/installer/LICENSE.txt [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/installer/README.md [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/installer/pom.xml [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/installer/src/assembly/assemble_installer_zip.xml [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/installer/src/assembly/assemble_mvnrepo_zip.xml [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/installer/src/main/resources/scripts/install-feature.sh [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/model/LICENSE.txt [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/model/README.md [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/model/pom.xml [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/model/scripts/python/yang2props.py [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/model/src/main/yang/NONRT-RIC-API.yang [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/pom.xml [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/provider/LICENSE.txt [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/provider/README.md [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/provider/pom.xml [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/java/org/o_ran_sc/nonrtric/sdnc_a1/northbound/provider/NonrtRicApiProvider.java [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/java/org/o_ran_sc/nonrtric/sdnc_a1/northbound/restadapter/RestAdapter.java [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/java/org/o_ran_sc/nonrtric/sdnc_a1/northbound/restadapter/RestAdapterImpl.java [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/resources/OSGI-INF/blueprint/nonrt-ric-api-blueprint.xml [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/resources/org/opendaylight/blueprint/nonrt-ric-api-blueprint.xml [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/test/java/org/o_ran_sc/nonrtric/sdnc_a1/northbound/provider/NonrtRicApiProviderTest.java [deleted file]
sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/test/java/org/o_ran_sc/nonrtric/sdnc_a1/northbound/restadapter/RestAdapterImplTest.java [deleted file]
sdnc-a1-controller/northbound/pom.xml [deleted file]
sdnc-a1-controller/oam/.gitignore [deleted file]
sdnc-a1-controller/oam/.gitreview [deleted file]
sdnc-a1-controller/oam/LICENSE.txt [deleted file]
sdnc-a1-controller/oam/README.md [deleted file]
sdnc-a1-controller/oam/installation/LICENSE.txt [deleted file]
sdnc-a1-controller/oam/installation/README.md [deleted file]
sdnc-a1-controller/oam/installation/TagVersion.groovy [deleted file]
sdnc-a1-controller/oam/installation/pom.xml [deleted file]
sdnc-a1-controller/oam/installation/sdnc-a1/LICENSE.txt [deleted file]
sdnc-a1-controller/oam/installation/sdnc-a1/README.md [deleted file]
sdnc-a1-controller/oam/installation/sdnc-a1/pom.xml [deleted file]
sdnc-a1-controller/oam/installation/sdnc-a1/src/main/docker/standalone.Dockerfile [deleted file]
sdnc-a1-controller/oam/installation/sdnc-a1/src/main/resources/keystore.jks [deleted file]
sdnc-a1-controller/oam/installation/sdnc-a1/src/main/resources/sdnctl.dump [deleted file]
sdnc-a1-controller/oam/installation/sdnc-a1/src/main/resources/truststore.jks [deleted file]
sdnc-a1-controller/oam/installation/sdnc-a1/src/main/scripts/healthcheck.py [deleted file]
sdnc-a1-controller/oam/installation/sdnc-a1/src/main/scripts/installSdncDb.sh [deleted file]
sdnc-a1-controller/oam/installation/sdnc-a1/src/main/scripts/startODL.sh [deleted file]
sdnc-a1-controller/oam/installation/src/main/properties/dblib.properties [deleted file]
sdnc-a1-controller/oam/installation/src/main/properties/https-props.properties [deleted file]
sdnc-a1-controller/oam/installation/src/main/properties/sql-resource.properties [deleted file]
sdnc-a1-controller/oam/installation/src/main/properties/svclogic.properties [deleted file]
sdnc-a1-controller/oam/installation/src/main/yaml/LICENSE.txt [deleted file]
sdnc-a1-controller/oam/installation/src/main/yaml/README.md [deleted file]
sdnc-a1-controller/oam/installation/src/main/yaml/docker-compose.yml [deleted file]
sdnc-a1-controller/oam/platform-logic/.gitignore [deleted file]
sdnc-a1-controller/oam/platform-logic/LICENSE.txt [deleted file]
sdnc-a1-controller/oam/platform-logic/README.md [deleted file]
sdnc-a1-controller/oam/platform-logic/installer/LICENSE.txt [deleted file]
sdnc-a1-controller/oam/platform-logic/installer/README.md [deleted file]
sdnc-a1-controller/oam/platform-logic/installer/pom.xml [deleted file]
sdnc-a1-controller/oam/platform-logic/installer/src/assembly/assemble_zip.xml [deleted file]
sdnc-a1-controller/oam/platform-logic/pom.xml [deleted file]
sdnc-a1-controller/oam/platform-logic/setup/LICENSE.txt [deleted file]
sdnc-a1-controller/oam/platform-logic/setup/README.md [deleted file]
sdnc-a1-controller/oam/platform-logic/setup/pom.xml [deleted file]
sdnc-a1-controller/oam/platform-logic/src/main/scripts/updateDgNamespace.sh [deleted file]
sdnc-a1-controller/oam/platform-logic/src/main/scripts/updatePackages.sh [deleted file]
sdnc-a1-controller/oam/pom.xml [deleted file]
sdnc-a1-controller/pom.xml [deleted file]

index c300738..db23bca 100644 (file)
@@ -9,16 +9,7 @@
 API-Docs
 ========
 
-Here we describe the APIs to access the Non-RT RIC functions.
-
-The core Non-RT RIC consists of several parts, with available APIs described in the sections below:
-
-* K8S Helm Chart LCM Manager (Initial) **<ToDo>**
-
-K8S Helm Chart LCM Manager (Initial)
-====================================
-
-**<ToDo>**
+Descriptions of the APIs to the Non-RT RIC functions can be found in the repos for the functions.
 
 See Also: Non-RT RIC Control Panel
 ==================================
index 90f3fa4..61c6319 100644 (file)
@@ -14,11 +14,6 @@ O-DU & O-RU fronthaul recovery
 
 See the page in Wiki: `O-RU Fronthaul Recovery usecase <https://wiki.o-ran-sc.org/display/RICNR/O-RU+Fronthaul+Recovery+usecase>`_.
 
-Helm Manager
-------------
-
-See the page in Wiki: `Release E <https://wiki.o-ran-sc.org/display/RICNR/Release+E>`_.
-
 Kubernetes deployment
 ---------------------
 
index 0a8c6d3..d130778 100644 (file)
@@ -127,6 +127,10 @@ Mediation point for A1 interface termination in SMO/NONRTRIC.
 * SLI Mapping logic supported.
 * Can be included in an any controller based on ONAP CCSDK.
 
+Implementation:
+
+* Repo: *nonrtric/plt/sdnca1controller*
+
 See also: `A1 Adapter/Controller Functions in ONAP <https://wiki.onap.org/pages/viewpage.action?pageId=84672221>`_ .
 
 A1 Interface / Near-RT-RIC Simulator
@@ -184,8 +188,8 @@ Information jobs defined using ICS then allow information consumers to retrieve
 
 There are two alternative implementations to allow Information Consumers to consume DMaaP or Kafka events as coordinated Information Jobs.
 
-1. A version implemented in Java Spring (DMaaP Adaptor Service), see `DMaaP Adapter documentation site <https://docs.o-ran-sc.org/projects/o-ran-sc-nonrtric-plt-dmaapadapter/en/latest/>`_.
-2. A version implemented in Go (DMaaP Mediator Producer), see `DMaaP Mediator Producer documentation site <https://docs.o-ran-sc.org/projects/o-ran-sc-nonrtric-plt-dmaapmediatorproducer>`_.
+1. A version implemented in Java Spring (DMaaP Adaptor Service), repo: *nonrtric/plt/dmaapadapter*, see `DMaaP Adapter documentation site <https://docs.o-ran-sc.org/projects/o-ran-sc-nonrtric-plt-dmaapadapter/en/latest/>`_.
+2. A version implemented in Go (DMaaP Mediator Producer), repo: *nonrtric/plt/dmaapmediatorproducer*, see `DMaaP Mediator Producer documentation site <https://docs.o-ran-sc.org/projects/o-ran-sc-nonrtric-plt-dmaapmediatorproducer>`_.
 
 Initial Non-RT-RIC App Catalogue
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -195,9 +199,12 @@ Register for Non-RT-RIC Apps.
 * Non-RT-RIC Apps can be registered / queried.
 * Limited functionality/integration for now.
 * *More work required in coming releases as the rApp concept matures*.
-* Repo: *portal/nonrtric-plt-rappcatalogue*
 
-More details available at the `documentation site <https://docs.o-ran-sc.org/projects/o-ran-sc-nonrtric-plt-rappcatalogue>`_.
+Implementation:
+
+* Repo: *nonrtric/plt/rappcatalogue*
+
+More details available at the `rApp Catalogue documentation site <https://docs.o-ran-sc.org/projects/o-ran-sc-nonrtric-plt-rappcatalogue>`_.
 
 Initial K8S Helm Chart LCM Manager
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -211,6 +218,13 @@ Onboard, start, stop, and modify Non-RT-RIC App ÂµServices as Helm Charts.
 * Initial version co-developed with v. similar functions in ONAP.
 * *Limited functionality/integration for now*.
 
+Implementation:
+
+* Implemented as a Java Spring Boot application.
+* Repo: *nonrtric/plt/helmmanager*
+
+More details available at the `Helm Manager documentation site <https://docs.o-ran-sc.org/projects/o-ran-sc-nonrtric-plt-helmmanager>`_.
+
 Test Framework
 ~~~~~~~~~~~~~~
 
index db3dd6d..9c741eb 100644 (file)
@@ -14,26 +14,6 @@ This document provides the release notes for the release of the different parts
    :local:
 
 
-Version history Helm Manager
-============================
-
-+------------+----------+------------------+-----------------------------+
-| **Date**   | **Ver.** | **Author**       | **Comment**                 |
-|            |          |                  |                             |
-+------------+----------+------------------+-----------------------------+
-| 2021-06-23 | 1.0.0    | Henrik Andersson | Initial version             |
-|            |          |                  | D Release                   |
-+------------+----------+------------------+-----------------------------+
-| 2021-12-14 | 1.1.0    | Henrik Andersson | E Release                   |
-|            |          |                  | Update to match ONAP Policy |
-|            |          |                  | helm participant            |
-+------------+----------+------------------+-----------------------------+
-| 2022-02-07 | 1.1.1    | Henrik Andersson | E Maintenance Release       |
-|            |          |                  | Non root user in Docker     |
-|            |          |                  |                             |
-+------------+----------+------------------+-----------------------------+
-
-
 Version history SDNC A1 Controller
 ==================================
 
diff --git a/helm-manager/.gitignore b/helm-manager/.gitignore
deleted file mode 100644 (file)
index 577b116..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-simple-app
-target
-*.tgz
diff --git a/helm-manager/Dockerfile b/helm-manager/Dockerfile
deleted file mode 100644 (file)
index b50767c..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-#  ============LICENSE_START===============================================
-#  Copyright (C) 2020 Nordix Foundation. 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.
-#  ============LICENSE_END=================================================
-#
-
-FROM curlimages/curl:7.78.0 AS build
-
-#Get helm
-RUN curl -Lo /tmp/helm.tar.gz  https://get.helm.sh/helm-v3.6.1-linux-amd64.tar.gz
-
-#Get kubectl
-RUN curl -Lo /tmp/kubectl  https://dl.k8s.io/release/v1.20.2/bin/linux/amd64/kubectl
-
-
-FROM openjdk:11-jre-slim
-
-#Install helm
-COPY --from=build /tmp/helm.tar.gz .
-
-RUN tar -zxvf helm.tar.gz
-
-RUN mv linux-amd64/helm /usr/local/bin/helm
-
-#Install kubectl
-COPY --from=build /tmp/kubectl .
-
-RUN chmod +x ./kubectl
-
-RUN mv ./kubectl /usr/local/bin/kubectl
-
-WORKDIR /etc/app/helm-manager
-COPY config/application.yaml .
-
-WORKDIR /opt/app/helm-manager
-COPY target/app.jar app.jar
-
-ARG user=nonrtric
-ARG group=nonrtric
-
-RUN groupadd $group && \
-    useradd -r -g $group $user
-RUN chown -R $user:$group /opt/app/helm-manager
-RUN chown -R $user:$group /etc/app/helm-manager
-
-RUN mkdir /var/helm-manager-service
-RUN chown -R $user:$group /var/helm-manager-service
-
-RUN mkdir /home/$user
-RUN chown -R $user:$group /home/$user
-
-USER $user
-
-CMD [ "java", "-jar", "app.jar", "--spring.config.location=optional:file:/etc/app/helm-manager/"]
diff --git a/helm-manager/LICENSE.txt b/helm-manager/LICENSE.txt
deleted file mode 100644 (file)
index 96589bf..0000000
+++ /dev/null
@@ -1,201 +0,0 @@
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   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. 
diff --git a/helm-manager/README.md b/helm-manager/README.md
deleted file mode 100644 (file)
index 0e49e92..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-# O-RAN-SC Non-RT RIC Helm Manager
-
-The O-RAN Non-RT RIC Helm Manager provides a service to manages application helm charts.
-
-For further details and build and run, see this page [NONRTRIC Development Guide](https://wiki.o-ran-sc.org/display/RICNR/NONRTRIC+Development+Guide) for instructions of the applicable release.
-
-
-## License
-Copyright (C) 2021 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
\ No newline at end of file
diff --git a/helm-manager/charts/Chart.yaml b/helm-manager/charts/Chart.yaml
deleted file mode 100644 (file)
index db17c29..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-################################################################################
-#   Copyright (c) 2021 Nordix Foundation.                                      #
-#                                                                              #
-#   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.                                             #
-################################################################################
-
-apiVersion: v1
-description: The Helm Chart Manager
-name: helmmanager
-version: 2.0.0
-appVersion: "1.1.0"
diff --git a/helm-manager/charts/templates/_helpers.tpl b/helm-manager/charts/templates/_helpers.tpl
deleted file mode 100644 (file)
index 59a4ef2..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-################################################################################
-#   Copyright (c) 2021 Nordix Foundation.                                      #
-#                                                                              #
-#   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.                                             #
-################################################################################
-
-{{/*
-Create a default fully qualified app name.
-Truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
-*/}}
-
-{{- define "helmmanager.fullname" -}}
-{{- $name := default .Chart.Name .Values.nameOverride -}}
-{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
-{{- end -}}
-
-{{- define "helmmanager.name" -}}
-{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
-{{- end -}}
-
-{{- define "helmmanager.namespace" -}}
-{{- default .Release.Namespace .Values.namespace -}}
-{{- end -}}
-
-{{- define "helmmanager.chart" -}}
-{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
-{{- end -}}
-
-{{- define "helmmanager.labels" -}}
-app.kubernetes.io/name: {{ template "helmmanager.name" . }}
-helm.sh/chart: {{ template "helmmanager.chart" . }}
-app.kubernetes.io/instance: "{{ .Release.Name }}"
-app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
-{{- end -}}
-
-{{- define "helmmanager.selectorLabels" -}}
-app.kubernetes.io/name: {{ template "helmmanager.name" . }}
-app.kubernetes.io/component: app
-app.kubernetes.io/instance: "{{ .Release.Name }}"
-{{- end -}}
\ No newline at end of file
diff --git a/helm-manager/charts/templates/_service.tpl b/helm-manager/charts/templates/_service.tpl
deleted file mode 100644 (file)
index 0424994..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-################################################################################
-#   Copyright (c) 2021 Nordix Foundation.                                      #
-#                                                                              #
-#   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.                                             #
-################################################################################
-
-{{- define "service.ports" -}}
-{{- if .http }}
-{{if eq .http.enabled true -}}
-- name: {{ .name }}-http
-  port: {{ .http.servicePort }}
-  targetPort: {{ .http.containerPort }}
-  protocol: TCP
-{{- end }}
-{{- end }}
-{{- end -}}
\ No newline at end of file
diff --git a/helm-manager/charts/templates/deployment.yaml b/helm-manager/charts/templates/deployment.yaml
deleted file mode 100644 (file)
index d863bf6..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-################################################################################
-#   Copyright (c) 2021 Nordix Foundation.                                      #
-#                                                                              #
-#   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.                                             #
-################################################################################
-
-kind: Deployment
-apiVersion: apps/v1
-metadata:
-  name: {{ template "helmmanager.name" . }}
-  namespace: {{ template "helmmanager.namespace" . }}
-  labels:
-    {{- include "helmmanager.labels" . | nindent 4 }}
-spec:
-  replicas: {{ .Values.replicaCount }}
-  selector:
-    matchLabels:
-      {{- include "helmmanager.selectorLabels" . | nindent 6 }}
-  template:
-    metadata:
-      labels:
-        {{- include "helmmanager.selectorLabels" . | nindent 8 }}
-    spec:
-      serviceAccountName: {{ template "helmmanager.name" . }}-sa
-      containers:
-        - name: helmmanager
-          image: {{ .Values.image.registry }}/{{ .Values.image.name }}:{{ .Values.image.tag }}
-          imagePullPolicy: {{ .Values.image.pullPolicy }}
-          ports:
-          - containerPort: {{ .Values.service.http.containerPort }}
-            protocol: TCP
-          volumeMounts:
-            - name: {{ template "helmmanager.name" . }}-pv
-              mountPath: /var/helm-manager-service
-          readinessProbe:
-{{ toYaml .Values.readinessProbe | indent 12 }}
-          livenessProbe:
-{{ toYaml .Values.livenessProbe | indent 12 }}
-          resources:
-{{ toYaml .Values.resources | indent 12 }}
-      volumes:
-      - name: {{ template "helmmanager.name" . }}-pv
-        persistentVolumeClaim:
-          claimName: {{ template "helmmanager.name" . }}-pvc
\ No newline at end of file
diff --git a/helm-manager/charts/templates/pv.yaml b/helm-manager/charts/templates/pv.yaml
deleted file mode 100644 (file)
index eea8aca..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-################################################################################
-#   Copyright (c) 2021 Nordix Foundation.                                      #
-#                                                                              #
-#   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.                                             #
-################################################################################
-
-apiVersion: v1
-kind: PersistentVolume
-metadata:
-  name: {{ template "helmmanager.name" . }}-pv
-  labels:
-    {{- include "helmmanager.labels" . | nindent 4 }}
-spec:
-  storageClassName: {{ .Values.pv.storageClass }}
-  capacity:
-    storage: {{ .Values.pv.capacity }}
-  accessModes:
-    - ReadWriteOnce
-  persistentVolumeReclaimPolicy: Delete
-  hostPath:
-    path: "/tmp/helm-manager-service"
\ No newline at end of file
diff --git a/helm-manager/charts/templates/pvc.yaml b/helm-manager/charts/templates/pvc.yaml
deleted file mode 100644 (file)
index f005fb0..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-################################################################################
-#   Copyright (c) 2021 Nordix Foundation.                                      #
-#                                                                              #
-#   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.                                             #
-################################################################################
-
-apiVersion: v1
-kind: PersistentVolumeClaim
-metadata:
-  name: {{ template "helmmanager.name" . }}-pvc
-  namespace: {{ template "helmmanager.namespace" . }}
-  labels:
-    {{- include "helmmanager.labels" . | nindent 4 }}
-spec:
-  accessModes:
-  - ReadWriteOnce
-  resources:
-    requests:
-      storage: {{ .Values.pv.requestStorage }}
-  storageClassName: {{ .Values.pv.storageClass }}
-  volumeMode: Filesystem
\ No newline at end of file
diff --git a/helm-manager/charts/templates/service.yaml b/helm-manager/charts/templates/service.yaml
deleted file mode 100644 (file)
index 18ca368..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-################################################################################
-#   Copyright (c) 2021 Nordix Foundation.                                      #
-#                                                                              #
-#   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.                                             #
-################################################################################
-
-kind: Service
-apiVersion: v1
-metadata:
-  name: {{ template "helmmanager.name" . }}
-  namespace: {{ template "helmmanager.namespace" . }}
-  labels:
-    {{- include "helmmanager.labels" . | nindent 4 }}
-spec:
-  type: {{ .Values.service.type}}
-  ports:
-{{- $serviceConfig := dict -}}
-{{- $serviceConfig := merge $serviceConfig .Values.service -}}
-{{- $_ := set $serviceConfig "name" (include "helmmanager.name" .) -}}
-    {{- include "service.ports" $serviceConfig | nindent 4 }}
-  selector:
-    {{- include "helmmanager.selectorLabels" . | nindent 4 }}
\ No newline at end of file
diff --git a/helm-manager/charts/templates/serviceaccount.yaml b/helm-manager/charts/templates/serviceaccount.yaml
deleted file mode 100644 (file)
index 345d385..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-################################################################################
-#   Copyright (c) 2021 Nordix Foundation.                                      #
-#                                                                              #
-#   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.                                             #
-################################################################################
-
-apiVersion: v1
-kind: ServiceAccount
-metadata:
-  name: {{ template "helmmanager.name" . }}-sa
-  namespace: {{ template "helmmanager.namespace" . }}
----
-apiVersion: rbac.authorization.k8s.io/v1
-kind: ClusterRoleBinding
-metadata:
- name: {{ template "helmmanager.name" . }}-sa-clusterrolebinding
- namespace: {{ template "helmmanager.namespace" . }}
-subjects:
-- kind: ServiceAccount
-  name: {{ template "helmmanager.name" . }}-sa
-  namespace: {{ template "helmmanager.namespace" . }}
-roleRef:
- kind: ClusterRole
- name: cluster-admin
- apiGroup: rbac.authorization.k8s.io
\ No newline at end of file
diff --git a/helm-manager/charts/values.yaml b/helm-manager/charts/values.yaml
deleted file mode 100644 (file)
index deb37d0..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-################################################################################
-#   Copyright (c) 2021 Nordix Foundation.                                      #
-#                                                                              #
-#   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.                                             #
-################################################################################
-
-# Default values for Helm Chart.
-# Declare variables to be passed into your templates.
-#
-# Sections:
-# - Helm Manager parameters
-# - Ingress Controller parameters
-# - Persistent Volume parameters
-# - Miscellaneous parameters
-
-# -----------------------------------------------------------------------------
-# Helm Manager parameters
-# -----------------------------------------------------------------------------
-# Specify Helm Manager's Docker image and repository details here
-image:
-  registry: nexus3.o-ran-sc.org:10002
-  name: o-ran-sc/nonrtric-helm-manager
-  tag: "1.1.0"
-  pullPolicy: Always
-service:
-  type: NodePort
-  http:
-    enabled: true
-    servicePort: 8112
-    containerPort: 8083
-
-# -----------------------------------------------------------------------------
-# Ingress Controller parameters
-# -----------------------------------------------------------------------------
-ingressController:
-  enabled: true
-  args: []
-  ingressClass: kong
-
-# -----------------------------------------------------------------------------
-# Persistent Volume parameters
-# -----------------------------------------------------------------------------
-pv:
-  enabled: true
-  storageClass: helm-manager-service-standard
-  capacity: 10Mi
-  requestStorage: 10Mi
-
-# -----------------------------------------------------------------------------
-# Miscellaneous parameters
-# -----------------------------------------------------------------------------
-
-replicaCount: 1
-
-# readinessProbe
-readinessProbe:
-  httpGet:
-    path: "/helm/charts"
-    port: 8083
-    scheme: HTTP
-  initialDelaySeconds: 60
-  timeoutSeconds: 5
-  periodSeconds: 10
-  successThreshold: 1
-  failureThreshold: 3
-
-# livenessProbe
-livenessProbe:
-  httpGet:
-    path: "/helm/charts"
-    port: 8083
-    scheme: HTTP
-  initialDelaySeconds: 60
-  timeoutSeconds: 5
-  periodSeconds: 10
-  successThreshold: 1
-  failureThreshold: 3
-
-# If you want to specify resources, uncomment the following
-# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
-resources: {}
-  # limits:
-  #  cpu: 100m
-  #  memory: 256Mi
-  # requests:
-  #  cpu: 100m
-  #  memory: 256Mi
\ No newline at end of file
diff --git a/helm-manager/cm-repo.json b/helm-manager/cm-repo.json
deleted file mode 100644 (file)
index 3335e02..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-{
-  "address" : "chartrepo.nonrtric",
-  "repoName": "cm",
-  "protocol": "http",
-  "port": "8080"
-}
\ No newline at end of file
diff --git a/helm-manager/config/application.yaml b/helm-manager/config/application.yaml
deleted file mode 100644 (file)
index 5da6c53..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-#  ============LICENSE_START===============================================
-#  Copyright (C) 2020 Nordix Foundation. 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.
-#  ============LICENSE_END=================================================
-#
-
-spring:
-  profiles:
-    active: prod
-  security:
-    user:
-      name: helmadmin
-      password: itisasecret
-security:
-  enable-csrf: false
-
-
-participant:
-  localChartDirectory: /var/helm-manager-service
-  # This below is not used but need to be here to make the app work
-  infoFileName: CHART_INFO.json
-  intermediaryParameters:
-    reportingTimeIntervalMs: 120000
-    description: Dummy Description
-    participantId:
-      name: noname
-      version: 0.0.1
-    participantType:
-      name: noname
-      version: 0.0.1
-    clampControlLoopTopics:
-      topicSources:
-      topicSinks:
-        -
-          topic: NOTOPIC
-          servers:
-            - localhost
-          topicCommInfrastructure: dmaap
-
-management:
-  endpoints:
-    web:
-      exposure:
-        include: "loggers,logfile,health,info,metrics,threaddump,heapdump"
-server:
-  # Configuration of the HTTP/REST server. The parameters are defined and handled by the springboot framework.
-  # See springboot documentation.
-  port: 8083
-  servlet:
-    context-path:
-
-logging:
-  # Configuration of logging
-  level:
-    ROOT: INFO
-    org.springframework: ERROR
-    org.springframework.data: ERROR
-    org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
-    com.att.nsa.cambria.client.impl: OFF
-    com.att.nsa.apiClient.http: OFF
-  file:
-    name: /var/log/onap/policy/clamp/application.log
diff --git a/helm-manager/docker-cm.sh b/helm-manager/docker-cm.sh
deleted file mode 100755 (executable)
index bf55bef..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-#! /bin/bash
-
-#  ============LICENSE_START===============================================
-#  Copyright (C) 2021 Nordix Foundation. 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.
-#  ============LICENSE_END=================================================
-
-# Starts a chartmuseum container
-
-
-docker run --rm -it \
-    -p 8222:8080 \
-    --name chartmuseum \
-    --network nonrtric-docker-net \
-    -e DEBUG=1 \
-    -e STORAGE=local \
-    -e STORAGE_LOCAL_ROOTDIR=/charts \
-    -v $(pwd)/charts:/charts \
-    ghcr.io/helm/chartmuseum:v0.13.1
\ No newline at end of file
diff --git a/helm-manager/docker-hm.sh b/helm-manager/docker-hm.sh
deleted file mode 100755 (executable)
index 9844f4d..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-#! /bin/bash
-
-#  ============LICENSE_START===============================================
-#  Copyright (C) 2021 Nordix Foundation. 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.
-#  ============LICENSE_END=================================================
-
-# Starts a helm manager container
-
-docker run \
-    --rm  \
-    -it \
-    -p 8112:8083  \
-    --name helmmanagerservice \
-    --network nonrtric-docker-net \
-    -v $(pwd)/mnt/database:/var/helm-manager/database \
-    -v ~/.kube:/home/nonrtric/.kube \
-    -v ~/.helm:/home/nonrtric/.helm \
-    -v ~/.config/helm:/home/nonrtric/.config/helm \
-    -v ~/.cache/helm:/home/nonrtric/.cache/helm \
-    -v $(pwd)/config/KubernetesParticipantConfig.json:/opt/app/helm-manager/src/main/resources/config/KubernetesParticipantConfig.json \
-    -v $(pwd)/config/application.yaml:/opt/app/helm-manager/src/main/resources/config/application.yaml \
-    nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-helm-manager:1.1.0-SNAPSHOT
diff --git a/helm-manager/helm-manager-sa.yaml b/helm-manager/helm-manager-sa.yaml
deleted file mode 100644 (file)
index 3ac50e5..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-#  ============LICENSE_START===============================================
-#  Copyright (C) 2020 Nordix Foundation. 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.
-#  ============LICENSE_END=================================================
-#
-
-apiVersion: v1
-kind: ServiceAccount
-metadata:
- name: helm-manager-sa
- namespace: nonrtric
----
-apiVersion: rbac.authorization.k8s.io/v1
-kind: ClusterRoleBinding
-metadata:
- name: helm-manager-sa-clusterrolebinding
- namespace: nonrtric
-subjects:
-- kind: ServiceAccount
-  name: helm-manager-sa
-  namespace: nonrtric
-roleRef:
- kind: ClusterRole
- name: cluster-admin
- apiGroup: rbac.authorization.k8s.io
\ No newline at end of file
diff --git a/helm-manager/helm-manager.yaml b/helm-manager/helm-manager.yaml
deleted file mode 100644 (file)
index dcc4bc5..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-#  ============LICENSE_START===============================================
-#  Copyright (C) 2020 Nordix Foundation. 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.
-#  ============LICENSE_END=================================================
-#
-
-apiVersion: v1
-kind: Service
-metadata:
-  name: helmmanagerservice
-  namespace: nonrtric
-  labels:
-    run: helmmanagerservice
-spec:
-  type: NodePort
-  ports:
-  - port: 8080
-    targetPort: 8083
-    protocol: TCP
-    name: http
-  - port: 8443
-    targetPort: 8443
-    protocol: TCP
-    name: https
-  selector:
-    run: helmmanagerservice
-
----
-
-apiVersion: v1
-kind: Pod
-metadata:
-  name: helmmanagerservice
-  namespace: nonrtric
-  labels:
-    run: helmmanagerservice
-spec:
-  serviceAccountName: helm-manager-sa
-  containers:
-  - name: helmmanagerservice
-    image: nexus3.o-ran-sc.org:10002/o-ran-sc/nonrtric-helm-manager:1.1.0
-    imagePullPolicy: Always
-    ports:
-    - name: http
-      containerPort: 8083
-    - name: https
-      containerPort: 8443
-    volumeMounts:
-    - mountPath: /var/helm-manager-service
-      name: helm-manager-service-pv
-  volumes:
-  - name: helm-manager-service-pv
-    persistentVolumeClaim:
-      claimName: helm-manager-service-pvc
-  initContainers:
-  - name: change-ownership-container
-    image: busybox:latest
-    command: ["sh","-c","chown -R 999:1000 /var/helm-manager-service"]
-    resources: {}
-    volumeMounts:
-    - mountPath: /var/helm-manager-service
-      name: helm-manager-service-pv
----
-
-apiVersion: v1
-kind: PersistentVolume
-metadata:
-  name: helm-manager-service-pv
-  labels:
-    run: helm-manager-service
-spec:
-  storageClassName: helm-manager-service-standard
-  capacity:
-    storage: 10Mi
-  accessModes:
-    - ReadWriteOnce
-  persistentVolumeReclaimPolicy: Delete
-  hostPath:
-    path: "/tmp/helm-manager-service"
-
----
-
-apiVersion: v1
-kind: PersistentVolumeClaim
-metadata:
-  name: helm-manager-service-pvc
-  namespace: nonrtric
-  labels:
-    run: helm-manager-service
-spec:
-  accessModes:
-  - ReadWriteOnce
-  resources:
-    requests:
-      storage: 10Mi
-  storageClassName: helm-manager-service-standard
-  volumeMode: Filesystem
diff --git a/helm-manager/kube-cm.yaml b/helm-manager/kube-cm.yaml
deleted file mode 100644 (file)
index c75ebd5..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-#  ============LICENSE_START===============================================
-#  Copyright (C) 2020 Nordix Foundation. 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.
-#  ============LICENSE_END=================================================
-#
-
-apiVersion: v1
-kind: Service
-metadata:
-  name: chartrepo
-  namespace: nonrtric
-  labels:
-    run: chartrepo
-spec:
-  type: NodePort
-  ports:
-  - port: 8080
-    targetPort: 8080
-    protocol: TCP
-    name: http
-  selector:
-    run: chartrepo
-
----
-
-apiVersion: v1
-kind: Pod
-metadata:
-  name: chartrepo
-  namespace: nonrtric
-  labels:
-    run: chartrepo
-spec:
-  securityContext:
-    runAsUser: 0
-  containers:
-  - name: chartrepo
-    image: ghcr.io/helm/chartmuseum:v0.13.1
-    imagePullPolicy: Always
-    ports:
-    - name: http
-      containerPort: 8080
-    env:
-    - name: DEBUG
-      value: "1"
-    - name: STORAGE
-      value: "local"
-    - name: STORAGE_LOCAL_ROOTDIR
-      value: "/var/chartrepo/charts"
-    - name: DISABLE_API
-      value: "false"
-    volumeMounts:
-    - mountPath: /var/chartrepo/charts
-      name: chartrepo-pv
-  volumes:
-  - name: chartrepo-pv
-    persistentVolumeClaim:
-      claimName: chartrepo-pvc
-
-
----
-
-apiVersion: v1
-kind: PersistentVolume
-metadata:
-  name: chartrepo-pv
-  annotations:
-    pv.beta.kubernetes.io/gid: "999"
-  labels:
-    run: chartrepo
-spec:
-  storageClassName: chartrepo-standard
-  capacity:
-    storage: 10Mi
-  accessModes:
-    - ReadWriteOnce
-  persistentVolumeReclaimPolicy: Delete
-  hostPath:
-    path: "/tmp/chartrepo"
-
----
-
-apiVersion: v1
-kind: PersistentVolumeClaim
-metadata:
-  name: chartrepo-pvc
-  namespace: nonrtric
-  labels:
-    run: chartrepo
-spec:
-  accessModes:
-  - ReadWriteOnce
-  resources:
-    requests:
-      storage: 10Mi
-  storageClassName: chartrepo-standard
-  volumeMode: Filesystem
diff --git a/helm-manager/mnt/database/.gitignore b/helm-manager/mnt/database/.gitignore
deleted file mode 100644 (file)
index 72e8ffc..0000000
+++ /dev/null
@@ -1 +0,0 @@
-*
diff --git a/helm-manager/pom.xml b/helm-manager/pom.xml
deleted file mode 100644 (file)
index 7188c01..0000000
+++ /dev/null
@@ -1,151 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-* ========================LICENSE_START=================================
-* O-RAN-SC
-* %%
-* Copyright (C) 2021 Nordix Foundation
-* %%
-* 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.
-* ========================LICENSE_END===================================
--->
-<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <parent>
-        <groupId>org.springframework.boot</groupId>
-        <artifactId>spring-boot-starter-parent</artifactId>
-        <version>2.6.2</version>
-        <relativePath />
-    </parent>
-    <groupId>org.o-ran-sc.nonrtric</groupId>
-    <artifactId>helm-manager</artifactId>
-    <!-- Update this when stepping version of the helm-manager -->
-    <version>1.2.0-SNAPSHOT</version>
-    <licenses>
-        <license>
-            <name>The Apache Software License, Version 2.0</name>
-            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
-        </license>
-    </licenses>
-    <repositories>
-        <repository>
-            <id>onap-releases</id>
-            <name>onap-releases</name>
-            <url>https://nexus.onap.org/content/repositories/releases/</url>
-        </repository>
-    </repositories>
-    <properties>
-        <!-- Update this when a new version of the dependency jar shall be included -->
-        <policy-clamp-participant-impl-kubernetes.version>6.1.2</policy-clamp-participant-impl-kubernetes.version>
-        <docker-maven-plugin.version>0.36.0</docker-maven-plugin.version>
-    </properties>
-    <dependencies>
-        <dependency>
-            <groupId>org.onap.policy.clamp.participant</groupId>
-            <artifactId>policy-clamp-participant-impl-kubernetes</artifactId>
-            <version>${policy-clamp-participant-impl-kubernetes.version}</version>
-        </dependency>
-    </dependencies>
-    <build>
-        <plugins>
-            <plugin>
-                <!-- Make the jar file of the dependency available as a file for inclusion in the docker image-->
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>copy</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>copy</goal>
-                        </goals>
-                        <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>org.onap.policy.clamp.participant</groupId>
-                                    <artifactId>policy-clamp-participant-impl-kubernetes</artifactId>
-                                    <version>${policy-clamp-participant-impl-kubernetes.version}</version>
-                                    <type>jar</type>
-                                    <overWrite>true</overWrite>
-                                    <outputDirectory>${basedir}/target</outputDirectory>
-                                    <destFileName>app.jar</destFileName>
-                                </artifactItem>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>io.fabric8</groupId>
-                <artifactId>docker-maven-plugin</artifactId>
-                <version>${docker-maven-plugin.version}</version>
-                <inherited>false</inherited>
-                <executions>
-                    <execution>
-                        <id>generate-helm-manager-image</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>build</goal>
-                        </goals>
-                        <configuration>
-                            <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
-                            <images>
-                                <image>
-                                    <name>o-ran-sc/nonrtric-helm-manager:${project.version}</name>
-                                    <build>
-                                        <cleanup>try</cleanup>
-                                        <contextDir>${basedir}</contextDir>
-                                        <dockerFile>Dockerfile</dockerFile>
-                                        <tags>
-                                            <tag>${project.version}</tag>
-                                        </tags>
-                                    </build>
-                                </image>
-                            </images>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>push-helm-manager-image</id>
-                        <goals>
-                            <goal>build</goal>
-                            <goal>push</goal>
-                        </goals>
-                        <configuration>
-                            <pullRegistry>${env.CONTAINER_PULL_REGISTRY}</pullRegistry>
-                            <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
-                            <images>
-                                <image>
-                                    <name>o-ran-sc/nonrtric-helm-manager:${project.version}</name>
-                                    <build>
-                                        <contextDir>${basedir}</contextDir>
-                                        <dockerFile>Dockerfile</dockerFile>
-                                        <tags>
-                                            <tag>${project.version}</tag>
-                                            <tag>latest</tag>
-                                        </tags>
-                                    </build>
-                                </image>
-                            </images>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-    <issueManagement>
-        <system>JIRA</system>
-        <url>https://jira.o-ran-sc.org/</url>
-    </issueManagement>
-</project>
\ No newline at end of file
diff --git a/helm-manager/simple-app-installation.json b/helm-manager/simple-app-installation.json
deleted file mode 100644 (file)
index b9760f2..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-{
-    "name": "simple-app",
-    "version": "0.1.0"
-}
\ No newline at end of file
diff --git a/helm-manager/simple-app-values.yaml b/helm-manager/simple-app-values.yaml
deleted file mode 100644 (file)
index 873396d..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#  ============LICENSE_START===============================================
-#  Copyright (C) 2020 Nordix Foundation. 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.
-#  ============LICENSE_END=================================================
-#
-
-# Override values for simple-app.
-# This is a YAML-formatted file.
-# Declare variables to be passed into your templates.
-
-
-## No override values defined ##
\ No newline at end of file
diff --git a/helm-manager/simple-app.json b/helm-manager/simple-app.json
deleted file mode 100644 (file)
index ba9c826..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-{
-    "chartId": {
-      "name": "simple-app",
-      "version": "0.1.0"
-    },
-    "namespace": "ckhm",
-    "repository": {
-      "repoName": "cm"
-    },
-    "releaseName": "simpleapp"
-  }
\ No newline at end of file
diff --git a/helm-manager/test.sh b/helm-manager/test.sh
deleted file mode 100755 (executable)
index 89c79da..0000000
+++ /dev/null
@@ -1,224 +0,0 @@
-#!/bin/bash
-
-#  ============LICENSE_START===============================================
-#  Copyright (C) 2021 Nordix Foundation. 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.
-#  ============LICENSE_END=================================================
-#
-
-
-BOLD="\033[1m"
-EBOLD="\033[0m"
-BOLD="\033[1m"
-EBOLD="\033[0m"
-RED="\033[31m\033[1m"
-ERED="\033[0m"
-GREEN="\033[32m\033[1m"
-EGREEN="\033[0m"
-
-echo ""
-echo "Start test"
-
-APP_TGZ="simple-app-0.1.0.tgz"
-VALUES_YAML="simple-app-values.yaml"
-INFO_JSON="simple-app.json"
-INSTALL_JSON="simple-app-installation.json"
-REPO_JSON="cm-repo.json"
-
-PORT=""
-HOST=""
-URL=""
-HM_PATH=""
-NAMESPACE="ckhm"  #kube namespace for simple-app
-PROXY_TAG=""
-
-OK="All tests ok"
-USER=helmadmin
-#USER=""
-PWD=itisasecret
-#PWD=""
-PREFIX=/onap/k8sparticipant
-PREFIX=""
-print_usage() {
-    echo "usage: ./test.sh docker|(kube <cluster-ip>)"
-}
-if [ $# -eq 1 ]; then
-    if [ $1 == "docker" ]; then
-        PORT=8112
-        HOST="localhost"
-        URL="http://$USER:$PWD@$HOST:$PORT"$PREFIX
-        #URL="http://$HOST:$PORT"$PREFIX
-        HM_PATH=$URL
-    else
-        print_usage
-        exit 1
-    fi
-elif [ $# -eq 2 ]; then
-    if [ $1 == "kube" ]; then
-        PORT=$(kubectl get svc helmmanagerservice -n nonrtric -o jsonpath='{...ports[?(@.name=="'http'")].nodePort}')
-        HOST=$2
-        URL="http://$USER:$PWD@$HOST:$PORT"$PREFIX
-        #URL="http://$HOST:$PORT"$PREFIX
-        HM_PATH=$URL
-    else
-        print_usage
-        exit 1
-    fi
-else
-    print_usage
-    exit 1
-fi
-
-
-
-run-curl() {
-    curl_cmd="curl -sw %{http_code} $PROXY_TAG $HM_PATH$@"
-    echo $curl_cmd
-    res=$($curl_cmd)
-    retcode=$?
-    status=${res:${#res}-3}
-    if [ -z "$res" ]; then
-        body="<no-body-returned>"
-    elif [ ${#res} -gt 2 ]; then
-        body=${res:0:${#res}-3}
-    else
-        body="<no-body-returned>"
-    fi
-    if [ $retcode -ne 0 ]; then
-        echo -e $RED" FAIL -  Curl failed"$ERED
-        echo "  Curl return code: $retcode"
-        OK="One or more tests failed"
-    else
-        if [[ $status -gt 199 ]] && [[ $status -lt 300 ]]; then
-            echo -e $GREEN" Curl OK"$EGREEN
-            echo "  Response: "$status
-            echo "  Body: "$body
-        else
-            echo -e $RED" FAIL, non 2XX response"$ERED
-            echo "  Response: "$status
-            echo "  Body: "$body
-            OK="One or more tests failed"
-        fi
-    fi
-}
-
-echo "================"
-echo "Get apps - empty"
-echo "================"
-cmd="/helm/charts"
-run-curl $cmd
-echo
-
-
-echo "================"
-echo "Add repo"
-echo "================"
-cmd="/helm/repo -X POST -H Content-Type:application/json -d @$REPO_JSON"
-run-curl $cmd
-echo
-
-
-echo "============"
-echo "Onboard app"
-echo "==========="
-cmd="/helm/onboard/chart -X POST -F chart=@$APP_TGZ -F values=@$VALUES_YAML -F info=<$INFO_JSON"
-run-curl $cmd
-echo
-
-
-echo "====================="
-echo "Get apps - simple-app"
-echo "====================="
-cmd="/helm/charts"
-run-curl $cmd
-echo
-
-
-echo "==========="
-echo "Install app"
-echo "==========="
-cmd="/helm/install -X POST -H Content-Type:application/json -d @$INSTALL_JSON"
-run-curl $cmd
-echo
-
-
-
-echo "====================="
-echo "Get apps - simple-app"
-echo "====================="
-cmd="/helm/charts"
-run-curl $cmd
-echo
-
-echo "================================================================="
-echo "helm ls to list installed app - simpleapp chart should be visible"
-echo "================================================================="
-helm ls -A
-echo
-
-echo "=========================================="
-echo "sleep 30 - give the app some time to start"
-echo "=========================================="
-sleep 30
-
-echo "============================"
-echo "List svc and  pod of the app"
-echo "============================"
-kubectl get svc -n $NAMESPACE
-kubectl get po -n $NAMESPACE
-echo
-
-echo "========================"
-echo "Uninstall app simple-app"
-echo "========================"
-cmd="/helm/uninstall/simple-app/0.1.0 -X DELETE"
-run-curl $cmd
-echo
-
-echo "==========================================="
-echo "sleep 30 - give the app some time to remove"
-echo "==========================================="
-sleep 30
-
-echo "============================================================"
-echo "List svc and  pod of the app - should be gone or terminating"
-echo "============================================================"
-kubectl get svc -n $NAMESPACE
-kubectl get po -n $NAMESPACE
-echo
-
-
-echo "====================="
-echo "Get apps - simple-app"
-echo "====================="
-cmd="/helm/charts"
-run-curl $cmd
-echo
-
-echo "============"
-echo "Delete chart"
-echo "==========="
-cmd="/helm/chart/simple-app/0.1.0 -X DELETE"
-run-curl $cmd
-echo
-
-echo "================"
-echo "Get apps - empty"
-echo "================"
-cmd="/helm/charts"
-run-curl $cmd
-echo
-
-echo -e "Test result $BOLD $OK $EBOLD"
-echo "End of test"
diff --git a/pom.xml b/pom.xml
deleted file mode 100644 (file)
index cf42dc5..0000000
--- a/pom.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ============LICENSE_START=======================================================
-   Copyright (C) 2019-2020 Nordix Foundation.
-  ================================================================================
-  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.
-
-  SPDX-License-Identifier: Apache-2.0
-  ============LICENSE_END=========================================================
--->
-<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>
-
-    <groupId>org.o-ran-sc</groupId>
-    <artifactId>nonrtric</artifactId>
-    <version>2.2.0-SNAPSHOT</version>
-    <packaging>pom</packaging>
-
-    <name>nonrtric</name>
-    <properties>
-    <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
-    </properties>
-    <modules>
-        <module>helm-manager</module>
-    </modules>
-    <build>
-        <plugins>
-            <!-- support sonar in multi-module project -->
-            <plugin>
-                <groupId>org.sonarsource.scanner.maven</groupId>
-                <artifactId>sonar-maven-plugin</artifactId>
-                <version>${sonar-maven-plugin.version}</version>
-            </plugin>
-        </plugins>
-    </build>
-</project>
diff --git a/sdnc-a1-controller/.gitignore b/sdnc-a1-controller/.gitignore
deleted file mode 100755 (executable)
index cd1773f..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#####standard .git ignore entries#####
-
-## IDE Specific Files ##
-org.eclipse.core.resources.prefs
-.classpath
-.project
-.settings
-.idea
-.externalToolBuilders
-.checkstyle
-maven-eclipse.xml
-workspace
-.pydevproject
-
-## Compilation Files ##
-*.class
-**/target
-target
-target-ide
-MANIFEST.MF
-
-## Misc Ignores (OS specific etc) ##
-bin/
-dist
-*~
-*.ipr
-*.iml
-*.iws
-classes
-out/
-.DS_STORE
-.metadata
diff --git a/sdnc-a1-controller/LICENSE.txt b/sdnc-a1-controller/LICENSE.txt
deleted file mode 100644 (file)
index 9706e3a..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSES.txt
-
-The content of this sub-directory is based on ONAP SDNC project,
-with appropriate licenses specified in the individual files.
-The modifications are covered by the following license:
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the "Software License");
-you may not use this software except in compliance with the Software
-License. You may obtain a copy of the Software License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the Software License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the Software License for the specific language governing permissions
-and limitations under the Software License.
diff --git a/sdnc-a1-controller/README.md b/sdnc-a1-controller/README.md
deleted file mode 100644 (file)
index bd0d366..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-# O-RAN-SC Non-RealTime RIC - A1 Controller
-
-SDNC-A1 controller provides a Northbound Interface for A1 operations to do policy management in Near-RealTime RICs.
-
-It is a very lightweight version of ONAP SDNC.
-
-Many features/components of SDNC that are not needed for A1 operations have been removed from both northbound and oam directories.
-
-This makes it very fast to start the controller and also puts less load on the CPU.
-
-Please see the documentation in the docs/ folder
-
-For more information about the Non-RT RIC project please see the [project website](https://wiki.o-ran-sc.org/display/RICNR "O-RAN-SC Non-RT RIC project")
-
-## License
-
-Copyright (C) 2019 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
diff --git a/sdnc-a1-controller/northbound/.gitignore b/sdnc-a1-controller/northbound/.gitignore
deleted file mode 100755 (executable)
index 8b49fb2..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-#####standard .git ignore entries#####
-
-## IDE Specific Files ##
-org.eclipse.core.resources.prefs
-.classpath
-.project
-.settings
-.idea
-.externalToolBuilders
-.checkstyle
-maven-eclipse.xml
-workspace
-
-## Compilation Files ##
-*.class
-**/target
-target
-target-ide
-MANIFEST.MF
-
-## Misc Ignores (OS specific etc) ##
-bin/
-dist
-*~
-*.ipr
-*.iml
-*.iws
-classes
-out/
-.DS_STORE
-.metadata
-provider/src/main/java/META-INF/
-provider/src/main/java/inventory/
-
-## BlackDuck generated file
-sdnc-northbound_bdio.jsonld
-blackDuckHubProjectName.txt
-blackDuckHubProjectVersionName.txt
diff --git a/sdnc-a1-controller/northbound/.gitreview b/sdnc-a1-controller/northbound/.gitreview
deleted file mode 100644 (file)
index ac3bf48..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-[gerrit]
-host=gerrit.openecomp.org
-port=29418
-project=sdnc/northbound.git
diff --git a/sdnc-a1-controller/northbound/LICENSE.txt b/sdnc-a1-controller/northbound/LICENSE.txt
deleted file mode 100644 (file)
index 2496663..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-LICENSE.txt
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the "Software License");
-you may not use this software except in compliance with the Software
-License. You may obtain a copy of the Software License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the Software License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the Software License for the specific language governing permissions
-and limitations under the Software License.
diff --git a/sdnc-a1-controller/northbound/README.md b/sdnc-a1-controller/northbound/README.md
deleted file mode 100644 (file)
index c8c696a..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-This module builds the sdnc-a1-northbound which inturn creates the nonrt-ric-api-provider & nonrt-ric-api-model bundles.
-
-To compile, run
->`mvn clean install`
-
-## License
-
-Copyright (C) 2019 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
-
diff --git a/sdnc-a1-controller/northbound/features/LICENSE.txt b/sdnc-a1-controller/northbound/features/LICENSE.txt
deleted file mode 100644 (file)
index e8798fc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSE.txt
-
-The content of this sub-directory is based on ONAP SDNC project,
-with appropriate licenses specified in the individual files.
-The modifications are covered by the following license:
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the "Software License");
-you may not use this software except in compliance with the Software
-License. You may obtain a copy of the Software License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the Software License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the Software License for the specific language governing permissions
-and limitations under the Software License.
diff --git a/sdnc-a1-controller/northbound/features/README.md b/sdnc-a1-controller/northbound/features/README.md
deleted file mode 100644 (file)
index 6d4bf1d..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-This module builds the submodule sdnc-a1-northbound-all,features-sdnc-a1-northbound & installer which creates the features & installers which can be installed in Karaf Server.
-
-To compile, run
->`mvn clean install`
-
-## License
-
-Copyright (C) 2019 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
-
diff --git a/sdnc-a1-controller/northbound/features/features-sdnc-a1-northbound/LICENSE.txt b/sdnc-a1-controller/northbound/features/features-sdnc-a1-northbound/LICENSE.txt
deleted file mode 100644 (file)
index e8798fc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSE.txt
-
-The content of this sub-directory is based on ONAP SDNC project,
-with appropriate licenses specified in the individual files.
-The modifications are covered by the following license:
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the "Software License");
-you may not use this software except in compliance with the Software
-License. You may obtain a copy of the Software License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the Software License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the Software License for the specific language governing permissions
-and limitations under the Software License.
diff --git a/sdnc-a1-controller/northbound/features/features-sdnc-a1-northbound/README.md b/sdnc-a1-controller/northbound/features/features-sdnc-a1-northbound/README.md
deleted file mode 100644 (file)
index 7c65f9c..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-This module creates features-sdnc-a1-northbound features from sdnc-a1-northbound-all feature.
-
-To compile, run
->`mvn clean install`
-
-## License
-
-Copyright (C) 2019 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
-
diff --git a/sdnc-a1-controller/northbound/features/features-sdnc-a1-northbound/pom.xml b/sdnc-a1-controller/northbound/features/features-sdnc-a1-northbound/pom.xml
deleted file mode 100644 (file)
index 3e112f0..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--<![CDATA[
-========================LICENSE_START=================================
-O-RAN-SC
-%%
-Modifications Copyright (C) 2020 Nordix Foundation
-%%
-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.
-========================LICENSE_END===================================
-]]>-->
-<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>
-
-       <repositories>
-               <repository>
-                       <id>onap-releases</id>
-                       <name>onap-releases</name>
-                       <url>https://nexus.onap.org/content/repositories/releases/</url>
-               </repository>
-       </repositories>
-
-    <parent>
-        <groupId>org.onap.ccsdk.parent</groupId>
-        <artifactId>feature-repo-parent</artifactId>
-        <version>1.5.1</version>
-        <relativePath/>
-    </parent>
-
-    <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId>
-    <artifactId>features-sdnc-a1-northbound</artifactId>
-    <version>2.1.0-SNAPSHOT</version>
-    <packaging>feature</packaging>
-
-    <name>sdnc-a1-northbound :: features :: ${project.artifactId}</name>
-
-    <dependencies>
-        <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>sdnc-a1-northbound-all</artifactId>
-            <version>${project.version}</version>
-            <type>xml</type>
-            <classifier>features</classifier>
-        </dependency>
-
-    </dependencies>
-</project>
diff --git a/sdnc-a1-controller/northbound/features/installer/LICENSE.txt b/sdnc-a1-controller/northbound/features/installer/LICENSE.txt
deleted file mode 100644 (file)
index e8798fc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSE.txt
-
-The content of this sub-directory is based on ONAP SDNC project,
-with appropriate licenses specified in the individual files.
-The modifications are covered by the following license:
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the "Software License");
-you may not use this software except in compliance with the Software
-License. You may obtain a copy of the Software License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the Software License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the Software License for the specific language governing permissions
-and limitations under the Software License.
diff --git a/sdnc-a1-controller/northbound/features/installer/README.md b/sdnc-a1-controller/northbound/features/installer/README.md
deleted file mode 100644 (file)
index c189bad..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-This module is responsible for creating sdnc-a1-northbound-features-installer installer which contains sdnc-a1-northbound-all feature. This is then installed into Karaf Server when deployed.
-
-To compile, run
->`mvn clean install`
-
-## License
-
-Copyright (C) 2019 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
-
diff --git a/sdnc-a1-controller/northbound/features/installer/pom.xml b/sdnc-a1-controller/northbound/features/installer/pom.xml
deleted file mode 100755 (executable)
index 44c2dca..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--<![CDATA[
-========================LICENSE_START=================================
-O-RAN-SC
-%%
-Modifications Copyright (C) 2020 Nordix Foundation
-%%
-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.
-========================LICENSE_END===================================
-]]>-->
-<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.ccsdk.parent</groupId>
-               <artifactId>odlparent-lite</artifactId>
-               <version>1.5.1</version>
-               <relativePath/>
-       </parent>
-
-       <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId>
-       <artifactId>sdnc-a1-northbound-features-installer</artifactId>
-       <version>2.1.0-SNAPSHOT</version>
-       <packaging>pom</packaging>
-
-       <name>sdnc-a1-northbound :: features :: ${project.artifactId}</name>
-
-       <properties>
-               <application.name>sdnc-a1-northbound-all</application.name>
-               <features.boot>${application.name}</features.boot>
-               <features.repositories>mvn:org.o-ran-sc.nonrtric.sdnc-a1.northbound/${features.boot}/${project.version}/xml/features</features.repositories>
-               <include.transitive.dependencies>false</include.transitive.dependencies>
-       </properties>
-
-       <dependencies>
-
-               <dependency>
-                       <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId>
-                       <artifactId>${application.name}</artifactId>
-                       <version>${project.version}</version>
-                       <type>xml</type>
-                       <classifier>features</classifier>
-                       <exclusions>
-                               <exclusion>
-                                       <groupId>*</groupId>
-                                       <artifactId>*</artifactId>
-                               </exclusion>
-                       </exclusions>
-               </dependency>
-
-
-       </dependencies>
-
-       <build>
-               <plugins>
-                       <plugin>
-                               <artifactId>maven-assembly-plugin</artifactId>
-                               <executions>
-                                       <execution>
-                                               <id>maven-repo-zip</id>
-                                               <goals>
-                                                       <goal>single</goal>
-                                               </goals>
-                                               <phase>package</phase>
-                                               <configuration>
-                                                       <attach>true</attach>
-                                                       <finalName>stage/${application.name}-${project.version}</finalName>
-                                                       <descriptors>
-                                                               <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
-                                                       </descriptors>
-                                                       <appendAssemblyId>true</appendAssemblyId>
-                                               </configuration>
-                                       </execution>
-                                       <execution>
-                                               <id>installer-zip</id>
-                                               <goals>
-                                                       <goal>single</goal>
-                                               </goals>
-                                               <phase>package</phase>
-                                               <configuration>
-                                                       <attach>true</attach>
-                                                       <finalName>${application.name}-${project.version}-installer</finalName>
-                                                       <descriptors>
-                                                               <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
-                                                       </descriptors>
-                                                       <appendAssemblyId>false</appendAssemblyId>
-                                               </configuration>
-                                       </execution>
-                               </executions>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-dependency-plugin</artifactId>
-                               <executions>
-                                       <execution>
-                                               <id>copy-dependencies</id>
-                                               <goals>
-                                                       <goal>copy-dependencies</goal>
-                                               </goals>
-                                               <phase>prepare-package</phase>
-                                               <configuration>
-                                                       <transitive>false</transitive>
-                                                       <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
-                                                       <overWriteReleases>false</overWriteReleases>
-                                                       <overWriteSnapshots>true</overWriteSnapshots>
-                                                       <overWriteIfNewer>true</overWriteIfNewer>
-                                                       <useRepositoryLayout>true</useRepositoryLayout>
-                                                       <addParentPoms>false</addParentPoms>
-                                                       <copyPom>false</copyPom>
-                             <includeGroupIds>org.o-ran-sc.nonrtric.sdnc-a1.northbound</includeGroupIds>
-                                                       <scope>provided</scope>
-                                               </configuration>
-                                       </execution>
-                               </executions>
-                       </plugin>
-                       <plugin>
-                               <artifactId>maven-resources-plugin</artifactId>
-                               <version>2.6</version>
-                               <executions>
-                                       <execution>
-                                               <id>copy-version</id>
-                                               <goals>
-                                                       <goal>copy-resources</goal>
-                                               </goals><!-- here the phase you need -->
-                                               <phase>validate</phase>
-                                               <configuration>
-                                                       <outputDirectory>${basedir}/target/stage</outputDirectory>
-                                                       <resources>
-                                                               <resource>
-                                                                       <directory>src/main/resources/scripts</directory>
-                                                                       <includes>
-                                                                               <include>install-feature.sh</include>
-                                                                       </includes>
-                                                                       <filtering>true</filtering>
-                                                               </resource>
-                                                       </resources>
-                                               </configuration>
-                                       </execution>
-
-                               </executions>
-                       </plugin>
-
-               </plugins>
-       </build>
-</project>
diff --git a/sdnc-a1-controller/northbound/features/installer/src/assembly/assemble_installer_zip.xml b/sdnc-a1-controller/northbound/features/installer/src/assembly/assemble_installer_zip.xml
deleted file mode 100755 (executable)
index a6a22a9..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<!-- Defines how we build the .zip file which is our distribution. -->
-
-<assembly
-       xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
-       <id>bin</id>
-
-       <formats>
-               <format>zip</format>
-       </formats>
-
-       <!--  we want "system" and related files right at the root level
-                 as this file is suppose to be unzip on top of a karaf
-                 distro. -->
-       <includeBaseDirectory>false</includeBaseDirectory>
-
-       <fileSets>
-               <fileSet>
-                       <directory>target/stage/</directory>
-                       <outputDirectory>${application.name}</outputDirectory>
-                       <fileMode>755</fileMode>
-                       <includes>
-                               <include>*.sh</include>
-                       </includes>
-               </fileSet>
-               <fileSet>
-                       <directory>target/stage/</directory>
-                       <outputDirectory>${application.name}</outputDirectory>
-                       <fileMode>644</fileMode>
-                       <excludes>
-                               <exclude>*.sh</exclude>
-                       </excludes>
-               </fileSet>
-       </fileSets>
-
-
-
-</assembly>
diff --git a/sdnc-a1-controller/northbound/features/installer/src/assembly/assemble_mvnrepo_zip.xml b/sdnc-a1-controller/northbound/features/installer/src/assembly/assemble_mvnrepo_zip.xml
deleted file mode 100755 (executable)
index 86b07f1..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<!-- Defines how we build the .zip file which is our distribution. -->
-
-<assembly
-       xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
-       <id>repo</id>
-
-       <formats>
-               <format>zip</format>
-       </formats>
-
-       <!--  we want "system" and related files right at the root level
-                 as this file is suppose to be unzip on top of a karaf
-                 distro. -->
-       <includeBaseDirectory>false</includeBaseDirectory>
-
-       <fileSets>
-               <fileSet>
-                       <directory>target/assembly/</directory>
-                       <outputDirectory>.</outputDirectory>
-                       <excludes>
-                       </excludes>
-               </fileSet>
-       </fileSets>
-
-
-
-</assembly>
diff --git a/sdnc-a1-controller/northbound/features/installer/src/main/resources/scripts/install-feature.sh b/sdnc-a1-controller/northbound/features/installer/src/main/resources/scripts/install-feature.sh
deleted file mode 100644 (file)
index 0af54c2..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-
-#  ============LICENSE_START===============================================
-#  Modifications Copyright (C) 2020 Nordix Foundation. 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.
-#  ============LICENSE_END=================================================
-#
-
-ODL_HOME=${ODL_HOME:-/opt/opendaylight/current}
-ODL_KARAF_CLIENT=${ODL_KARAF_CLIENT:-${ODL_HOME}/bin/client}
-INSTALLERDIR=$(dirname $0)
-
-REPOZIP=${INSTALLERDIR}/${features.boot}-${project.version}.zip
-
-if [ -f ${REPOZIP} ]
-then
-       unzip -d ${ODL_HOME} ${REPOZIP}
-else
-       echo "ERROR : repo zip ($REPOZIP) not found"
-       exit 1
-fi
-
-${ODL_KARAF_CLIENT} feature:repo-add ${features.repositories}
-${ODL_KARAF_CLIENT} feature:install ${features.boot}
diff --git a/sdnc-a1-controller/northbound/features/pom.xml b/sdnc-a1-controller/northbound/features/pom.xml
deleted file mode 100755 (executable)
index b9fda71..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--<![CDATA[
-========================LICENSE_START=================================
-O-RAN-SC
-%%
-Modifications Copyright (C) 2020 Nordix Foundation
-%%
-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.
-========================LICENSE_END===================================
-]]>-->
-<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.ccsdk.parent</groupId>
-               <artifactId>odlparent-lite</artifactId>
-               <version>1.5.1</version>
-               <relativePath/>
-       </parent>
-
-       <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId>
-       <artifactId>sdnc-northbound-feature-aggregator</artifactId>
-       <version>2.1.0-SNAPSHOT</version>
-       <packaging>pom</packaging>
-
-       <name>sdnc-a1-northbound :: features</name>
-
-       <modules>
-        <module>sdnc-a1-northbound-all</module>
-        <module>features-sdnc-a1-northbound</module>
-        <module>installer</module>
-    </modules>
-</project>
diff --git a/sdnc-a1-controller/northbound/features/sdnc-a1-northbound-all/LICENSE.txt b/sdnc-a1-controller/northbound/features/sdnc-a1-northbound-all/LICENSE.txt
deleted file mode 100644 (file)
index e8798fc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSE.txt
-
-The content of this sub-directory is based on ONAP SDNC project,
-with appropriate licenses specified in the individual files.
-The modifications are covered by the following license:
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the "Software License");
-you may not use this software except in compliance with the Software
-License. You may obtain a copy of the Software License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the Software License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the Software License for the specific language governing permissions
-and limitations under the Software License.
diff --git a/sdnc-a1-controller/northbound/features/sdnc-a1-northbound-all/README.md b/sdnc-a1-controller/northbound/features/sdnc-a1-northbound-all/README.md
deleted file mode 100644 (file)
index e6933de..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-This module creates the sdnc-a1-northbound-all feature from sdnc-nonrt-ric-api feature.
-
-To compile, run
->`mvn clean install`
-
-## License
-
-Copyright (C) 2019 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
-
diff --git a/sdnc-a1-controller/northbound/features/sdnc-a1-northbound-all/pom.xml b/sdnc-a1-controller/northbound/features/sdnc-a1-northbound-all/pom.xml
deleted file mode 100644 (file)
index e4f0fc7..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--<![CDATA[
-========================LICENSE_START=================================
-O-RAN-SC
-%%
-Modifications Copyright (C) 2020 Nordix Foundation
-%%
-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.
-========================LICENSE_END===================================
-]]>-->
-<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>
-
-       <repositories>
-               <repository>
-                       <id>onap-releases</id>
-                       <name>onap-releases</name>
-                       <url>https://nexus.onap.org/content/repositories/releases/</url>
-               </repository>
-       </repositories>
-
-       <parent>
-               <groupId>org.onap.ccsdk.parent</groupId>
-               <artifactId>single-feature-parent</artifactId>
-               <version>1.5.1</version>
-               <relativePath/>
-       </parent>
-
-       <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId>
-       <artifactId>sdnc-a1-northbound-all</artifactId>
-       <version>2.1.0-SNAPSHOT</version>
-       <packaging>feature</packaging>
-
-       <name>sdnc-a1-northbound :: features :: ${project.artifactId}</name>
-
-       <dependencies>
-               <dependency>
-                       <groupId>${project.groupId}</groupId>
-                       <artifactId>sdnc-nonrt-ric-api</artifactId>
-                       <version>${project.version}</version>
-                       <type>xml</type>
-                       <classifier>features</classifier>
-               </dependency>
-       </dependencies>
-</project>
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/.gitignore b/sdnc-a1-controller/northbound/nonrt-ric-api/.gitignore
deleted file mode 100644 (file)
index 930c033..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-#####standard .git ignore entries#####
-
-## IDE Specific Files ##
-.classpath
-.project
-.settings
-.idea
-.externalToolBuilders
-maven-eclipse.xml
-workspace
-
-## Compilation Files ##
-*.class
-**/target
-target
-target-ide
-MANIFEST.MF
-
-## Misc Ignores (OS specific etc) ##
-bin/
-dist
-*~
-*.ipr
-*.iml
-*.iws
-classes
-out/
-.DS_STORE
-.metadata
-
-## Folders which contain auto generated source code ##
-yang-gen-config
-yang-gen-sal
-
-
-
-#####Archetype specific .git ignore entries#######
-generate
-Archetype_Next_Steps.README
-
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/LICENSE.txt b/sdnc-a1-controller/northbound/nonrt-ric-api/LICENSE.txt
deleted file mode 100644 (file)
index e8798fc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSE.txt
-
-The content of this sub-directory is based on ONAP SDNC project,
-with appropriate licenses specified in the individual files.
-The modifications are covered by the following license:
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the "Software License");
-you may not use this software except in compliance with the Software
-License. You may obtain a copy of the Software License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the Software License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the Software License for the specific language governing permissions
-and limitations under the Software License.
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/README.md b/sdnc-a1-controller/northbound/nonrt-ric-api/README.md
deleted file mode 100644 (file)
index e58f6f0..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-This module builds the model, provider, install & features to create the bundles, features & installers.
-
-To compile, run
->`mvn clean install`
-
-## License
-
-Copyright (C) 2019 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
-
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/features/LICENSE.txt b/sdnc-a1-controller/northbound/nonrt-ric-api/features/LICENSE.txt
deleted file mode 100644 (file)
index e8798fc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSE.txt
-
-The content of this sub-directory is based on ONAP SDNC project,
-with appropriate licenses specified in the individual files.
-The modifications are covered by the following license:
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the "Software License");
-you may not use this software except in compliance with the Software
-License. You may obtain a copy of the Software License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the Software License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the Software License for the specific language governing permissions
-and limitations under the Software License.
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/features/README.md b/sdnc-a1-controller/northbound/nonrt-ric-api/features/README.md
deleted file mode 100644 (file)
index d054e91..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-This module builds the two submodules sdnc-nonrt-ric-api & features-nonrt-ric-api which creates the A1 northbound feature.
-
-To compile, run
->`mvn clean install`
-
-## License
-
-Copyright (C) 2019 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
-
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/features/features-nonrt-ric-api/LICENSE.txt b/sdnc-a1-controller/northbound/nonrt-ric-api/features/features-nonrt-ric-api/LICENSE.txt
deleted file mode 100644 (file)
index e8798fc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSE.txt
-
-The content of this sub-directory is based on ONAP SDNC project,
-with appropriate licenses specified in the individual files.
-The modifications are covered by the following license:
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the "Software License");
-you may not use this software except in compliance with the Software
-License. You may obtain a copy of the Software License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the Software License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the Software License for the specific language governing permissions
-and limitations under the Software License.
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/features/features-nonrt-ric-api/README.md b/sdnc-a1-controller/northbound/nonrt-ric-api/features/features-nonrt-ric-api/README.md
deleted file mode 100644 (file)
index 544a24c..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-This module creates the features-nonrt-ric-api feature from sdnc-nonrt-ric-api feature
-
-To compile, run
->`mvn clean install`
-
-## License
-
-Copyright (C) 2019 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
-
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/features/features-nonrt-ric-api/pom.xml b/sdnc-a1-controller/northbound/nonrt-ric-api/features/features-nonrt-ric-api/pom.xml
deleted file mode 100644 (file)
index 87b05af..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ============LICENSE_START=======================================================
-   Copyright (C) 2019 Nordix Foundation.
-  ================================================================================
-  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.
-
-  SPDX-License-Identifier: Apache-2.0
-  ============LICENSE_END=========================================================
--->
-<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.ccsdk.parent</groupId>
-               <artifactId>feature-repo-parent</artifactId>
-               <version>1.5.1</version>
-               <relativePath/>
-       </parent>
-
-       <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId>
-       <artifactId>features-nonrt-ric-api</artifactId>
-       <version>2.1.0-SNAPSHOT</version>
-       <packaging>feature</packaging>
-
-       <name>sdnc-a1-northbound :: nonrt-ric-api :: ${project.artifactId}</name>
-
-       <dependencies>
-               <dependency>
-                       <groupId>${project.groupId}</groupId>
-                       <artifactId>sdnc-nonrt-ric-api</artifactId>
-                       <version>${project.version}</version>
-                       <type>xml</type>
-                       <classifier>features</classifier>
-               </dependency>
-
-       </dependencies>
-</project>
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/features/pom.xml b/sdnc-a1-controller/northbound/nonrt-ric-api/features/pom.xml
deleted file mode 100644 (file)
index 7ff8e6b..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ============LICENSE_START=======================================================
-   Copyright (C) 2019 Nordix Foundation.
-  ================================================================================
-  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.
-
-  SPDX-License-Identifier: Apache-2.0
-  ============LICENSE_END=========================================================
--->
-<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.ccsdk.parent</groupId>
-        <artifactId>odlparent-lite</artifactId>
-        <version>1.5.1</version>
-        <relativePath/>
-    </parent>
-
-    <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId>
-    <artifactId>nonrt-ric-api-features</artifactId>
-    <version>2.1.0-SNAPSHOT</version>
-    <packaging>pom</packaging>
-
-    <name>sdnc-a1-northbound :: nonrt-ric-api :: ${project.artifactId}</name>
-
-    <modules>
-        <module>sdnc-nonrt-ric-api</module>
-        <module>features-nonrt-ric-api</module>
-    </modules>
-</project>
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/features/sdnc-nonrt-ric-api/LICENSE.txt b/sdnc-a1-controller/northbound/nonrt-ric-api/features/sdnc-nonrt-ric-api/LICENSE.txt
deleted file mode 100644 (file)
index e8798fc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSE.txt
-
-The content of this sub-directory is based on ONAP SDNC project,
-with appropriate licenses specified in the individual files.
-The modifications are covered by the following license:
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the "Software License");
-you may not use this software except in compliance with the Software
-License. You may obtain a copy of the Software License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the Software License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the Software License for the specific language governing permissions
-and limitations under the Software License.
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/features/sdnc-nonrt-ric-api/README.md b/sdnc-a1-controller/northbound/nonrt-ric-api/features/sdnc-nonrt-ric-api/README.md
deleted file mode 100644 (file)
index 9802b29..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-This module creates the sdnc-nonrt-ric-api feature from the nonrt-ric-api-model & nonrt-ric-api-provider bundles.
-
-To compile, run
->`mvn clean install`
-
-## License
-
-Copyright (C) 2019 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
-
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/features/sdnc-nonrt-ric-api/pom.xml b/sdnc-a1-controller/northbound/nonrt-ric-api/features/sdnc-nonrt-ric-api/pom.xml
deleted file mode 100644 (file)
index 07d3787..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ============LICENSE_START=======================================================
-   Copyright (C) 2019 Nordix Foundation.
-  ================================================================================
-  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.
-
-  SPDX-License-Identifier: Apache-2.0
-  ============LICENSE_END=========================================================
--->
-<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.ccsdk.parent</groupId>
-        <artifactId>single-feature-parent</artifactId>
-        <version>1.5.1</version>
-        <relativePath/>
-    </parent>
-
-    <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId>
-    <artifactId>sdnc-nonrt-ric-api</artifactId>
-    <version>2.1.0-SNAPSHOT</version>
-    <packaging>feature</packaging>
-
-    <name>sdnc-a1-northbound :: nonrt-ric-api :: ${project.artifactId}</name>
-
-    <dependencies>
-        <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>nonrt-ric-api-model</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>nonrt-ric-api-provider</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-    </dependencies>
-</project>
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/installer/LICENSE.txt b/sdnc-a1-controller/northbound/nonrt-ric-api/installer/LICENSE.txt
deleted file mode 100644 (file)
index e8798fc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSE.txt
-
-The content of this sub-directory is based on ONAP SDNC project,
-with appropriate licenses specified in the individual files.
-The modifications are covered by the following license:
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the "Software License");
-you may not use this software except in compliance with the Software
-License. You may obtain a copy of the Software License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the Software License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the Software License for the specific language governing permissions
-and limitations under the Software License.
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/installer/README.md b/sdnc-a1-controller/northbound/nonrt-ric-api/installer/README.md
deleted file mode 100644 (file)
index 4849134..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-This module installs the sdnc-nonrt-ric-api feature into the Karaf Server.
-
-To compile, run
->`mvn clean install`
-
-## License
-
-Copyright (C) 2019 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
-
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/installer/pom.xml b/sdnc-a1-controller/northbound/nonrt-ric-api/installer/pom.xml
deleted file mode 100755 (executable)
index 3913f5e..0000000
+++ /dev/null
@@ -1,161 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ============LICENSE_START=======================================================
-   Copyright (C) 2019 Nordix Foundation.
-  ================================================================================
-  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.
-
-  SPDX-License-Identifier: Apache-2.0
-  ============LICENSE_END=========================================================
--->
-<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.ccsdk.parent</groupId>
-               <artifactId>odlparent-lite</artifactId>
-               <version>1.5.1</version>
-               <relativePath/>
-       </parent>
-
-       <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId>
-       <artifactId>nonrt-ric-api-installer</artifactId>
-       <version>2.1.0-SNAPSHOT</version>
-       <packaging>pom</packaging>
-
-       <name>sdnc-a1-northbound :: nonrt-ric-api :: ${project.artifactId}</name>
-
-       <properties>
-               <application.name>sdnc-nonrt-ric-api</application.name>
-               <features.boot>${application.name}</features.boot>
-               <features.repositories>mvn:org.o-ran-sc.nonrtric.sdnc-a1.northbound/${application.name}/${project.version}/xml/features</features.repositories>
-               <include.transitive.dependencies>false</include.transitive.dependencies>
-       </properties>
-
-       <dependencies>
-
-               <dependency>
-                       <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId>
-                       <artifactId>${application.name}</artifactId>
-                       <version>${project.version}</version>
-                       <type>xml</type>
-                       <classifier>features</classifier>
-                       <exclusions>
-                               <exclusion>
-                                       <groupId>*</groupId>
-                                       <artifactId>*</artifactId>
-                               </exclusion>
-                       </exclusions>
-               </dependency>
-
-               <dependency>
-                       <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId>
-                       <artifactId>nonrt-ric-api-provider</artifactId>
-                       <version>${project.version}</version>
-               </dependency>
-
-
-       </dependencies>
-
-       <build>
-               <plugins>
-                       <plugin>
-                               <artifactId>maven-assembly-plugin</artifactId>
-                               <version>2.6</version>
-                               <executions>
-                                       <execution>
-                                               <id>maven-repo-zip</id>
-                                               <goals>
-                                                       <goal>single</goal>
-                                               </goals>
-                                               <phase>package</phase>
-                                               <configuration>
-                                                       <attach>true</attach>
-                                                       <finalName>stage/${application.name}-${project.version}</finalName>
-                                                       <descriptors>
-                                                               <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
-                                                       </descriptors>
-                                               </configuration>
-                                       </execution>
-                                       <execution>
-                                               <id>installer-zip</id>
-                                               <goals>
-                                                       <goal>single</goal>
-                                               </goals>
-                                               <phase>package</phase>
-                                               <configuration>
-                                                       <attach>true</attach>
-                                                       <finalName>${application.name}-${project.version}-installer</finalName>
-                                                       <descriptors>
-                                                               <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
-                                                       </descriptors>
-                                                       <appendAssemblyId>false</appendAssemblyId>
-                                               </configuration>
-                                       </execution>
-                               </executions>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-dependency-plugin</artifactId>
-                               <executions>
-                                       <execution>
-                                               <id>copy-dependencies</id>
-                                               <goals>
-                                                       <goal>copy-dependencies</goal>
-                                               </goals>
-                                               <phase>prepare-package</phase>
-                                               <configuration>
-                                                       <transitive>false</transitive>
-                                                       <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
-                                                       <overWriteReleases>false</overWriteReleases>
-                                                       <overWriteSnapshots>true</overWriteSnapshots>
-                                                       <overWriteIfNewer>true</overWriteIfNewer>
-                                                       <useRepositoryLayout>true</useRepositoryLayout>
-                                                       <addParentPoms>false</addParentPoms>
-                                                       <copyPom>false</copyPom>
-                                                       <includeGroupIds>org.o-ran-sc.nonrtric.sdnc-a1.northbound</includeGroupIds>
-                                                       <scope>provided</scope>
-                                               </configuration>
-                                       </execution>
-                               </executions>
-                       </plugin>
-                       <plugin>
-                               <artifactId>maven-resources-plugin</artifactId>
-                               <version>2.6</version>
-                               <executions>
-                                       <execution>
-                                               <id>copy-version</id>
-                                               <goals>
-                                                       <goal>copy-resources</goal>
-                                               </goals><!-- here the phase you need -->
-                                               <phase>validate</phase>
-                                               <configuration>
-                                                       <outputDirectory>${basedir}/target/stage</outputDirectory>
-                                                       <resources>
-                                                               <resource>
-                                                                       <directory>src/main/resources/scripts</directory>
-                                                                       <includes>
-                                                                               <include>install-feature.sh</include>
-                                                                       </includes>
-                                                                       <filtering>true</filtering>
-                                                               </resource>
-                                                       </resources>
-                                               </configuration>
-                                       </execution>
-
-                               </executions>
-                       </plugin>
-
-               </plugins>
-       </build>
-</project>
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/installer/src/assembly/assemble_installer_zip.xml b/sdnc-a1-controller/northbound/nonrt-ric-api/installer/src/assembly/assemble_installer_zip.xml
deleted file mode 100644 (file)
index 13156fd..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-<!--
-  ============LICENSE_START=======================================================
-  openECOMP : SDN-C
-  ================================================================================
-  Copyright (C) 2017 AT&T Intellectual Property. 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.
-  ============LICENSE_END=========================================================
-  -->
-
-<!-- Defines how we build the .zip file which is our distribution. -->
-
-<assembly
-    xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
-    <id>installer_zip</id>
-    <formats>
-        <format>zip</format>
-    </formats>
-
-    <!--  we want "system" and related files right at the root level
-          as this file is suppose to be unzip on top of a karaf
-          distro. -->
-    <includeBaseDirectory>false</includeBaseDirectory>
-
-    <fileSets>
-        <fileSet>
-            <directory>target/stage/</directory>
-            <outputDirectory>${application.name}</outputDirectory>
-            <fileMode>755</fileMode>
-            <includes>
-                <include>*.sh</include>
-            </includes>
-        </fileSet>
-        <fileSet>
-            <directory>target/stage/</directory>
-            <outputDirectory>${application.name}</outputDirectory>
-            <fileMode>644</fileMode>
-            <excludes>
-                <exclude>*.sh</exclude>
-            </excludes>
-        </fileSet>
-    </fileSets>
-
-
-</assembly>
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/installer/src/assembly/assemble_mvnrepo_zip.xml b/sdnc-a1-controller/northbound/nonrt-ric-api/installer/src/assembly/assemble_mvnrepo_zip.xml
deleted file mode 100644 (file)
index 301b46d..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<!--
-  ============LICENSE_START=======================================================
-   Copyright (C) 2019-2020 Nordix Foundation.
-  ================================================================================
-  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.
-
-  SPDX-License-Identifier: Apache-2.0
-  ============LICENSE_END=========================================================
--->
-
-<assembly
-    xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
-    <id>repo</id>
-    <formats>
-        <format>zip</format>
-    </formats>
-
-    <!-- we want "system" and related files right at the root level as this
-        file is suppose to be unzip on top of a karaf distro. -->
-    <includeBaseDirectory>false</includeBaseDirectory>
-
-    <fileSets>
-        <fileSet>
-            <directory>target/assembly/</directory>
-            <outputDirectory>.</outputDirectory>
-            <excludes>
-            </excludes>
-        </fileSet>
-    </fileSets>
-
-    <files>
-        <file>
-            <source>../model/target/nonrt-ric-api.properties</source>
-            <destName>./configuration/nonrt-ric-api.properties</destName>
-
-        </file>
-    </files>
-
-</assembly>
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/installer/src/main/resources/scripts/install-feature.sh b/sdnc-a1-controller/northbound/nonrt-ric-api/installer/src/main/resources/scripts/install-feature.sh
deleted file mode 100644 (file)
index d5f620f..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-###
-# ============LICENSE_START=======================================================
-# openECOMP : SDN-C
-# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. 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.
-# ============LICENSE_END=========================================================
-###
-
-ODL_HOME=${ODL_HOME:-/opt/opendaylight/current}
-ODL_KARAF_CLIENT=${ODL_KARAF_CLIENT:-${ODL_HOME}/bin/client}
-INSTALLERDIR=$(dirname $0)
-
-REPOZIP=${INSTALLERDIR}/${features.boot}-${project.version}.zip
-
-if [ -f ${REPOZIP} ]
-then
-       unzip -d ${ODL_HOME} ${REPOZIP}
-else
-       echo "ERROR : repo zip ($REPOZIP) not found"
-       exit 1
-fi
-
-${ODL_KARAF_CLIENT} feature:repo-add ${features.repositories}
-${ODL_KARAF_CLIENT} feature:install ${features.boot}
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/model/LICENSE.txt b/sdnc-a1-controller/northbound/nonrt-ric-api/model/LICENSE.txt
deleted file mode 100644 (file)
index e8798fc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSE.txt
-
-The content of this sub-directory is based on ONAP SDNC project,
-with appropriate licenses specified in the individual files.
-The modifications are covered by the following license:
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the "Software License");
-you may not use this software except in compliance with the Software
-License. You may obtain a copy of the Software License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the Software License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the Software License for the specific language governing permissions
-and limitations under the Software License.
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/model/README.md b/sdnc-a1-controller/northbound/nonrt-ric-api/model/README.md
deleted file mode 100644 (file)
index e4dfb16..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-This module contains the yang definition of the A1 northbound API and creates the nonrt-ric-api-model bundle.
-
-To compile, run
->`mvn clean install`
-
-## License
-
-Copyright (C) 2019 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
-
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/model/pom.xml b/sdnc-a1-controller/northbound/nonrt-ric-api/model/pom.xml
deleted file mode 100644 (file)
index 4403d42..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ============LICENSE_START=======================================================
-   Copyright (C) 2019 Nordix Foundation.
-  ================================================================================
-  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.
-
-  SPDX-License-Identifier: Apache-2.0
-  ============LICENSE_END=========================================================
--->
-<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>
-
-       <repositories>
-               <repository>
-                       <id>onap-releases</id>
-                       <name>onap-releases</name>
-                       <url>https://nexus.onap.org/content/repositories/releases/</url>
-               </repository>
-       </repositories>
-
-    <parent>
-        <groupId>org.onap.ccsdk.parent</groupId>
-        <artifactId>binding-parent</artifactId>
-        <version>1.5.1</version>
-        <relativePath/>
-    </parent>
-
-    <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId>
-    <artifactId>nonrt-ric-api-model</artifactId>
-    <version>2.1.0-SNAPSHOT</version>
-    <packaging>bundle</packaging>
-
-    <name>sdnc-a1-northbound :: nonrt-ric-api :: ${project.artifactId}</name>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
-            <artifactId>rfc6991</artifactId>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>exec-maven-plugin</artifactId>
-                <version>1.2.1</version>
-                <executions>
-                    <execution>
-                        <configuration>
-                            <executable>python3</executable>
-                            <arguments>
-                                <argument>scripts/python/yang2props.py</argument>
-                                <argument>src/main/yang/NONRT-RIC-API.yang</argument>
-                                <argument>target/nonrt-ric-api.properties</argument>
-                            </arguments>
-                        </configuration>
-                        <id>generation</id>
-                        <phase>generate-resources</phase>
-                        <goals>
-                            <goal>exec</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-javadoc-plugin</artifactId>
-                <configuration>
-                    <source>8</source>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-</project>
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/model/scripts/python/yang2props.py b/sdnc-a1-controller/northbound/nonrt-ric-api/model/scripts/python/yang2props.py
deleted file mode 100755 (executable)
index 02b0db8..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 Nordix Foundation.
-# ================================================================================
-# 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.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-#!/usr/bin/python
-
-import re
-import sys
-
-
-# Convert word from foo-bar to FooBar
-# words begining with a digit will be converted to _digit
-def to_enum(s):
-    if s[0].isdigit():
-        s = "_" + s
-    else:
-        s = s[0].upper() + s[1:]
-    return re.sub(r'(?!^)-([a-zA-Z])', lambda m: m.group(1).upper(), s)
-
-leaf = ""
-val = ""
-li = []
-
-if len(sys.argv) < 3:
-     print('yang2props.py <input yang> <output properties>')
-     sys.exit(2)
-
-with open(sys.argv[1], "r") as ins:
-    for line in ins:
-        # if we see a leaf save the name for later
-        if "leaf " in line:
-            match = re.search(r'leaf (\S+)', line)
-            if match:
-                leaf = match.group(1)
-      
-        # if we see enum convert the value to enum format and see if it changed
-        # if the value is different write a property entry
-        if "enum " in line:
-            match = re.search(r'enum "(\S+)";', line)
-            if match:
-                val = match.group(1)
-                enum = to_enum(val)
-                # see if converting to enum changed the string
-                if val != enum:
-                    property = "yang."+leaf+"."+enum+"="+val
-                    if property not in li:
-                        li.append( property)
-
-
-# Open output file
-fo = open(sys.argv[2], "w")
-fo.write("# yang conversion properties \n")
-fo.write("# used to convert Enum back to the original yang value \n")
-fo.write("\n".join(li))
-fo.write("\n")
-
-# Close opend file
-fo.close()
-
-   
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/model/src/main/yang/NONRT-RIC-API.yang b/sdnc-a1-controller/northbound/nonrt-ric-api/model/src/main/yang/NONRT-RIC-API.yang
deleted file mode 100644 (file)
index 34c0a72..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-//-\r
-// ============LICENSE_START=======================================================\r
-//  Copyright (C) 2019 Nordix Foundation.\r
-// ================================================================================\r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-//      http://www.apache.org/licenses/LICENSE-2.0\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-// SPDX-License-Identifier: Apache-2.0\r
-// ============LICENSE_END=========================================================\r
-//\r
-module A1-ADAPTER-API {\r
-\r
-    namespace "org:o_ran_sc:nonrtric:sdnc_a1:northbound:a1-adapter";\r
-\r
-    prefix a1-adapter-api;\r
-\r
-    import ietf-inet-types {\r
-        prefix "inet";\r
-        revision-date "2013-07-15";\r
-    }\r
-\r
-    import ietf-yang-types {\r
-        prefix yang;\r
-    }\r
-\r
-    revision "2020-01-22" {\r
-        description\r
-          "A1 adapter";\r
-    }\r
-\r
-    rpc putA1Policy {\r
-        input {\r
-            leaf near-rt-ric-url {\r
-                type inet:uri;\r
-            }\r
-            leaf body {\r
-                type string;\r
-            }\r
-        }\r
-        output {\r
-            leaf body {\r
-                type string;\r
-            }\r
-            leaf http-status {\r
-                type int32;\r
-            }\r
-        }\r
-    }\r
-\r
-    rpc getA1Policy {\r
-        input {\r
-            leaf near-rt-ric-url {\r
-                type inet:uri;\r
-            }\r
-        }\r
-        output {\r
-            leaf body {\r
-                type string;\r
-            }\r
-            leaf http-status {\r
-                type int32;\r
-            }\r
-        }\r
-    }\r
-\r
-    rpc getA1PolicyStatus {\r
-        input {\r
-            leaf near-rt-ric-url {\r
-                type inet:uri;\r
-            }\r
-        }\r
-        output {\r
-            leaf body {\r
-                type string;\r
-            }\r
-            leaf http-status {\r
-                type int32;\r
-            }\r
-        }\r
-    }\r
-\r
-    rpc getA1PolicyType {\r
-        input {\r
-            leaf near-rt-ric-url {\r
-                type inet:uri;\r
-            }\r
-        }\r
-        output {\r
-            leaf body {\r
-                type string;\r
-            }\r
-            leaf http-status {\r
-                type int32;\r
-            }\r
-        }\r
-    }\r
-\r
-    rpc deleteA1Policy {\r
-        input {\r
-            leaf near-rt-ric-url {\r
-                type inet:uri;\r
-            }\r
-        }\r
-        output {\r
-            leaf body {\r
-                type string;\r
-            }\r
-            leaf http-status {\r
-                type int32;\r
-            }\r
-        }\r
-    }\r
-}
\ No newline at end of file
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/pom.xml b/sdnc-a1-controller/northbound/nonrt-ric-api/pom.xml
deleted file mode 100644 (file)
index f4bf81c..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ============LICENSE_START=======================================================
-   Copyright (C) 2019 Nordix Foundation.
-  ================================================================================
-  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.
-
-  SPDX-License-Identifier: Apache-2.0
-  ============LICENSE_END=========================================================
--->
-<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.ccsdk.parent</groupId>
-               <artifactId>odlparent-lite</artifactId>
-               <version>1.5.1</version>
-               <relativePath />
-       </parent>
-
-       <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId>
-       <artifactId>nonrt-ric-api</artifactId>
-       <version>2.1.0-SNAPSHOT</version>
-       <packaging>pom</packaging>
-
-       <name>sdnc-a1-northbound :: nonrt-ric-api</name>
-
-       <properties>
-               <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
-       </properties>
-
-       <modules>
-               <module>model</module>
-               <module>provider</module>
-               <module>features</module>
-               <module>installer</module>
-       </modules>
-
-       <build>
-               <plugins>
-                       <!-- support sonar in multi-module project -->
-                       <plugin>
-                               <groupId>org.sonarsource.scanner.maven</groupId>
-                               <artifactId>sonar-maven-plugin</artifactId>
-                               <version>${sonar-maven-plugin.version}</version>
-                       </plugin>
-               </plugins>
-       </build>
-</project>
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/provider/LICENSE.txt b/sdnc-a1-controller/northbound/nonrt-ric-api/provider/LICENSE.txt
deleted file mode 100644 (file)
index e8798fc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSE.txt
-
-The content of this sub-directory is based on ONAP SDNC project,
-with appropriate licenses specified in the individual files.
-The modifications are covered by the following license:
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the "Software License");
-you may not use this software except in compliance with the Software
-License. You may obtain a copy of the Software License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the Software License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the Software License for the specific language governing permissions
-and limitations under the Software License.
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/provider/README.md b/sdnc-a1-controller/northbound/nonrt-ric-api/provider/README.md
deleted file mode 100644 (file)
index a789a7f..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-This module provides the implementation for the A1 Northbound API and creates the nonrt-ric-api-provider bundle.
-
-To compile, run
->`mvn clean install`
-
-## License
-
-Copyright (C) 2019 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
-
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/provider/pom.xml b/sdnc-a1-controller/northbound/nonrt-ric-api/provider/pom.xml
deleted file mode 100644 (file)
index 88acea6..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ============LICENSE_START=======================================================
-   Copyright (C) 2019 Nordix Foundation.
-  ================================================================================
-  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.
-
-  SPDX-License-Identifier: Apache-2.0
-  ============LICENSE_END=========================================================
--->
-<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>
-
-       <repositories>
-               <repository>
-                       <id>onap-releases</id>
-                       <name>onap-releases</name>
-                       <url>https://nexus.onap.org/content/repositories/releases/</url>
-               </repository>
-       </repositories>
-
-    <parent>
-        <groupId>org.onap.ccsdk.parent</groupId>
-        <artifactId>binding-parent</artifactId>
-        <version>1.5.1</version>
-        <relativePath/>
-    </parent>
-
-    <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId>
-    <artifactId>nonrt-ric-api-provider</artifactId>
-    <version>2.1.0-SNAPSHOT</version>
-    <packaging>bundle</packaging>
-
-    <name>sdnc-a1-northbound :: nonrt-ric-api :: ${project.artifactId}</name>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.jacoco</groupId>
-                <artifactId>jacoco-maven-plugin</artifactId>
-                <version>0.8.4</version>
-                <configuration>
-                    <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
-                </configuration>
-                <executions>
-                    <execution>
-                        <id>default-prepare-agent</id>
-                        <goals>
-                            <goal>prepare-agent</goal>
-                        </goals>
-                    </execution>
-                    <execution>
-                        <id>default-report</id>
-                        <phase>prepare-package</phase>
-                        <goals>
-                            <goal>report</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-javadoc-plugin</artifactId>
-                <configuration>
-                    <source>8</source>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId>
-            <artifactId>nonrt-ric-api-model</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.springframework</groupId>
-            <artifactId>spring-context</artifactId>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.springframework</groupId>
-            <artifactId>spring-web</artifactId>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.httpcomponents</groupId>
-            <artifactId>httpclient</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.opendaylight.controller</groupId>
-            <artifactId>sal-binding-api</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.opendaylight.controller</groupId>
-            <artifactId>sal-binding-broker-impl</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.opendaylight.controller</groupId>
-            <artifactId>sal-binding-broker-impl</artifactId>
-            <type>test-jar</type>
-            <classifier>tests</classifier>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.mockito</groupId>
-            <artifactId>mockito-core</artifactId>
-            <version>1.10.19</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>com.squareup.okhttp3</groupId>
-            <artifactId>mockwebserver</artifactId>
-            <version>3.14.6</version>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-</project>
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/java/org/o_ran_sc/nonrtric/sdnc_a1/northbound/provider/NonrtRicApiProvider.java b/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/java/org/o_ran_sc/nonrtric/sdnc_a1/northbound/provider/NonrtRicApiProvider.java
deleted file mode 100644 (file)
index cf7ea35..0000000
+++ /dev/null
@@ -1,247 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- *  Copyright (C) 2019 Nordix Foundation.
- * ================================================================================
- * 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.
- *
- * SPDX-License-Identifier: Apache-2.0
- * ============LICENSE_END=========================================================
- */
-
-package org.o_ran_sc.nonrtric.sdnc_a1.northbound.provider;
-
-import com.google.common.util.concurrent.Futures;
-import com.google.common.util.concurrent.ListenableFuture;
-import java.util.concurrent.ExecutorService;
-import java.util.concurrent.Executors;
-import org.o_ran_sc.nonrtric.sdnc_a1.northbound.restadapter.RestAdapter;
-import org.o_ran_sc.nonrtric.sdnc_a1.northbound.restadapter.RestAdapterImpl;
-import org.opendaylight.controller.md.sal.binding.api.DataBroker;
-import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
-import org.opendaylight.controller.sal.binding.api.RpcProviderRegistry;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.A1ADAPTERAPIService;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.DeleteA1PolicyInput;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.DeleteA1PolicyOutput;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.DeleteA1PolicyOutputBuilder;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.GetA1PolicyInput;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.GetA1PolicyInputBuilder;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.GetA1PolicyOutput;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.GetA1PolicyOutputBuilder;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.GetA1PolicyStatusInput;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.GetA1PolicyStatusOutput;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.GetA1PolicyStatusOutputBuilder;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.GetA1PolicyTypeInput;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.GetA1PolicyTypeOutput;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.GetA1PolicyTypeOutputBuilder;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.PutA1PolicyInput;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.PutA1PolicyOutput;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.PutA1PolicyOutputBuilder;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri;
-import org.opendaylight.yangtools.yang.common.RpcResult;
-import org.opendaylight.yangtools.yang.common.RpcResultBuilder;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.http.ResponseEntity;
-import org.springframework.web.client.RestClientResponseException;
-
-/**
- * Defines a base implementation for your provider. This class overrides the
- * generated interface from the YANG model and implements the request model for
- * the A1 interface. This class identifies the Near-RT RIC throught the IP passed
- * over the payload and calls the corresponding Near-RT RIC over Rest API
- *
- * <pre>
- *
- * @author lathishbabu.ganesan@est.tech
- *
- */
-
-@SuppressWarnings("squid:S1874") // "@Deprecated" code should not be used
-public class NonrtRicApiProvider implements AutoCloseable, A1ADAPTERAPIService {
-
-  protected static final String APP_NAME = "nonrt-ric-api";
-  protected static final String NO_SERVICE_LOGIC_ACTIVE = "No service logic active for ";
-  private static final String NON_NULL_PARAM = "non-null";
-  private static final String NULL_PARAM = "null";
-  private static final String REST_CLIENT_RESPONSE_EXCEPTION_MSG = "Caught RestClientResponseException: {}";
-
-  private final Logger log = LoggerFactory.getLogger(NonrtRicApiProvider.class);
-  private final ExecutorService executor;
-
-  protected DataBroker dataBroker;
-  protected NotificationPublishService notificationService;
-  protected RpcProviderRegistry rpcRegistry;
-  private RestAdapter restAdapter;
-
-  public NonrtRicApiProvider(DataBroker dataBroker, NotificationPublishService notificationPublishService,
-      RpcProviderRegistry rpcProviderRegistry) {
-    log.info("Creating provider for {}", APP_NAME);
-    executor = Executors.newFixedThreadPool(1);
-    setDataBroker(dataBroker);
-    setNotificationService(notificationPublishService);
-    setRpcRegistry(rpcProviderRegistry);
-    initialize();
-  }
-
-  public void initialize() {
-    log.info("Initializing provider for {}", APP_NAME);
-    restAdapter = new RestAdapterImpl();
-    log.info("Initialization complete for {}", APP_NAME);
-  }
-
-  @Override
-  public void close() throws Exception {
-    log.info("Closing provider for {}", APP_NAME);
-    executor.shutdown();
-    log.info("Successfully closed provider for {}", APP_NAME);
-  }
-
-  public void setDataBroker(DataBroker dataBroker) {
-    this.dataBroker = dataBroker;
-    if (log.isDebugEnabled()) {
-      log.debug("DataBroker set to {}", dataBroker == null ? NULL_PARAM : NON_NULL_PARAM);
-    }
-  }
-
-  public void setNotificationService(NotificationPublishService notificationService) {
-    this.notificationService = notificationService;
-    if (log.isDebugEnabled()) {
-      log.debug("Notification Service set to {}", notificationService == null ? NULL_PARAM : NON_NULL_PARAM);
-    }
-  }
-
-  public void setRpcRegistry(RpcProviderRegistry rpcRegistry) {
-    this.rpcRegistry = rpcRegistry;
-    if (log.isDebugEnabled()) {
-      log.debug("RpcRegistry set to {}", rpcRegistry == null ? NULL_PARAM : NON_NULL_PARAM);
-    }
-  }
-
-  @Override
-  public ListenableFuture<RpcResult<PutA1PolicyOutput>> putA1Policy(PutA1PolicyInput input) {
-    log.info("Start of putPolicy");
-    PutA1PolicyOutputBuilder putPolicyResponseBuilder = new PutA1PolicyOutputBuilder();
-
-    try {
-        final Uri uri = input.getNearRtRicUrl();
-        log.info("PUT Request input.GetA1Policy() : {} ", uri);
-        ResponseEntity<String> putPolicyResponse = restAdapter.put(uri.getValue(), input.getBody(), String.class);
-        if (putPolicyResponse.hasBody()) {
-            log.info("Response PutA1Policy : {} ", putPolicyResponse.getBody());
-            putPolicyResponseBuilder.setBody(putPolicyResponse.getBody());
-        }
-        putPolicyResponseBuilder.setHttpStatus(putPolicyResponse.getStatusCodeValue());
-    } catch (RestClientResponseException ex) {
-        log.error(REST_CLIENT_RESPONSE_EXCEPTION_MSG, ex.getMessage());
-        if (ex.getResponseBodyAsByteArray() != null) {
-            putPolicyResponseBuilder.setBody(ex.getResponseBodyAsString());
-        }
-        putPolicyResponseBuilder.setHttpStatus(ex.getRawStatusCode());
-    }
-
-    log.info("End of PutA1Policy");
-    RpcResult<PutA1PolicyOutput> rpcResult = RpcResultBuilder.<PutA1PolicyOutput>status(true)
-        .withResult(putPolicyResponseBuilder.build()).build();
-    return Futures.immediateFuture(rpcResult);
-  }
-
-  @Override
-  public ListenableFuture<RpcResult<DeleteA1PolicyOutput>> deleteA1Policy(DeleteA1PolicyInput input) {
-    log.info("Start of DeleteA1Policy");
-    DeleteA1PolicyOutputBuilder deletePolicyResponseBuilder = new DeleteA1PolicyOutputBuilder();
-
-    try {
-        final Uri uri = input.getNearRtRicUrl();
-        ResponseEntity<Object> deletePolicyResponse = restAdapter.delete(uri.getValue());
-        if (deletePolicyResponse.hasBody()) {
-            log.info("Response DeleteA1Policy : {} ", deletePolicyResponse.getBody());
-            deletePolicyResponseBuilder.setBody(deletePolicyResponse.getBody().toString());
-        }
-        deletePolicyResponseBuilder.setHttpStatus(deletePolicyResponse.getStatusCodeValue());
-    } catch (RestClientResponseException ex) {
-        log.error(REST_CLIENT_RESPONSE_EXCEPTION_MSG, ex.getMessage());
-        if (ex.getResponseBodyAsByteArray() != null) {
-            deletePolicyResponseBuilder.setBody(ex.getResponseBodyAsString());
-        }
-        deletePolicyResponseBuilder.setHttpStatus(ex.getRawStatusCode());
-    }
-
-    log.info("End of DeleteA1Policy");
-    RpcResult<DeleteA1PolicyOutput> rpcResult = RpcResultBuilder.<DeleteA1PolicyOutput>status(true)
-        .withResult(deletePolicyResponseBuilder.build()).build();
-    return Futures.immediateFuture(rpcResult);
-  }
-
-  protected GetA1PolicyOutput getA1(GetA1PolicyInput input) {
-    log.info("Start of getA1");
-    GetA1PolicyOutputBuilder getPolicyResponseBuilder = new GetA1PolicyOutputBuilder();
-
-    try {
-        final Uri uri = input.getNearRtRicUrl();
-        ResponseEntity<String> getPolicyResponse = restAdapter.get(uri.getValue(), String.class);
-        if (getPolicyResponse.hasBody()) {
-            log.info("Response getA1 : {} ", getPolicyResponse.getBody());
-            getPolicyResponseBuilder.setBody(getPolicyResponse.getBody());
-        }
-        getPolicyResponseBuilder.setHttpStatus(getPolicyResponse.getStatusCodeValue());
-    } catch (RestClientResponseException ex) {
-        log.error(REST_CLIENT_RESPONSE_EXCEPTION_MSG, ex.getMessage());
-        if (ex.getResponseBodyAsByteArray() != null) {
-            getPolicyResponseBuilder.setBody(ex.getResponseBodyAsString());
-        }
-        getPolicyResponseBuilder.setHttpStatus(ex.getRawStatusCode());
-    }
-
-    log.info("End of getA1");
-    return getPolicyResponseBuilder.build();
-  }
-
-  @Override
-  public ListenableFuture<RpcResult<GetA1PolicyOutput>> getA1Policy(GetA1PolicyInput input) {
-    GetA1PolicyOutput output = getA1(input);
-    RpcResult<GetA1PolicyOutput> rpcResult = RpcResultBuilder.<GetA1PolicyOutput>status(true).withResult(output)
-        .build();
-    return Futures.immediateFuture(rpcResult);
-  }
-
-  @Override
-  public ListenableFuture<RpcResult<GetA1PolicyStatusOutput>> getA1PolicyStatus(GetA1PolicyStatusInput input) {
-    GetA1PolicyInputBuilder getPolicyStatusInputBuilder = new GetA1PolicyInputBuilder();
-    getPolicyStatusInputBuilder.setNearRtRicUrl(input.getNearRtRicUrl());
-    GetA1PolicyOutput getOutput = getA1(getPolicyStatusInputBuilder.build());
-
-    GetA1PolicyStatusOutputBuilder getPolicyStatusoutputBuilder = new GetA1PolicyStatusOutputBuilder();
-    getPolicyStatusoutputBuilder.setBody(getOutput.getBody());
-    getPolicyStatusoutputBuilder.setHttpStatus(getOutput.getHttpStatus());
-
-    return Futures.immediateFuture(RpcResultBuilder.<GetA1PolicyStatusOutput>status(true) //
-        .withResult(getPolicyStatusoutputBuilder.build()) //
-        .build());
-  }
-
-  @Override
-  public ListenableFuture<RpcResult<GetA1PolicyTypeOutput>> getA1PolicyType(GetA1PolicyTypeInput input) {
-    GetA1PolicyInputBuilder getPolicyTypeInputBuilder = new GetA1PolicyInputBuilder();
-    getPolicyTypeInputBuilder.setNearRtRicUrl(input.getNearRtRicUrl());
-    GetA1PolicyOutput getOutput = getA1(getPolicyTypeInputBuilder.build());
-
-    GetA1PolicyTypeOutputBuilder getPolicyTypeOutputBuilder = new GetA1PolicyTypeOutputBuilder();
-    getPolicyTypeOutputBuilder.setBody(getOutput.getBody());
-    getPolicyTypeOutputBuilder.setHttpStatus(getOutput.getHttpStatus());
-
-    return Futures.immediateFuture(RpcResultBuilder.<GetA1PolicyTypeOutput>status(true) //
-        .withResult(getPolicyTypeOutputBuilder.build()) //
-        .build());
-  }
-
-}
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/java/org/o_ran_sc/nonrtric/sdnc_a1/northbound/restadapter/RestAdapter.java b/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/java/org/o_ran_sc/nonrtric/sdnc_a1/northbound/restadapter/RestAdapter.java
deleted file mode 100644 (file)
index 9cd40af..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- *  Copyright (C) 2019 Nordix Foundation.
- * ================================================================================
- * 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.
- *
- * SPDX-License-Identifier: Apache-2.0
- * ============LICENSE_END=========================================================
- */
-
-package org.o_ran_sc.nonrtric.sdnc_a1.northbound.restadapter;
-
-import org.springframework.http.ResponseEntity;
-
-/**
- * An interface to wrap the generic HTTP methods
- *
- * @author lathishbabu.ganesan@est.tech
- *
- */
-public interface RestAdapter {
-
-  /**
-   * Retrieve a representation by doing a GET on the specified URL. The response (if any) is
-   * converted and returned.
-   *
-   * @param uri the URL
-   * @param clazz responseType the type of the return value
-   * @return the converted object
-   */
-
-  <T> ResponseEntity<T> get(final String url, final Class<?> clazz);
-
-  /**
-   * Create or update a resource by PUTting the given object to the URI.
-   *
-   * @param url the URL
-   * @param request the String to be PUT (may be {@code null})
-   * @param clazz responseType the type of the return value
-   * @return the response code
-   */
-  <T> ResponseEntity<T> put(final String url, final String body, final Class<T> clazz);
-
-  /**
-   * Delete resource for the given object to the URI.
-   *
-   * @param url the URL
-   * @return the response code
-   */
-  <T> ResponseEntity<T> delete(final String url);
-
-}
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/java/org/o_ran_sc/nonrtric/sdnc_a1/northbound/restadapter/RestAdapterImpl.java b/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/java/org/o_ran_sc/nonrtric/sdnc_a1/northbound/restadapter/RestAdapterImpl.java
deleted file mode 100644 (file)
index d2e602f..0000000
+++ /dev/null
@@ -1,145 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- *  Copyright (C) 2019 Nordix Foundation.
- * ================================================================================
- * 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.
- *
- * SPDX-License-Identifier: Apache-2.0
- * ============LICENSE_END=========================================================
- */
-
-package org.o_ran_sc.nonrtric.sdnc_a1.northbound.restadapter;
-
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.security.KeyManagementException;
-import java.security.KeyStoreException;
-import java.security.NoSuchAlgorithmException;
-import java.security.UnrecoverableKeyException;
-import java.security.cert.CertificateException;
-import java.util.Properties;
-import org.apache.http.client.HttpClient;
-import org.apache.http.conn.ssl.NoopHostnameVerifier;
-import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
-import org.apache.http.conn.ssl.TrustAllStrategy;
-import org.apache.http.impl.client.HttpClients;
-import org.apache.http.ssl.SSLContextBuilder;
-import org.apache.http.ssl.SSLContexts;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.http.HttpEntity;
-import org.springframework.http.HttpHeaders;
-import org.springframework.http.HttpMethod;
-import org.springframework.http.HttpStatus;
-import org.springframework.http.MediaType;
-import org.springframework.http.ResponseEntity;
-import org.springframework.http.client.HttpComponentsClientHttpRequestFactory;
-import org.springframework.util.ResourceUtils;
-import org.springframework.web.client.RestTemplate;
-
-/**
- * This class provides the Generic Rest Adapter interface to the RestTemplate
- *
- * @author lathishbabu.ganesan@est.tech
- *
- */
-
-public class RestAdapterImpl implements RestAdapter {
-
-  private final Logger log = LoggerFactory.getLogger(RestAdapterImpl.class);
-
-  private RestTemplate restTemplateHttp;
-  private RestTemplate restTemplateHttps;
-
-  public RestAdapterImpl() {
-      restTemplateHttp = new RestTemplate();
-      try {
-          restTemplateHttps = createRestTemplateForHttps();
-      } catch (IOException | UnrecoverableKeyException | KeyManagementException | CertificateException
-              | NoSuchAlgorithmException | KeyStoreException ex) {
-        log.error("Caught exception when trying to create restTemplateHttps: {}", ex.getMessage());
-      }
-  }
-
-  private RestTemplate createRestTemplateForHttps() throws IOException, UnrecoverableKeyException, CertificateException,
-              NoSuchAlgorithmException, KeyStoreException, KeyManagementException {
-      try (InputStream inputStream = new FileInputStream(ResourceUtils.getFile("/opt/onap/sdnc/data/properties/https-props.properties"))) {
-          Properties properties = new Properties();
-          properties.load(inputStream);
-          final String keyPassword = properties.getProperty("key-password");
-          final String keystorePassword = properties.getProperty("keystore-password");
-          final String truststorePassword = properties.getProperty("truststore-password");
-          final boolean isTrustStoreUsed = Boolean.parseBoolean(properties.getProperty("isTrustStoreUsed"));
-          SSLContextBuilder builder = SSLContexts.custom()
-                                                 .loadKeyMaterial(ResourceUtils.getFile(properties.getProperty("key-store")),
-                                                         keystorePassword.toCharArray(), keyPassword.toCharArray());
-          if (isTrustStoreUsed) {
-              builder.loadTrustMaterial(ResourceUtils.getFile(properties.getProperty("trust-store")),
-                              truststorePassword.toCharArray());
-          } else {
-              builder.loadTrustMaterial(null, new TrustAllStrategy());
-          }
-          SSLConnectionSocketFactory scsf = new SSLConnectionSocketFactory(builder.build(), NoopHostnameVerifier.INSTANCE);
-          HttpClient client = HttpClients.custom().setSSLSocketFactory(scsf).build();
-          HttpComponentsClientHttpRequestFactory requestFactory = new HttpComponentsClientHttpRequestFactory();
-          requestFactory.setHttpClient(client);
-          return new RestTemplate(requestFactory);
-      }
-  }
-
-  private HttpEntity<?> getHttpEntity(final Object object) {
-    return new HttpEntity<>(object);
-  }
-
-  @Override
-  public <T> ResponseEntity<T> get(String uri, Class<?> clazz) {
-    HttpEntity<?> entity = getHttpEntity(null);
-    return invokeHttpRequest(uri, HttpMethod.GET, clazz, entity);
-  }
-
-  @Override
-  public <T> ResponseEntity<T> put(String uri, String body, Class<T> clazz) {
-    HttpHeaders headers = new HttpHeaders();
-    headers.setContentType(MediaType.APPLICATION_JSON);
-    HttpEntity<String> entity = new HttpEntity<>(body, headers);
-    return invokeHttpRequest(uri, HttpMethod.PUT, clazz, entity);
-  }
-
-  @Override
-  public <T> ResponseEntity<T> delete(String uri) {
-    HttpEntity<?> entity = getHttpEntity(null);
-    return invokeHttpRequest(uri, HttpMethod.DELETE, null, entity);
-  }
-
-  @SuppressWarnings("unchecked")
-  private <T> ResponseEntity<T> invokeHttpRequest(String uri, HttpMethod httpMethod, Class<?> clazz,
-      HttpEntity<?> entity) {
-    try {
-        URL url = new URL(uri);
-        if (url.getProtocol().equals("https")) {
-            return (ResponseEntity<T>) restTemplateHttps.exchange(uri, httpMethod, entity, clazz);
-        } else if (url.getProtocol().equals("http")) {
-            return (ResponseEntity<T>) restTemplateHttp.exchange(uri, httpMethod, entity, clazz);
-        } else {
-            log.error("Invalid protocol in URL");
-            return new ResponseEntity<>(HttpStatus.BAD_REQUEST);
-        }
-    } catch (MalformedURLException ex) {
-        log.error("URL is not valid, exception: {}", ex.getMessage());
-        return new ResponseEntity<>(HttpStatus.BAD_REQUEST);
-    }
-  }
-}
\ No newline at end of file
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/resources/OSGI-INF/blueprint/nonrt-ric-api-blueprint.xml b/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/resources/OSGI-INF/blueprint/nonrt-ric-api-blueprint.xml
deleted file mode 100644 (file)
index 53c1509..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ============LICENSE_START=======================================================
-   Copyright (C) 2019-2020 Nordix Foundation.
-  ================================================================================
-  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.
-
-  SPDX-License-Identifier: Apache-2.0
-  ============LICENSE_END=========================================================
--->
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
-           xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
-           odl:use-default-for-reference-types="true">
-
-    <reference id="dataBroker"
-               interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
-               odl:type="default" />
-
-    <reference id="notificationService"
-               interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService"
-               odl:type="default" />
-
-    <reference id="rpcRegistry"
-               interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"
-               odl:type="default" />
-
-    <bean id="provider" class="org.o_ran_sc.nonrtric.sdnc_a1.northbound.provider.NonrtRicApiProvider">
-        <argument ref="dataBroker" />
-        <argument ref="notificationService" />
-        <argument ref="rpcRegistry" />
-    </bean>
-
-    <odl:rpc-implementation ref="provider"/>
-
-</blueprint>
\ No newline at end of file
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/resources/org/opendaylight/blueprint/nonrt-ric-api-blueprint.xml b/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/main/resources/org/opendaylight/blueprint/nonrt-ric-api-blueprint.xml
deleted file mode 100644 (file)
index 53c1509..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ============LICENSE_START=======================================================
-   Copyright (C) 2019-2020 Nordix Foundation.
-  ================================================================================
-  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.
-
-  SPDX-License-Identifier: Apache-2.0
-  ============LICENSE_END=========================================================
--->
-<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
-           xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
-           odl:use-default-for-reference-types="true">
-
-    <reference id="dataBroker"
-               interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"
-               odl:type="default" />
-
-    <reference id="notificationService"
-               interface="org.opendaylight.controller.md.sal.binding.api.NotificationPublishService"
-               odl:type="default" />
-
-    <reference id="rpcRegistry"
-               interface="org.opendaylight.controller.sal.binding.api.RpcProviderRegistry"
-               odl:type="default" />
-
-    <bean id="provider" class="org.o_ran_sc.nonrtric.sdnc_a1.northbound.provider.NonrtRicApiProvider">
-        <argument ref="dataBroker" />
-        <argument ref="notificationService" />
-        <argument ref="rpcRegistry" />
-    </bean>
-
-    <odl:rpc-implementation ref="provider"/>
-
-</blueprint>
\ No newline at end of file
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/test/java/org/o_ran_sc/nonrtric/sdnc_a1/northbound/provider/NonrtRicApiProviderTest.java b/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/test/java/org/o_ran_sc/nonrtric/sdnc_a1/northbound/provider/NonrtRicApiProviderTest.java
deleted file mode 100644 (file)
index 472250b..0000000
+++ /dev/null
@@ -1,200 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- *  Copyright (C) 2019 Nordix Foundation.
- * ================================================================================
- * 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.
- *
- * SPDX-License-Identifier: Apache-2.0
- * ============LICENSE_END=========================================================
- */
-
-package org.o_ran_sc.nonrtric.sdnc_a1.northbound.provider;
-
-import static org.junit.Assert.assertEquals;
-import static org.mockito.Matchers.eq;
-import static org.mockito.Mockito.when;
-import java.util.concurrent.ExecutionException;
-import org.junit.Before;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.mockito.Mock;
-import org.mockito.internal.util.reflection.Whitebox;
-import org.mockito.runners.MockitoJUnitRunner;
-import org.o_ran_sc.nonrtric.sdnc_a1.northbound.restadapter.RestAdapter;
-import org.opendaylight.controller.md.sal.binding.api.DataBroker;
-import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
-import org.opendaylight.controller.md.sal.binding.test.AbstractConcurrentDataBrokerTest;
-import org.opendaylight.controller.sal.binding.api.RpcProviderRegistry;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.DeleteA1PolicyInputBuilder;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.DeleteA1PolicyOutput;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.GetA1PolicyInputBuilder;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.GetA1PolicyOutput;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.GetA1PolicyStatusInputBuilder;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.GetA1PolicyStatusOutput;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.GetA1PolicyTypeInputBuilder;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.GetA1PolicyTypeOutput;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.PutA1PolicyInputBuilder;
-import org.opendaylight.yang.gen.v1.org.o_ran_sc.nonrtric.sdnc_a1.northbound.a1.adapter.rev200122.PutA1PolicyOutput;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.http.HttpStatus;
-import org.springframework.http.ResponseEntity;
-import org.springframework.web.client.RestClientResponseException;
-
-/**
- * This class Tests all the methods in NonrtRicApiProvider
- *
- * @author lathishbabu.ganesan@est.tech
- *
- */
-
-@RunWith(MockitoJUnitRunner.class)
-public class NonrtRicApiProviderTest extends AbstractConcurrentDataBrokerTest {
-
-  protected static final Logger LOG = LoggerFactory.getLogger(NonrtRicApiProviderTest.class);
-
-  private static final Integer HTTP_OK_AS_INTEGER = HttpStatus.OK.value();
-
-  protected NonrtRicApiProvider nonrtRicApiProvider;
-  protected DataBroker dataBroker;
-  @Mock
-  protected NotificationPublishService mockNotificationPublishService;
-  @Mock
-  protected RpcProviderRegistry mockRpcProviderRegistry;
-  @Mock
-  private RestAdapter restAdapter;
-  private static Uri nearRtRicUrl = new Uri("http://ric1:8085");
-
-  @Before
-  public void setUp() throws Exception {
-    dataBroker = getDataBroker();
-    nonrtRicApiProvider = new NonrtRicApiProvider(dataBroker, mockNotificationPublishService, mockRpcProviderRegistry);
-  }
-
-  @Test
-  public void testGetA1PolicySuccess() throws InterruptedException, ExecutionException {
-    GetA1PolicyInputBuilder inputBuilder = new GetA1PolicyInputBuilder();
-    inputBuilder.setNearRtRicUrl(nearRtRicUrl);
-    Whitebox.setInternalState(nonrtRicApiProvider, "restAdapter", restAdapter);
-    String returnedBody = "returned body";
-    ResponseEntity<Object> getResponse = new ResponseEntity<>(returnedBody, HttpStatus.OK);
-    when(restAdapter.get(eq(nearRtRicUrl.getValue()), eq(String.class))).thenReturn(getResponse);
-    GetA1PolicyOutput result = nonrtRicApiProvider.getA1Policy(inputBuilder.build()).get().getResult();
-    assertEquals(returnedBody, result.getBody());
-    assertEquals(HTTP_OK_AS_INTEGER, result.getHttpStatus());
-  }
-
-  @Test
-  public void testGetA1PolicyTypeSuccess() throws InterruptedException, ExecutionException {
-    GetA1PolicyTypeInputBuilder inputBuilder = new GetA1PolicyTypeInputBuilder();
-    inputBuilder.setNearRtRicUrl(nearRtRicUrl);
-    Whitebox.setInternalState(nonrtRicApiProvider, "restAdapter", restAdapter);
-    String returnedBody = "returned body";
-    ResponseEntity<Object> getResponse = new ResponseEntity<>(returnedBody, HttpStatus.OK);
-    when(restAdapter.get(eq(nearRtRicUrl.getValue()), eq(String.class))).thenReturn(getResponse);
-    GetA1PolicyTypeOutput result = nonrtRicApiProvider.getA1PolicyType(inputBuilder.build()).get().getResult();
-    assertEquals(returnedBody, result.getBody());
-    assertEquals(HTTP_OK_AS_INTEGER, result.getHttpStatus());
-  }
-
-  @Test
-  public void testGetA1PolicyStatusSuccess() throws InterruptedException, ExecutionException {
-    GetA1PolicyStatusInputBuilder inputBuilder = new GetA1PolicyStatusInputBuilder();
-    inputBuilder.setNearRtRicUrl(nearRtRicUrl);
-    Whitebox.setInternalState(nonrtRicApiProvider, "restAdapter", restAdapter);
-    String returnedBody = "returned body";
-    ResponseEntity<Object> getResponse = new ResponseEntity<>(returnedBody, HttpStatus.OK);
-    when(restAdapter.get(eq(nearRtRicUrl.getValue()), eq(String.class))).thenReturn(getResponse);
-    GetA1PolicyStatusOutput result = nonrtRicApiProvider.getA1PolicyStatus(inputBuilder.build()).get().getResult();
-    assertEquals(returnedBody, result.getBody());
-    assertEquals(HTTP_OK_AS_INTEGER, result.getHttpStatus());
-  }
-
-  @Test
-  public void testGetA1Failure() throws InterruptedException, ExecutionException {
-    GetA1PolicyInputBuilder inputBuilder = new GetA1PolicyInputBuilder();
-    inputBuilder.setNearRtRicUrl(nearRtRicUrl);
-    Whitebox.setInternalState(nonrtRicApiProvider, "restAdapter", restAdapter);
-    String returnedBody = "GET failed";
-    Integer notFoundStatusCode = HttpStatus.NOT_FOUND.value();
-    when(restAdapter.get(eq(nearRtRicUrl.getValue()), eq(String.class)))
-    .thenThrow(new RestClientResponseException(null, notFoundStatusCode, null, null, returnedBody.getBytes(), null));
-    GetA1PolicyOutput result = nonrtRicApiProvider.getA1(inputBuilder.build());
-    assertEquals(returnedBody, result.getBody());
-    assertEquals(notFoundStatusCode, result.getHttpStatus());
-  }
-
-  @Test
-  public void testPutA1PolicySuccess() throws InterruptedException, ExecutionException {
-    PutA1PolicyInputBuilder inputBuilder = new PutA1PolicyInputBuilder();
-    String testPolicy = "{}";
-    inputBuilder.setNearRtRicUrl(nearRtRicUrl);
-    inputBuilder.setBody(testPolicy);
-    Whitebox.setInternalState(nonrtRicApiProvider, "restAdapter", restAdapter);
-    String returnedBody = "returned body";
-    Integer createdStatusCode = HttpStatus.CREATED.value();
-    ResponseEntity<String> putResponse = new ResponseEntity<>(returnedBody, HttpStatus.CREATED);
-    when(restAdapter.put(eq(nearRtRicUrl.getValue()), eq(testPolicy), eq(String.class))).thenReturn(putResponse);
-    PutA1PolicyOutput result = nonrtRicApiProvider.putA1Policy(inputBuilder.build()).get().getResult();
-    assertEquals(returnedBody, result.getBody());
-    assertEquals(createdStatusCode, result.getHttpStatus());
-  }
-
-  @Test
-  public void testPutA1PolicyFailure() throws InterruptedException, ExecutionException {
-    PutA1PolicyInputBuilder inputBuilder = new PutA1PolicyInputBuilder();
-    String testPolicy = "{}";
-    inputBuilder.setNearRtRicUrl(nearRtRicUrl);
-    inputBuilder.setBody(testPolicy);
-    Whitebox.setInternalState(nonrtRicApiProvider, "restAdapter", restAdapter);
-    String returnedBody = "PUT failed";
-    Integer badRequestStatusCode = HttpStatus.BAD_REQUEST.value();
-    when(restAdapter.put(eq(nearRtRicUrl.getValue()), eq(testPolicy), eq(String.class)))
-    .thenThrow(new RestClientResponseException(null, badRequestStatusCode, null, null, returnedBody.getBytes(), null));
-    PutA1PolicyOutput result = nonrtRicApiProvider.putA1Policy(inputBuilder.build()).get().getResult();
-    assertEquals(returnedBody, result.getBody());
-    assertEquals(badRequestStatusCode, result.getHttpStatus());
-  }
-
-  @Test
-  public void testDeleteA1Success() throws InterruptedException, ExecutionException {
-    DeleteA1PolicyInputBuilder inputBuilder = new DeleteA1PolicyInputBuilder();
-    inputBuilder.setNearRtRicUrl(nearRtRicUrl);
-    Whitebox.setInternalState(nonrtRicApiProvider, "restAdapter", restAdapter);
-    ResponseEntity<Object> getResponseNoContent = new ResponseEntity<>(HttpStatus.NO_CONTENT);
-    String returnedBody = "returned body";
-    ResponseEntity<Object> getResponseOk = new ResponseEntity<>(returnedBody, HttpStatus.OK);
-    when(restAdapter.delete(nearRtRicUrl.getValue())).thenReturn(getResponseNoContent).thenReturn(getResponseOk);
-    DeleteA1PolicyOutput resultNoContent = nonrtRicApiProvider.deleteA1Policy(inputBuilder.build()).get().getResult();
-    assertEquals(Integer.valueOf(HttpStatus.NO_CONTENT.value()), resultNoContent.getHttpStatus());
-    DeleteA1PolicyOutput resultOk = nonrtRicApiProvider.deleteA1Policy(inputBuilder.build()).get().getResult();
-    assertEquals(returnedBody, resultOk.getBody());
-    assertEquals(HTTP_OK_AS_INTEGER, resultOk.getHttpStatus());
-  }
-
-  @Test
-  public void testDeleteA1Failure() throws InterruptedException, ExecutionException {
-    DeleteA1PolicyInputBuilder inputBuilder = new DeleteA1PolicyInputBuilder();
-    inputBuilder.setNearRtRicUrl(nearRtRicUrl);
-    Whitebox.setInternalState(nonrtRicApiProvider, "restAdapter", restAdapter);
-    String returnedBody = "DELETE failed";
-    Integer notFoundStatusCode = HttpStatus.NOT_FOUND.value();
-    when(restAdapter.delete(nearRtRicUrl.getValue()))
-    .thenThrow(new RestClientResponseException(null, notFoundStatusCode, null, null, returnedBody.getBytes(), null));
-    DeleteA1PolicyOutput result = nonrtRicApiProvider.deleteA1Policy(inputBuilder.build()).get().getResult();
-    assertEquals(returnedBody, result.getBody());
-    assertEquals(notFoundStatusCode, result.getHttpStatus());
-  }
-
-}
diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/test/java/org/o_ran_sc/nonrtric/sdnc_a1/northbound/restadapter/RestAdapterImplTest.java b/sdnc-a1-controller/northbound/nonrt-ric-api/provider/src/test/java/org/o_ran_sc/nonrtric/sdnc_a1/northbound/restadapter/RestAdapterImplTest.java
deleted file mode 100644 (file)
index 182d9f7..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- *  Copyright (C) 2020 Nordix Foundation.
- * ================================================================================
- * 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.
- *
- * SPDX-License-Identifier: Apache-2.0
- * ============LICENSE_END=========================================================
- */
-
-package org.o_ran_sc.nonrtric.sdnc_a1.northbound.restadapter;
-
-import static org.junit.Assert.assertEquals;
-import java.io.IOException;
-import okhttp3.mockwebserver.MockResponse;
-import okhttp3.mockwebserver.MockWebServer;
-import okhttp3.mockwebserver.RecordedRequest;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-import org.springframework.http.HttpStatus;
-import org.springframework.http.ResponseEntity;
-import org.springframework.web.client.RestClientException;
-
-public class RestAdapterImplTest {
-    private static MockWebServer mockWebServer;
-    private static RestAdapter adapterUnderTest;
-
-    private static final String VALID_PROTOCOL = "http";
-    private static final String INVALID_PROTOCOL = "ftp";
-    private static final String REQUEST_URL = "/test";
-    private static final String TEST_BODY = "test";
-    private static final Integer SUCCESS_CODE = 200;
-    private static final Integer ERROR_CODE = 500;
-
-    @Before
-    public void init() throws IOException {
-        mockWebServer = new MockWebServer();
-        mockWebServer.start();
-        adapterUnderTest = new RestAdapterImpl();
-    }
-
-    @After
-    public void tearDown() throws IOException {
-        mockWebServer.shutdown();
-    }
-
-    @Test
-    public void testInvalidUrlOrProtocol() throws InterruptedException {
-        ResponseEntity<String> response = adapterUnderTest.get("://localhost:" + mockWebServer.getPort() + REQUEST_URL,
-                String.class);
-        assertEquals(HttpStatus.BAD_REQUEST.value(), response.getStatusCodeValue());
-        response = adapterUnderTest.get(INVALID_PROTOCOL + "://localhost:" + mockWebServer.getPort() + REQUEST_URL,
-                String.class);
-        assertEquals(HttpStatus.BAD_REQUEST.value(), response.getStatusCodeValue());
-    }
-
-    @Test
-    public void testGetNoError() throws InterruptedException {
-        mockWebServer.enqueue(new MockResponse().setResponseCode(SUCCESS_CODE).setBody(TEST_BODY));
-        ResponseEntity<String> response = adapterUnderTest.get(VALID_PROTOCOL + "://localhost:"
-                + mockWebServer.getPort() + REQUEST_URL, String.class);
-        RecordedRequest recordedRequest = mockWebServer.takeRequest();
-        assertEquals(TEST_BODY, response.getBody());
-        assertEquals(SUCCESS_CODE.intValue(), response.getStatusCodeValue());
-        assertEquals("GET", recordedRequest.getMethod());
-        assertEquals(REQUEST_URL, recordedRequest.getPath());
-    }
-
-    @Test(expected = RestClientException.class)
-    public void testGetError() {
-        mockWebServer.enqueue(new MockResponse().setResponseCode(ERROR_CODE));
-        adapterUnderTest.get(VALID_PROTOCOL + "://localhost:" + mockWebServer.getPort() + REQUEST_URL, String.class);
-    }
-
-    @Test
-    public void testPutNoError() throws InterruptedException {
-        mockWebServer.enqueue(new MockResponse().setResponseCode(SUCCESS_CODE).setBody(TEST_BODY));
-        ResponseEntity<String> response = adapterUnderTest.put(VALID_PROTOCOL + "://localhost:"
-                + mockWebServer.getPort() + REQUEST_URL, TEST_BODY, String.class);
-        RecordedRequest recordedRequest = mockWebServer.takeRequest();
-        assertEquals(TEST_BODY, response.getBody());
-        assertEquals(SUCCESS_CODE.intValue(), response.getStatusCodeValue());
-        assertEquals("PUT", recordedRequest.getMethod());
-        assertEquals(REQUEST_URL, recordedRequest.getPath());
-        assertEquals(TEST_BODY, recordedRequest.getBody().readUtf8());
-    }
-
-    @Test(expected = RestClientException.class)
-    public void testPutError() {
-        mockWebServer.enqueue(new MockResponse().setResponseCode(ERROR_CODE));
-        adapterUnderTest.put(VALID_PROTOCOL + "://localhost:" + mockWebServer.getPort() + REQUEST_URL, TEST_BODY,
-                String.class);
-    }
-
-    @Test
-    public void testDeleteNoError() throws InterruptedException {
-        mockWebServer.enqueue(new MockResponse().setResponseCode(SUCCESS_CODE));
-        ResponseEntity<String> response = adapterUnderTest.delete(VALID_PROTOCOL + "://localhost:"
-                + mockWebServer.getPort() + REQUEST_URL);
-        RecordedRequest recordedRequest = mockWebServer.takeRequest();
-        assertEquals(SUCCESS_CODE.intValue(), response.getStatusCodeValue());
-        assertEquals("DELETE", recordedRequest.getMethod());
-        assertEquals(REQUEST_URL, recordedRequest.getPath());
-    }
-
-    @Test(expected = RestClientException.class)
-    public void testDeleteError() {
-        mockWebServer.enqueue(new MockResponse().setResponseCode(ERROR_CODE));
-        adapterUnderTest.delete(VALID_PROTOCOL + "://localhost:" + mockWebServer.getPort() + REQUEST_URL);
-    }
-}
diff --git a/sdnc-a1-controller/northbound/pom.xml b/sdnc-a1-controller/northbound/pom.xml
deleted file mode 100644 (file)
index 4589d0c..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ============LICENSE_START=======================================================
-   Modifications Copyright (C) 2019 Nordix Foundation.
-  ================================================================================
-  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.
-
-  SPDX-License-Identifier: Apache-2.0
-  ============LICENSE_END=========================================================
--->
-<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>
-
-       <repositories>
-               <repository>
-                       <id>onap-releases</id>
-                       <name>onap-releases</name>
-                       <url>https://nexus.onap.org/content/repositories/releases/</url>
-               </repository>
-       </repositories>
-
-       <parent>
-               <groupId>org.onap.ccsdk.parent</groupId>
-               <artifactId>odlparent-lite</artifactId>
-               <version>1.5.1</version>
-               <relativePath/>
-       </parent>
-
-       <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId>
-       <artifactId>sdnc-a1-northbound</artifactId>
-       <version>2.1.0-SNAPSHOT</version>
-       <packaging>pom</packaging>
-
-       <properties>
-               <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
-       </properties>
-
-       <name>sdnc-a1-northbound</name>
-       <description>The SDN-C Northbound APIs repo contains code for northbound API adaptors, typically MD-SAL applications</description>
-       <url>https://wiki.onap.org</url>
-       <organization>
-               <name>ONAP</name>
-       </organization>
-
-       <modules>
-               <module>features</module>
-               <module>nonrt-ric-api</module>
-       </modules>
-
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-surefire-plugin</artifactId>
-                               <version>2.17</version>
-                               <configuration>
-                                       <skipTests>false</skipTests>
-                               </configuration>
-                       </plugin>
-                       <!-- support sonar in multi-module project -->
-                       <plugin>
-                               <groupId>org.sonarsource.scanner.maven</groupId>
-                               <artifactId>sonar-maven-plugin</artifactId>
-                               <version>${sonar-maven-plugin.version}</version>
-                       </plugin>
-               </plugins>
-       </build>
-
-</project>
diff --git a/sdnc-a1-controller/oam/.gitignore b/sdnc-a1-controller/oam/.gitignore
deleted file mode 100755 (executable)
index b632be9..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-#####standard .git ignore entries#####
-
-## IDE Specific Files ##
-org.eclipse.core.resources.prefs
-.checkstyle
-.classpath
-.project
-.settings
-.idea
-.externalToolBuilders
-.pydevproject
-maven-eclipse.xml
-workspace
-
-## Compilation Files ##
-*.class
-**/target
-target
-target-ide
-MANIFEST.MF
-
-## Misc Ignores (OS specific etc) ##
-bin/
-dist
-*~
-*.ipr
-*.iml
-*.iws
-classes
-out/
-.DS_STORE
-.metadata
-
-## antlr4 generated files ##
-ExprGrammarBaseListener.java
-ExprGrammarLexer.java
-ExprGrammarListener.java
-ExprGrammarParser.java
-ExprGrammar.tokens
-ExprGrammarLexer.tokens
-
-# BlackDuck generated file
-sdnc-oam_bdio.jsonld
-blackDuckHubProjectName.txt
-blackDuckHubProjectVersionName.txt
-
-#Chef local mode cache
-local-mode-cache
-
-# Generated local docker image
-**/docker-files/opt
-**/src/main/resources/opt
-
-#dgbuilder releases
-#**/dgbuilder/releases
-
-#version plugin backups
-**/*.versionsBackup
-
-#Yang generated
-**/restconfapi-yang/src/main/java/
-**/yang-gen-sal/
diff --git a/sdnc-a1-controller/oam/.gitreview b/sdnc-a1-controller/oam/.gitreview
deleted file mode 100644 (file)
index 7703960..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-[gerrit]
-host=gerrit.onap.org
-port=29418
-project=sdnc/oam.git
diff --git a/sdnc-a1-controller/oam/LICENSE.txt b/sdnc-a1-controller/oam/LICENSE.txt
deleted file mode 100644 (file)
index e8798fc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSE.txt
-
-The content of this sub-directory is based on ONAP SDNC project,
-with appropriate licenses specified in the individual files.
-The modifications are covered by the following license:
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the "Software License");
-you may not use this software except in compliance with the Software
-License. You may obtain a copy of the Software License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the Software License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the Software License for the specific language governing permissions
-and limitations under the Software License.
diff --git a/sdnc-a1-controller/oam/README.md b/sdnc-a1-controller/oam/README.md
deleted file mode 100644 (file)
index c366fa0..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-This module builds the submodule sdnc-a1 which inturn creates the SDNC A1 docker image
-
-To compile, run
->`mvn clean install`
-
-## License
-
-Copyright (C) 2019 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
-
-
diff --git a/sdnc-a1-controller/oam/installation/LICENSE.txt b/sdnc-a1-controller/oam/installation/LICENSE.txt
deleted file mode 100644 (file)
index e8798fc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSE.txt
-
-The content of this sub-directory is based on ONAP SDNC project,
-with appropriate licenses specified in the individual files.
-The modifications are covered by the following license:
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the "Software License");
-you may not use this software except in compliance with the Software
-License. You may obtain a copy of the Software License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the Software License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the Software License for the specific language governing permissions
-and limitations under the Software License.
diff --git a/sdnc-a1-controller/oam/installation/README.md b/sdnc-a1-controller/oam/installation/README.md
deleted file mode 100644 (file)
index 9880d7c..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-This source repository contains the code for SDNC-A1 Controller operations, administration and maintenance utilities.
-
-It adds the features from northbound directory and creates the docker image for SDNC-A1 controller.
-
-It also contains the keystore, the script to start OpenDaylight, and the healthcheck script.
-
-The docker-compose file is also included in this directory.
-
-To compile, run
->`mvn clean install`
-
-## License
-
-Copyright (C) 2019 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
-
-
diff --git a/sdnc-a1-controller/oam/installation/TagVersion.groovy b/sdnc-a1-controller/oam/installation/TagVersion.groovy
deleted file mode 100644 (file)
index 551eb70..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP SDNC
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. 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.
- * ============LICENSE_END============================================
- * ===================================================================
- *
- */
-
-package org.o_ran_sc.nonrtric.sdnc_a1.oam
-
-
-def versionArray;
-if ( project.properties['sdnc.project.version'] != null ) {
-       versionArray = project.properties['sdnc.project.version'].split('\\.');
-}
-
-if ( project.properties['sdnc.project.version'].endsWith("-SNAPSHOT") ) {
-       patchArray = versionArray[2].split('-');
-       project.properties['project.docker.latestminortag.version']=versionArray[0] + '.' + versionArray[1] + "-SNAPSHOT-latest";
-       project.properties['project.docker.latestfulltag.version']=versionArray[0] + '.' + versionArray[1] + '.' + patchArray[0] + "-SNAPSHOT-latest";
-       project.properties['project.docker.latesttagtimestamp.version']=versionArray[0] + '.' + versionArray[1] + '.' + patchArray[0] + "-SNAPSHOT-"+project.properties['sdnc.build.timestamp'];
-} else {
-       project.properties['project.docker.latestminortag.version']=versionArray[0] + '.' + versionArray[1] + "-STAGING-latest";
-       project.properties['project.docker.latestfulltag.version']=versionArray[0] + '.' + versionArray[1] + '.' + versionArray[2] + "-STAGING-latest";
-       project.properties['project.docker.latesttagtimestamp.version']=versionArray[0] + '.' + versionArray[1] + '.' + versionArray[2] + "-STAGING-"+project.properties['sdnc.build.timestamp'];
-}
diff --git a/sdnc-a1-controller/oam/installation/pom.xml b/sdnc-a1-controller/oam/installation/pom.xml
deleted file mode 100644 (file)
index 11b2bb8..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ============LICENSE_START=======================================================
-   Modifications Copyright (C) 2019 Nordix Foundation.
-  ================================================================================
-  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.
-
-  SPDX-License-Identifier: Apache-2.0
-  ============LICENSE_END=========================================================
--->
-<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/maven-v4_0_0.xsd">
-
-    <parent>
-        <groupId>org.onap.ccsdk.parent</groupId>
-        <artifactId>odlparent-lite</artifactId>
-        <version>1.5.1</version>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <packaging>pom</packaging>
-    <groupId>org.o-ran-sc.nonrtric.sdnc-a1.oam</groupId>
-    <artifactId>installation</artifactId>
-    <version>2.1.0-SNAPSHOT</version>
-
-    <name>sdnc-a1-oam :: installation</name>
-    <description>Installs SDN-C on local file system</description>
-
-    <modules>
-        <module>sdnc-a1</module>
-    </modules>
-</project>
diff --git a/sdnc-a1-controller/oam/installation/sdnc-a1/LICENSE.txt b/sdnc-a1-controller/oam/installation/sdnc-a1/LICENSE.txt
deleted file mode 100644 (file)
index e8798fc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSE.txt
-
-The content of this sub-directory is based on ONAP SDNC project,
-with appropriate licenses specified in the individual files.
-The modifications are covered by the following license:
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the "Software License");
-you may not use this software except in compliance with the Software
-License. You may obtain a copy of the Software License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the Software License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the Software License for the specific language governing permissions
-and limitations under the Software License.
diff --git a/sdnc-a1-controller/oam/installation/sdnc-a1/README.md b/sdnc-a1-controller/oam/installation/sdnc-a1/README.md
deleted file mode 100644 (file)
index 1153948..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-This module is responsible for creating Docker images. The feature installers are added into the docker images so that it can be installed in karaf server.
-
-To compile, run
->`mvn clean install`
-
-## License
-
-Copyright (C) 2019 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
-
-
diff --git a/sdnc-a1-controller/oam/installation/sdnc-a1/pom.xml b/sdnc-a1-controller/oam/installation/sdnc-a1/pom.xml
deleted file mode 100644 (file)
index 18d94cd..0000000
+++ /dev/null
@@ -1,310 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ============LICENSE_START=======================================================
-   Modifications Copyright (C) 2019 Nordix Foundation.
-  ================================================================================
-  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.
-
-  SPDX-License-Identifier: Apache-2.0
-  ============LICENSE_END=========================================================
--->
-<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/maven-v4_0_0.xsd">
-
-    <parent>
-        <groupId>org.onap.ccsdk.parent</groupId>
-        <artifactId>odlparent-lite</artifactId>
-        <version>1.5.1</version>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <packaging>pom</packaging>
-    <groupId>org.o-ran-sc.nonrtric.sdnc-a1.oam</groupId>
-    <artifactId>installation-sdnc-a1</artifactId>
-    <version>2.1.0-SNAPSHOT</version>
-
-    <name>sdnc-a1-oam :: installation :: ${project.artifactId}</name>
-    <description>Creates SDN Controller Docker container</description>
-
-    <properties>
-     <standalone.image.name>o-ran-sc/nonrtric-a1-controller</standalone.image.name>
-     <standalone.image.version>2.1.0-SNAPSHOT</standalone.image.version>
-     <sdnc.project.version>${project.version}</sdnc.project.version>
-     <sdnc.build.timestamp>${maven.build.timestamp}</sdnc.build.timestamp>
-     <sdnc.northbound.version>2.1.0-SNAPSHOT</sdnc.northbound.version>
-     <ccsdk.docker.version>0.7.0</ccsdk.docker.version>
-     <docker.push.phase>deploy</docker.push.phase>
-    </properties>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId>
-            <artifactId>nonrt-ric-api-installer</artifactId>
-            <version>${sdnc.northbound.version}</version>
-            <classifier>repo</classifier>
-            <type>zip</type>
-        </dependency>
-        <dependency>
-            <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId>
-            <artifactId>sdnc-a1-northbound-features-installer</artifactId>
-            <version>${sdnc.northbound.version}</version>
-            <classifier>repo</classifier>
-            <type>zip</type>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-
-            <plugin>
-                <groupId>org.codehaus.groovy.maven</groupId>
-                <artifactId>gmaven-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <phase>validate</phase>
-                        <goals>
-                            <goal>execute</goal>
-                        </goals>
-                        <configuration>
-                            <source>${basedir}/../TagVersion.groovy</source>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <groupId>io.fabric8</groupId>
-                <artifactId>docker-maven-plugin</artifactId>
-                <version>0.30.0</version>
-                <inherited>false</inherited>
-                <executions>
-                   <execution>
-                     <id>generate-standalone-images</id>
-                     <phase>package</phase>
-                     <goals>
-                      <goal>build</goal>
-                     </goals>
-                     <configuration>
-                      <images>
-                       <image>
-                        <name>${standalone.image.name}:${standalone.image.version}</name>
-                        <build>
-                         <cleanup>try</cleanup>
-                         <contextDir>${basedir}/target/docker-stage</contextDir>
-                         <dockerFile>standalone.Dockerfile</dockerFile>
-                         <tags>
-                             <tag>${standalone.image.version}</tag>
-                         </tags>
-                        </build>
-                       </image>
-                      </images>
-                     </configuration>
-                   </execution>
-                   <execution>
-                     <id>push-standalone-images</id>
-                     <phase>${docker.push.phase}</phase>
-                     <goals>
-                      <goal>build</goal>
-                      <goal>push</goal>
-                     </goals>
-                     <configuration>
-                       <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
-                       <images>
-                        <image>
-                         <name>${standalone.image.name}:${standalone.image.version}</name>
-                         <build>
-                          <cleanup>try</cleanup>
-                          <contextDir>${basedir}/target/docker-stage</contextDir>
-                          <dockerFile>standalone.Dockerfile</dockerFile>
-                          <tags>
-                             <tag>${standalone.image.version}</tag>
-                          </tags>
-                         </build>
-                        </image>
-                       </images>
-                     </configuration>
-                  </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <artifactId>maven-resources-plugin</artifactId>
-                <version>2.6</version>
-                <executions>
-                    <execution>
-                        <id>copy-dockerfile</id>
-                        <goals>
-                            <goal>copy-resources</goal>
-                        </goals><!-- here the phase you need -->
-                        <phase>validate</phase>
-                        <configuration>
-                            <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
-                            <resources>
-                                <resource>
-                                    <directory>src/main/docker</directory>
-                                    <includes>
-                                        <include>standalone.Dockerfile</include>
-                                    </includes>
-                                    <filtering>true</filtering>
-                                </resource>
-                            </resources>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>copy-scripts</id>
-                        <goals>
-                            <goal>copy-resources</goal>
-                        </goals><!-- here the phase you need -->
-                        <phase>validate</phase>
-                        <configuration>
-                            <outputDirectory>${basedir}/target/docker-stage/opt/onap/sdnc/bin</outputDirectory>
-                            <resources>
-                                <resource>
-                                    <directory>src/main/scripts</directory>
-                                    <includes>
-                                        <include>*.py</include>
-                                        <include>*.sh</include>
-                                    </includes>
-                                    <filtering>false</filtering>
-                                </resource>
-                            </resources>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>copy-tarballs</id>
-                        <goals>
-                            <goal>copy-resources</goal>
-                        </goals><!-- here the phase you need -->
-                        <phase>validate</phase>
-                        <configuration>
-                            <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
-                            <resources>
-                                <resource>
-                                    <directory>src/main/resources</directory>
-                                    <includes>
-                                        <include>*.jks</include>
-                                    </includes>
-                                    <filtering>false</filtering>
-                                </resource>
-                            </resources>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>copy-data</id>
-                        <goals>
-                            <goal>copy-resources</goal>
-                        </goals><!-- here the phase you need -->
-                        <phase>validate</phase>
-                        <configuration>
-                            <outputDirectory>${basedir}/target/docker-stage/opt/onap/sdnc/data</outputDirectory>
-                            <resources>
-                                <resource>
-                                    <directory>src/main/resources</directory>
-                                    <includes>
-                                        <include>*.dump</include>
-                                    </includes>
-                                    <filtering>false</filtering>
-                                </resource>
-                            </resources>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>copy-properties</id>
-                        <goals>
-                            <goal>copy-resources</goal>
-                        </goals><!-- here the phase you need -->
-                        <phase>validate</phase>
-                        <configuration>
-                            <outputDirectory>${basedir}/target/docker-stage/opt/onap/sdnc/data/properties</outputDirectory>
-                            <resources>
-                                <resource>
-                                    <directory>../src/main/properties</directory>
-                                    <includes>
-                                        <include>*.properties</include>
-                                        <include>*.props</include>
-                                        <include>*.csv</include>
-                                    </includes>
-                                    <filtering>false</filtering>
-                                </resource>
-                            </resources>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <version>3.0.2</version>
-                <executions>
-                    <execution>
-                        <id>unpack sdnc features</id>
-                        <phase>generate-sources</phase>
-                        <goals>
-                            <goal>unpack-dependencies</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
-                            <excludeTransitive>true</excludeTransitive>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>unpack dgs</id>
-                        <phase>generate-sources</phase>
-                        <goals>
-                            <goal>unpack</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${basedir}/target/docker-stage/opt/onap/sdnc</outputDirectory>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>${project.groupId}</groupId>
-                                    <artifactId>platform-logic-installer</artifactId>
-                                    <version>${project.version}</version>
-                                    <type>zip</type>
-                                </artifactItem>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <artifactId>exec-maven-plugin</artifactId>
-                <groupId>org.codehaus.mojo</groupId>
-                <version>1.5.0</version>
-                <executions>
-                    <execution>
-                        <id>change shell permissions</id>
-                        <phase>process-sources</phase>
-                        <goals>
-                            <goal>exec</goal>
-                        </goals>
-                        <configuration>
-                            <executable>/usr/bin/find</executable>
-                            <arguments>
-                                <argument>${basedir}/target/docker-stage/opt/onap/sdnc</argument>
-                                <argument>-name</argument>
-                                <argument>*.sh</argument>
-                                <argument>-exec</argument>
-                                <argument>chmod</argument>
-                                <argument>+x</argument>
-                                <argument>{}</argument>
-                                <argument>;</argument>
-                            </arguments>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-    <organization>
-        <name>ONAP</name>
-    </organization>
-</project>
diff --git a/sdnc-a1-controller/oam/installation/sdnc-a1/src/main/docker/standalone.Dockerfile b/sdnc-a1-controller/oam/installation/sdnc-a1/src/main/docker/standalone.Dockerfile
deleted file mode 100755 (executable)
index e80187a..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-#  ============LICENSE_START===============================================
-#  Modifications Copyright (C) 2020 Nordix Foundation. 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.
-#  ============LICENSE_END=================================================
-#
-
-# Prepare stage for multistage image build
-## START OF STAGE0 ##
-FROM nexus3.onap.org:10001/onap/ccsdk-odlsli-alpine-image:${ccsdk.docker.version} AS stage0
-
-ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk
-ENV ODL_HOME /opt/opendaylight
-
-USER root
-
-# copy onap
-COPY opt /opt
-RUN test -L /opt/sdnc || ln -s /opt/onap/sdnc /opt/sdnc
-RUN mkdir $ODL_HOME/current/certs
-
-# copy SDNC mvn artifacts to ODL repository
-COPY system /tmp/system
-RUN rsync -a /tmp/system $ODL_HOME
-## END OF STAGE0 ##
-
-
-FROM nexus3.onap.org:10001/onap/ccsdk-odlsli-alpine-image:${ccsdk.docker.version}
-
-MAINTAINER O-RAN-SC NONRTRIC Team
-
-ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk
-ENV ODL_HOME /opt/opendaylight
-ENV SDNC_CONFIG_DIR /opt/onap/sdnc/data/properties
-ENV JAVA_SECURITY_DIR /etc/ssl/certs/java
-ENV SDNC_NORTHBOUND_REPO mvn:org.o-ran-sc.nonrtric.sdnc-a1.northbound/sdnc-a1-northbound-all/${sdnc.northbound.version}/xml/features
-ENV SDNC_KEYSTORE keystore.jks
-ENV SDNC_TRUSTSTORE truststore.jks
-ENV SDNC_SECUREPORT 8443
-
-USER root
-
-COPY --from=stage0 --chown=odl:odl /opt /opt
-
-# Add SDNC repositories to boot repositories
-RUN cp $ODL_HOME/etc/org.apache.karaf.features.cfg $ODL_HOME/etc/org.apache.karaf.features.cfg.orig
-RUN sed -i -e "\|featuresRepositories|s|$|,${SDNC_NORTHBOUND_REPO}|"  $ODL_HOME/etc/org.apache.karaf.features.cfg
-RUN sed -i -e "\|featuresBoot[^a-zA-Z]|s|$|,sdnc-a1-northbound-all|"  $ODL_HOME/etc/org.apache.karaf.features.cfg
-RUN sed -i "s/odl-restconf-all/odl-restconf-all,odl-netconf-topology/g"  $ODL_HOME/etc/org.apache.karaf.features.cfg
-
-# Install java certificate
-COPY $SDNC_KEYSTORE $JAVA_SECURITY_DIR
-COPY $SDNC_TRUSTSTORE $JAVA_SECURITY_DIR
-
-# Secure with TLS
-RUN echo org.osgi.service.http.secure.enabled=true >> $ODL_HOME/etc/custom.properties
-RUN echo org.osgi.service.http.secure.port=$SDNC_SECUREPORT >> $ODL_HOME/etc/custom.properties
-
-RUN chown -R odl:odl /opt
-
-USER odl
-
-ENTRYPOINT /opt/onap/sdnc/bin/startODL.sh
-EXPOSE 8181 $SDNC_SECUREPORT
diff --git a/sdnc-a1-controller/oam/installation/sdnc-a1/src/main/resources/keystore.jks b/sdnc-a1-controller/oam/installation/sdnc-a1/src/main/resources/keystore.jks
deleted file mode 100644 (file)
index 705b284..0000000
Binary files a/sdnc-a1-controller/oam/installation/sdnc-a1/src/main/resources/keystore.jks and /dev/null differ
diff --git a/sdnc-a1-controller/oam/installation/sdnc-a1/src/main/resources/sdnctl.dump b/sdnc-a1-controller/oam/installation/sdnc-a1/src/main/resources/sdnctl.dump
deleted file mode 100644 (file)
index 4776666..0000000
+++ /dev/null
@@ -1,3441 +0,0 @@
--- MySQL dump 10.13  Distrib 5.6.22, for Linux (x86_64)
---
--- Host: sdnctldb01    Database: sdnctl
--- ------------------------------------------------------
--- Server version      5.6.27-enterprise-commercial-advanced-log
-
-/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
-/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
-/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
-/*!40101 SET NAMES utf8 */;
-/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
-/*!40103 SET TIME_ZONE='+00:00' */;
-/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
-/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
-/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
-/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-
---
--- Table structure for table `ACCESS_LOG`
---
-
-DROP TABLE IF EXISTS `ACCESS_LOG`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `ACCESS_LOG` (
-  `access_log_seq` int(11) NOT NULL AUTO_INCREMENT,
-  `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
-  `method` varchar(12) DEFAULT NULL,
-  `version` varchar(12) DEFAULT NULL,
-  `status` varchar(12) DEFAULT NULL,
-  `url` varchar(256) DEFAULT NULL,
-  `remote_address` varchar(128) DEFAULT NULL,
-  PRIMARY KEY (`access_log_seq`)
-) ENGINE=InnoDB AUTO_INCREMENT=1034 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `ADDRESS_PLAN_POLICIES`
---
-
-DROP TABLE IF EXISTS `ADDRESS_PLAN_POLICIES`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `ADDRESS_PLAN_POLICIES` (
-  `key_name` varchar(255) NOT NULL,
-  `key_value_source_type` varchar(255) NOT NULL,
-  `key_value_source` varchar(255) NOT NULL,
-  PRIMARY KEY (`key_name`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `AGNOSTIC_NOTIFICATION_URL`
---
-
-DROP TABLE IF EXISTS `AGNOSTIC_NOTIFICATION_URL`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `AGNOSTIC_NOTIFICATION_URL` (
-  `service_type` varchar(128) NOT NULL,
-  `service_instance_id` varchar(128) NOT NULL,
-  `request_id` varchar(128) NOT NULL,
-  `svc_notification_url` varchar(256) NOT NULL,
-  PRIMARY KEY (`service_type`,`service_instance_id`,`request_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `AGNOSTIC_TO_SVC_SPCFC_API`
---
-
-DROP TABLE IF EXISTS `AGNOSTIC_TO_SVC_SPCFC_API`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `AGNOSTIC_TO_SVC_SPCFC_API` (
-  `operation` varchar(128) NOT NULL,
-  `service` varchar(128) NOT NULL,
-  `service_specific_api` varchar(128) NOT NULL,
-  `async_process` varchar(15) DEFAULT NULL,
-  PRIMARY KEY (`operation`,`service`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `AIC_AVAIL_ZONE_POOL`
---
-
-DROP TABLE IF EXISTS `AIC_AVAIL_ZONE_POOL`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `AIC_AVAIL_ZONE_POOL` (
-  `aic_site_id` varchar(100) NOT NULL,
-  `status` varchar(40) NOT NULL,
-  `availability_zone` varchar(100) NOT NULL,
-  `token` varchar(5) NOT NULL,
-  `vnf_id` varchar(80) DEFAULT NULL,
-  `service_type` varchar(100) NOT NULL,
-  `vnf_type` varchar(20) DEFAULT NULL,
-  `hypervisor` varchar(10) DEFAULT NULL,
-  PRIMARY KEY (`aic_site_id`,`availability_zone`,`token`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `AIC_HOSTNAME`
---
-
-DROP TABLE IF EXISTS `AIC_HOSTNAME`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `AIC_HOSTNAME` (
-  `hostname` varchar(20) NOT NULL,
-  `cust_id` int(11) NOT NULL,
-  `vendor_code` varchar(1) NOT NULL,
-  `virtual_device_type` varchar(2) DEFAULT NULL,
-  `device_sequence` varchar(3) NOT NULL,
-  `create_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
-  PRIMARY KEY (`hostname`),
-  UNIQUE KEY `hostname` (`hostname`),
-  KEY `IN1_AIC_HOSTNAME` (`cust_id`),
-  CONSTRAINT `AC1_HOSTNAME` FOREIGN KEY (`cust_id`) REFERENCES `CUSTOMER` (`cust_id`) ON DELETE NO ACTION ON UPDATE NO ACTION
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `AIC_NETWORK`
---
-
-DROP TABLE IF EXISTS `AIC_NETWORK`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `AIC_NETWORK` (
-  `network_id` varchar(100) NOT NULL,
-  `network_name` varchar(100) DEFAULT NULL,
-  `status` varchar(20) DEFAULT NULL,
-  `tenant_id` varchar(100) DEFAULT NULL,
-  `switch_uuid` varchar(100) DEFAULT NULL,
-  `portgroup_name` varchar(100) DEFAULT NULL,
-  `portgroup_id` varchar(100) DEFAULT NULL,
-  PRIMARY KEY (`network_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `AIC_SITE`
---
-
-DROP TABLE IF EXISTS `AIC_SITE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `AIC_SITE` (
-  `name` varchar(100) DEFAULT NULL,
-  `aic_site_id` varchar(100) NOT NULL,
-  `vcenter_url` varchar(200) DEFAULT NULL,
-  `vcenter_username` varchar(40) DEFAULT NULL,
-  `vcenter_passwd` varbinary(255) DEFAULT NULL,
-  `city` varchar(100) DEFAULT NULL,
-  `state` varchar(2) DEFAULT NULL,
-  `operational_status` varchar(20) DEFAULT NULL,
-  `oam_gateway_addr` varchar(20) DEFAULT '',
-  PRIMARY KEY (`aic_site_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `AIC_SWITCH`
---
-
-DROP TABLE IF EXISTS `AIC_SWITCH`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `AIC_SWITCH` (
-  `switch_name` varchar(100) DEFAULT NULL,
-  `physical_network_name` varchar(100) NOT NULL,
-  `aic_site_id` varchar(100) DEFAULT NULL,
-  `uuid` varchar(100) DEFAULT NULL,
-  `availability_zone` varchar(100) DEFAULT NULL,
-  PRIMARY KEY (`physical_network_name`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `AIC_ZONE_CLOUD_REGION_ID`
---
-
-DROP TABLE IF EXISTS `AIC_ZONE_CLOUD_REGION_ID`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `AIC_ZONE_CLOUD_REGION_ID` (
-  `zone_region_id` varchar(255) NOT NULL,
-  `cilli_code` varchar(255) NOT NULL,
-  `location_id` varchar(255) NOT NULL DEFAULT '',
-  `city_state_country` varchar(255) NOT NULL DEFAULT '',
-  PRIMARY KEY (`zone_region_id`,`cilli_code`,`location_id`,`city_state_country`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `ALLOCATION_ITEM`
---
-
-DROP TABLE IF EXISTS `ALLOCATION_ITEM`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `ALLOCATION_ITEM` (
-  `allocation_item_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
-  `resource_id` bigint(20) NOT NULL,
-  `application_id` varchar(50) NOT NULL,
-  `resource_set_id` varchar(200) NOT NULL,
-  `resource_union_id` varchar(200) NOT NULL,
-  `resource_share_group_list` varchar(200) DEFAULT NULL,
-  `lt_used` bigint(20) DEFAULT NULL,
-  `ll_label` varchar(50) DEFAULT NULL,
-  `rr_used` varchar(200) DEFAULT NULL,
-  `allocation_time` datetime NOT NULL,
-  PRIMARY KEY (`allocation_item_id`),
-  UNIQUE KEY `allocation_item_id` (`allocation_item_id`),
-  UNIQUE KEY `IX2_ALLOCATION_ITEM` (`resource_id`,`resource_set_id`),
-  KEY `IX1_ALLOCATION_ITEM` (`resource_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=5764 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `ALLOTTED_RESOURCE_MODEL`
---
-
-DROP TABLE IF EXISTS `ALLOTTED_RESOURCE_MODEL`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `ALLOTTED_RESOURCE_MODEL` (
-  `customization_uuid` varchar(255) NOT NULL,
-  `model_yaml` longblob,
-  `invariant_uuid` varchar(255) DEFAULT NULL,
-  `uuid` varchar(255) DEFAULT NULL,
-  `version` varchar(255) DEFAULT NULL,
-  `naming_policy` varchar(255) DEFAULT NULL,
-  `ecomp_generated_naming` char(1) DEFAULT NULL,
-  `depending_service` varchar(255) DEFAULT NULL,
-  `role` varchar(255) DEFAULT NULL,
-  `type` varchar(255) DEFAULT NULL,
-  `service_dependency` varchar(255) DEFAULT NULL,
-  `allotted_resource_type` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`customization_uuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `ALTS_CREDENTIALS`
---
-
-DROP TABLE IF EXISTS `ALTS_CREDENTIALS`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `ALTS_CREDENTIALS` (
-  `alts_username` varchar(255) NOT NULL,
-  `alts_password` varbinary(255) NOT NULL,
-  PRIMARY KEY (`alts_username`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `ASDC_ARTIFACTS`
---
-
-DROP TABLE IF EXISTS `ASDC_ARTIFACTS`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `ASDC_ARTIFACTS` (
-  `asdc_artifacts_id` int(11) NOT NULL AUTO_INCREMENT,
-  `service_uuid` varchar(50) DEFAULT NULL,
-  `distribution_id` varchar(50) DEFAULT NULL,
-  `service_name` varchar(255) DEFAULT NULL,
-  `service_description` varchar(255) DEFAULT NULL,
-  `resource_uuid` varchar(255) DEFAULT NULL,
-  `resource_instance_name` varchar(255) DEFAULT NULL,
-  `resource_name` varchar(255) DEFAULT NULL,
-  `resource_version` varchar(50) DEFAULT NULL,
-  `resource_type` varchar(50) DEFAULT NULL,
-  `artifact_uuid` varchar(50) DEFAULT NULL,
-  `artifact_type` varchar(50) DEFAULT NULL,
-  `artifact_version` varchar(25) DEFAULT NULL,
-  `artifact_description` varchar(255) DEFAULT NULL,
-  `internal_version` int(11) DEFAULT NULL,
-  `creation_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
-  `artifact_name` varchar(255) DEFAULT NULL,
-  `artifact_content` longtext,
-  PRIMARY KEY (`asdc_artifacts_id`),
-  UNIQUE KEY `asdc_artifacts_id` (`asdc_artifacts_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `ASDC_REFERENCE`
---
-
-DROP TABLE IF EXISTS `ASDC_REFERENCE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `ASDC_REFERENCE` (
-  `asdc_reference_id` int(11) NOT NULL AUTO_INCREMENT,
-  `service_type` varchar(50) DEFAULT NULL,
-  `vnf_type` varchar(50) DEFAULT NULL,
-  `vnfc_type` varchar(50) DEFAULT NULL,
-  `file_category` varchar(50) DEFAULT NULL,
-  `action` varchar(50) DEFAULT NULL,
-  `artifact_type` varchar(50) DEFAULT NULL,
-  `artifact_name` varchar(255) NOT NULL,
-  PRIMARY KEY (`asdc_reference_id`),
-  UNIQUE KEY `asdc_reference_id` (`asdc_reference_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
-
---
--- Table structure for table `BLOB_TEST`
---
-
-DROP TABLE IF EXISTS `BLOB_TEST`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `BLOB_TEST` (
-  `seq` int(11) NOT NULL AUTO_INCREMENT,
-  `odl` varchar(20) DEFAULT NULL,
-  `communities` mediumblob,
-  `status` enum('NEW','COMPLETE','FAILED') NOT NULL DEFAULT 'NEW',
-  `retry_count` int(11) DEFAULT '-1',
-  PRIMARY KEY (`seq`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `CAPABILITY`
---
-
-DROP TABLE IF EXISTS `CAPABILITY`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `CAPABILITY` (
-  `capability_id` int(11) NOT NULL AUTO_INCREMENT,
-  `capability_name` varchar(50) NOT NULL,
-  `implementation_name` varchar(100) NOT NULL,
-  `operation_name` varchar(50) NOT NULL,
-  `operation_description` varchar(100) NOT NULL,
-  `input_definition` longtext,
-  `output_definition` longtext,
-  `dependency_definition` longtext,
-  `tags` varchar(100) DEFAULT NULL,
-  PRIMARY KEY (`capability_id`),
-  UNIQUE KEY `capability_id` (`capability_name`)
-) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `CITY_CODE`
---
-
-DROP TABLE IF EXISTS `CITY_CODE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `CITY_CODE` (
-  `city_code_id` int(11) NOT NULL AUTO_INCREMENT,
-  `city_code` varchar(3) NOT NULL,
-  `city` varchar(150) NOT NULL,
-  `state` varchar(10) NOT NULL,
-  `country_code` varchar(10) NOT NULL,
-  PRIMARY KEY (`city_code_id`),
-  KEY `IN1_CITY_CODE` (`city`,`state`,`country_code`)
-) ENGINE=InnoDB AUTO_INCREMENT=37822 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `CLI_UPDATES`
---
-
-DROP TABLE IF EXISTS `CLI_UPDATES`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `CLI_UPDATES` (
-  `seq` int(11) NOT NULL AUTO_INCREMENT,
-  `status` enum('NEW','COMPLETE','FAILED') NOT NULL DEFAULT 'NEW',
-  `create_timestamp` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
-  `last_processed_timestamp` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
-  `target_address` varchar(128) DEFAULT NULL,
-  `cli_text` varchar(128) DEFAULT NULL,
-  PRIMARY KEY (`seq`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `CONFIGFILES`
---
-
-DROP TABLE IF EXISTS `CONFIGFILES`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `CONFIGFILES` (
-  `config_file_id` int(11) NOT NULL AUTO_INCREMENT,
-  `external_version` varchar(50) DEFAULT NULL,
-  `data_source` varchar(25) DEFAULT NULL,
-  `creation_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
-  `service_instance_id` varchar(50) DEFAULT NULL,
-  `vnf_type` varchar(50) DEFAULT NULL,
-  `vnfc_type` varchar(50) DEFAULT NULL,
-  `file_category` varchar(50) DEFAULT NULL,
-  `file_name` varchar(255) DEFAULT NULL,
-  `file_content` longtext,
-  `action` varchar(50) DEFAULT NULL,
-  `vnf_id` varchar(50) DEFAULT NULL,
-  `vm_name` varchar(50) DEFAULT NULL,
-  `vnf_name` varchar(50) DEFAULT NULL,
-  PRIMARY KEY (`config_file_id`),
-  UNIQUE KEY `config_file_id` (`config_file_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `CONFIGURE_ACTION_DG`
---
-
-DROP TABLE IF EXISTS `CONFIGURE_ACTION_DG`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `CONFIGURE_ACTION_DG` (
-  `configure_action_dg_id` int(11) NOT NULL AUTO_INCREMENT,
-  `vnf_type` varchar(50) DEFAULT NULL,
-  `action` varchar(50) DEFAULT NULL,
-  `init_config_dg` varchar(50) DEFAULT NULL,
-  `generate_config_dg` varchar(50) DEFAULT NULL,
-  `download_config_dg` varchar(50) DEFAULT NULL,
-  PRIMARY KEY (`configure_action_dg_id`),
-  UNIQUE KEY `configure_action_dg_id` (`configure_action_dg_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `CONFIG_CONTENT`
---
-
-DROP TABLE IF EXISTS `CONFIG_CONTENT`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `CONFIG_CONTENT` (
-  `config_content_id` int(11) NOT NULL AUTO_INCREMENT,
-  `request_id` varchar(50) NOT NULL,
-  `content_type` varchar(50) NOT NULL,
-  `template_name` varchar(50) DEFAULT NULL,
-  `originator_id` varchar(50) DEFAULT NULL,
-  `service_description` varchar(100) DEFAULT NULL,
-  `action` varchar(50) DEFAULT NULL,
-  `creation_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
-  `service_type` varchar(50) DEFAULT NULL,
-  `service_instance_id` varchar(50) DEFAULT NULL,
-  `vnf_id` varchar(50) DEFAULT NULL,
-  `vnf_name` varchar(50) DEFAULT NULL,
-  `vm_name` varchar(50) DEFAULT NULL,
-  `vnf_type` varchar(50) DEFAULT NULL,
-  `vnfc_type` varchar(50) DEFAULT NULL,
-  `host_ip_address` varchar(50) DEFAULT NULL,
-  `config_indicator` varchar(25) DEFAULT NULL,
-  `pending_delete` varchar(1) DEFAULT NULL,
-  `content` longtext,
-  PRIMARY KEY (`config_content_id`),
-  UNIQUE KEY `config_content_id` (`creation_date`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `CONFIG_FILE_REFERENCE`
---
-
-DROP TABLE IF EXISTS `CONFIG_FILE_REFERENCE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `CONFIG_FILE_REFERENCE` (
-  `config_file_reference_id` int(11) NOT NULL AUTO_INCREMENT,
-  `site_location` varchar(50) DEFAULT NULL,
-  `vnf_type` varchar(50) DEFAULT NULL,
-  `import_type` varchar(50) DEFAULT NULL,
-  `file_type` varchar(50) DEFAULT NULL,
-  `source_server_name` varchar(255) DEFAULT NULL,
-  `source_file_path` varchar(255) DEFAULT NULL,
-  `target_file_path` varchar(255) DEFAULT NULL,
-  `name` varchar(50) DEFAULT NULL,
-  `file_name` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`config_file_reference_id`),
-  UNIQUE KEY `config_file_reference_id` (`config_file_reference_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `CONFIG_TRANSACTION_LOG`
---
-
-DROP TABLE IF EXISTS `CONFIG_TRANSACTION_LOG`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `CONFIG_TRANSACTION_LOG` (
-  `config_transaction_log_id` varchar(50) NOT NULL,
-  `request_id` varchar(50) DEFAULT NULL,
-  `message_type` varchar(100) DEFAULT NULL,
-  `creation_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
-  `message` longtext,
-  PRIMARY KEY (`config_transaction_log_id`),
-  UNIQUE KEY `config_transaction_log_id` (`config_transaction_log_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `COUNTRY_ASN_MAPPING`
---
-
-DROP TABLE IF EXISTS `COUNTRY_ASN_MAPPING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `COUNTRY_ASN_MAPPING` (
-  `asn` int(5) NOT NULL,
-  `iso_2char` varchar(5) NOT NULL,
-  `iso_3char` varchar(5) NOT NULL
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `CUSTOMER`
---
-
-DROP TABLE IF EXISTS `CUSTOMER`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `CUSTOMER` (
-  `cust_id` int(11) NOT NULL AUTO_INCREMENT,
-  `customer_name` varchar(256) DEFAULT NULL,
-  `grua` varchar(4) NOT NULL,
-  `create_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
-  PRIMARY KEY (`cust_id`),
-  UNIQUE KEY `IU1_CUSTOMER` (`customer_name`)
-) ENGINE=InnoDB AUTO_INCREMENT=155 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `CUSTOMER2CONNECTION_MAPPING`
---
-
-DROP TABLE IF EXISTS `CUSTOMER2CONNECTION_MAPPING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `CUSTOMER2CONNECTION_MAPPING` (
-  `customer2connection_id` int(11) NOT NULL AUTO_INCREMENT,
-  `service_instance_id` varchar(80) NOT NULL,
-  `instance_type` varchar(20) NOT NULL,
-  `originating_service_instance_id` varchar(80) DEFAULT NULL,
-  `originating_service_type` varchar(20) DEFAULT NULL,
-  `service_type` varchar(30) DEFAULT NULL,
-  `connection_id` varchar(100) NOT NULL,
-  `status` varchar(20) DEFAULT NULL,
-  PRIMARY KEY (`customer2connection_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `CUSTOMER2CONNECTION_MAPPING_NEW`
---
-
-DROP TABLE IF EXISTS `CUSTOMER2CONNECTION_MAPPING_NEW`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `CUSTOMER2CONNECTION_MAPPING_NEW` (
-  `customer2connection_id` int(11) NOT NULL AUTO_INCREMENT,
-  `service_instance_id` varchar(80) NOT NULL,
-  `instance_type` varchar(20) NOT NULL,
-  `originating_service_instance_id` varchar(80) DEFAULT NULL,
-  `originating_service_type` varchar(20) DEFAULT NULL,
-  `service_type` varchar(30) DEFAULT NULL,
-  `connection_id` varchar(100) NOT NULL,
-  `status` varchar(100) DEFAULT NULL,
-  PRIMARY KEY (`customer2connection_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `DATA_OBJECT_MAPPING`
---
-
-DROP TABLE IF EXISTS `DATA_OBJECT_MAPPING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `DATA_OBJECT_MAPPING` (
-  `serial_key` int(11) NOT NULL AUTO_INCREMENT,
-  `data_object_key` varchar(100) NOT NULL,
-  `data_object_type` varchar(50) NOT NULL,
-  `service_type` varchar(50) NOT NULL,
-  `data_object_key2` varchar(100) NOT NULL,
-  `data_object_key2_type` varchar(50) NOT NULL,
-  `data_object_key3` varchar(100) DEFAULT NULL,
-  `data_object_key3_type` varchar(50) DEFAULT NULL,
-  `service` varchar(50) DEFAULT NULL,
-  PRIMARY KEY (`serial_key`),
-  KEY `IX1_DATA_OBJECT_MAPPING` (`data_object_key`,`data_object_type`,`service_type`),
-  KEY `IX2_DATA_OBJECT_MAPPING` (`service_type`,`data_object_key2`,`data_object_key2_type`)
-) ENGINE=InnoDB AUTO_INCREMENT=3211 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `DEVICE2CONNECTION_MAPPING`
---
-
-DROP TABLE IF EXISTS `DEVICE2CONNECTION_MAPPING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `DEVICE2CONNECTION_MAPPING` (
-  `vnf_host_name` varchar(100) NOT NULL,
-  `e2e_vpn_key` varchar(30) NOT NULL,
-  `service_type` varchar(30) NOT NULL,
-  `connection_id` varchar(100) NOT NULL,
-  PRIMARY KEY (`vnf_host_name`,`e2e_vpn_key`,`service_type`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `DEVICE2IPADDRESS_CONSUMPTION`
---
-
-DROP TABLE IF EXISTS `DEVICE2IPADDRESS_CONSUMPTION`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `DEVICE2IPADDRESS_CONSUMPTION` (
-  `serial_key` int(11) NOT NULL AUTO_INCREMENT,
-  `device_id` varchar(100) NOT NULL,
-  `device_type` varchar(30) NOT NULL,
-  `ip_version` varchar(10) NOT NULL,
-  `consumption_key` varchar(100) NOT NULL,
-  `logical_interface_service_id` varchar(100) NOT NULL,
-  `address_type` varchar(30) NOT NULL,
-  `ip_consumed` varchar(50) NOT NULL,
-  `vnf_type` varchar(30) NOT NULL,
-  `secondary_key` varchar(100) DEFAULT NULL,
-  PRIMARY KEY (`serial_key`),
-  KEY `IX1_DEVICEIPADDRESS_CONSUMPTION` (`device_id`,`device_type`,`ip_version`)
-) ENGINE=InnoDB AUTO_INCREMENT=1357 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `DEVICE2IPADDRESS_MAPPING`
---
-
-DROP TABLE IF EXISTS `DEVICE2IPADDRESS_MAPPING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `DEVICE2IPADDRESS_MAPPING` (
-  `serial_key` int(11) NOT NULL AUTO_INCREMENT,
-  `device_id` varchar(100) NOT NULL,
-  `device_type` varchar(30) NOT NULL,
-  `secondary_key` varchar(100) NOT NULL,
-  `secondary_key_type` varchar(30) NOT NULL,
-  `address` varchar(50) NOT NULL,
-  `address_type` varchar(30) NOT NULL,
-  `ip_version` varchar(10) NOT NULL,
-  `length` int(11) NOT NULL,
-  `status` varchar(30) NOT NULL,
-  PRIMARY KEY (`serial_key`),
-  KEY `IX1_DEVICE2IPADDRESS_MAPPING` (`device_id`,`device_type`,`secondary_key`,`secondary_key_type`,`address`,`address_type`)
-) ENGINE=InnoDB AUTO_INCREMENT=4734 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `DEVICE_AUTHENTICATION`
---
-
-DROP TABLE IF EXISTS `DEVICE_AUTHENTICATION`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `DEVICE_AUTHENTICATION` (
-  `device_authentication_id` int(11) NOT NULL AUTO_INCREMENT,
-  `vnf_type` varchar(50) DEFAULT NULL,
-  `user_name` varchar(50) DEFAULT NULL,
-  `password` varchar(100) DEFAULT NULL,
-  `protocol` varchar(100) DEFAULT NULL,
-  `port_number` int(11) DEFAULT NULL,
-  PRIMARY KEY (`device_authentication_id`),
-  UNIQUE KEY `device_authentication_id` (`device_authentication_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `DEVICE_INTERFACE_LOG`
---
-
-DROP TABLE IF EXISTS `DEVICE_INTERFACE_LOG`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `DEVICE_INTERFACE_LOG` (
-  `device_interface_log_id` int(11) NOT NULL AUTO_INCREMENT,
-  `service_instance_id` varchar(50) DEFAULT NULL,
-  `request_id` varchar(50) DEFAULT NULL,
-  `creation_date` datetime NOT NULL,
-  `log` longtext,
-  PRIMARY KEY (`device_interface_log_id`),
-  UNIQUE KEY `device_interface_log_id` (`device_interface_log_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `DEVICE_INTERFACE_PROTOCOL`
---
-
-DROP TABLE IF EXISTS `DEVICE_INTERFACE_PROTOCOL`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `DEVICE_INTERFACE_PROTOCOL` (
-  `device_interface_protocol_id` int(11) NOT NULL AUTO_INCREMENT,
-  `vnf_type` varchar(50) DEFAULT NULL,
-  `protocol` varchar(50) DEFAULT NULL,
-  `module` varchar(50) DEFAULT NULL,
-  `dg_rpc` varchar(50) DEFAULT NULL,
-  PRIMARY KEY (`device_interface_protocol_id`),
-  UNIQUE KEY `device_interface_protocol_id` (`device_interface_protocol_id`),
-  UNIQUE KEY `vnf_type` (`vnf_type`)
-) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `DOWNLOAD_CONFIG_TEMPLATE`
---
-
-DROP TABLE IF EXISTS `DOWNLOAD_CONFIG_TEMPLATE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `DOWNLOAD_CONFIG_TEMPLATE` (
-  `download_config_template_id` int(11) NOT NULL AUTO_INCREMENT,
-  `vnf_type` varchar(50) NOT NULL,
-  `protocol` varchar(50) NOT NULL,
-  `template` longtext,
-  PRIMARY KEY (`download_config_template_id`),
-  UNIQUE KEY `download_config_template_id` (`download_config_template_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `DOWNLOAD_DG_REFERENCE`
---
-
-DROP TABLE IF EXISTS `DOWNLOAD_DG_REFERENCE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `DOWNLOAD_DG_REFERENCE` (
-  `download_dg_reference_id` int(11) NOT NULL AUTO_INCREMENT,
-  `protocol` varchar(50) NOT NULL,
-  `download_config_dg` varchar(50) NOT NULL,
-  PRIMARY KEY (`download_dg_reference_id`),
-  UNIQUE KEY `download_dg_reference_id` (`download_dg_reference_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `EIPAM_CLIENT_KEY_INDEX`
---
-
-DROP TABLE IF EXISTS `EIPAM_CLIENT_KEY_INDEX`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `EIPAM_CLIENT_KEY_INDEX` (
-  `vnf_name_prefix` varchar(100) NOT NULL,
-  `index_number` int(11) NOT NULL,
-  PRIMARY KEY (`vnf_name_prefix`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `EIPAM_IP_ASSIGNMENTS`
---
-
-DROP TABLE IF EXISTS `EIPAM_IP_ASSIGNMENTS`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `EIPAM_IP_ASSIGNMENTS` (
-  `plan_name` varchar(40) NOT NULL,
-  `client_key` varchar(100) NOT NULL,
-  `service_type` varchar(40) NOT NULL,
-  `ip_address` varchar(40) DEFAULT NULL,
-  `prefix_length` int(2) DEFAULT NULL,
-  `status` varchar(255) DEFAULT NULL,
-  `service_instance_id` varchar(80) DEFAULT NULL,
-  `last_modified_ts` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
-  `prev_status` varchar(20) DEFAULT NULL,
-  `info` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`plan_name`,`client_key`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `EIPAM_IP_POOLS`
---
-
-DROP TABLE IF EXISTS `EIPAM_IP_POOLS`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `EIPAM_IP_POOLS` (
-  `pool_id` int(11) NOT NULL AUTO_INCREMENT,
-  `key_name` varchar(50) NOT NULL,
-  `key_value` varchar(255) NOT NULL,
-  `level` int(2) NOT NULL,
-  `plan_name` varchar(50) NOT NULL,
-  `address_family` varchar(10) NOT NULL,
-  `parent_pool` varchar(255) NOT NULL,
-  `service_instance_id` varchar(255) DEFAULT NULL,
-  `network_id` varchar(255) DEFAULT NULL,
-  `created_timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
-  `delete_failure` varchar(20) DEFAULT NULL,
-  `delete_request_id` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`pool_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=339 DEFAULT CHARSET=latin1 COMMENT='This table will capture the pools being created by SDN-C in EIPAM_IP_POOLS. There is no data migration for existing vPE pool data.';
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `EIPAM_IP_SUBNETS`
---
-
-DROP TABLE IF EXISTS `EIPAM_IP_SUBNETS`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `EIPAM_IP_SUBNETS` (
-  `entity_id` int(6) NOT NULL,
-  `service_type` varchar(40) NOT NULL,
-  `plan_name` varchar(50) NOT NULL,
-  `address_family` varchar(10) NOT NULL,
-  `ip_address` varchar(40) NOT NULL,
-  `prefix_length` int(3) NOT NULL,
-  `status` varchar(20) NOT NULL,
-  `last_modified_ts` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
-  `network_id` varchar(255) DEFAULT NULL,
-  `pool_id` int(11) DEFAULT NULL,
-  `dealloc_failure` varchar(20) DEFAULT NULL,
-  `dealloc_request_id` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`entity_id`),
-  KEY `FK_EIPAM_IP_SUBNETS_EIPAM_IP_POOLS` (`pool_id`),
-  CONSTRAINT `EIPAM_IP_SUBNETS_ibfk_1` FOREIGN KEY (`pool_id`) REFERENCES `EIPAM_IP_POOLS` (`pool_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
-  CONSTRAINT `FK_EIPAM_IP_SUBNETS_EIPAM_IP_POOLS` FOREIGN KEY (`pool_id`) REFERENCES `EIPAM_IP_POOLS` (`pool_id`) ON DELETE NO ACTION ON UPDATE NO ACTION
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `EIPAM_IP_SUBNET_KEYS`
---
-
-DROP TABLE IF EXISTS `EIPAM_IP_SUBNET_KEYS`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `EIPAM_IP_SUBNET_KEYS` (
-  `entity_id` int(6) NOT NULL,
-  `key_name` varchar(50) NOT NULL,
-  `key_value` varchar(255) NOT NULL,
-  `level` int(2) NOT NULL,
-  PRIMARY KEY (`entity_id`,`key_name`,`key_value`,`level`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `EIPAM_REQUEST_KEY`
---
-
-DROP TABLE IF EXISTS `EIPAM_REQUEST_KEY`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `EIPAM_REQUEST_KEY` (
-  `key_name_1` varchar(50) NOT NULL,
-  `address_family` varchar(4) NOT NULL,
-  `serial_key` int(2) NOT NULL AUTO_INCREMENT,
-  `plan_name` varchar(50) NOT NULL,
-  `request_length` int(2) NOT NULL,
-  `pools_length` int(2) NOT NULL,
-  `plan_length` int(2) NOT NULL,
-  `key_name_0` varchar(50) NOT NULL,
-  `key_name_type_0` varchar(255) NOT NULL,
-  `key_name_type_1` varchar(255) NOT NULL,
-  `prefix_length` int(2) NOT NULL,
-  `group_flag` char(1) NOT NULL,
-  `address_type` varchar(20) DEFAULT NULL,
-  PRIMARY KEY (`key_name_1`,`address_family`),
-  UNIQUE KEY `IX1_EIPAM_REQUEST_KEY` (`serial_key`)
-) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `EXTERNAL_DATA`
---
-
-DROP TABLE IF EXISTS `EXTERNAL_DATA`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `EXTERNAL_DATA` (
-  `external_data_id` int(11) NOT NULL AUTO_INCREMENT,
-  `request_id` int(11) DEFAULT NULL,
-  `param_name` varchar(30) NOT NULL,
-  `param_value` varchar(50) NOT NULL,
-  PRIMARY KEY (`external_data_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `FLOW_UPDATES`
---
-
-DROP TABLE IF EXISTS `FLOW_UPDATES`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `FLOW_UPDATES` (
-  `seq` int(11) NOT NULL AUTO_INCREMENT,
-  `status` enum('NEW','COMPLETE','FAILED') NOT NULL DEFAULT 'NEW',
-  `create_timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
-  `last_processed_timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
-  `odl` varchar(128) DEFAULT NULL,
-  `address_family` enum('IPV4','IPV6') DEFAULT NULL,
-  `destination_prefix` varchar(50) DEFAULT NULL,
-  `communities` varchar(6000) DEFAULT NULL,
-  `route_key` varchar(50) DEFAULT NULL,
-  PRIMARY KEY (`seq`)
-) ENGINE=InnoDB AUTO_INCREMENT=276 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `GENERIC_L3_NETWORK`
---
-
-DROP TABLE IF EXISTS `GENERIC_L3_NETWORK`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `GENERIC_L3_NETWORK` (
-  `network_id` varchar(80) NOT NULL,
-  `network_name` varchar(80) DEFAULT NULL,
-  `network_type` varchar(80) DEFAULT NULL,
-  `network_role` varchar(80) DEFAULT NULL,
-  `network_technology` varchar(80) DEFAULT NULL,
-  `neutron_network_id` varchar(80) DEFAULT NULL,
-  `is_bound_to_vpn` tinyint(1) DEFAULT NULL,
-  `orchestration_status` varchar(20) DEFAULT NULL,
-  `heat_stack_id` varchar(80) DEFAULT NULL,
-  `mso_catalog_key` varchar(80) DEFAULT NULL,
-  `service_id` varchar(80) NOT NULL,
-  `tenant_id` varchar(80) NOT NULL,
-  `physical_location_id` varchar(20) DEFAULT NULL,
-  `network_role_instance` varchar(80) NOT NULL,
-  PRIMARY KEY (`network_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `GENERIC_L3_NETWORK_SUBNET`
---
-
-DROP TABLE IF EXISTS `GENERIC_L3_NETWORK_SUBNET`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `GENERIC_L3_NETWORK_SUBNET` (
-  `network_id` varchar(80) NOT NULL,
-  `subnet_id` varchar(80) NOT NULL,
-  `neutron_subnet_id` varchar(80) DEFAULT NULL,
-  `gateway_address` varchar(45) NOT NULL,
-  `network_start_address` varchar(45) NOT NULL,
-  `cidr_mask` varchar(20) NOT NULL,
-  `ip_version` char(1) NOT NULL,
-  `orchestration_status` varchar(64) NOT NULL,
-  `dhcp_enabled` tinyint(1) NOT NULL,
-  `dhcp_start` varchar(45) DEFAULT NULL,
-  `dhcp_end` varchar(45) DEFAULT NULL,
-  PRIMARY KEY (`network_id`,`subnet_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `GENERIC_L3_NETWORK_VPN_BINDING`
---
-
-DROP TABLE IF EXISTS `GENERIC_L3_NETWORK_VPN_BINDING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `GENERIC_L3_NETWORK_VPN_BINDING` (
-  `network_id` varchar(80) NOT NULL,
-  `vpn_id` varchar(80) NOT NULL,
-  PRIMARY KEY (`network_id`,`vpn_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `GENERIC_RESOURCE_NAME`
---
-
-DROP TABLE IF EXISTS `GENERIC_RESOURCE_NAME`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `GENERIC_RESOURCE_NAME` (
-  `type` varchar(50) NOT NULL,
-  `name` varchar(255) NOT NULL,
-  `prefix` varchar(255) NULL,
-  `name_index` int(11) NULL,
-  `context_id` varchar(255) NULL,
-  PRIMARY KEY (`type`,`name`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `GENERIC_VNF`
---
-
-DROP TABLE IF EXISTS `GENERIC_VNF`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `GENERIC_VNF` (
-  `vnf_id` varchar(80) NOT NULL,
-  `vnf_name` varchar(80) NOT NULL,
-  `vnf_type` varchar(200) NOT NULL,
-  `vnf_name2` varchar(80) DEFAULT NULL,
-  `service_id` varchar(80) NOT NULL,
-  `equipment_role` varchar(80) NOT NULL,
-  `orchestration_status` varchar(20) DEFAULT NULL,
-  `prov_status` varchar(20) DEFAULT NULL,
-  `heat_stack_id` varchar(80) DEFAULT NULL,
-  `mso_catalog_key` varchar(80) DEFAULT NULL,
-  `regional_resource_zone` varchar(80) DEFAULT NULL,
-  `operational_state` varchar(80) DEFAULT NULL,
-  `license_key` varchar(80) DEFAULT NULL,
-  `ipv4_oam_address` varchar(20) DEFAULT NULL,
-  `ipv4_loopback0_address` varchar(20) DEFAULT NULL,
-  `nm_lan_v6_address` varchar(40) DEFAULT NULL,
-  `management_v6_address` varchar(40) DEFAULT NULL,
-  `management_option` varchar(45) DEFAULT NULL,
-  `vcpu` varchar(45) DEFAULT NULL,
-  `vmemory` varchar(45) DEFAULT NULL,
-  `vdisk` varchar(45) DEFAULT NULL,
-  `vcpu_units` varchar(45) DEFAULT NULL,
-  `vmemory_units` varchar(45) DEFAULT NULL,
-  `vdisk_units` varchar(45) DEFAULT NULL,
-  PRIMARY KEY (`vnf_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `GENERIC_VNF_L3_NETWORK`
---
-
-DROP TABLE IF EXISTS `GENERIC_VNF_L3_NETWORK`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `GENERIC_VNF_L3_NETWORK` (
-  `vnf_id` varchar(80) NOT NULL,
-  `network_id` varchar(80) NOT NULL,
-  PRIMARY KEY (`vnf_id`,`network_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `GENERIC_VNF_LICENSE_MANAGEMENT`
---
-
-DROP TABLE IF EXISTS `GENERIC_VNF_LICENSE_MANAGEMENT`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `GENERIC_VNF_LICENSE_MANAGEMENT` (
-  `vnf_id` varchar(80) NOT NULL,
-  `att_uuid` varchar(80) NOT NULL,
-  PRIMARY KEY (`vnf_id`,`att_uuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `GENERIC_VNF_LINTERFACE`
---
-
-DROP TABLE IF EXISTS `GENERIC_VNF_LINTERFACE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `GENERIC_VNF_LINTERFACE` (
-  `vnf_id` varchar(80) NOT NULL,
-  `interface_name` varchar(255) NOT NULL,
-  `interface_role` varchar(45) DEFAULT NULL,
-  `v6_wan_link_ip` varchar(45) DEFAULT NULL,
-  `selflink` varchar(128) DEFAULT NULL,
-  `interface_id` varchar(45) DEFAULT NULL,
-  `macaddr` varchar(64) DEFAULT NULL,
-  `network_name` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`vnf_id`,`interface_name`),
-  KEY `FK_GENERIC_VNF_LINTERFACE_GENERIC_VNF_IDX` (`vnf_id`),
-  CONSTRAINT `FK_GENERIC_VNF_LINTERFACE_GENERIC_VNF` FOREIGN KEY (`vnf_id`) REFERENCES `GENERIC_VNF` (`vnf_id`) ON DELETE NO ACTION ON UPDATE NO ACTION
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `GENERIC_VNF_PSERVER`
---
-
-DROP TABLE IF EXISTS `GENERIC_VNF_PSERVER`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `GENERIC_VNF_PSERVER` (
-  `vnf_id` varchar(64) NOT NULL,
-  `hostname` varchar(255) NOT NULL,
-  PRIMARY KEY (`vnf_id`,`hostname`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `GENERIC_VNF_SERVICE_INSTANCE`
---
-
-DROP TABLE IF EXISTS `GENERIC_VNF_SERVICE_INSTANCE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `GENERIC_VNF_SERVICE_INSTANCE` (
-  `vnf_id` varchar(64) NOT NULL,
-  `service_instance_id` varchar(255) NOT NULL,
-  `relationship_key` varchar(64) NOT NULL,
-  `relationship_value` varchar(64) DEFAULT NULL,
-  `global_customer_id` varchar(255) DEFAULT NULL,
-  `service_type` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`vnf_id`,`service_instance_id`,`relationship_key`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `GENERIC_VNF_VNF_IMAGE`
---
-
-DROP TABLE IF EXISTS `GENERIC_VNF_VNF_IMAGE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `GENERIC_VNF_VNF_IMAGE` (
-  `vnf_id` varchar(64) NOT NULL,
-  `att_uuid` varchar(255) NOT NULL,
-  PRIMARY KEY (`vnf_id`,`att_uuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `GENERIC_VNF_VSERVER`
---
-
-DROP TABLE IF EXISTS `GENERIC_VNF_VSERVER`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `GENERIC_VNF_VSERVER` (
-  `vnf_id` varchar(80) NOT NULL,
-  `vserver_id` varchar(128) NOT NULL,
-  `tenant_id` varchar(128) DEFAULT NULL,
-  PRIMARY KEY (`vnf_id`,`vserver_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `GENERIC_VPN_BINDING`
---
-
-DROP TABLE IF EXISTS `GENERIC_VPN_BINDING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `GENERIC_VPN_BINDING` (
-  `vpn_id` varchar(80) NOT NULL,
-  `vpn_name` varchar(80) NOT NULL,
-  `global_route_target` varchar(80) NOT NULL,
-  PRIMARY KEY (`vpn_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `GET_CONFIG_TEMPLATE`
---
-
-DROP TABLE IF EXISTS `GET_CONFIG_TEMPLATE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `GET_CONFIG_TEMPLATE` (
-  `get_config_template_id` int(11) NOT NULL AUTO_INCREMENT,
-  `vnf_type` varchar(50) NOT NULL,
-  `device_interface_protocol_id` int(11) NOT NULL,
-  `xml_processing` varchar(1) DEFAULT NULL,
-  `xml_protocol` varchar(30) DEFAULT NULL,
-  `template` longtext,
-  PRIMARY KEY (`get_config_template_id`),
-  UNIQUE KEY `get_config_template_id` (`get_config_template_id`),
-  KEY `get_config_template_ibfk_1` (`device_interface_protocol_id`),
-  CONSTRAINT `get_config_template_ibfk_1` FOREIGN KEY (`device_interface_protocol_id`) REFERENCES `DEVICE_INTERFACE_PROTOCOL` (`device_interface_protocol_id`) ON DELETE NO ACTION ON UPDATE CASCADE
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `HOSTNAME`
---
-
-DROP TABLE IF EXISTS `HOSTNAME`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `HOSTNAME` (
-  `hostname` varchar(21) NOT NULL,
-  `parent_hostname` varchar(21) DEFAULT NULL,
-  `cust_id` int(11) NOT NULL,
-  `loc_id` int(11) NOT NULL,
-  `site_sequence` varchar(2) NOT NULL,
-  `server_sequence` varchar(2) NOT NULL,
-  `activation_code` varchar(11) DEFAULT NULL,
-  `vnf_sequence` varchar(2) DEFAULT NULL,
-  `vendor_code` varchar(1) NOT NULL,
-  `virtual_device_type` varchar(2) DEFAULT NULL,
-  `device_sequence` varchar(3) DEFAULT NULL,
-  `create_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
-  PRIMARY KEY (`hostname`),
-  KEY `IN1_HOSTNAME` (`cust_id`),
-  KEY `IN2_HOSTNAME` (`loc_id`),
-  KEY `IN3_HOSTNAME` (`vendor_code`),
-  KEY `IN4_HOSTNAME` (`parent_hostname`),
-  CONSTRAINT `FK1_HOSTNAME` FOREIGN KEY (`cust_id`) REFERENCES `CUSTOMER` (`cust_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
-  CONSTRAINT `FK2_HOSTNAME` FOREIGN KEY (`loc_id`) REFERENCES `LOCATION` (`loc_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
-  CONSTRAINT `FK4_HOSTNAME` FOREIGN KEY (`parent_hostname`) REFERENCES `HOSTNAME` (`hostname`) ON DELETE NO ACTION ON UPDATE NO ACTION
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `IPV4_ADDRESS_POOL`
---
-
-DROP TABLE IF EXISTS `IPV4_ADDRESS_POOL`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `IPV4_ADDRESS_POOL` (
-  `aic_site_id` varchar(100) NOT NULL,
-  `universe` varchar(40) NOT NULL,
-  `status` varchar(40) NOT NULL,
-  `ipv4_addr` varchar(20) NOT NULL,
-  PRIMARY KEY (`ipv4_addr`,`universe`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `LINK_MASTER`
---
-
-DROP TABLE IF EXISTS `LINK_MASTER`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `LINK_MASTER` (
-  `link_interface_ip` varchar(20) NOT NULL,
-  `source_crs_name` varchar(20) NOT NULL,
-  `destination_crs_name` varchar(20) NOT NULL,
-  `max_reserved_bw` int(11) DEFAULT NULL,
-  `default_cost` int(11) DEFAULT NULL,
-  `bundle_name` varchar(20) DEFAULT NULL,
-  PRIMARY KEY (`link_interface_ip`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `LINTERFACE_VLAN`
---
-
-DROP TABLE IF EXISTS `LINTERFACE_VLAN`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `LINTERFACE_VLAN` (
-  `vnf_id` varchar(80) NOT NULL,
-  `interface_name` varchar(255) NOT NULL,
-  `vlan_interface` varchar(255) NOT NULL,
-  `vlan_id_inner` varchar(64) DEFAULT NULL,
-  `vlan_id_outer` varchar(64) DEFAULT NULL,
-  PRIMARY KEY (`vnf_id`,`interface_name`,`vlan_interface`),
-  KEY `FK_LINTERFACE_VLAN_GENERIC_VNF_LINTERFACE_IDX` (`vnf_id`,`interface_name`),
-  CONSTRAINT `FK_LINTERFACE_VLAN_GENERIC_VNF_LINTERFACE` FOREIGN KEY (`vnf_id`, `interface_name`) REFERENCES `GENERIC_VNF_LINTERFACE` (`vnf_id`, `interface_name`) ON DELETE NO ACTION ON UPDATE NO ACTION
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `LOCATION`
---
-
-DROP TABLE IF EXISTS `LOCATION`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `LOCATION` (
-  `loc_id` int(11) NOT NULL AUTO_INCREMENT,
-  `address` varchar(150) NOT NULL,
-  `city_code_id` int(11) NOT NULL,
-  `create_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
-  PRIMARY KEY (`loc_id`),
-  KEY `IN1_LOCATION_IDX` (`city_code_id`),
-  CONSTRAINT `FK1_LOCATION` FOREIGN KEY (`city_code_id`) REFERENCES `CITY_CODE` (`city_code_id`) ON DELETE NO ACTION ON UPDATE NO ACTION
-) ENGINE=InnoDB AUTO_INCREMENT=327 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `MAX_PORT_SPEED`
---
-
-DROP TABLE IF EXISTS `MAX_PORT_SPEED`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `MAX_PORT_SPEED` (
-  `max_port_speed_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
-  `image_file_name` varchar(50) NOT NULL,
-  `end_point_position` varchar(50) NOT NULL,
-  `interface_name` varchar(100) NOT NULL,
-  `max_speed` bigint(20) NOT NULL,
-  `unit` varchar(10) NOT NULL,
-  PRIMARY KEY (`max_port_speed_id`),
-  UNIQUE KEY `max_port_speed_id` (`max_port_speed_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `MAX_SERVER_SPEED`
---
-
-DROP TABLE IF EXISTS `MAX_SERVER_SPEED`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `MAX_SERVER_SPEED` (
-  `max_server_speed_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
-  `server_model` varchar(50) NOT NULL,
-  `evc_count` smallint(6) NOT NULL,
-  `max_speed` bigint(20) NOT NULL,
-  `unit` varchar(10) NOT NULL,
-  `description` varchar(500) DEFAULT NULL,
-  PRIMARY KEY (`max_server_speed_id`),
-  UNIQUE KEY `max_server_speed_id` (`max_server_speed_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `NAMING_POLICY_VM_NAME_INDEX`
---
-
-DROP TABLE IF EXISTS `NAMING_POLICY_VM_NAME_INDEX`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `NAMING_POLICY_VM_NAME_INDEX` (
-  `vm_name_prefix` varchar(255) NOT NULL,
-  `index_number` int(11) NOT NULL,
-  PRIMARY KEY (`vm_name_prefix`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `NAMING_POLICY_VNFC_NAME_INDEX`
---
-
-DROP TABLE IF EXISTS `NAMING_POLICY_VNFC_NAME_INDEX`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `NAMING_POLICY_VNFC_NAME_INDEX` (
-  `vnfc_name_prefix` varchar(255) NOT NULL,
-  `index_number` int(11) NOT NULL,
-  PRIMARY KEY (`vnfc_name_prefix`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `NBNC_ASSIGN_VPN_OVERRIDE`
---
-
-DROP TABLE IF EXISTS `NBNC_ASSIGN_VPN_OVERRIDE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `NBNC_ASSIGN_VPN_OVERRIDE` (
-  `vpn_id` varchar(12) NOT NULL DEFAULT '',
-  `vpn_rt` varchar(16) NOT NULL DEFAULT '',
-  `service_type` varchar(16) NOT NULL DEFAULT '',
-  `be_location` varchar(16) NOT NULL DEFAULT '',
-  `be_type` varchar(32) NOT NULL DEFAULT '',
-  `be_id` varchar(32) DEFAULT NULL,
-  `description` varchar(128) DEFAULT NULL,
-  PRIMARY KEY (`vpn_id`,`vpn_rt`,`service_type`,`be_location`,`be_type`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `NBNC_BORDER_ELEMENT`
---
-
-DROP TABLE IF EXISTS `NBNC_BORDER_ELEMENT`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `NBNC_BORDER_ELEMENT` (
-  `be_id` varchar(32) NOT NULL,
-  `be_type` varchar(16) NOT NULL,
-  `be_name` varchar(32) DEFAULT NULL,
-  `be_host_vnf_id` varchar(32) DEFAULT NULL,
-  `service_type` varchar(16) DEFAULT NULL,
-  `tangibility` varchar(16) DEFAULT NULL,
-  `usage_order` smallint(6) DEFAULT NULL,
-  `vlan_start` smallint(6) DEFAULT NULL,
-  `vlan_end` smallint(6) DEFAULT NULL,
-  `ipv4_subnet` varchar(18) DEFAULT NULL,
-  `ipv6_subnet` varchar(68) DEFAULT NULL,
-  `network_ip` varchar(48) DEFAULT NULL,
-  `be_location` varchar(16) DEFAULT NULL,
-  `description` varchar(128) DEFAULT NULL,
-  `updated_timestamp` timestamp NULL DEFAULT NULL,
-  `log_link_model_uuid` varchar(64) DEFAULT NULL,
-  PRIMARY KEY (`be_id`,`be_type`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `NBNC_IPE`
---
-
-DROP TABLE IF EXISTS `NBNC_IPE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `NBNC_IPE` (
-  `ipe_name` varchar(32) NOT NULL,
-  `ipe_location` varchar(16) DEFAULT NULL,
-  `ipe_ip_address` varchar(16) DEFAULT NULL,
-  `ipe_id` varchar(8) DEFAULT NULL,
-  `service_type_array` varchar(512) DEFAULT NULL,
-  `ipe_status` varchar(32) DEFAULT NULL,
-  `updated_timestamp` timestamp NULL DEFAULT NULL,
-  PRIMARY KEY (`ipe_name`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `NBNC_IPE_PORT`
---
-
-DROP TABLE IF EXISTS `NBNC_IPE_PORT`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `NBNC_IPE_PORT` (
-  `port_id` varchar(16) NOT NULL,
-  `ipe_name` varchar(32) NOT NULL,
-  `be_id` varchar(32) NOT NULL,
-  `be_type` varchar(16) NOT NULL,
-  `port_type` varchar(16) DEFAULT NULL,
-  `ae_name` varchar(16) DEFAULT NULL,
-  `description` varchar(128) DEFAULT NULL,
-  `updated_timestamp` timestamp NULL DEFAULT NULL,
-  PRIMARY KEY (`port_id`,`ipe_name`,`be_id`,`be_type`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `NBNC_MAPPING_SBG_BGF`
---
-
-DROP TABLE IF EXISTS `NBNC_MAPPING_SBG_BGF`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `NBNC_MAPPING_SBG_BGF` (
-  `asbg_vlan` smallint(6) NOT NULL,
-  `bgf_vlan` smallint(6) NOT NULL,
-  PRIMARY KEY (`asbg_vlan`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `NBNC_SERVICE`
---
-
-DROP TABLE IF EXISTS `NBNC_SERVICE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `NBNC_SERVICE` (
-  `service_type` varchar(16) NOT NULL,
-  `service_model_uuid` varchar(64) NOT NULL,
-  `description` varchar(128) DEFAULT NULL,
-  `created_timestamp` timestamp NULL DEFAULT NULL,
-  `updated_timestamp` timestamp NULL DEFAULT NULL,
-  PRIMARY KEY (`service_type`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `NBNC_SERVICE_VLAN`
---
-
-DROP TABLE IF EXISTS `NBNC_SERVICE_VLAN`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `NBNC_SERVICE_VLAN` (
-  `be_id` varchar(32) NOT NULL,
-  `vlan` smallint(6) NOT NULL,
-  `service_type` varchar(16) DEFAULT NULL,
-  `be_type` varchar(16) DEFAULT NULL,
-  `be_name` varchar(32) DEFAULT NULL,
-  `be_host_vnf_id` varchar(32) DEFAULT NULL,
-  `be_location` varchar(16) DEFAULT NULL,
-  `be_usage_order` smallint(6) DEFAULT NULL,
-  `vlan_usage_order` smallint(6) DEFAULT NULL,
-  `status` varchar(16) DEFAULT 'AVAILABLE',
-  `request_id` varchar(64) DEFAULT NULL,
-  `service_instance_id` varchar(64) DEFAULT NULL,
-  `vni_id` varchar(16) DEFAULT NULL,
-  `customer_id` varchar(16) DEFAULT NULL,
-  `ipe1_router_name` varchar(32) DEFAULT NULL,
-  `ipe1_port_id` varchar(16) DEFAULT NULL,
-  `ipe1_ae_name` varchar(16) DEFAULT NULL,
-  `ipe2_router_name` varchar(32) DEFAULT NULL,
-  `ipe2_port_id` varchar(16) DEFAULT NULL,
-  `ipe2_ae_name` varchar(16) DEFAULT NULL,
-  `available_timestamp` timestamp NULL DEFAULT NULL,
-  `allocated_timestamp` timestamp NULL DEFAULT NULL,
-  `disabled_timestamp` timestamp NULL DEFAULT NULL,
-  `enabled_timestamp` timestamp NULL DEFAULT NULL,
-  `vpn_id` varchar(12) DEFAULT NULL,
-  `vpn_rt` varchar(16) DEFAULT NULL,
-  PRIMARY KEY (`be_id`,`vlan`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `NCS_EXPECTED_ASYNC_REQUESTS`
---
-
-DROP TABLE IF EXISTS `NCS_EXPECTED_ASYNC_REQUESTS`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `NCS_EXPECTED_ASYNC_REQUESTS` (
-  `ncs_request_id` varchar(255) NOT NULL,
-  `mso_gp_request_id` varchar(255) NOT NULL,
-  `service_instance_id` varchar(255) NOT NULL,
-  `sdn_module_name` varchar(255) NOT NULL,
-  `sdn_rpc_name` varchar(255) NOT NULL,
-  `sdn_service_action` varchar(255) DEFAULT NULL,
-  `ncs_rpc` varchar(255) NOT NULL,
-  `ncs_sub_action` varchar(255) DEFAULT NULL,
-  `status` varchar(255) NOT NULL DEFAULT 'inProgress',
-  `creation_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
-  PRIMARY KEY (`ncs_request_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `NETWORK_INSTANCE_NAME_INDEX`
---
-
-DROP TABLE IF EXISTS `NETWORK_INSTANCE_NAME_INDEX`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `NETWORK_INSTANCE_NAME_INDEX` (
-  `network_instance_name_prefix` varchar(255) NOT NULL,
-  `index_number` int(11) NOT NULL,
-  PRIMARY KEY (`network_instance_name_prefix`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `NETWORK_MODEL`
---
-
-DROP TABLE IF EXISTS `NETWORK_MODEL`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `NETWORK_MODEL` (
-  `customization_uuid` varchar(255) NOT NULL,
-  `service_uuid` varchar(255) NOT NULL,
-  `model_yaml` longblob,
-  `invariant_uuid` varchar(255) DEFAULT NULL,
-  `uuid` varchar(255) DEFAULT NULL,
-  `network_type` varchar(255) DEFAULT NULL,
-  `network_role` varchar(255) DEFAULT NULL,
-  `network_technology` varchar(255) DEFAULT NULL,
-  `trunk_network_indicator` char(1) DEFAULT NULL, 
-  `network_scope` varchar(255) DEFAULT NULL,
-  `naming_policy` varchar(255) DEFAULT NULL,
-  `ecomp_generated_naming` char(1) DEFAULT NULL,
-  `is_shared_network` char(1) DEFAULT NULL,
-  `is_external_network` char(1) DEFAULT NULL,
-  `is_provider_network` char(1) DEFAULT NULL,
-  `physical_network_name` varchar(255) DEFAULT NULL,
-  `is_bound_to_vpn` char(1) DEFAULT NULL,
-  `vpn_binding` varchar(255) DEFAULT NULL,
-  `use_ipv4` char(1) DEFAULT NULL,
-  `ipv4_dhcp_enabled` char(1) DEFAULT NULL,
-  `ipv4_ip_version` char(1) DEFAULT NULL,
-  `ipv4_cidr_mask` varchar(255) DEFAULT NULL,
-  `eipam_v4_address_plan` varchar(255) DEFAULT NULL,
-  `use_ipv6` char(1) DEFAULT NULL,
-  `ipv6_dhcp_enabled` char(1) DEFAULT NULL,
-  `ipv6_ip_version` char(1) DEFAULT NULL,
-  `ipv6_cidr_mask` varchar(255) DEFAULT NULL,
-  `eipam_v6_address_plan` varchar(255) DEFAULT NULL,
-  `version` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`customization_uuid`),
-  KEY `FK_NETWORK_MODEL` (`service_uuid`),
-  CONSTRAINT `FK_NETWORK_MODEL` FOREIGN KEY (`service_uuid`) REFERENCES `SERVICE_MODEL` (`service_uuid`) ON DELETE NO ACTION ON UPDATE NO ACTION
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `NETWORK_PROFILE`
---
-
-DROP TABLE IF EXISTS `NETWORK_PROFILE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `NETWORK_PROFILE` (
-  `network_type` varchar(100) NOT NULL,
-  `technology` varchar(100) NOT NULL,
-  PRIMARY KEY (`network_type`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `NETWORK_ROLE_VPN_BINDING`
---
-
-DROP TABLE IF EXISTS `NETWORK_ROLE_VPN_BINDING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `NETWORK_ROLE_VPN_BINDING` (
-  `network_role` varchar(80) NOT NULL,
-  `vpn_id` varchar(80) NOT NULL,
-  PRIMARY KEY (`network_role`,`vpn_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `NODE_TYPES`
---
-
-DROP TABLE IF EXISTS `NODE_TYPES`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `NODE_TYPES` (
-  `nodetype` varchar(80) NOT NULL,
-  PRIMARY KEY (`nodetype`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `OBJECT_GROUPING`
---
-
-DROP TABLE IF EXISTS `OBJECT_GROUPING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `OBJECT_GROUPING` (
-  `group_id` varchar(128) NOT NULL,
-  `group_type` varchar(128) NOT NULL,
-  PRIMARY KEY (`group_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `OBJECT_GROUP_MEMBER_TRACKING`
---
-
-DROP TABLE IF EXISTS `OBJECT_GROUP_MEMBER_TRACKING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `OBJECT_GROUP_MEMBER_TRACKING` (
-  `group_id` varchar(128) NOT NULL,
-  `key_id` varchar(128) NOT NULL,
-  `key_type` varchar(128) NOT NULL,
-  PRIMARY KEY (`group_id`,`key_id`,`key_type`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `PARAMETERS`
---
-
-DROP TABLE IF EXISTS `PARAMETERS`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `PARAMETERS` (
-  `name` varchar(100) NOT NULL,
-  `value` varchar(128) NOT NULL,
-  `category` varchar(24) DEFAULT NULL,
-  `memo` varchar(128) DEFAULT NULL,
-  PRIMARY KEY (`name`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `PE_INV`
---
-
-DROP TABLE IF EXISTS `PE_INV`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `PE_INV` (
-  `EQUIP_ID` int(11) DEFAULT NULL,
-  `EQUIP_TYPE` varchar(20) DEFAULT NULL,
-  `PTNII_EQUIP_NAME` varchar(20) DEFAULT NULL,
-  `IP_ADDR` varchar(15) DEFAULT NULL,
-  `ROUTER_PROV_STATUS` varchar(50) DEFAULT NULL,
-  `REGION` varchar(16) DEFAULT NULL,
-  `COUNTRY_ABBR` varchar(50) DEFAULT NULL,
-  `EQUIP_NAME_CODE` varchar(50) DEFAULT NULL,
-  `AS_NUMBER` varchar(5) DEFAULT NULL,
-  `LOOPBACK1` varchar(15) DEFAULT NULL,
-  `LOOPBACK2` varchar(15) DEFAULT NULL,
-  `LOOPBACK3` varchar(15) DEFAULT NULL,
-  `LOOPBACK40` varchar(15) DEFAULT NULL,
-  `LOOPBACK65535` varchar(15) DEFAULT NULL,
-  `INMS_LIST` varchar(20) DEFAULT NULL,
-  `ENCRYPTED_ACCESS_FLAG` varchar(50) DEFAULT NULL,
-  `SW_NAME` varchar(100) DEFAULT NULL,
-  `NMIPADDR` varchar(15) DEFAULT NULL,
-  `CREATE_DATE` datetime DEFAULT NULL,
-  `MOD_DATE` datetime DEFAULT NULL,
-  `FCN_CODE` varchar(50) DEFAULT NULL
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `PHYSICAL_LINK`
---
-
-DROP TABLE IF EXISTS `PHYSICAL_LINK`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `PHYSICAL_LINK` (
-  `link_name` varchar(255) NOT NULL,
-  `speed_value` varchar(64) DEFAULT NULL,
-  `speed_units` varchar(64) DEFAULT NULL,
-  `circuit_id` varchar(255) NOT NULL,
-  `dual_mode` varchar(64) NOT NULL,
-  PRIMARY KEY (`link_name`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `PHYSICAL_LINK_PINTERFACE`
---
-
-DROP TABLE IF EXISTS `PHYSICAL_LINK_PINTERFACE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `PHYSICAL_LINK_PINTERFACE` (
-  `link_name` varchar(255) NOT NULL,
-  `hostname` varchar(255) NOT NULL,
-  `port_name_ft` varchar(255) NOT NULL,
-  PRIMARY KEY (`link_name`,`hostname`,`port_name_ft`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `PINTERFACE`
---
-
-DROP TABLE IF EXISTS `PINTERFACE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `PINTERFACE` (
-  `hostname` varchar(255) NOT NULL,
-  `port_name_ft` varchar(255) NOT NULL,
-  `interface_name` varchar(255) DEFAULT '',
-  `physical_speed` varchar(255) DEFAULT '',
-  `physical_units` varchar(255) DEFAULT '',
-  `port_description` varchar(255) DEFAULT '',
-  PRIMARY KEY (`hostname`,`port_name_ft`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `POLICY_UPDATE_NOTIFICATION`
---
-
-DROP TABLE IF EXISTS `POLICY_UPDATE_NOTIFICATION`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `POLICY_UPDATE_NOTIFICATION` (
-  `policy_name` varchar(255) NOT NULL,
-  `version_id` varchar(255) NOT NULL,
-  `update_type` varchar(255) NOT NULL,
-  `timestamp` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
-  PRIMARY KEY (`policy_name`,`version_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `PORTAL_USERS`
---
-
-DROP TABLE IF EXISTS `PORTAL_USERS`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `PORTAL_USERS` (
-  `email` varchar(64) NOT NULL,
-  `password` varbinary(255) NOT NULL,
-  `privilege` char(1) NOT NULL,
-  PRIMARY KEY (`email`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
-
---
--- Table structure for table `PREPARE_FILE_RELATIONSHIP`
---
-
-DROP TABLE IF EXISTS `PREPARE_FILE_RELATIONSHIP`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `PREPARE_FILE_RELATIONSHIP` (
-  `prepare_file_relationship_id` int(11) NOT NULL AUTO_INCREMENT,
-  `service_instance_id` varchar(50) DEFAULT NULL,
-  `request_id` varchar(255) DEFAULT NULL,
-  `config_file_id` int(11) DEFAULT NULL,
-  `asdc_artifacts_id` int(11) DEFAULT NULL,
-  PRIMARY KEY (`prepare_file_relationship_id`),
-  UNIQUE KEY `prepare_file_relationship_id` (`prepare_file_relationship_id`),
-  KEY `ie_prepare_file_relationship` (`config_file_id`),
-  KEY `ie2_prepare_file_relationship` (`asdc_artifacts_id`),
-  CONSTRAINT `prepare_file_relationship_ibfk_2` FOREIGN KEY (`asdc_artifacts_id`) REFERENCES `ASDC_ARTIFACTS` (`asdc_artifacts_id`) ON DELETE NO ACTION ON UPDATE CASCADE,
-  CONSTRAINT `prepare_file_replationship_ibfk_1` FOREIGN KEY (`config_file_id`) REFERENCES `CONFIGFILES` (`config_file_id`) ON DELETE NO ACTION ON UPDATE CASCADE
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `PRE_LOAD_VNF_DATA`
---
-
-DROP TABLE IF EXISTS `PRE_LOAD_VNF_DATA`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `PRE_LOAD_VNF_DATA` (
-  `id` int(11) NOT NULL AUTO_INCREMENT,
-  `svc_request_id` varchar(100) DEFAULT '',
-  `svc_action` varchar(40) DEFAULT '',
-  `status` varchar(10) NOT NULL DEFAULT 'pending',
-  `filename` varchar(100) NOT NULL,
-  `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
-  `preload_data` longblob,
-  PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=295 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `PRE_LOAD_VNF_NETWORK_DATA`
---
-
-DROP TABLE IF EXISTS `PRE_LOAD_VNF_NETWORK_DATA`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `PRE_LOAD_VNF_NETWORK_DATA` (
-  `id` int(11) NOT NULL AUTO_INCREMENT,
-  `svc_request_id` varchar(100) DEFAULT '',
-  `svc_action` varchar(40) DEFAULT '',
-  `status` varchar(10) NOT NULL DEFAULT 'pending',
-  `filename` varchar(100) NOT NULL,
-  `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
-  `preload_data` longblob,
-  PRIMARY KEY (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=278 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `PSERVER`
---
-
-DROP TABLE IF EXISTS `PSERVER`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `PSERVER` (
-  `hostname` varchar(255) NOT NULL,
-  `ptnii_equip_name` varchar(255) DEFAULT '',
-  `number_of_cpus` varchar(255) DEFAULT '',
-  `disk_in_gigabytes` varchar(255) DEFAULT '',
-  `ram_in_megabytes` varchar(255) DEFAULT '',
-  `equip_type` varchar(255) DEFAULT '',
-  `equip_vendor` varchar(255) DEFAULT '',
-  `equip_model` varchar(255) DEFAULT '',
-  `fqdn` varchar(255) DEFAULT '',
-  `pserver_selflink` varchar(255) DEFAULT '',
-  `ipv4_oam_address` varchar(40) DEFAULT NULL,
-  `serial_number` varchar(255) DEFAULT '',
-  `pserver_id` varchar(255) DEFAULT '',
-  `internet_topology` varchar(40) DEFAULT '',
-  `aic_site_id` varchar(100) DEFAULT '',
-  `in_maint` varchar(5) DEFAULT '',
-  `pserver_name2` varchar(255) DEFAULT '',
-  `purpose` varchar(255) DEFAULT '',
-  PRIMARY KEY (`hostname`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `RANGE_RULE`
---
-
-DROP TABLE IF EXISTS `RANGE_RULE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `RANGE_RULE` (
-  `range_rule_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
-  `range_name` varchar(50) NOT NULL,
-  `service_model` varchar(50) NOT NULL,
-  `end_point_position` varchar(50) NOT NULL,
-  `equipment_level` varchar(50) NOT NULL,
-  `min_value` int(11) NOT NULL,
-  `max_value` int(11) NOT NULL,
-  PRIMARY KEY (`range_rule_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `REQUEST_PROGRESS`
---
-
-DROP TABLE IF EXISTS `REQUEST_PROGRESS`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `REQUEST_PROGRESS` (
-  `request_id` int(11) NOT NULL AUTO_INCREMENT,
-  `request_type` varchar(20) DEFAULT NULL,
-  `service_instance_id` varchar(80) NOT NULL,
-  `request_instance_type` varchar(20) NOT NULL,
-  `originating_service_instance_id` varchar(80) DEFAULT NULL,
-  `originating_service_type` varchar(20) DEFAULT NULL,
-  `overall_status` varchar(20) DEFAULT NULL,
-  `status_date` varchar(80) DEFAULT NULL,
-  `message` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`request_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `REQUEST_PROGRESS_STATE`
---
-
-DROP TABLE IF EXISTS `REQUEST_PROGRESS_STATE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `REQUEST_PROGRESS_STATE` (
-  `request_progress_state_id` int(11) NOT NULL AUTO_INCREMENT,
-  `request_id` int(11) DEFAULT NULL,
-  `service_instance_id` varchar(80) NOT NULL,
-  `request_instance_type` varchar(20) NOT NULL,
-  `progress_state` varchar(30) DEFAULT NULL,
-  `transaction_status` varchar(20) DEFAULT NULL,
-  `status_date` varchar(80) DEFAULT NULL,
-  `response_code` varchar(20) DEFAULT NULL,
-  `message` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`request_progress_state_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `RESOURCE`
---
-
-DROP TABLE IF EXISTS `RESOURCE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `RESOURCE` (
-  `resource_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
-  `asset_id` varchar(100) NOT NULL,
-  `resource_name` varchar(50) NOT NULL,
-  `resource_type` enum('Limit','Label','Range') NOT NULL,
-  `lt_used` bigint(20) DEFAULT NULL,
-  `ll_label` varchar(50) DEFAULT NULL,
-  `ll_reference_count` smallint(6) DEFAULT NULL,
-  `rr_used` varchar(4000) DEFAULT NULL,
-  PRIMARY KEY (`resource_id`),
-  UNIQUE KEY `resource_id` (`resource_id`),
-  UNIQUE KEY `IX1_RESOURCE` (`asset_id`,`resource_name`)
-) ENGINE=InnoDB AUTO_INCREMENT=179 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `RESOURCE_LOAD`
---
-
-DROP TABLE IF EXISTS `RESOURCE_LOAD`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `RESOURCE_LOAD` (
-  `resource_load_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
-  `resource_id` bigint(20) NOT NULL,
-  `application_id` varchar(20) NOT NULL,
-  `resource_load_time` datetime NOT NULL,
-  `resource_expiration_time` datetime DEFAULT NULL,
-  PRIMARY KEY (`resource_load_id`),
-  UNIQUE KEY `resource_load_id` (`resource_load_id`),
-  UNIQUE KEY `IX2_RESOURCE_LOAD` (`resource_id`,`application_id`),
-  KEY `IX1_RESOURCE_LOAD` (`resource_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `RESOURCE_LOCK`
---
-
-DROP TABLE IF EXISTS `RESOURCE_LOCK`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `RESOURCE_LOCK` (
-  `resource_lock_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
-  `resource_name` varchar(256) DEFAULT NULL,
-  `lock_holder` varchar(100) NOT NULL,
-  `lock_count` smallint(6) NOT NULL,
-  `lock_time` datetime NOT NULL,
-  `expiration_time` datetime NOT NULL,
-  PRIMARY KEY (`resource_lock_id`),
-  UNIQUE KEY `resource_lock_id` (`resource_lock_id`),
-  UNIQUE KEY `IX1_RESOURCE_LOCK` (`resource_name`)
-) ENGINE=InnoDB AUTO_INCREMENT=29681 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `RESOURCE_RULE`
---
-
-DROP TABLE IF EXISTS `RESOURCE_RULE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `RESOURCE_RULE` (
-  `resource_rule_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
-  `resource_name` varchar(50) NOT NULL,
-  `service_model` varchar(50) NOT NULL,
-  `end_point_position` varchar(50) NOT NULL,
-  `service_expression` varchar(2000) NOT NULL,
-  `equipment_level` varchar(50) NOT NULL,
-  `equipment_expression` varchar(2000) NOT NULL,
-  `allocation_expression` varchar(2000) NOT NULL,
-  `soft_limit_expression` varchar(2000) NOT NULL,
-  `hard_limit_expression` varchar(2000) NOT NULL,
-  PRIMARY KEY (`resource_rule_id`),
-  UNIQUE KEY `resource_rule_id` (`resource_rule_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `RESOURCE_THRESHOLD`
---
-
-DROP TABLE IF EXISTS `RESOURCE_THRESHOLD`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `RESOURCE_THRESHOLD` (
-  `resource_threshold_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
-  `resource_rule_id` bigint(20) NOT NULL,
-  `threshold_expression` varchar(2000) NOT NULL,
-  `threshold_message` varchar(2000) NOT NULL,
-  PRIMARY KEY (`resource_threshold_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `ROUTER_MASTER`
---
-
-DROP TABLE IF EXISTS `ROUTER_MASTER`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `ROUTER_MASTER` (
-  `crs_name` varchar(20) NOT NULL,
-  `loopback_ip` varchar(20) NOT NULL,
-  PRIMARY KEY (`crs_name`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `ROUTING_CHARACTERISTIC_MAPPING`
---
-
-DROP TABLE IF EXISTS `ROUTING_CHARACTERISTIC_MAPPING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `ROUTING_CHARACTERISTIC_MAPPING` (
-  `network_role` varchar(255) NOT NULL,
-  `vrf_name` varchar(255) NOT NULL,
-  `routing_characteristic` varchar(255) NOT NULL,
-  PRIMARY KEY (`network_role`,`vrf_name`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `SERVICE_HOMING`
---
-
-DROP TABLE IF EXISTS `SERVICE_HOMING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `SERVICE_HOMING` (
-  `service_type` varchar(100) NOT NULL,
-  `lata` int(3) NOT NULL,
-  `hubbing_city_type` varchar(40) NOT NULL,
-  `latitude` float DEFAULT NULL,
-  `longitude` float DEFAULT NULL,
-  `primary_aic_site_name` varchar(100) NOT NULL,
-  `secondary_aic_site_name` varchar(100) DEFAULT NULL,
-  `tertiary_aic_site_name` varchar(100) DEFAULT NULL,
-  PRIMARY KEY (`service_type`,`lata`,`hubbing_city_type`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `SERVICE_HOMING_BACKUP`
---
-
-DROP TABLE IF EXISTS `SERVICE_HOMING_BACKUP`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `SERVICE_HOMING_BACKUP` (
-  `service_type` varchar(100) NOT NULL,
-  `lata` int(3) NOT NULL,
-  `hubbing_city_type` varchar(40) NOT NULL,
-  `latitude` float DEFAULT NULL,
-  `longitude` float DEFAULT NULL,
-  `primary_aic_site_name` varchar(100) NOT NULL,
-  `secondary_aic_site_name` varchar(100) DEFAULT NULL,
-  `tertiary_aic_site_name` varchar(100) DEFAULT NULL,
-  PRIMARY KEY (`service_type`,`lata`,`hubbing_city_type`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `SERVICE_INSTANCE_NAME_INDEX`
---
-
-DROP TABLE IF EXISTS `SERVICE_INSTANCE_NAME_INDEX`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `SERVICE_INSTANCE_NAME_INDEX` (
-  `service_instance_name_prefix` varchar(255) NOT NULL,
-  `index_number` int(11) NOT NULL,
-  PRIMARY KEY (`service_instance_name_prefix`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `SERVICE_MANAGER_CREDENTIALS`
---
-
-DROP TABLE IF EXISTS `SERVICE_MANAGER_CREDENTIALS`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `SERVICE_MANAGER_CREDENTIALS` (
-  `service_manager_username` varchar(255) NOT NULL,
-  `service_manager_password` varbinary(255) NOT NULL,
-  PRIMARY KEY (`service_manager_username`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `SERVICE_MODEL`
---
-
-DROP TABLE IF EXISTS `SERVICE_MODEL`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `SERVICE_MODEL` (
-  `service_uuid` varchar(255) NOT NULL,
-  `model_yaml` longblob,
-  `invariant_uuid` varchar(255) DEFAULT NULL,
-  `version` varchar(255) DEFAULT NULL,
-  `name` varchar(255) DEFAULT NULL,
-  `description` varchar(1024) DEFAULT NULL,
-  `type` varchar(255) DEFAULT NULL,
-  `category` varchar(255) DEFAULT NULL,
-  `ecomp_naming` char(1) DEFAULT NULL,
-  `service_instance_name_prefix` varchar(255) DEFAULT NULL,
-  `filename` varchar(100) DEFAULT NULL,
-  `naming_policy` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`service_uuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `SERVICE_PROXY`
---
-
-DROP TABLE IF EXISTS `SERVICE_PROXY`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `SERVICE_PROXY` (
-  `port_mirror_service_uuid` varchar(255) NOT NULL,
-  `service_proxy_name` varchar(255) NOT NULL,
-  `source_service_uuid` varchar(255) NOT NULL,
-  `resources_vendor` varchar(255) DEFAULT NULL,
-  `resource_vendor_release` varchar(255) DEFAULT NULL,
-  `description` varchar(255) DEFAULT NULL,
-  `category` varchar(255) DEFAULT NULL,
-  `subcategory` varchar(255) DEFAULT NULL,
-  `version` varchar(255) DEFAULT NULL,
-  `role` varchar(255) NOT NULL,
-  `uuid` varchar(255) DEFAULT NULL,
-  `customization_uuid` varchar(255) DEFAULT NULL,
-  `invariant_uuid` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`port_mirror_service_uuid`,`service_proxy_name`),
-  KEY `FK_SERVICE_PROXY_SOURCE_TO_SERVICE_MODE` (`source_service_uuid`),
-  CONSTRAINT `FK_SERVICE_PROXY_MIRROR_TO_SERVICE_MODE` FOREIGN KEY (`port_mirror_service_uuid`) REFERENCES `SERVICE_MODEL` (`service_uuid`) ON DELETE CASCADE ON UPDATE NO ACTION
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `SERVICE_RESOURCE`
---
-
-DROP TABLE IF EXISTS `SERVICE_RESOURCE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `SERVICE_RESOURCE` (
-  `service_resource_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
-  `service_instance_id` varchar(80) NOT NULL,
-  `service_status` enum('Active','Pending') NOT NULL,
-  `service_change_number` smallint(6) NOT NULL,
-  `resource_set_id` varchar(100) NOT NULL,
-  `resource_union_id` varchar(100) NOT NULL,
-  PRIMARY KEY (`service_instance_id`,`service_change_number`),
-  UNIQUE KEY `service_resource_id` (`service_resource_id`),
-  KEY `IX1_SERVICE_RESOURCE` (`service_instance_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=955 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `SERVICE_TYPE_MAPPING`
---
-
-DROP TABLE IF EXISTS `SERVICE_TYPE_MAPPING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `SERVICE_TYPE_MAPPING` (
-  `sdnc_service_type` varchar(128) NOT NULL,
-  `ncs_service_type` varchar(128) NOT NULL,
-  PRIMARY KEY (`sdnc_service_type`,`ncs_service_type`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `SUBNETPOOL_MAPPING`
---
-
-DROP TABLE IF EXISTS `SUBNETPOOL_MAPPING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `SUBNETPOOL_MAPPING` (
-  `aic_cloud_region` varchar(16) NOT NULL,
-  `ntc` varchar(32) NOT NULL,
-  `lcp` varchar(32) NOT NULL,
-  `aic_region_id` varchar(255) NOT NULL,
-  PRIMARY KEY (`aic_cloud_region`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `SUPPORTED_SEQUENCE_NUMBER`
---
-
-DROP TABLE IF EXISTS `SUPPORTED_SEQUENCE_NUMBER`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `SUPPORTED_SEQUENCE_NUMBER` (
-  `resource_sequence_number` varchar(10) NOT NULL,
-  `resource_type` varchar(10) NOT NULL,
-  PRIMARY KEY (`resource_sequence_number`,`resource_type`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `SVC_LOGIC`
---
-
-DROP TABLE IF EXISTS `SVC_LOGIC`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `SVC_LOGIC` (
-  `module` varchar(80) NOT NULL,
-  `rpc` varchar(80) NOT NULL,
-  `version` varchar(40) NOT NULL,
-  `mode` varchar(5) NOT NULL,
-  `active` varchar(1) NOT NULL,
-  `graph` longblob,
-  `modified_timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
-  `md5sum` varchar(128) DEFAULT NULL,
-  PRIMARY KEY (`module`,`rpc`,`version`,`mode`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `TABLE_CLEANUP_CONFIGURATION`
---
-
-DROP TABLE IF EXISTS `TABLE_CLEANUP_CONFIGURATION`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `TABLE_CLEANUP_CONFIGURATION` (
-  `table_name` varchar(255) NOT NULL COMMENT 'The name of the table the cleanup will be performed on',
-  `days_old` int(11) NOT NULL COMMENT 'Records older than the current date minus DAYS_OLD will be deleted',
-  `date_column` varchar(255) NOT NULL COMMENT 'The name of the column containing the date to be checked',
-  `commit_interval` int(11) NOT NULL DEFAULT '2500' COMMENT 'The maximum number of rows a commit may contain',
-  `query_clause` varchar(1000) DEFAULT NULL COMMENT 'An optional additional query clause to further restrict deletion criteria',
-  `child_table_name` varchar(255) DEFAULT NULL,
-  `child_table_pk` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`table_name`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='This table will be used by the table clean-up script, tableCleanup.sh, to drive what tables should be purged and what the purge criteria are.';
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `TASK_TEMPLATE`
---
-
-DROP TABLE IF EXISTS `TASK_TEMPLATE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `TASK_TEMPLATE` (
-  `task_template_id` int(11) NOT NULL AUTO_INCREMENT,
-  `request_type` varchar(20) DEFAULT NULL,
-  `task_name` varchar(30) NOT NULL,
-  `task_category` varchar(50) NOT NULL,
-  `ecomp_task` varchar(50) NOT NULL,
-  `initial_load` varchar(1) NOT NULL,
-  `service` varchar(20) DEFAULT NULL,
-  PRIMARY KEY (`task_template_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `TENANT`
---
-
-DROP TABLE IF EXISTS `TENANT`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `TENANT` (
-  `tenant_id` varchar(255) NOT NULL,
-  `tenant_name` varchar(255) NOT NULL,
-  `service_instance_id` varchar(255) NOT NULL,
-  PRIMARY KEY (`tenant_id`,`tenant_name`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `TESTTBL`
---
-
-DROP TABLE IF EXISTS `TESTTBL`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `TESTTBL` (
-  `pk` varchar(25) NOT NULL,
-  `col1` varchar(25) DEFAULT NULL
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `THRESHOLD_NOTIFICATION`
---
-
-DROP TABLE IF EXISTS `THRESHOLD_NOTIFICATION`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `THRESHOLD_NOTIFICATION` (
-  `resource_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
-  `threshold_expression` varchar(2000) DEFAULT NULL,
-  `threshold_message` varchar(500) DEFAULT NULL,
-  PRIMARY KEY (`resource_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `TMP_AIC_AVAIL_ZONE_POOL`
---
-
-DROP TABLE IF EXISTS `TMP_AIC_AVAIL_ZONE_POOL`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `TMP_AIC_AVAIL_ZONE_POOL` (
-  `aic_site_id` varchar(100) NOT NULL,
-  `status` varchar(40) NOT NULL,
-  `availability_zone` varchar(100) NOT NULL,
-  `token` int(4) NOT NULL,
-  `vnf_id` varchar(80) DEFAULT NULL,
-  `service_type` varchar(100) NOT NULL,
-  `vnf_type` varchar(20) DEFAULT NULL,
-  `hypervisor` varchar(10) DEFAULT NULL,
-  PRIMARY KEY (`aic_site_id`,`availability_zone`,`token`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `TOPOLOGY_PARAMETER`
---
-
-DROP TABLE IF EXISTS `TOPOLOGY_PARAMETER`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `TOPOLOGY_PARAMETER` (
-  `parameter_id` int(11) NOT NULL,
-  `parameter_name` varchar(20) NOT NULL,
-  `parameter_set` int(11) NOT NULL,
-  `create_update_time` datetime NOT NULL,
-  `create_update_user` varchar(40) NOT NULL,
-  PRIMARY KEY (`parameter_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `TOPOLOGY_PARAMETER_ENTRIES`
---
-
-DROP TABLE IF EXISTS `TOPOLOGY_PARAMETER_ENTRIES`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `TOPOLOGY_PARAMETER_ENTRIES` (
-  `parameter_entry_id` int(11) NOT NULL,
-  `parameter_name` varchar(255) NOT NULL,
-  `parameter_value` varchar(64) NOT NULL,
-  `create_update_time` datetime NOT NULL,
-  `create_update_user` varchar(40) NOT NULL,
-  PRIMARY KEY (`parameter_entry_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `TOPOLOGY_PARAMETER_TO_ENTRIES`
---
-
-DROP TABLE IF EXISTS `TOPOLOGY_PARAMETER_TO_ENTRIES`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `TOPOLOGY_PARAMETER_TO_ENTRIES` (
-  `parameter_id` int(11) DEFAULT NULL,
-  `parameter_entry_id` int(11) DEFAULT NULL,
-  `entry_order` int(11) DEFAULT NULL,
-  `create_update_time` datetime DEFAULT NULL,
-  `create_update_user` varchar(40) NOT NULL,
-  KEY `FK1_TOPOLOGY_PARAMETER_TO_ENTRIES` (`parameter_id`),
-  KEY `FK2_TOPOLOGY_PARAMETER_TO_ENTRIES` (`parameter_entry_id`),
-  CONSTRAINT `FK1_TOPOLOGY_PARAMETER_TO_ENTRIES` FOREIGN KEY (`parameter_id`) REFERENCES `TOPOLOGY_PARAMETER` (`parameter_id`),
-  CONSTRAINT `FK2_TOPOLOGY_PARAMETER_TO_ENTRIES` FOREIGN KEY (`parameter_entry_id`) REFERENCES `TOPOLOGY_PARAMETER_ENTRIES` (`parameter_entry_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `TRANSACTION_LOG`
---
-
-DROP TABLE IF EXISTS `TRANSACTION_LOG`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `TRANSACTION_LOG` (
-  `serial_key` int(10) NOT NULL AUTO_INCREMENT,
-  `log_time` varchar(40) NOT NULL,
-  `request_id` varchar(80) DEFAULT NULL,
-  `svc_request_id` varchar(80) DEFAULT NULL,
-  `x_ecomp_request_id` varchar(80) DEFAULT NULL,
-  `graph_name` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`serial_key`)
-) ENGINE=InnoDB AUTO_INCREMENT=249 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
-
---
--- Table structure for table `UPLOAD_CONFIG`
---
-
-DROP TABLE IF EXISTS `UPLOAD_CONFIG`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `UPLOAD_CONFIG` (
-  `upload_config_id` int(11) NOT NULL AUTO_INCREMENT,
-  `request_id` varchar(50) DEFAULT NULL,
-  `originator_id` varchar(50) DEFAULT NULL,
-  `service_description` varchar(100) DEFAULT NULL,
-  `action` varchar(50) DEFAULT NULL,
-  `upload_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
-  `vnf_id` varchar(50) DEFAULT NULL,
-  `vnf_name` varchar(50) DEFAULT NULL,
-  `vm_name` varchar(50) DEFAULT NULL,
-  `vnf_type` varchar(50) DEFAULT NULL,
-  `vnfc_type` varchar(50) DEFAULT NULL,
-  `host_ip_address` varchar(50) DEFAULT NULL,
-  `config_indicator` varchar(25) DEFAULT NULL,
-  `pending_delete` varchar(1) DEFAULT NULL,
-  `content` longtext,
-  PRIMARY KEY (`upload_config_id`),
-  UNIQUE KEY `upload_config_id` (`upload_config_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `USED_SEQUENCE_NUMBER`
---
-
-DROP TABLE IF EXISTS `USED_SEQUENCE_NUMBER`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `USED_SEQUENCE_NUMBER` (
-  `resource_sequence_number` varchar(10) NOT NULL,
-  `resource_type` varchar(10) NOT NULL,
-  `zone_region_id` varchar(50) NOT NULL,
-  PRIMARY KEY (`resource_sequence_number`,`resource_type`,`zone_region_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `USER_TRACE`
---
-
-DROP TABLE IF EXISTS `USER_TRACE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `USER_TRACE` (
-  `user_trace_seq` int(11) NOT NULL AUTO_INCREMENT,
-  `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
-  `identity` varchar(12) DEFAULT NULL,
-  `action` varchar(128) DEFAULT NULL,
-  `description` varchar(256) DEFAULT NULL,
-  PRIMARY KEY (`user_trace_seq`)
-) ENGINE=InnoDB AUTO_INCREMENT=392 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VENDOR_CODE`
---
-
-DROP TABLE IF EXISTS `VENDOR_CODE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VENDOR_CODE` (
-  `vendor_code` varchar(1) NOT NULL,
-  `vendor` varchar(45) NOT NULL DEFAULT '',
-  PRIMARY KEY (`vendor_code`,`vendor`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VFC_MODEL`
---
-
-DROP TABLE IF EXISTS `VFC_MODEL`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VFC_MODEL` (
-  `customization_uuid` varchar(255) NOT NULL,
-  `model_yaml` longblob,
-  `invariant_uuid` varchar(255) DEFAULT NULL,
-  `uuid` varchar(255) DEFAULT NULL,
-  `version` varchar(255) DEFAULT NULL,
-  `naming_policy` varchar(255) DEFAULT NULL,
-  `ecomp_generated_naming` char(1) DEFAULT NULL,
-  `nfc_function` varchar(255) DEFAULT NULL,
-  `nfc_naming_code` varchar(255) DEFAULT NULL,
-  `vm_type` varchar(255) DEFAULT NULL,
-  `vm_type_tag` varchar(255) DEFAULT NULL,
-  `vm_image_name` varchar(255) DEFAULT NULL,
-  `vm_flavor_name` varchar(255) DEFAULT NULL,
-  `high_availability` varchar(255) DEFAULT NULL,
-  `nfc_naming` varchar(255) DEFAULT NULL,
-  `min_instances` int(11) DEFAULT NULL,
-  `max_instances` int(11) DEFAULT NULL,
-  PRIMARY KEY (`customization_uuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VFC_TO_NETWORK_ROLE_MAPPING`
---
-
-DROP TABLE IF EXISTS `VFC_TO_NETWORK_ROLE_MAPPING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VFC_TO_NETWORK_ROLE_MAPPING` (
-  `seq` int(11) NOT NULL AUTO_INCREMENT,
-  `vfc_customization_uuid` varchar(255) NOT NULL,
-  `network_role` varchar(255) NOT NULL,
-  `vm_type` varchar(255) DEFAULT NULL,
-  `network_role_tag` varchar(255) DEFAULT NULL,
-  `ipv4_count` int(11) NOT NULL,
-  `ipv6_count` int(11) NOT NULL,
-  `ipv4_use_dhcp` char(1) DEFAULT NULL,
-  `ipv6_use_dhcp` char(1) DEFAULT NULL,
-  `ipv4_ip_version` char(1) DEFAULT NULL,
-  `ipv6_ip_version` char(1) DEFAULT NULL,
-  `extcp_subnetpool_id` varchar(512) DEFAULT NULL,
-  `ipv4_floating_count` int(11) DEFAULT NULL,
-  `ipv6_floating_count` int(11) DEFAULT NULL,
-  `ipv4_address_plan_name` varchar(512) DEFAULT NULL,
-  `ipv6_address_plan_name` varchar(512) DEFAULT NULL,
-  `ipv4_vrf_name` varchar(512) DEFAULT NULL,
-  `ipv6_vrf_name` varchar(512) DEFAULT NULL,
-  `subnet_role` varchar(255) DEFAULT NULL,
-  `subinterface_indicator` char(1) DEFAULT NULL,
-  PRIMARY KEY (`seq`),
-  KEY `IX1_VFC_TO_NETWORK_ROLE_MAPPING` (`vfc_customization_uuid`)
-) ENGINE=InnoDB AUTO_INCREMENT=1791 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VF_MODEL`
---
-
-DROP TABLE IF EXISTS `VF_MODEL`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VF_MODEL` (
-  `customization_uuid` varchar(255) NOT NULL,
-  `model_yaml` longblob,
-  `invariant_uuid` varchar(255) DEFAULT NULL,
-  `uuid` varchar(255) DEFAULT NULL,
-  `version` varchar(255) DEFAULT NULL,
-  `name` varchar(255) DEFAULT NULL,
-  `naming_policy` varchar(255) DEFAULT NULL,
-  `ecomp_generated_naming` char(1) DEFAULT NULL,
-  `avail_zone_max_count` int(11) DEFAULT NULL,
-  `nf_function` varchar(255) DEFAULT NULL,
-  `nf_code` varchar(255) DEFAULT NULL,
-  `nf_type` varchar(255) DEFAULT NULL,
-  `nf_role` varchar(255) DEFAULT NULL,
-  `vendor` varchar(255) DEFAULT NULL,
-  `vendor_version` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`customization_uuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VF_MODULE_MODEL`
---
-
-DROP TABLE IF EXISTS `VF_MODULE_MODEL`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VF_MODULE_MODEL` (
-  `customization_uuid` varchar(255) NOT NULL,
-  `model_yaml` longblob,
-  `invariant_uuid` varchar(255) DEFAULT NULL,
-  `uuid` varchar(255) DEFAULT NULL,
-  `version` varchar(255) DEFAULT NULL,
-  `vf_module_type` varchar(255) DEFAULT NULL,
-  `availability_zone_count` int(11) DEFAULT NULL,
-  `ecomp_generated_vm_assignments` char(1) DEFAULT NULL,
-  PRIMARY KEY (`customization_uuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VF_MODULE_TO_VFC_MAPPING`
---
-
-DROP TABLE IF EXISTS `VF_MODULE_TO_VFC_MAPPING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VF_MODULE_TO_VFC_MAPPING` (
-  `seq` int(11) NOT NULL AUTO_INCREMENT,
-  `vf_module_customization_uuid` varchar(255) NOT NULL,
-  `vfc_customization_uuid` varchar(255) NOT NULL,
-  `vm_type` varchar(255) NOT NULL,
-  `vm_count` int(11) NOT NULL,
-  PRIMARY KEY (`seq`),
-  KEY `IX1_VF_MODULE_TO_VFC_MAPPING` (`vf_module_customization_uuid`)
-) ENGINE=InnoDB AUTO_INCREMENT=1591 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VF_TO_NETWORK_ROLE_MAPPING`
---
-
-DROP TABLE IF EXISTS `VF_TO_NETWORK_ROLE_MAPPING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VF_TO_NETWORK_ROLE_MAPPING` (
-  `seq` int(11) NOT NULL AUTO_INCREMENT,
-  `vf_customization_uuid` varchar(255) NOT NULL,
-  `network_role` varchar(255) NOT NULL,
-  PRIMARY KEY (`seq`),
-  KEY `IX1_VF_TO_NETWORK_ROLE_MAPPING` (`vf_customization_uuid`)
-) ENGINE=InnoDB AUTO_INCREMENT=348 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VIPR_CONFIGURATION`
---
-
-DROP TABLE IF EXISTS `VIPR_CONFIGURATION`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VIPR_CONFIGURATION` (
-  `seq` int(11) NOT NULL AUTO_INCREMENT,
-  `serial_number` varchar(255) DEFAULT NULL,
-  `vnf_id` varchar(255) DEFAULT NULL,
-  `vnf_name` varchar(255) DEFAULT NULL,
-  `ecomp_service_instance_id` varchar(255) DEFAULT NULL,
-  `vm_name` varchar(255) DEFAULT NULL,
-  `cloud_region_id` varchar(255) DEFAULT NULL,
-  `cloud_owner` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`seq`)
-) ENGINE=InnoDB AUTO_INCREMENT=50 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VIPR_SZ_MANAGER_KEY`
---
-
-DROP TABLE IF EXISTS `VIPR_SZ_MANAGER_KEY`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VIPR_SZ_MANAGER_KEY` (
-  `vipr_sz_manager_ip_addr` varchar(40) NOT NULL,
-  `vipr_sz_manager_state` varchar(10) DEFAULT NULL,
-  `vipr_sz_manager_api_key` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`vipr_sz_manager_ip_addr`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VLAN_ID_POOL`
---
-
-DROP TABLE IF EXISTS `VLAN_ID_POOL`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VLAN_ID_POOL` (
-  `aic_site_id` varchar(100) NOT NULL,
-  `purpose` varchar(40) NOT NULL,
-  `status` varchar(40) NOT NULL,
-  `vlan_id` int(4) NOT NULL,
-  `svc_instance_id` varchar(80) DEFAULT NULL,
-  `availability_zone` varchar(100) DEFAULT NULL,
-  `vplspe_name` varchar(80) DEFAULT NULL,
-  PRIMARY KEY (`vlan_id`,`aic_site_id`,`purpose`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VLAN_L3INTERFACE_IPV4_ADDRESS`
---
-
-DROP TABLE IF EXISTS `VLAN_L3INTERFACE_IPV4_ADDRESS`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VLAN_L3INTERFACE_IPV4_ADDRESS` (
-  `vnf_id` varchar(80) NOT NULL,
-  `interface_name` varchar(255) NOT NULL,
-  `vlan_interface` varchar(255) NOT NULL,
-  `l3_interface_ipv4_address` varchar(64) NOT NULL,
-  `l3_interface_ipv4_prefix_length` varchar(45) DEFAULT NULL,
-  `vlan_id_inner` varchar(45) DEFAULT NULL,
-  `vlan_id_outer` varchar(45) DEFAULT NULL,
-  `is_floating` varchar(1) DEFAULT NULL,
-  PRIMARY KEY (`vnf_id`,`interface_name`,`vlan_interface`,`l3_interface_ipv4_address`),
-  KEY `FK_VLAN_L3INTERFACE_IPV4_ADDRESS_LINTERFACE_VLAN_IDX` (`vnf_id`,`interface_name`),
-  CONSTRAINT `FK_VLAN_L3INTERFACE_IPV4_ADDRESS_LINTERFACE_VLAN` FOREIGN KEY (`vnf_id`, `interface_name`, `vlan_interface`) REFERENCES `LINTERFACE_VLAN` (`vnf_id`, `interface_name`, `vlan_interface`) ON DELETE NO ACTION ON UPDATE NO ACTION
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VLAN_L3INTERFACE_IPV6_ADDRESS`
---
-
-DROP TABLE IF EXISTS `VLAN_L3INTERFACE_IPV6_ADDRESS`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VLAN_L3INTERFACE_IPV6_ADDRESS` (
-  `vnf_id` varchar(80) NOT NULL,
-  `interface_name` varchar(255) NOT NULL,
-  `vlan_interface` varchar(255) NOT NULL,
-  `l3_interface_ipv6_address` varchar(64) NOT NULL,
-  `l3_interface_ipv6_prefix_length` varchar(45) DEFAULT NULL,
-  `vlan_id_inner` varchar(45) DEFAULT NULL,
-  `vlan_id_outer` varchar(45) DEFAULT NULL,
-  `is_floating` varchar(1) DEFAULT NULL,
-  PRIMARY KEY (`vnf_id`,`interface_name`,`vlan_interface`,`l3_interface_ipv6_address`),
-  KEY `FK_VLAN_L3INTERFACE_IPV6_ADDRESS_LINTERFACE_VLAN_IDX` (`vnf_id`,`interface_name`,`vlan_interface`),
-  CONSTRAINT `FK_VLAN_L3INTERFACE_IPV6_ADDRESS_LINTERFACE_VLAN` FOREIGN KEY (`vnf_id`, `interface_name`, `vlan_interface`) REFERENCES `LINTERFACE_VLAN` (`vnf_id`, `interface_name`, `vlan_interface`) ON DELETE NO ACTION ON UPDATE NO ACTION
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VLAN_PLAN_ID`
---
-
-DROP TABLE IF EXISTS `VLAN_PLAN_ID`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VLAN_PLAN_ID` (
-  `plan_type` varchar(40) NOT NULL,
-  `purpose` varchar(40) NOT NULL,
-  `vlan_plan_id_count` int(4) NOT NULL,
-  PRIMARY KEY (`vlan_plan_id_count`,`plan_type`,`purpose`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VLAN_POOL`
---
-
-DROP TABLE IF EXISTS `VLAN_POOL`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VLAN_POOL` (
-  `aic_site_id` varchar(100) NOT NULL,
-  `availability_zone` varchar(100) NOT NULL,
-  `vlan_plan_id` varchar(100) NOT NULL,
-  `plan_type` varchar(40) NOT NULL,
-  `purpose` varchar(40) NOT NULL,
-  `vlan_id` int(4) NOT NULL,
-  `status` varchar(40) NOT NULL,
-  `reserved_id` varchar(80) DEFAULT NULL,
-  PRIMARY KEY (`aic_site_id`,`availability_zone`,`vlan_plan_id`,`plan_type`,`purpose`,`vlan_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VLAN_RANGES`
---
-
-DROP TABLE IF EXISTS `VLAN_RANGES`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VLAN_RANGES` (
-  `vlan_plan_id` varchar(100) NOT NULL,
-  `plan_type` varchar(40) NOT NULL,
-  `purpose` varchar(40) NOT NULL,
-  `range_start` int(4) NOT NULL,
-  `range_end` int(4) NOT NULL,
-  `generated` char(1) DEFAULT NULL,
-  PRIMARY KEY (`vlan_plan_id`,`plan_type`,`purpose`,`range_start`,`range_end`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VM_NAME_INDEX`
---
-
-DROP TABLE IF EXISTS `VM_NAME_INDEX`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VM_NAME_INDEX` (
-  `vm_name_prefix` varchar(255) NOT NULL,
-  `index_number` int(11) NOT NULL,
-  PRIMARY KEY (`vm_name_prefix`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VM_NETWORKS`
---
-
-DROP TABLE IF EXISTS `VM_NETWORKS`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VM_NETWORKS` (
-  `vnf_type` varchar(200) NOT NULL,
-  `vm_type` varchar(45) NOT NULL,
-  `network_role` varchar(45) NOT NULL,
-  `assign_ips` tinyint(1) NOT NULL,
-  `assign_macs` tinyint(1) NOT NULL,
-  `assign_floating_ip` tinyint(1) NOT NULL,
-  `ip_count` int(11) DEFAULT NULL,
-  PRIMARY KEY (`vnf_type`,`vm_type`,`network_role`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VM_PROFILE`
---
-
-DROP TABLE IF EXISTS `VM_PROFILE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VM_PROFILE` (
-  `vnf_type` varchar(200) NOT NULL,
-  `vm_type` varchar(45) NOT NULL,
-  `vm_count` int(11) NOT NULL,
-  PRIMARY KEY (`vnf_type`,`vm_type`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VNF`
---
-
-DROP TABLE IF EXISTS `VNF`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VNF` (
-  `vnf_id` varchar(80) NOT NULL,
-  `vnf_name` varchar(80) NOT NULL,
-  `vnf_type` varchar(10) NOT NULL,
-  `orchestration_status` varchar(20) DEFAULT NULL,
-  `heat_stack_id` varchar(80) DEFAULT NULL,
-  `mso_catalog_key` varchar(80) DEFAULT NULL,
-  `availability_zone` varchar(80) DEFAULT NULL,
-  `aic_site_id` varchar(80) DEFAULT NULL,
-  `oam_ipv4_address` varchar(20) DEFAULT NULL,
-  `vnf_name2` varchar(80) DEFAULT NULL,
-  `vpe_id` varchar(80) NOT NULL,
-  `ipv4_loopback0_address` varchar(80) DEFAULT NULL,
-  `license_key` varchar(256) DEFAULT NULL,
-  `entitlement_resource_uuid` varchar(256) DEFAULT NULL,
-  PRIMARY KEY (`vnf_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VNFC_DG_MAPPING`
---
-
-DROP TABLE IF EXISTS `VNFC_DG_MAPPING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VNFC_DG_MAPPING` (
-  `vnfc_dg_mapping_id` int(11) NOT NULL AUTO_INCREMENT,
-  `action` varchar(50) DEFAULT NULL,
-  `api_version` varchar(10) DEFAULT NULL,
-  `vnf_type` varchar(50) DEFAULT NULL,
-  `vnfc_type` varchar(50) DEFAULT NULL,
-  `dg_name` varchar(50) NOT NULL,
-  `dg_version` varchar(50) DEFAULT NULL,
-  `dg_module` varchar(50) NOT NULL,
-  PRIMARY KEY (`vnfc_dg_mapping_id`),
-  UNIQUE KEY `input_constraint` (`action`,`api_version`,`vnf_type`,`vnfc_type`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VNFC_REFERENCE`
---
-
-DROP TABLE IF EXISTS `VNFC_REFERENCE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VNFC_REFERENCE` (
-  `vnfc_reference_id` int(11) NOT NULL AUTO_INCREMENT,
-  `action` varchar(50) NOT NULL,
-  `vnf_type` varchar(50) NOT NULL,
-  `vm_instance` int(11) NOT NULL,
-  `vnfc_instance` int(11) NOT NULL,
-  `vnfc_type` varchar(50) NOT NULL,
-  `vnfc_function_code` varchar(50) NOT NULL,
-  `ipaddress_v4_oam_vip` varchar(50) DEFAULT NULL,
-  `group_notation_type` varchar(50) DEFAULT NULL,
-  `group_notation_value` varchar(50) DEFAULT NULL,
-  PRIMARY KEY (`vnfc_reference_id`),
-  UNIQUE KEY `vnfc_reference_id` (`vnfc_reference_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VNF_IMAGE`
---
-
-DROP TABLE IF EXISTS `VNF_IMAGE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VNF_IMAGE` (
-  `application_vendor` varchar(255) NOT NULL,
-  `application_version` varchar(255) NOT NULL,
-  `att_uuid` varchar(255) NOT NULL,
-  `application` varchar(255) DEFAULT NULL,
-  `selflink` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`application_vendor`,`application_version`,`att_uuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VNF_MODEL_LICENSES`
---
-
-DROP TABLE IF EXISTS `VNF_MODEL_LICENSES`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VNF_MODEL_LICENSES` (
-  `att_part_number` varchar(255) NOT NULL,
-  `license_assignment_group` varchar(255) NOT NULL,
-  `license_required` tinyint(1) DEFAULT NULL,
-  `entitlement_assignment_group` varchar(255) DEFAULT NULL,
-  `entitlement_required` tinyint(1) DEFAULT '0',
-  `feature_group_uuid` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`att_part_number`,`license_assignment_group`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VNF_MODEL_LICENSE_FEATURES`
---
-
-DROP TABLE IF EXISTS `VNF_MODEL_LICENSE_FEATURES`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VNF_MODEL_LICENSE_FEATURES` (
-  `att_part_number` varchar(255) NOT NULL,
-  `license_assignment_group` varchar(255) NOT NULL,
-  `feature` varchar(255) NOT NULL,
-  PRIMARY KEY (`att_part_number`,`license_assignment_group`,`feature`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VNF_NAME_INDEX`
---
-
-DROP TABLE IF EXISTS `VNF_NAME_INDEX`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VNF_NAME_INDEX` (
-  `vnf_name_prefix` varchar(255) NOT NULL,
-  `index_number` int(11) NOT NULL,
-  PRIMARY KEY (`vnf_name_prefix`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VNF_NETWORKS`
---
-
-DROP TABLE IF EXISTS `VNF_NETWORKS`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VNF_NETWORKS` (
-  `vnf_type` varchar(200) NOT NULL,
-  `network_role` varchar(45) NOT NULL,
-  PRIMARY KEY (`vnf_type`,`network_role`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VNF_NETWORK_CONNECTION`
---
-
-DROP TABLE IF EXISTS `VNF_NETWORK_CONNECTION`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VNF_NETWORK_CONNECTION` (
-  `connection_uuid` varchar(80) NOT NULL,
-  `vnf_id` varchar(80) NOT NULL,
-  `connection_id` varchar(80) DEFAULT NULL,
-  `connection_type` varchar(20) DEFAULT NULL,
-  `neutron_network_id` varchar(80) DEFAULT NULL,
-  `neutron_network_name` varchar(80) DEFAULT NULL,
-  `orchestration_status` varchar(20) DEFAULT NULL,
-  `switch_id` varchar(40) DEFAULT NULL,
-  `heat_stack_id` varchar(80) DEFAULT NULL,
-  `mso_catalog_key` varchar(80) DEFAULT NULL,
-  `provider_network` varchar(80) DEFAULT NULL,
-  `port_group_id` varchar(80) DEFAULT NULL,
-  `port_group_name` varchar(80) DEFAULT NULL,
-  PRIMARY KEY (`connection_uuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VNF_NETWORK_CONNECTION_VLAN`
---
-
-DROP TABLE IF EXISTS `VNF_NETWORK_CONNECTION_VLAN`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VNF_NETWORK_CONNECTION_VLAN` (
-  `vlan_uuid` varchar(80) NOT NULL,
-  `vlan_id` int(4) NOT NULL,
-  `vlan_type` varchar(5) NOT NULL,
-  `connection_uuid` varchar(80) DEFAULT NULL,
-  PRIMARY KEY (`vlan_uuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VNF_PROFILE`
---
-
-DROP TABLE IF EXISTS `VNF_PROFILE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VNF_PROFILE` (
-  `vnf_type` varchar(200) NOT NULL,
-  `availability_zone_count` int(11) NOT NULL,
-  `equipment_role` varchar(80) NOT NULL,
-  PRIMARY KEY (`vnf_type`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VNF_SERVICE_TO_NETWORK_ROLE_FILTER`
---
-
-DROP TABLE IF EXISTS `VNF_SERVICE_TO_NETWORK_ROLE_FILTER`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VNF_SERVICE_TO_NETWORK_ROLE_FILTER` (
-  `vnf_service_type` varchar(60) NOT NULL,
-  `network_role_filter` varchar(60) NOT NULL,
-  PRIMARY KEY (`vnf_service_type`,`network_role_filter`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VPE_LOCK`
---
-
-DROP TABLE IF EXISTS `VPE_LOCK`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VPE_LOCK` (
-  `vpe_name` varchar(20) NOT NULL,
-  `vpn_lock` varchar(20) NOT NULL,
-  PRIMARY KEY (`vpe_name`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VPE_MAC_ADDRESS_POOL`
---
-
-DROP TABLE IF EXISTS `VPE_MAC_ADDRESS_POOL`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VPE_MAC_ADDRESS_POOL` (
-  `id` int(11) NOT NULL,
-  `mac_address` varchar(50) NOT NULL,
-  `sw_name` varchar(30) NOT NULL,
-  PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VPE_MAC_ADDRESS_TO_HOSTNAME_MAPPING`
---
-
-DROP TABLE IF EXISTS `VPE_MAC_ADDRESS_TO_HOSTNAME_MAPPING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VPE_MAC_ADDRESS_TO_HOSTNAME_MAPPING` (
-  `id` int(11) NOT NULL,
-  `hostname` varchar(50) NOT NULL,
-  `assigned_user` varchar(25) NOT NULL,
-  `assigned_date` date DEFAULT NULL,
-  PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VPE_POOL`
---
-
-DROP TABLE IF EXISTS `VPE_POOL`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VPE_POOL` (
-  `vpe_name` varchar(20) NOT NULL,
-  `ipv4_oam_address` varchar(20) NOT NULL,
-  `loopback0_ipv4_address` varchar(20) NOT NULL,
-  `provisioning_status` varchar(10) NOT NULL,
-  `aic_site_id` varchar(100) NOT NULL,
-  `availability_zone` varchar(100) NOT NULL,
-  `vlan_id_outer` varchar(20) NOT NULL,
-  `vendor` varchar(20) NOT NULL,
-  `physical_intf_name` varchar(40) NOT NULL,
-  `physical_intf_speed` varchar(20) NOT NULL,
-  `physical_intf_units` varchar(20) NOT NULL,
-  `vpe_uuid` varchar(80) DEFAULT NULL,
-  `vpe_id` varchar(80) NOT NULL,
-  `image_filename` varchar(100) DEFAULT NULL,
-  `as_number` varchar(20) NOT NULL,
-  `loopback5000` varchar(16) DEFAULT NULL,
-  `loopback10` varchar(16) DEFAULT NULL,
-  `aic_version` varchar(50) DEFAULT NULL,
-  `vpe_capacity` int(11) NOT NULL,
-  PRIMARY KEY (`aic_site_id`,`vpe_name`,`availability_zone`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VPLSPE_POOL`
---
-
-DROP TABLE IF EXISTS `VPLSPE_POOL`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VPLSPE_POOL` (
-  `vplspe_name` varchar(20) NOT NULL,
-  `aic_site_id` varchar(100) NOT NULL,
-  `availability_zone` varchar(100) NOT NULL,
-  `physical_intf_name` varchar(40) NOT NULL,
-  `physical_intf_speed` varchar(20) NOT NULL,
-  `physical_intf_units` varchar(20) NOT NULL,
-  `loopback0_ipv4_address` varchar(20) NOT NULL,
-  `vlan_id_outer` varchar(20) NOT NULL,
-  `vplspe_uuid` varchar(80) DEFAULT NULL,
-  `image_filename` varchar(100) DEFAULT NULL,
-  `provisioning_status` varchar(10) DEFAULT NULL,
-  `vendor` varchar(20) DEFAULT NULL,
-  PRIMARY KEY (`vplspe_name`,`aic_site_id`,`availability_zone`,`physical_intf_name`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VPN_BINDINGS`
---
-
-DROP TABLE IF EXISTS `VPN_BINDINGS`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VPN_BINDINGS` (
-  `network_customization_uuid` varchar(255) NOT NULL,
-  `binding_uuid` varchar(255) NOT NULL,
-  PRIMARY KEY (`network_customization_uuid`,`binding_uuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VRR_FUNCTION_CODE_VMTYPE_MAPPING`
---
-
-DROP TABLE IF EXISTS `VRR_FUNCTION_CODE_VMTYPE_MAPPING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VRR_FUNCTION_CODE_VMTYPE_MAPPING` (
-  `ptnii_function_code` varchar(128) NOT NULL,
-  `vm_type` varchar(128) NOT NULL,
-  PRIMARY KEY (`ptnii_function_code`,`vm_type`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VSERVER`
---
-
-DROP TABLE IF EXISTS `VSERVER`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VSERVER` (
-  `tenant_id` varchar(40) NOT NULL,
-  `vserver_id` varchar(40) NOT NULL,
-  `aic_site_id` varchar(100) NOT NULL,
-  `vendor` varchar(20) NOT NULL,
-  `image_name` varchar(100) NOT NULL,
-  `vnf_type` varchar(10) NOT NULL,
-  `vnf_id` varchar(80) NOT NULL,
-  PRIMARY KEY (`tenant_id`,`vserver_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VSERVER2`
---
-
-DROP TABLE IF EXISTS `VSERVER2`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VSERVER2` (
-  `tenant_id` varchar(255) NOT NULL,
-  `vserver_id` varchar(128) NOT NULL,
-  `vserver_name` varchar(255) NOT NULL,
-  `vserver_name2` varchar(255) DEFAULT NULL,
-  `prov_status` varchar(20) DEFAULT NULL,
-  `selflink` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`tenant_id`,`vserver_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VSERVER_PSERVER`
---
-
-DROP TABLE IF EXISTS `VSERVER_PSERVER`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VSERVER_PSERVER` (
-  `vserver_id` varchar(128) NOT NULL,
-  `pserver_hostname` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`vserver_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `VVIG_VM_INSTANCE_TO_CLOUD_REGION_MAPPING`
---
-
-DROP TABLE IF EXISTS `VVIG_VM_INSTANCE_TO_CLOUD_REGION_MAPPING`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `VVIG_VM_INSTANCE_TO_CLOUD_REGION_MAPPING` (
-  `key_id` varchar(128) NOT NULL,
-  `cloud_region` varchar(128) NOT NULL,
-  `key_type` varchar(128) NOT NULL,
-  PRIMARY KEY (`key_id`,`cloud_region`,`key_type`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Table structure for table `WAN_COMBO_ALLOWABLE`
---
-
-DROP TABLE IF EXISTS `WAN_COMBO_ALLOWABLE`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `WAN_COMBO_ALLOWABLE` (
-  `combo_sequence` int(11) NOT NULL AUTO_INCREMENT,
-  `topology` varchar(16) DEFAULT 'unknown',
-  `internet_topology` varchar(20) DEFAULT NULL,
-  `wan1` varchar(40) DEFAULT NULL,
-  `wan2` varchar(40) DEFAULT NULL,
-  `new_start_release_flexware` varchar(16) DEFAULT 'unknown',
-  `is_active_flexware` varchar(1) DEFAULT 'N',
-  `new_start_release_dhv` varchar(16) DEFAULT 'unknown',
-  `is_active_dhv` varchar(1) DEFAULT 'N',
-  `ucpe_type` varchar(32) DEFAULT 'stand-alone',
-  `description` varchar(128) NOT NULL,
-  PRIMARY KEY (`combo_sequence`),
-  UNIQUE KEY `IX1_WAN_COMBO_ALLOWABLE` (`internet_topology`,`wan1`,`wan2`)
-) ENGINE=InnoDB AUTO_INCREMENT=147 DEFAULT CHARSET=latin1;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
-DROP TABLE IF EXISTS `DHCP_MAP`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `DHCP_MAP` (
-  `mac_addr` varchar(128) NOT NULL,
-  `ip_addr` varchar(128) DEFAULT NULL,
-  PRIMARY KEY (`mac_addr`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-
-DROP TABLE IF EXISTS `RESOURCE_GROUP_TO_TARGET_NODE_MAPPING`;
-CREATE TABLE `RESOURCE_GROUP_TO_TARGET_NODE_MAPPING` (
-  `group_uuid` varchar(255) NOT NULL,
-  `parent_uuid` varchar(255) NOT NULL,
-  `target_node_uuid` varchar(255) NOT NULL,
-  `target_type` varchar(255) NULL,
-  `table_name` varchar(255) NULL,
-  PRIMARY KEY (`group_uuid`, `parent_uuid`, `target_node_uuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-
-/*!40101 SET character_set_client = @saved_cs_client */;
-/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
-
-/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
-/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
-/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
-/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
-/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
-/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
-/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-
-DROP TABLE IF EXISTS `ATTRIBUTE_VALUE_PAIR`;
-CREATE TABLE `ATTRIBUTE_VALUE_PAIR` (
-  `resource_uuid` varchar(255) NOT NULL,
-  `attribute_name` varchar(255) NOT NULL,
-  `resource_type` varchar(255) NOT NULL,
-  `attribute_value` varchar(255) DEFAULT NULL,
-  `resource_customization_uuid` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`resource_uuid`,`attribute_name`,`resource_type`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-
-DROP TABLE IF EXISTS `COMPLEX_RESOURCE`;
-CREATE TABLE `COMPLEX_RESOURCE` (
-  `uuid` varchar(255) NOT NULL,
-  `model_yaml` longblob,
-  `invariant_uuid` varchar(255) NOT NULL,
-  `customization_uuid` varchar(255) NOT NULL,
-  `version` varchar(255) DEFAULT NULL,
-  `name` varchar(255) DEFAULT NULL,
-  `description` varchar(255) DEFAULT NULL,
-  `type` varchar(255) NOT NULL,
-  PRIMARY KEY (`uuid`,`customization_uuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-
-DROP TABLE IF EXISTS `NODE_CAPABILITY`;
-CREATE TABLE `NODE_CAPABILITY` (
-  `capability_id` int(11) NOT NULL AUTO_INCREMENT,
-  `capability_provider_uuid` varchar(255) NOT NULL,
-  `capability_provider_customization_uuid` varchar(255) NOT NULL,
-  `capability_name` varchar(255) DEFAULT NULL,
-  `capability_type` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`capability_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=69 DEFAULT CHARSET=latin1;
-
-DROP TABLE IF EXISTS `NODE_REQUIREMENT`;
-CREATE TABLE `NODE_REQUIREMENT` (
-  `requirement_id` int(11) NOT NULL AUTO_INCREMENT,
-  `capability_id` int(11) DEFAULT NULL,
-  `capability_provider_uuid` varchar(255) DEFAULT NULL,
-  `capability_provider_customization_uuid` varchar(255) DEFAULT NULL,
-  `capability_consumer_uuid` varchar(255) NOT NULL,
-  `capability_consumer_customization_uuid` varchar(255) NOT NULL,
-  `requirement_name` varchar(255) NOT NULL,
-  PRIMARY KEY (`requirement_id`),
-  KEY `NODE_REQUIREMENT_TO_NODE_CAPABILITY` (`capability_id`)
-) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;
-
-DROP TABLE IF EXISTS `RELATED_NETWORK_ROLE`;
-CREATE TABLE `RELATED_NETWORK_ROLE` (
-  `network_model_customization_uuid` varchar(255) NOT NULL,
-  `related_network_role` varchar(255) NOT NULL,
-  PRIMARY KEY (`network_model_customization_uuid`,`related_network_role`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-
-DROP TABLE IF EXISTS `RESOURCE_GROUP`;
-CREATE TABLE `RESOURCE_GROUP` (
-  `resource_uuid` varchar(255) NOT NULL,
-  `group_uuid` varchar(255) NOT NULL,
-  `group_customization_uuid` varchar(255) DEFAULT NULL,
-  `group_invariant_uuid` varchar(255) NOT NULL,
-  `group_name` varchar(255) DEFAULT NULL,
-  `version` varchar(255) DEFAULT NULL,
-  `group_type` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`resource_uuid`,`group_uuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-
-DROP TABLE IF EXISTS `RESOURCE_POLICY`;
-CREATE TABLE `RESOURCE_POLICY` (
-  `resource_uuid` varchar(255) NOT NULL,
-  `policy_uuid` varchar(255) NOT NULL,
-  `policy_customization_uuid` varchar(255) DEFAULT NULL,
-  `policy_invariant_uuid` varchar(255) NOT NULL,
-  `policy_name` varchar(255) DEFAULT NULL,
-  `version` varchar(255) DEFAULT NULL,
-  `policy_type` varchar(255) DEFAULT NULL,
-  `property_type` varchar(255) DEFAULT NULL,
-  `property_source` varchar(255) DEFAULT NULL,
-  `property_name` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`resource_uuid`,`policy_uuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-
-DROP TABLE IF EXISTS `RESOURCE_POLICY_TO_TARGET_NODE_MAPPING`;
-CREATE TABLE `RESOURCE_POLICY_TO_TARGET_NODE_MAPPING` (
-  `policy_uuid` varchar(255) NOT NULL,
-  `parent_uuid` varchar(255) NOT NULL,
-  `target_node_uuid` varchar(255) NOT NULL,
-  `target_type` varchar(255) DEFAULT NULL,
-  `target_node_customization_uuid` varchar(255) DEFAULT NULL,
-  `policy_customization_uuid` varchar(255) DEFAULT NULL,
-  PRIMARY KEY (`policy_uuid`,`parent_uuid`,`target_node_uuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-
-
-DROP TABLE IF EXISTS `SERVICE_MODEL_TO_COMPLEX_RESOURCE_MAPPING`;
-CREATE TABLE `SERVICE_MODEL_TO_COMPLEX_RESOURCE_MAPPING` (
-  `service_uuid` varchar(255) NOT NULL,
-  `complex_resource_uuid` varchar(255) NOT NULL,
-  `complex_resource_customization_uuid` varchar(255) NOT NULL,
-  PRIMARY KEY (`service_uuid`,`complex_resource_uuid`,`complex_resource_customization_uuid`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-
-DROP TABLE IF EXISTS `VFC_RELATED_NETWORK_ROLE`;
-CREATE TABLE `VFC_RELATED_NETWORK_ROLE` (
-  `vfc_customization_uuid` varchar(255) NOT NULL,
-  `vm_type` varchar(255) NOT NULL,
-  `network_role` varchar(255) NOT NULL,
-  `related_network_role` varchar(255) NOT NULL,
-  PRIMARY KEY (`vfc_customization_uuid`,`vm_type`,`network_role`,`related_network_role`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-
-DROP TABLE IF EXISTS `VNF_RELATED_NETWORK_ROLE`;
-CREATE TABLE `VNF_RELATED_NETWORK_ROLE` (
-  `vnf_customization_uuid` varchar(255) NOT NULL,
-  `network_role` varchar(255) NOT NULL,
-  `related_network_role` varchar(255) NOT NULL,
-  PRIMARY KEY (`vnf_customization_uuid`,`network_role`,`related_network_role`)
-) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-
--- Dump completed on 2017-10-04 18:23:01
diff --git a/sdnc-a1-controller/oam/installation/sdnc-a1/src/main/resources/truststore.jks b/sdnc-a1-controller/oam/installation/sdnc-a1/src/main/resources/truststore.jks
deleted file mode 100644 (file)
index ce2d0ed..0000000
Binary files a/sdnc-a1-controller/oam/installation/sdnc-a1/src/main/resources/truststore.jks and /dev/null differ
diff --git a/sdnc-a1-controller/oam/installation/sdnc-a1/src/main/scripts/healthcheck.py b/sdnc-a1-controller/oam/installation/sdnc-a1/src/main/scripts/healthcheck.py
deleted file mode 100644 (file)
index 35a1d4b..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-# ============LICENSE_START=======================================================
-#  Copyright (C) 2019 Nordix Foundation.
-# ================================================================================
-# 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.
-#
-# SPDX-License-Identifier: Apache-2.0
-# ============LICENSE_END=========================================================
-#
-
-
-# coding=utf-8
-import os
-import httplib
-import base64
-import time
-
-username = os.environ['ODL_ADMIN_USERNAME']
-password = os.environ['ODL_ADMIN_PASSWORD']
-TIMEOUT=1000
-INTERVAL=30
-timePassed=0
-
-headers = {'Authorization':'Basic %s' % base64.b64encode(username + ":" + password),
-           'X-FromAppId': 'csit-sdnc',
-           'X-TransactionId': 'csit-sdnc',
-           'Accept':"application/json",
-           'Content-type':"application/json"}
-
-def makeHealthcheckCall(headers, timePassed):
-    connected = False
-    # WAIT 10 minutes maximum and test every 30 seconds if HealthCheck API is returning 200
-    while timePassed < TIMEOUT:
-        try:
-            conn = httplib.HTTPConnection("localhost",8181)
-            req = conn.request("POST", "/restconf/operations/SLI-API:healthcheck",headers=headers)
-            res = conn.getresponse()
-            res.read()
-            if res.status == 200:
-                print ("Healthcheck Passed in %d seconds." %timePassed)
-                connected = True
-                break
-            else:
-                print ("Sleep: %d seconds before testing if Healthcheck worked. Total wait time up now is: %d seconds. Timeout is: %d seconds" %(INTERVAL, timePassed, TIMEOUT))
-        except:
-            print ("Cannot execute REST call. Sleep: %d seconds before testing if Healthcheck worked. Total wait time up now is: %d seconds. Timeout is: %d seconds" %(INTERVAL, timePassed, TIMEOUT))
-        timePassed = timeIncrement(timePassed)
-
-    if timePassed > TIMEOUT:
-        print ("TIME OUT: Healthcheck not passed in  %d seconds... Could cause problems for testing activities..." %TIMEOUT)
-    return connected
-
-
-def timeIncrement(timePassed):
-    time.sleep(INTERVAL)
-    timePassed = timePassed + INTERVAL
-    return timePassed
-
-makeHealthcheckCall(headers, timePassed)
diff --git a/sdnc-a1-controller/oam/installation/sdnc-a1/src/main/scripts/installSdncDb.sh b/sdnc-a1-controller/oam/installation/sdnc-a1/src/main/scripts/installSdncDb.sh
deleted file mode 100755 (executable)
index c155436..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/bash
-
-###
-# ============LICENSE_START=======================================================
-# openECOMP : SDN-C
-# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights
-#                                                      reserved.
-# Modifications Copyright (C) 2020 Nordix Foundation.
-# ================================================================================
-# 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.
-# ============LICENSE_END=========================================================
-###
-
-SDNC_HOME=${SDNC_HOME:-/opt/onap/sdnc}
-MYSQL_PASSWD=${MYSQL_PASSWD:-openECOMP1.0}
-
-SDNC_DB_USER=${SDNC_DB_USER:-sdnctl}
-SDNC_DB_PASSWD=${SDNC_DB_PASSWD:-gamma}
-SDNC_DB_DATABASE=${SDN_DB_DATABASE:-sdnctl}
-
-
-# Create tablespace and user account
-mysql -h dbhost -u root -p${MYSQL_PASSWD} mysql <<-END
-CREATE DATABASE ${SDNC_DB_DATABASE};
-CREATE USER '${SDNC_DB_USER}'@'localhost' IDENTIFIED BY '${SDNC_DB_PASSWD}';
-CREATE USER '${SDNC_DB_USER}'@'%' IDENTIFIED BY '${SDNC_DB_PASSWD}';
-GRANT ALL PRIVILEGES ON ${SDNC_DB_DATABASE}.* TO '${SDNC_DB_USER}'@'localhost' WITH GRANT OPTION;
-GRANT ALL PRIVILEGES ON ${SDNC_DB_DATABASE}.* TO '${SDNC_DB_USER}'@'%' WITH GRANT OPTION;
-commit;
-END
-
-# load schema
-if [ -f ${SDNC_HOME}/data/sdnctl.dump ]
-then
-  echo "Installing ${SDNC_HOME}/data/sdnctl.dump"
-  mysql -h dbhost -u root -p${MYSQL_PASSWD} sdnctl < ${SDNC_HOME}/data/sdnctl.dump
-fi
diff --git a/sdnc-a1-controller/oam/installation/sdnc-a1/src/main/scripts/startODL.sh b/sdnc-a1-controller/oam/installation/sdnc-a1/src/main/scripts/startODL.sh
deleted file mode 100755 (executable)
index 54a7b6b..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/bin/bash
-
-###
-# ============LICENSE_START=======================================================
-# openECOMP : SDN-C
-# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights
-#                                                      reserved.
-# Modifications Copyright (C) 2020 Nordix Foundation.
-# ================================================================================
-# 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.
-# ============LICENSE_END=========================================================
-###
-
-# Install SDN-C platform components if not already installed and start container
-
-ODL_HOME=${ODL_HOME:-/opt/opendaylight/current}
-ODL_ADMIN_USERNAME=${ODL_ADMIN_USERNAME:-admin}
-ODL_ADMIN_PASSWORD=${ODL_ADMIN_PASSWORD:-Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U}
-HTTPS_PROPS=${HTTPS_PROPS:-/opt/onap/sdnc/data/properties/https-props.properties}
-SDNC_HOME=${SDNC_HOME:-/opt/onap/sdnc}
-SDNC_BIN=${SDNC_BIN:-/opt/onap/sdnc/bin}
-MYSQL_PASSWD=${MYSQL_PASSWD:-openECOMP1.0}
-INSTALLED_DIR=${INSTALLED_FILE:-/opt/opendaylight/current/daexim}
-export ODL_ADMIN_PASSWORD ODL_ADMIN_USERNAME
-
-echo org.ops4j.pax.web.ssl.keystore=$(cat $HTTPS_PROPS | grep -w key-store | cut -d '=' -f2) >> /opt/opendaylight/etc/custom.properties
-echo org.ops4j.pax.web.ssl.password=$(cat $HTTPS_PROPS | grep -w keystore-password | cut -d '=' -f2) >> /opt/opendaylight/etc/custom.properties
-echo org.ops4j.pax.web.ssl.keypassword=$(cat $HTTPS_PROPS | grep -w key-password | cut -d '=' -f2) >> /opt/opendaylight/etc/custom.properties
-
-#
-# Wait for database
-#
-echo "Waiting for mysql"
-until mysql -h dbhost -u root -p${MYSQL_PASSWD} mysql &> /dev/null
-do
-  printf "."
-  sleep 1
-done
-echo -e "\nmysql ready"
-
-if [ ! -d ${INSTALLED_DIR} ]
-then
-    mkdir -p ${INSTALLED_DIR}
-fi
-
-if [ ! -f ${INSTALLED_DIR}/.installed ]
-then
-       echo "Installing SDNC-A1 database"
-       ${SDNC_HOME}/bin/installSdncDb.sh
-
-       if [ -x ${SDNC_HOME}/svclogic/bin/install.sh ]
-       then
-               echo "Installing directed graphs"
-               ${SDNC_HOME}/svclogic/bin/install.sh
-       fi
-fi
-
-nohup python ${SDNC_BIN}/healthcheck.py &
-
-exec ${ODL_HOME}/bin/karaf server
diff --git a/sdnc-a1-controller/oam/installation/src/main/properties/dblib.properties b/sdnc-a1-controller/oam/installation/src/main/properties/dblib.properties
deleted file mode 100644 (file)
index 9506ac8..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-###
-# ============LICENSE_START=======================================================
-# openECOMP : SDN-C
-# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. 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.
-# ============LICENSE_END=========================================================
-###
-
-# dblib.properrties
-org.onap.ccsdk.sli.dbtype=jdbc
-
-org.onap.ccsdk.sli.jdbc.hosts=sdnctldb01
-org.onap.ccsdk.sli.jdbc.url=jdbc:mysql://dbhost:3306/sdnctl
-org.onap.ccsdk.sli.jdbc.driver=org.mariadb.jdbc.Driver
-org.onap.ccsdk.sli.jdbc.database=sdnctl
-org.onap.ccsdk.sli.jdbc.user=sdnctl
-org.onap.ccsdk.sli.jdbc.password=gamma
-org.onap.ccsdk.sli.jdbc.connection.name=sdnctldb01
-org.onap.ccsdk.sli.jdbc.connection.timeout=50
-org.onap.ccsdk.sli.jdbc.request.timeout=100
-org.onap.ccsdk.sli.jdbc.limit.init=10
-org.onap.ccsdk.sli.jdbc.limit.min=10
-org.onap.ccsdk.sli.jdbc.limit.max=20
-org.onap.dblib.connection.recovery=false
-
diff --git a/sdnc-a1-controller/oam/installation/src/main/properties/https-props.properties b/sdnc-a1-controller/oam/installation/src/main/properties/https-props.properties
deleted file mode 100644 (file)
index e3155c5..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-# ========================LICENSE_START=================================
-# O-RAN-SC
-# %%
-# Copyright (C) 2020 Nordix Foundation
-# %%
-# 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.
-# ========================LICENSE_END===================================
-
-key-store=/etc/ssl/certs/java/keystore.jks
-key-password=sdnc-a1-controller
-keystore-password=sdnc-a1-controller
-isTrustStoreUsed=true
-trust-store=/etc/ssl/certs/java/truststore.jks
-truststore-password=sdnc-a1-controller
diff --git a/sdnc-a1-controller/oam/installation/src/main/properties/sql-resource.properties b/sdnc-a1-controller/oam/installation/src/main/properties/sql-resource.properties
deleted file mode 100644 (file)
index ac32f77..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-###
-# ============LICENSE_START=======================================================
-# openECOMP : SDN-C
-# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. 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.
-# ============LICENSE_END=========================================================
-###
-
-org.openecomp.sdnc.resource.sql.cryptkey=QtfJMKggVk
-
diff --git a/sdnc-a1-controller/oam/installation/src/main/properties/svclogic.properties b/sdnc-a1-controller/oam/installation/src/main/properties/svclogic.properties
deleted file mode 100644 (file)
index 54d667c..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-###
-# ============LICENSE_START=======================================================
-# openECOMP : SDN-C
-# ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. 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.
-# ============LICENSE_END=========================================================
-###
-
-org.onap.ccsdk.sli.dbtype = dblib
-#Note : the next 4 fields are only used if org.onap.ccsdk.sli.dbtype = jdbc
-org.onap.ccsdk.sli.jdbc.url=jdbc:mysql://dbhost:3306/sdnctl
-org.onap.ccsdk.sli.jdbc.database=sdnctl
-org.onap.ccsdk.sli.jdbc.user=sdnctl
-org.onap.ccsdk.sli.jdbc.password=gamma
-
-org.xml.sax.driver=org.apache.xerces.parsers.SAXParser
diff --git a/sdnc-a1-controller/oam/installation/src/main/yaml/LICENSE.txt b/sdnc-a1-controller/oam/installation/src/main/yaml/LICENSE.txt
deleted file mode 100644 (file)
index e8798fc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSE.txt
-
-The content of this sub-directory is based on ONAP SDNC project,
-with appropriate licenses specified in the individual files.
-The modifications are covered by the following license:
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the "Software License");
-you may not use this software except in compliance with the Software
-License. You may obtain a copy of the Software License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the Software License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the Software License for the specific language governing permissions
-and limitations under the Software License.
diff --git a/sdnc-a1-controller/oam/installation/src/main/yaml/README.md b/sdnc-a1-controller/oam/installation/src/main/yaml/README.md
deleted file mode 100644 (file)
index 2957c86..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-The SDNC-A1 controller uses the default keystore and truststore that are built into the container.
-
-The paths and passwords for these stores are located in a properties file:
-`nonrtric/sdnc-a1-controller/oam/installation/src/main/properties/https-props.properties`
-
-The default truststore includes the a1simulator cert as a trusted cert which is located here:
-<https://gerrit.o-ran-sc.org/r/gitweb?p=sim/a1-interface.git;a=tree;f=near-rt-ric-simulator/certificate;h=172c1e5aacd52d760e4416288dc5648a5817ce65;hb=HEAD>
-
-The default keystore, truststore, and https-props.properties files can be overridden by mounting new files using the "volumes" field of docker-compose. Uncommment the following lines in docker-compose to do this, and provide paths to the new files:
-
-```yaml
-#volumes:
-#      - <path_to_keystore>:/etc/ssl/certs/java/keystore.jks:ro
-#      - <path_to_truststore>:/etc/ssl/certs/java/truststore.jks:ro
-#      - <path_to_https-props>:/opt/onap/sdnc/data/properties/https-props.properties:ro
-```
-
-The target paths in the container should not be modified.
-
-For example, assuming that the keystore, truststore, and https-props.properties files are located in the same directory as docker-compose:
-
-```yaml
-volumes:
-      - ./new_keystore.jks:/etc/ssl/certs/java/keystore.jks:ro
-      - ./new_truststore.jks:/etc/ssl/certs/java/truststore.jks:ro
-      - ./new_https-props.properties:/opt/onap/sdnc/data/properties/https-props.properties:ro
-```
-
-## License
-
-Copyright (C) 2020 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
-
-
diff --git a/sdnc-a1-controller/oam/installation/src/main/yaml/docker-compose.yml b/sdnc-a1-controller/oam/installation/src/main/yaml/docker-compose.yml
deleted file mode 100644 (file)
index 3e754a0..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-# ==================================================================================
-#   Modifications Copyright (c) 2019 Nordix Foundation.
-#
-#   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.
-# ==================================================================================
-version: '2.1'
-
-networks:
-  default:
-    driver: bridge
-    name: nonrtric-docker-net
-
-services:
-  db:
-    image: mysql/mysql-server:5.6
-    container_name: sdnc_db_container
-    networks:
-      - default
-    ports:
-      - "3306"
-    environment:
-      - MYSQL_ROOT_PASSWORD=openECOMP1.0
-      - MYSQL_ROOT_HOST=%
-    logging:
-      driver:   "json-file"
-      options:
-        max-size: "30m"
-        max-file: "5"
-
-  a1-controller:
-    image: o-ran-sc/nonrtric-a1-controller:2.1.0-SNAPSHOT
-    depends_on :
-      - db
-    container_name: a1-controller-container
-    networks:
-      - default
-    entrypoint: ["/opt/onap/sdnc/bin/startODL.sh"]
-    ports:
-      - "8282:8181"
-      - "8383:8443"
-    links:
-      - db:dbhost
-      - db:sdnctldb01
-      - db:sdnctldb02
-    environment:
-      - MYSQL_ROOT_PASSWORD=openECOMP1.0
-      - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties
-    #volumes:
-    #  - <path_to_keystore>:/etc/ssl/certs/java/keystore.jks:ro
-    #  - <path_to_truststore>:/etc/ssl/certs/java/truststore.jks:ro
-    #  - <path_to_https-props>:/opt/onap/sdnc/data/properties/https-props.properties:ro
-    dns:
-      - ${DNS_IP_ADDR-10.0.100.1}
-    logging:
-      driver:   "json-file"
-      options:
-        max-size: "30m"
-        max-file: "5"
-    extra_hosts:
-        aaf.osaaf.org: 10.12.6.214
diff --git a/sdnc-a1-controller/oam/platform-logic/.gitignore b/sdnc-a1-controller/oam/platform-logic/.gitignore
deleted file mode 100644 (file)
index 1b8a6ba..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-org.eclipse.core.resources.prefs
-.classpath\r
-.project\r
-.settings\r
-.idea\r
-.externalToolBuilders\r
-maven-eclipse.xml\r
-*.class\r
-target/\r
-MANIFEST.MF\r
-.DS_STORE\r
-.metadata\r
diff --git a/sdnc-a1-controller/oam/platform-logic/LICENSE.txt b/sdnc-a1-controller/oam/platform-logic/LICENSE.txt
deleted file mode 100644 (file)
index e8798fc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSE.txt
-
-The content of this sub-directory is based on ONAP SDNC project,
-with appropriate licenses specified in the individual files.
-The modifications are covered by the following license:
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the "Software License");
-you may not use this software except in compliance with the Software
-License. You may obtain a copy of the Software License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the Software License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the Software License for the specific language governing permissions
-and limitations under the Software License.
diff --git a/sdnc-a1-controller/oam/platform-logic/README.md b/sdnc-a1-controller/oam/platform-logic/README.md
deleted file mode 100644 (file)
index c2f4379..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-This module builds the submodule setup & installer
-
-To compile, run
->`mvn clean install`
-
-## License
-
-Copyright (C) 2019 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
-
-
diff --git a/sdnc-a1-controller/oam/platform-logic/installer/LICENSE.txt b/sdnc-a1-controller/oam/platform-logic/installer/LICENSE.txt
deleted file mode 100644 (file)
index e8798fc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSE.txt
-
-The content of this sub-directory is based on ONAP SDNC project,
-with appropriate licenses specified in the individual files.
-The modifications are covered by the following license:
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the "Software License");
-you may not use this software except in compliance with the Software
-License. You may obtain a copy of the Software License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the Software License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the Software License for the specific language governing permissions
-and limitations under the Software License.
diff --git a/sdnc-a1-controller/oam/platform-logic/installer/README.md b/sdnc-a1-controller/oam/platform-logic/installer/README.md
deleted file mode 100644 (file)
index 174d3e5..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-This module builds the platform-logic-installer which contains the DG's but A1 controller in O-RAN doesn't support DG.
-
-To compile, run
->`mvn clean install`
-
-## License
-
-Copyright (C) 2019 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
-
-
diff --git a/sdnc-a1-controller/oam/platform-logic/installer/pom.xml b/sdnc-a1-controller/oam/platform-logic/installer/pom.xml
deleted file mode 100644 (file)
index ad28356..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ============LICENSE_START=======================================================
-   Modifications Copyright (C) 2019 Nordix Foundation.
-  ================================================================================
-  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.
-
-  SPDX-License-Identifier: Apache-2.0
-  ============LICENSE_END=========================================================
--->
-<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.ccsdk.parent</groupId>
-               <artifactId>odlparent-lite</artifactId>
-               <version>1.5.1</version>
-               <relativePath/>
-       </parent>
-
-       <groupId>org.o-ran-sc.nonrtric.sdnc-a1.oam</groupId>
-       <artifactId>platform-logic-installer</artifactId>
-       <version>2.1.0-SNAPSHOT</version>
-       <packaging>pom</packaging>
-
-       <name>sdnc-a1-oam :: platform-logic :: ${project.artifactId}</name>
-       <description>Contains platform-level service logic installer</description>
-
-       <build>
-               <plugins>
-
-                       <plugin>
-                               <artifactId>maven-assembly-plugin</artifactId>
-                               <version>2.6</version>
-                               <executions>
-                                       <execution>
-                                               <id>create-zip</id>
-                                               <goals>
-                                                       <goal>single</goal>
-                                               </goals>
-                                               <phase>package</phase>
-                                               <configuration>
-                                                       <attach>true</attach>
-                                                       <descriptors>
-                                                               <descriptor>src/assembly/assemble_zip.xml</descriptor>
-                                                       </descriptors>
-                                                       <appendAssemblyId>false</appendAssemblyId>
-                                               </configuration>
-                                       </execution>
-
-                               </executions>
-                       </plugin>
-
-        </plugins>
-       </build>
-</project>
diff --git a/sdnc-a1-controller/oam/platform-logic/installer/src/assembly/assemble_zip.xml b/sdnc-a1-controller/oam/platform-logic/installer/src/assembly/assemble_zip.xml
deleted file mode 100644 (file)
index 9fc5ff8..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<!--
-  ============LICENSE_START=======================================================
-  openECOMP : SDN-C
-  ================================================================================
-  Copyright (C) 2017 AT&T Intellectual Property. 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.
-  ============LICENSE_END=========================================================
-  -->
-
-<!-- Defines how we build the .zip file which is our distribution. -->
-
-<assembly
-    xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
-    <id>bin</id>
-    <formats>
-        <format>zip</format>
-    </formats>
-
-    <includeBaseDirectory>false</includeBaseDirectory>
-
-    <fileSets>
-
-        <fileSet>
-            <directory>../target/svclogic</directory>
-            <outputDirectory>svclogic</outputDirectory>
-            <includes>
-                <include>**/*</include>
-            </includes>
-        </fileSet>
-        <fileSet>
-            <directory>../target/restapi</directory>
-            <outputDirectory>restapi</outputDirectory>
-            <includes>
-                <include>**/*</include>
-            </includes>
-        </fileSet>
-        <fileSet>
-            <directory>../target/restconfapi</directory>
-            <outputDirectory>restconfapi</outputDirectory>
-            <includes>
-                <include>**/*</include>
-            </includes>
-        </fileSet>
-
-    </fileSets>
-
-
-</assembly>
diff --git a/sdnc-a1-controller/oam/platform-logic/pom.xml b/sdnc-a1-controller/oam/platform-logic/pom.xml
deleted file mode 100644 (file)
index ceb3742..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ============LICENSE_START=======================================================
-   Modifications Copyright (C) 2019 Nordix Foundation.
-  ================================================================================
-  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.
-
-  SPDX-License-Identifier: Apache-2.0
-  ============LICENSE_END=========================================================
--->
-<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.ccsdk.parent</groupId>
-        <artifactId>odlparent-lite</artifactId>
-        <version>1.5.1</version>
-        <relativePath/>
-    </parent>
-
-    <groupId>org.o-ran-sc.nonrtric.sdnc-a1.oam</groupId>
-    <artifactId>platform-logic</artifactId>
-    <version>2.1.0-SNAPSHOT</version>
-    <packaging>pom</packaging>
-
-    <name>sdnc-a1-oam :: platform-logic</name>
-    <description>Contains platform-level service logic</description>
-    <organization>
-        <name>ONAP</name>
-    </organization>
-
-    <modules>
-        <module>setup</module>
-        <module>installer</module>
-    </modules>
-
-</project>
diff --git a/sdnc-a1-controller/oam/platform-logic/setup/LICENSE.txt b/sdnc-a1-controller/oam/platform-logic/setup/LICENSE.txt
deleted file mode 100644 (file)
index e8798fc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-LICENSE.txt
-
-The content of this sub-directory is based on ONAP SDNC project,
-with appropriate licenses specified in the individual files.
-The modifications are covered by the following license:
-
-Unless otherwise specified, all software contained herein is licensed
-under the Apache License, Version 2.0 (the "Software License");
-you may not use this software except in compliance with the Software
-License. You may obtain a copy of the Software License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the Software License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the Software License for the specific language governing permissions
-and limitations under the Software License.
diff --git a/sdnc-a1-controller/oam/platform-logic/setup/README.md b/sdnc-a1-controller/oam/platform-logic/setup/README.md
deleted file mode 100644 (file)
index 3460c2e..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-This module should contains the Directed Graphs (DG) but A1 controller in O-RAN doesn't support DG.
-
-To compile, run
->`mvn clean install`
-
-## License
-
-Copyright (C) 2019 Nordix Foundation.
-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.
-
-For more information about license please see the [LICENSE](LICENSE.txt) file for details.
-
-
diff --git a/sdnc-a1-controller/oam/platform-logic/setup/pom.xml b/sdnc-a1-controller/oam/platform-logic/setup/pom.xml
deleted file mode 100644 (file)
index b3f6741..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ============LICENSE_START=======================================================
-   Modifications Copyright (C) 2019 Nordix Foundation.
-  ================================================================================
-  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.
-
-  SPDX-License-Identifier: Apache-2.0
-  ============LICENSE_END=========================================================
--->
-<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.ccsdk.parent</groupId>
-        <artifactId>odlparent-lite</artifactId>
-        <version>1.5.1</version>
-        <relativePath/>
-    </parent>
-
-    <groupId>org.o-ran-sc.nonrtric.sdnc-a1.oam</groupId>
-       <artifactId>platform-logic-setup</artifactId>
-       <version>2.1.0-SNAPSHOT</version>
-       <packaging>pom</packaging>
-
-    <name>sdnc-a1-oam :: platform-logic :: ${project.artifactId}</name>
-       <description>Copies base ONAP platform-logic</description>
-
-       <build>
-               <plugins>
-
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-dependency-plugin</artifactId>
-                               <version>3.0.0</version>
-                               <executions>
-                                       <execution>
-                                               <id>unpack</id>
-                                               <phase>validate</phase>
-                                               <goals>
-                                                       <goal>unpack</goal>
-                                               </goals>
-                                               <configuration>
-                                                       <artifactItems>
-                                                               <artifactItem>
-                                                                       <groupId>org.onap.ccsdk.distribution</groupId>
-                                                                       <artifactId>platform-logic-installer</artifactId>
-                                                                       <version>0.7.1</version>
-                                                                       <type>zip</type>
-                                                                       <overWrite>true</overWrite>
-                                                                       <outputDirectory>../target</outputDirectory>
-                                                               </artifactItem>
-                                                       </artifactItems>
-                                                       <overWriteReleases>false</overWriteReleases>
-                                                       <overWriteSnapshots>true</overWriteSnapshots>
-                                                       <overWriteIfNewer>true</overWriteIfNewer>
-                                                       <localRepositoryDirectory>../target/repository</localRepositoryDirectory>
-                                               </configuration>
-                                       </execution>
-                               </executions>
-                       </plugin>
-
-               </plugins>
-       </build>
-</project>
diff --git a/sdnc-a1-controller/oam/platform-logic/src/main/scripts/updateDgNamespace.sh b/sdnc-a1-controller/oam/platform-logic/src/main/scripts/updateDgNamespace.sh
deleted file mode 100755 (executable)
index 9e716c8..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#! /bin/bash
-
-#  ============LICENSE_START===============================================
-#  Modifications Copyright (C) 2020 Nordix Foundation. 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.
-#  ============LICENSE_END=================================================
-#
-
-updateFile() {
-sed  -i .orig -e '
-s/openecomp.org/onap.org/g
-' $1
-}
-
-for file in $@
-do
-       updateFile $file
-done
diff --git a/sdnc-a1-controller/oam/platform-logic/src/main/scripts/updatePackages.sh b/sdnc-a1-controller/oam/platform-logic/src/main/scripts/updatePackages.sh
deleted file mode 100755 (executable)
index 9bc70ed..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-#! /bin/bash
-
-#  ============LICENSE_START===============================================
-#  Modifications Copyright (C) 2020 Nordix Foundation. 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.
-#  ============LICENSE_END=================================================
-#
-
-updateFile() {
-sed  -i .orig -e '
-s/\(plugin=.\)org.openecomp.sdnc.\(prop\)/\org.onap.ccsdk.sli.plugins.\2/g
-s/\(plugin=.\)org.openecomp.sdnc.\(ra\)/\1org.onap.ccsdk.sli.adaptors.\2/g
-s/\(plugin=.\)org.openecomp.sdnc.\(restapicall\)/\1org.onap.ccsdk.sli.plugins.\2/g
-s/\(plugin=.\)org.openecomp.sdnc.sli.\(aai\)/\1org.onap.ccsdk.sli.adaptors.\2/g
-s/\(plugin=.\)org.openecomp.sdnc.sli.common/\1org.onap.ccsdk.sli.core.sli/g
-s/\(plugin=.\)org.openecomp.sdnc.\(sli.provider\)/\1org.onap.ccsdk.sli.core.\2/g
-s/\(plugin=\\\{0,1\}.\)com.att.sdnctl.\(sli.recording\)/\1org.openecomp.sdnc.\2/g
-s/\(plugin=.\)org.openecomp.sdnc.sli.\(resource.mdsal\)/\1org.onap.ccsdk.sli.adaptors.\2/g
-s/\(plugin=.\)org.openecomp.sdnc.sli\(resource.sql\)/\org.onap.ccsdk.sli.adaptors.\2/g
-s/\(plugin=.\)org.openecomp.sdnc.sli.SliPluginUtils/\1org.onap.ccsdk.sli.core.slipluginutils/g
-' $1
-}
-
-for file in $@
-do
-       updateFile $file
-done
diff --git a/sdnc-a1-controller/oam/pom.xml b/sdnc-a1-controller/oam/pom.xml
deleted file mode 100755 (executable)
index d66503c..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ============LICENSE_START=======================================================
-   Modifications Copyright (C) 2019 Nordix Foundation.
-  ================================================================================
-  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.
-
-  SPDX-License-Identifier: Apache-2.0
-  ============LICENSE_END=========================================================
--->
-<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.ccsdk.parent</groupId>
-               <artifactId>odlparent-lite</artifactId>
-               <version>1.5.1</version>
-       </parent>
-
-       <groupId>org.o-ran-sc.nonrtric.sdnc-a1.oam</groupId>
-       <artifactId>sdnc-a1-oam</artifactId>
-       <version>2.1.0-SNAPSHOT</version>
-       <packaging>pom</packaging>
-
-       <name>sdnc-a1-oam</name>
-       <description>The SDN-C OAM component contains the components needed to operate, administer and maintain the SDN-C platform.</description>
-
-       <modules>
-               <module>platform-logic</module>
-       </modules>
-
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-surefire-plugin</artifactId>
-                               <version>2.17</version>
-                               <configuration>
-                                       <skipTests>false</skipTests>
-                               </configuration>
-                       </plugin>
-               </plugins>
-       </build>
-
-       <profiles>
-               <profile>
-                 <id>docker</id>
-                 <activation>
-                       <activeByDefault>true</activeByDefault>
-                 </activation>
-                 <modules>
-                       <module>installation</module>
-                 </modules>
-               </profile>
-       </profiles>
-       <dependencies>
-               <dependency>
-                       <groupId>org.slf4j</groupId>
-                       <artifactId>slf4j-api</artifactId>
-                       <version>1.7.25</version>
-               </dependency>
-       </dependencies>
-</project>
diff --git a/sdnc-a1-controller/pom.xml b/sdnc-a1-controller/pom.xml
deleted file mode 100644 (file)
index 6f08d25..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ============LICENSE_START=======================================================
-   Copyright (C) 2019 Nordix Foundation.
-  ================================================================================
-  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.
-
-  SPDX-License-Identifier: Apache-2.0
-  ============LICENSE_END=========================================================
--->
-<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>
-
-       <groupId>org.o-ran-sc.nonrtric.sdnc-a1</groupId>
-       <artifactId>sdnc-a1</artifactId>
-       <version>2.1.0-SNAPSHOT</version>
-       <packaging>pom</packaging>
-
-       <name>sdnc-a1</name>
-
-       <properties>
-               <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
-       </properties>
-
-       <modules>
-               <module>northbound</module>
-               <module>oam</module>
-       </modules>
-
-       <build>
-               <plugins>
-                       <!-- support sonar in multi-module project -->
-                       <plugin>
-                               <groupId>org.sonarsource.scanner.maven</groupId>
-                               <artifactId>sonar-maven-plugin</artifactId>
-                               <version>${sonar-maven-plugin.version}</version>
-                       </plugin>
-               </plugins>
-       </build>
-</project>