+++ /dev/null
-# Distribution
-
-This directory contains OAM related software artifacts realted to the packaging and distributing code.
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.o-ran-sc.oam.features.parent</groupId>
- <artifactId>odlparent-lite</artifactId>
- <version>1.5.2-SNAPSHOT</version>
- <relativePath />
- </parent>
-
- <groupId>org.o-ran-sc.oam.distribution</groupId>
- <artifactId>nonrtric-o1-controller</artifactId>
- <version>1.8.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>sdnc-distribution :: o-ran-sc :: nonrtric-o1-controller</name>
-
- <description>nonrtric-o1-controller based on ONAP SDNC</description>
-
- <organization>
- <name>O-RAN-SC/OAM</name>
- </organization>
-
- <properties>
- <base.image.repo>nexus3.onap.org:10001/onap/sdnc-image:1.8.0-STAGING-latest</base.image.repo>
- <image.name>o-ran-sc/${project.artifactId}</image.name>
- <ccsdk.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp>
- <o-ran-sc.project.version>${project.version}</o-ran-sc.project.version>
- <o-ran-sc.features.version>0.7.1-SNAPSHOT</o-ran-sc.features.version>
- <repo-oran>mvn:org.o-ran-sc.oam.features.devicemanager/devicemanager-oran-ru-fh-feature/${o-ran-sc.features.version}/xml/features</repo-oran>
- <repo-xran>mvn:org.o-ran-sc.oam.features.devicemanager/devicemanager-xran-ru-fh-feature/${o-ran-sc.features.version}/xml/features</repo-xran>
- <features.repo>${repo-oran},${repo-xran}</features.repo>
- <features.boot>sdnr-wt-feature-aggregator,devicemanager-oran-ru-fh-feature,devicemanager-xran-ru-fh-feature</features.boot>
- <platform-logic-installer.version>${project.version}</platform-logic-installer.version>
- <docker.buildArg.https_proxy>${https_proxy}</docker.buildArg.https_proxy>
- <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
- <opendaylight.root>opt/opendaylight</opendaylight.root>
- <docker.push.phase>deploy</docker.push.phase>
- <docker.verbose>true</docker.verbose>
-
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>org.o-ran-sc.oam.features.devicemanager</groupId>
- <artifactId>devicemanager-oran-ru-fh-installer</artifactId>
- <version>${o-ran-sc.features.version}</version>
- <type>zip</type>
- <classifier>repo</classifier>
- </dependency>
- <dependency>
- <groupId>org.o-ran-sc.oam.features.devicemanager</groupId>
- <artifactId>devicemanager-xran-ru-fh-installer</artifactId>
- <version>${o-ran-sc.features.version}</version>
- <type>zip</type>
- <classifier>repo</classifier>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.groovy.maven</groupId>
- <artifactId>gmaven-plugin</artifactId>
- <version>1.0</version>
- <executions>
- <execution>
- <phase>validate</phase>
- <goals>
- <goal>execute</goal>
- </goals>
- <configuration>
- <source>${basedir}/src/main/scripts/TagVersion.groovy</source>
- </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>Dockerfile</include>
- </includes>
- <filtering>true</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>unpack features</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>unpack-dependencies</goal>
- </goals>
- <configuration>
- <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
- <excludeTransitive>true</excludeTransitive>
- <overWriteReleases>false</overWriteReleases>
- <overWriteSnapshots>true</overWriteSnapshots>
- <overWriteIfNewer>true</overWriteIfNewer>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>io.fabric8</groupId>
- <artifactId>docker-maven-plugin</artifactId>
- <version>0.28.0</version>
- <inherited>false</inherited>
- <configuration>
- <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
- <images>
- <image>
- <name>${image.name}</name>
- <build>
- <cleanup>try</cleanup>
- <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
- <tags>
- <tag>${project.docker.latestminortag.version}</tag>
- <tag>${project.docker.latestfulltag.version}</tag>
- <tag>${project.docker.latesttagtimestamp.version}</tag>
- </tags>
- </build>
- </image>
- </images>
- </configuration>
- <executions>
- <execution>
- <id>generate-images</id>
- <phase>package</phase>
- <goals>
- <goal>build</goal>
- </goals>
- </execution>
- <execution>
- <id>push-images</id>
- <phase>${docker.push.phase}</phase>
- <goals>
- <goal>build</goal>
- <goal>push</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- <extensions>
- <extension><!-- this extension is required by wagon in order to pass the proxy -->
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-http-lightweight</artifactId>
- <version>2.2</version>
- </extension>
- </extensions>
- </build>
-</project>
+++ /dev/null
-# Base odl alpine with added packages needed for
-FROM ${base.image.repo}
-
-# Image info
-ENV IMAGEPATH ${IMAGEPATH}//${image.name}
-ENV IMAGENAMES ${IMAGENAMES}//"ORAN nonrtric"
-
-# Adjust repo und feature boot info for karaf
-RUN sed -i -e "\|featuresRepositories|s|$|,${features.repo}|" $ODL_HOME/etc/org.apache.karaf.features.cfg
-ENV SDNRWT_BOOTFEATURES ${features.boot}
-
-USER root
-# copy CCSDK mvn artifacts to ODL repository
-COPY system /tmp/system
-RUN rsync -a /tmp/system $ODL_HOME && rm -rf /tmp/system
-RUN chown -R odl:odl $ODL_HOME
-
-# Set user for ODL startup
-USER odl
+++ /dev/null
-/*-
- * ============LICENSE_START=======================================================
- * ONAP CCSDK
- * ================================================================================
- * 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.oransc.oam.distribution
-
-
-def versionArray;
-if ( project.properties['o-ran-sc.project.version'] != null ) {
- versionArray = project.properties['o-ran-sc.project.version'].split('\\.');
-}
-
-if ( project.properties['o-ran-sc.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['ccsdk.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['ccsdk.build.timestamp'];
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.onap.ccsdk.parent</groupId>
- <artifactId>odlparent-lite</artifactId>
- <version>1.4.3</version>
- <relativePath />
- </parent>
-
- <groupId>org.o-ran-sc.oam.distribution</groupId>
- <artifactId>nonrtric-o1-controller</artifactId>
- <version>0.6.3-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>sdnc-distribution :: sdnc :: nonrtric-o1-controller</name>
- <description>Creates nonrtric-o1-controller from ONAP SDNC</description>
- <organization>
- <name>O-RAN-SC/OAM</name>
- </organization>
-
- <properties>
- <image.version>1.7.5-STAGING-latest</image.version>
- <!-- <base.image.repo>nexus3.onap.org:10001/onap/sdnc-image:${image.version}</base.image.repo> -->
- <base.image.repo>nexus3.onap.org:10001/onap/sdnc-image:${image.version}</base.image.repo>
- <image.name>o-ran-sc/nonrtric-o1-controller</image.name>
- <ccsdk.project.version>${project.version}</ccsdk.project.version>
- <ccsdk.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp>
- <ccsdk.features.version>${project.version}</ccsdk.features.version>
- <docker.buildArg.https_proxy>${https_proxy}</docker.buildArg.https_proxy>
- <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
- <opendaylight.root>opt/opendaylight</opendaylight.root>
- <docker.push.phase>deploy</docker.push.phase>
- <docker.verbose>true</docker.verbose>
- <ansible.gpg.key>93C4A3FD7BB9C367</ansible.gpg.key>
-
- <!-- odl.repolist.features and odl.boot.features.all are used by dockerfile. Contains all repos and features to start -->
- <sdnr.wt.repo>mvn:org.onap.ccsdk.features.sdnr.wt/sdnr-wt-feature-aggregator/${project.version}/xml/features</sdnr.wt.repo>
- <odl.repolist.features>${sdnr.wt.repo}</odl.repolist.features>
-
- <odl.boot.features.odl>odl-mdsal-all,odl-mdsal-apidocs,odl-daexim-all</odl.boot.features.odl>
- <ccsdk.odl.features>odl-netconf-topology,odl-netconf-connector,sdnr-wt-feature-aggregator</ccsdk.odl.features>
- <odl.boot.features.all>${odl.boot.features.odl}</odl.boot.features.all>
- </properties>
-
- <build>
- <extensions>
- <extension>
- <!-- this extension is required by wagon in order to pass the proxy -->
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-http-lightweight</artifactId>
- <version>2.2</version>
- </extension>
- </extensions>
- <plugins>
- <plugin>
- <groupId>org.codehaus.groovy.maven</groupId>
- <artifactId>gmaven-plugin</artifactId>
- <version>1.0</version>
- <executions>
- <execution>
- <phase>validate</phase>
- <goals>
- <goal>execute</goal>
- </goals>
- <configuration>
- <source>${basedir}/src/main/scripts/TagVersion.groovy</source>
- </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>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>*.sh</include>
- </includes>
- <filtering>true</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>unpack features</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>unpack-dependencies</goal>
- </goals>
- <configuration>
- <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
- <excludeTransitive>true</excludeTransitive>
- <overWriteReleases>false</overWriteReleases>
- <overWriteSnapshots>true</overWriteSnapshots>
- <overWriteIfNewer>true</overWriteIfNewer>
- </configuration>
- </execution>
-<!-- <execution> -->
-<!-- <id>unpack dgs</id> -->
-<!-- <phase>generate-sources</phase> -->
-<!-- <goals> -->
-<!-- <goal>unpack</goal> -->
-<!-- </goals> -->
-<!-- <configuration> -->
-<!-- <outputDirectory>${basedir}/target/docker-stage/opt/onap/ccsdk</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>
- <groupId>io.fabric8</groupId>
- <artifactId>docker-maven-plugin</artifactId>
- <version>0.31.0</version>
- <inherited>false</inherited>
- <configuration>
- <images>
- <image>
- <name>${image.name}</name>
- <build>
- <cleanup>try</cleanup>
- <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
-<!-- <dockerFile>${basedir}/target/docker-stage/Dockerfile</dockerFile> -->
- <tags>
- <tag>${project.docker.latestminortag.version}</tag>
- <tag>${project.docker.latestfulltag.version}</tag>
- <tag>${project.docker.latesttagtimestamp.version}</tag>
- <tag>${image.version}</tag>
- </tags>
- </build>
- </image>
- </images>
- </configuration>
- <executions>
- <execution>
- <id>generate-images</id>
- <phase>package</phase>
- <goals>
- <goal>build</goal>
- </goals>
- </execution>
-
- <execution>
- <id>push-images</id>
- <phase>${docker.push.phase}</phase>
- <goals>
- <goal>build</goal>
- <goal>push</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </project>
+++ /dev/null
-################################################################################
-# Copyright 2019 highstreet technologies and others
-#
-# 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.
-#
-FROM ${base.image.repo}
-
-ENV ODL_HOME /opt/opendaylight
-ENV FEATURES_SDNR system/org/onap/ccsdk/features/sdnr
-ENV SDNRWT=true
-
-# root user actions
-USER root
-RUN rm $ODL_HOME/data/idmlight.db.mv.db
-#back to user odl
-USER odl
-
+++ /dev/null
-/*-
- * ============LICENSE_START=======================================================
- * ONAP CCSDK
- * ================================================================================
- * 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.onap.ccsdk.distribution
-
-
-def versionArray;
-if ( project.properties['ccsdk.project.version'] != null ) {
- versionArray = project.properties['ccsdk.project.version'].split('\\.');
-}
-
-if ( project.properties['ccsdk.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['ccsdk.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['ccsdk.build.timestamp'];
-}
+++ /dev/null
-################################################################################
-# Copyright 2019 highstreet technologies and others
-#
-# 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.
-#
-
-NEXUS_DOCKER_REPO=nexus3.o-ran-sc.org:10001/
-DOCKER_IMAGE_NAME=o-ran-sc/nonrtric-o1-controller
-DOCKER_IMAGE_TAG=1.7.5-STAGING-latest
-PORTPREFIX=
-ENABLE_ODL_CLUSTER=false
-REPLICAS=0
-ODL_HOME=/opt/opendaylight
-LOCAL_NONRTRIC_MOUNT=/var/tmp/
+++ /dev/null
-################################################################################
-# Copyright 2019 highstreet technologies and others
-#
-# 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: "3.3"
-
-services:
- nonrt-o1:
- image: ${NEXUS_DOCKER_REPO}${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_TAG}
- depends_on:
- - sdnctldb01
- container_name: nonrt_o1_controller
- ports:
- - "${PORTPREFIX}8181:8181"
- links:
- - sdnctldb01:dbhost
- environment:
- - SDNC_CONFIG_DIR=/opt/onap/ccsdk/data/properties
- - ENABLE_ODL_CLUSTER=${ENABLE_ODL_CLUSTER}
- - CCSDK_REPLICAS=${REPLICAS}
- - DOMAIN=""
- volumes:
- - ${LOCAL_NONRTRIC_MOUNT}/nrtric-o1/logs:${ODL_HOME}/data/log
- logging:
- driver: "json-file"
- options:
- max-size: "30m"
- max-file: "5"
-
- sdnctldb01:
- image: mysql/mysql-server:5.6
- container_name: nonrt_o1_db
- ports:
- - "3306"
- environment:
- - MYSQL_ROOT_PASSWORD=openECOMP1.0
- - MYSQL_ROOT_HOST=%
- logging:
- driver: "json-file"
- options:
- max-size: "30m"
- max-file: "5"
-
\ No newline at end of file
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-################################################################################
-# Copyright 2020 highstreet technologies and others
-#
-# 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.
-#
--->
-<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.oam.distribution</groupId>
- <artifactId>distribution-top</artifactId>
- <version>1.8.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>o-ran-sc distribution top</name>
-
- <modules>
- <module>nonrtric-o1-controller-frankfurt</module>
- </modules>
-
-</project>
+++ /dev/null
-target/
-target-ide/
-yang-gen-sal/
-.checkstyle
-.classpath
-.project
-.settings
-.factorypath
-.metadata
-*.swp
-dist/
-*/**/bin/
-etc/
-node_modules/
-.fbExcludeFilterFile
-*.md.html
+++ /dev/null
-# Features
-
-This directory contains code artifacts as [OSGi bundles](https://en.wikipedia.org/wiki/OSGi) to be integrated into [Apache Karaf](https://karaf.apache.org).
-
-## devicemanagers
-
-### 3gpp
-
-### o-ran
-
-### x-ran
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ O-RAN-SC : features
- ~ ================================================================================
- ~ Copyright (C) 2020 highstreet technologies GmbH 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=======================================================
- ~
- -->
-
-<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.o-ran-sc.oam.features.parent</groupId>
- <artifactId>single-feature-parent</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.o-ran-sc.oam.features.devicemanager</groupId>
- <artifactId>devicemanager-gran-ru-fh-feature</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>feature</packaging>
-
- <name>o-ran-sc-features :: ${project.artifactId}</name>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>devicemanager-gran-ru-fh-provider</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-
- <repositories>
- <repository>
- <id>onap-public</id>
- <url>https://nexus.onap.org/content/groups/public/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>onap-staging</id>
- <url>https://nexus.onap.org/content/groups/staging/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-release</id>
- <name>onap-repository-releases</name>
- <url>https://nexus.onap.org/content/repositories/releases/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-snapshot</id>
- <name>onap-repository-snapshots</name>
- <url>https://nexus.onap.org/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
-</project>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<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.o-ran-sc.oam.features.parent</groupId>
- <artifactId>odlparent-lite</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.o-ran-sc.oam.features.devicemanager</groupId>
- <artifactId>devicemanager-gran-ru-fh-installer</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>o-ran-sc-features :: ${project.artifactId}</name>
-
- <properties>
- <application.name>devicemanager-gran-ru-fh</application.name>
- <include.transitive.dependencies>false</include.transitive.dependencies>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>${application.name}-feature</artifactId>
- <version>${project.version}</version>
- <type>xml</type>
- <classifier>features</classifier>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>${application.name}-provider</artifactId>
- <version>${project.version}</version>
- </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>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-nested-dependencies</id>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <phase>prepare-package</phase>
- <configuration>
- <transitive>true</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>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-</project>
+++ /dev/null
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2017-2020 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:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
- 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>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ O-RAN-SC : features
- ~ ================================================================================
- ~ Copyright (C) 2020 highstreet technologies GmbH 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=======================================================
- ~
- -->
-
-<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.o-ran-sc.oam.features.parent</groupId>
- <artifactId>binding-parent</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.o-ran-sc.oam.features.devicemanager</groupId>
- <artifactId>devicemanager-gran-ru-fh-model</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>o-ran-sc-features :: ${project.artifactId}</name>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
-
- <properties>
- <maven.javadoc.skip>true</maven.javadoc.skip>
- </properties>
-
- <dependencies>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>**/gen/**</exclude>
- <exclude>**/generated-sources/**</exclude>
- <exclude>**/yang-gen-sal/**</exclude>
- <exclude>**/pax/**</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <repositories>
- <repository>
- <id>onap-public</id>
- <url>https://nexus.onap.org/content/groups/public/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>onap-staging</id>
- <url>https://nexus.onap.org/content/groups/staging/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-release</id>
- <name>onap-repository-releases</name>
- <url>https://nexus.onap.org/content/repositories/releases/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-snapshot</id>
- <name>onap-repository-snapshots</name>
- <url>https://nexus.onap.org/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
-</project>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<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.o-ran-sc.oam.features.parent</groupId>
- <artifactId>odlparent-lite</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.o-ran-sc.oam.features.devicemanager</groupId>
- <artifactId>devicemanager-gran-ru-fh-top</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>o-ran-sc-features :: ${project.artifactId}</name>
-
- <modules>
- <module>model</module>
- <module>provider</module>
- <module>feature</module>
- <module>installer</module>
- </modules>
-
- <properties>
- <feature-name>devicemanager-gran-ru-fh</feature-name>
- </properties>
-</project>
+++ /dev/null
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH 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==========================================================================
- */
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ O-RAN-SC : features
- ~ ================================================================================
- ~ Copyright (C) 2020 highstreet technologies GmbH 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=======================================================
- ~
- -->
-
-<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.o-ran-sc.oam.features.parent</groupId>
- <artifactId>binding-parent</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.o-ran-sc.oam.features.devicemanager</groupId>
- <artifactId>devicemanager-gran-ru-fh-provider</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>o-ran-sc-features :: ${project.artifactId}</name>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
-
- <properties>
- <checkstyle.skip>true</checkstyle.skip> <!-- POM configuration -->
- <maven.javadoc.skip>true</maven.javadoc.skip>
- <maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
- <buildtime>${maven.build.timestamp} UTC</buildtime>
- </properties>
-
- <dependencies>
- <!-- begin for testing -->
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <scope>test</scope>
- </dependency>
- <!-- end for testing -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>devicemanager-gran-ru-fh-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-netconfnode-state-service-model</artifactId>
- <version>${project.version}</version><!--$NO-MVN-MAN-VER$-->
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-devicemanager-model</artifactId>
- <version>${project.version}</version><!--$NO-MVN-MAN-VER$-->
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-common</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>sal-netconf-connector</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
- <artifactId>rfc6991-ietf-yang-types</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>yang-binding</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-singleton-common-api</artifactId>
- <scope>provided</scope>
- </dependency>
- </dependencies>
-
- <build>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>**/gen/**</exclude>
- <exclude>**/generated-sources/**</exclude>
- <exclude>**/yang-gen-sal/**</exclude>
- <exclude>**/pax/**</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <repositories>
- <repository>
- <id>onap-public</id>
- <url>https://nexus.onap.org/content/groups/public/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>onap-staging</id>
- <url>https://nexus.onap.org/content/groups/staging/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-release</id>
- <name>onap-repository-releases</name>
- <url>https://nexus.onap.org/content/repositories/releases/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-snapshot</id>
- <name>onap-repository-snapshots</name>
- <url>https://nexus.onap.org/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
-</project>
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.top.rev180731;
-
-public final class $YangModelBindingProvider implements org.opendaylight.yangtools.yang.binding.YangModelBindingProvider {
- @java.lang.Override
- public org.opendaylight.yangtools.yang.binding.YangModuleInfo getModuleInfo() {
- return $YangModuleInfoImpl.getInstance();
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.top.rev180731;
-
-import org.opendaylight.yangtools.yang.binding.ResourceYangModuleInfo;
-import org.opendaylight.yangtools.yang.common.QName;
-import org.opendaylight.yangtools.yang.binding.YangModuleInfo;
-import java.util.Set;
-import java.util.HashSet;
-import com.google.common.collect.ImmutableSet;
-
-public final class $YangModuleInfoImpl extends ResourceYangModuleInfo {
- private static final QName NAME = QName.create("urn:3gpp:tsg:sa5:nrm:Top", "2018-07-31", "_3gpp-common-top").intern();
- private static final YangModuleInfo INSTANCE = new $YangModuleInfoImpl();
-
- private final Set<YangModuleInfo> importedModules;
-
- public static YangModuleInfo getInstance() {
- return INSTANCE;
- }
-
- public static QName qnameOf(final java.lang.String localName) {
- return QName.create(NAME, localName).intern();
- }
-
- private $YangModuleInfoImpl() {
- Set<YangModuleInfo> set = new HashSet<>();
- set.add(org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl.getInstance());
- importedModules = ImmutableSet.copyOf(set);
- }
-
- @java.lang.Override
- public QName getName() {
- return NAME;
- }
-
- @java.lang.Override
- protected java.lang.String resourceName() {
- return "/META-INF/yang/_3gpp-common-top@2018-07-31.yang";
- }
-
- @java.lang.Override
- public Set<YangModuleInfo> getImportedModules() {
- return importedModules;
- }
-
-
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.top.rev180731;
-import java.lang.String;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TDistinguishedName;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-top</b>
- * <pre>
- * grouping TopGrp {
- * leaf objectClass {
- * type string;
- * }
- * leaf id {
- * type nrm-type:t_DistinguishedName;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-top/TopGrp</i>
- *
- */
-public interface TopGrp
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("TopGrp");
-
- /**
- * @return <code>java.lang.String</code> <code>objectClass</code>, or <code>null</code> if not present
- */
- @Nullable String getObjectClass();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TDistinguishedName</code> <code>id</code>, or <code>null</code> if not present
- */
- @Nullable TDistinguishedName getId();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-
-public final class $YangModelBindingProvider implements org.opendaylight.yangtools.yang.binding.YangModelBindingProvider {
- @java.lang.Override
- public org.opendaylight.yangtools.yang.binding.YangModuleInfo getModuleInfo() {
- return $YangModuleInfoImpl.getInstance();
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-
-import org.opendaylight.yangtools.yang.binding.ResourceYangModuleInfo;
-import org.opendaylight.yangtools.yang.common.QName;
-import org.opendaylight.yangtools.yang.binding.YangModuleInfo;
-import java.util.Set;
-import java.util.HashSet;
-import com.google.common.collect.ImmutableSet;
-
-public final class $YangModuleInfoImpl extends ResourceYangModuleInfo {
- private static final QName NAME = QName.create("urn:3gpp:tsg:sa5:nrm:types", "2018-07-31", "_3gpp-common-yang-types").intern();
- private static final YangModuleInfo INSTANCE = new $YangModuleInfoImpl();
-
- private final Set<YangModuleInfo> importedModules;
-
- public static YangModuleInfo getInstance() {
- return INSTANCE;
- }
-
- public static QName qnameOf(final java.lang.String localName) {
- return QName.create(NAME, localName).intern();
- }
-
- private $YangModuleInfoImpl() {
- Set<YangModuleInfo> set = new HashSet<>();
- set.add(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.$YangModuleInfoImpl.getInstance());
- set.add(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.$YangModuleInfoImpl.getInstance());
- importedModules = ImmutableSet.copyOf(set);
- }
-
- @java.lang.Override
- public QName getName() {
- return NAME;
- }
-
- @java.lang.Override
- protected java.lang.String resourceName() {
- return "/META-INF/yang/_3gpp-common-yang-types@2018-07-31.yang";
- }
-
- @java.lang.Override
- public Set<YangModuleInfo> getImportedModules() {
- return importedModules;
- }
-
-
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping aMFIdentifier {
- * leaf AMF-Region-id {
- * type t_aMF-Region-id;
- * }
- * leaf AMF-Set-id {
- * type t_aMF-Set-id;
- * }
- * leaf AMF-Pointer {
- * type t_aMF-Pointer;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/aMFIdentifier</i>
- *
- */
-public interface AMFIdentifier
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("aMFIdentifier");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TAMFRegionId</code> <code>aMFRegionId</code>, or <code>null</code> if not present
- */
- @Nullable TAMFRegionId getAMFRegionId();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TAMFSetId</code> <code>aMFSetId</code>, or <code>null</code> if not present
- */
- @Nullable TAMFSetId getAMFSetId();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TAMFPointer</code> <code>aMFPointer</code>, or <code>null</code> if not present
- */
- @Nullable TAMFPointer getAMFPointer();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum BwpContext implements Enumeration {
- DL(0, "DL"),
-
- UL(1, "UL"),
-
- SUL(2, "SUL")
- ;
-
- private static final Map<String, BwpContext> NAME_MAP;
- private static final Map<Integer, BwpContext> VALUE_MAP;
-
- static {
- final Builder<String, BwpContext> nb = ImmutableMap.builder();
- final Builder<Integer, BwpContext> vb = ImmutableMap.builder();
- for (BwpContext enumItem : BwpContext.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private BwpContext(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding BwpContext item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<BwpContext> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding BwpContext item, or null if no such item exists
- */
- public static BwpContext forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum DataSetId implements Enumeration {
- SUBSCRIPTION(0, "SUBSCRIPTION"),
-
- POLICY(1, "POLICY"),
-
- EXPOSURE(2, "EXPOSURE"),
-
- APPLICATION(3, "APPLICATION")
- ;
-
- private static final Map<String, DataSetId> NAME_MAP;
- private static final Map<Integer, DataSetId> VALUE_MAP;
-
- static {
- final Builder<String, DataSetId> nb = ImmutableMap.builder();
- final Builder<Integer, DataSetId> vb = ImmutableMap.builder();
- for (DataSetId enumItem : DataSetId.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private DataSetId(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding DataSetId item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<DataSetId> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding DataSetId item, or null if no such item exists
- */
- public static DataSetId forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping defaultNotificationSubscription {
- * leaf notificationType {
- * type NotificationType;
- * }
- * leaf callbackUri {
- * type inet:uri;
- * }
- * leaf n1MessageClass {
- * type N1MessageClass;
- * }
- * leaf n2InformationClass {
- * type N2InformationClass;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/defaultNotificationSubscription</i>
- *
- */
-public interface DefaultNotificationSubscription
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("defaultNotificationSubscription");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.NotificationType</code> <code>notificationType</code>, or <code>null</code> if not present
- */
- @Nullable NotificationType getNotificationType();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri</code> <code>callbackUri</code>, or <code>null</code> if not present
- */
- @Nullable Uri getCallbackUri();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.N1MessageClass</code> <code>n1MessageClass</code>, or <code>null</code> if not present
- */
- @Nullable N1MessageClass getN1MessageClass();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.N2InformationClass</code> <code>n2InformationClass</code>, or <code>null</code> if not present
- */
- @Nullable N2InformationClass getN2InformationClass();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping DnnUpfInfoItem {
- * leaf dnn {
- * type t_Dnn;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/DnnUpfInfoItem</i>
- *
- */
-public interface DnnUpfInfoItem
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("DnnUpfInfoItem");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TDnn</code> <code>dnn</code>, or <code>null</code> if not present
- */
- @Nullable TDnn getDnn();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.guami.AmfId;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.guami.PlmnId;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping Guami {
- * container plmnId {
- * uses pLMNId;
- * }
- * container amfId {
- * uses aMFIdentifier;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/Guami</i>
- *
- */
-public interface Guami
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("Guami");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.guami.PlmnId</code> <code>plmnId</code>, or <code>null</code> if not present
- */
- @Nullable PlmnId getPlmnId();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.guami.AmfId</code> <code>amfId</code>, or <code>null</code> if not present
- */
- @Nullable AmfId getAmfId();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import java.lang.String;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping IdentityRange {
- * leaf start {
- * type string;
- * }
- * leaf end {
- * type string;
- * }
- * leaf pattern {
- * type string;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/IdentityRange</i>
- *
- */
-public interface IdentityRange
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("IdentityRange");
-
- /**
- * @return <code>java.lang.String</code> <code>start</code>, or <code>null</code> if not present
- */
- @Nullable String getStart();
-
- /**
- * @return <code>java.lang.String</code> <code>end</code>, or <code>null</code> if not present
- */
- @Nullable String getEnd();
-
- /**
- * @return <code>java.lang.String</code> <code>pattern</code>, or <code>null</code> if not present
- */
- @Nullable String getPattern();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import java.lang.String;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.Address;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping InterfaceUpfInfoItem {
- * leaf interfaceType {
- * type UPInterfaceType;
- * }
- * choice address {
- * case ipv4Address {
- * leaf ipv4Address {
- * type inet:ipv4-address;
- * }
- * }
- * case ipv6Address {
- * leaf ipv6Address {
- * type inet:ipv6-address;
- * }
- * }
- * case ipv6Prefix {
- * leaf ipv6Prefix {
- * type inet:ipv6-prefix;
- * }
- * }
- * case endpointFqdn {
- * leaf endpointFqdn {
- * type inet:domain-name;
- * }
- * }
- * }
- * leaf networkInstance {
- * type string;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/InterfaceUpfInfoItem</i>
- *
- */
-public interface InterfaceUpfInfoItem
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("InterfaceUpfInfoItem");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.UPInterfaceType</code> <code>interfaceType</code>, or <code>null</code> if not present
- */
- @Nullable UPInterfaceType getInterfaceType();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.Address</code> <code>address</code>, or <code>null</code> if not present
- */
- @Nullable Address getAddress();
-
- /**
- * @return <code>java.lang.String</code> <code>networkInstance</code>, or <code>null</code> if not present
- */
- @Nullable String getNetworkInstance();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import java.lang.Integer;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint.Address;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping ipEndPoint {
- * choice address {
- * case ipv4Address {
- * leaf ipv4Address {
- * type inet:ipv4-address;
- * }
- * }
- * case ipv6Address {
- * leaf ipv6Address {
- * type inet:ipv6-address;
- * }
- * }
- * case ipv6Prefix {
- * leaf ipv6Prefix {
- * type inet:ipv6-prefix;
- * }
- * }
- * }
- * leaf transport {
- * type t_TransportProtocol;
- * }
- * leaf port {
- * type uint16;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/ipEndPoint</i>
- *
- */
-public interface IpEndPoint
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipEndPoint");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint.Address</code> <code>address</code>, or <code>null</code> if not present
- */
- @Nullable Address getAddress();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TTransportProtocol</code> <code>transport</code>, or <code>null</code> if not present
- */
- @Nullable TTransportProtocol getTransport();
-
- /**
- * @return <code>java.lang.Integer</code> <code>port</code>, or <code>null</code> if not present
- */
- @Nullable Integer getPort();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping Ipv4AddressRange {
- * leaf start {
- * type inet:ipv4-address;
- * }
- * leaf end {
- * type inet:ipv4-address;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/Ipv4AddressRange</i>
- *
- */
-public interface Ipv4AddressRange
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("Ipv4AddressRange");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address</code> <code>start</code>, or <code>null</code> if not present
- */
- @Nullable Ipv4Address getStart();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address</code> <code>end</code>, or <code>null</code> if not present
- */
- @Nullable Ipv4Address getEnd();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping Ipv6PrefixRange {
- * leaf start {
- * type inet:ipv6-prefix;
- * }
- * leaf end {
- * type inet:ipv6-prefix;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/Ipv6PrefixRange</i>
- *
- */
-public interface Ipv6PrefixRange
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("Ipv6PrefixRange");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix</code> <code>start</code>, or <code>null</code> if not present
- */
- @Nullable Ipv6Prefix getStart();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix</code> <code>end</code>, or <code>null</code> if not present
- */
- @Nullable Ipv6Prefix getEnd();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum IsInitialBwp implements Enumeration {
- INITIAL(0, "INITIAL"),
-
- OTHER(1, "OTHER")
- ;
-
- private static final Map<String, IsInitialBwp> NAME_MAP;
- private static final Map<Integer, IsInitialBwp> VALUE_MAP;
-
- static {
- final Builder<String, IsInitialBwp> nb = ImmutableMap.builder();
- final Builder<Integer, IsInitialBwp> vb = ImmutableMap.builder();
- for (IsInitialBwp enumItem : IsInitialBwp.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private IsInitialBwp(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding IsInitialBwp item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<IsInitialBwp> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding IsInitialBwp item, or null if no such item exists
- */
- public static IsInitialBwp forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum N1MessageClass implements Enumeration {
- _5GMM(0, "5GMM"),
-
- SM(1, "SM"),
-
- LPP(2, "LPP"),
-
- SMS(3, "SMS")
- ;
-
- private static final Map<String, N1MessageClass> NAME_MAP;
- private static final Map<Integer, N1MessageClass> VALUE_MAP;
-
- static {
- final Builder<String, N1MessageClass> nb = ImmutableMap.builder();
- final Builder<Integer, N1MessageClass> vb = ImmutableMap.builder();
- for (N1MessageClass enumItem : N1MessageClass.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private N1MessageClass(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding N1MessageClass item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<N1MessageClass> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding N1MessageClass item, or null if no such item exists
- */
- public static N1MessageClass forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum N2InformationClass implements Enumeration {
- SM(0, "SM"),
-
- NRPPa(1, "NRPPa"),
-
- PWS(2, "PWS"),
-
- PWSBCAL(3, "PWS-BCAL"),
-
- PWSRF(4, "PWS-RF")
- ;
-
- private static final Map<String, N2InformationClass> NAME_MAP;
- private static final Map<Integer, N2InformationClass> VALUE_MAP;
-
- static {
- final Builder<String, N2InformationClass> nb = ImmutableMap.builder();
- final Builder<Integer, N2InformationClass> vb = ImmutableMap.builder();
- for (N2InformationClass enumItem : N2InformationClass.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private N2InformationClass(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding N2InformationClass item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<N2InformationClass> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding N2InformationClass item, or null if no such item exists
- */
- public static N2InformationClass forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import java.lang.String;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping NFServiceVersion {
- * leaf apiVersionInUri {
- * type string;
- * }
- * leaf apiFullVersion {
- * type string;
- * }
- * leaf expiry {
- * type yang:date-and-time;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/NFServiceVersion</i>
- *
- */
-public interface NFServiceVersion
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("NFServiceVersion");
-
- /**
- * @return <code>java.lang.String</code> <code>apiVersionInUri</code>, or <code>null</code> if not present
- */
- @Nullable String getApiVersionInUri();
-
- /**
- * @return <code>java.lang.String</code> <code>apiFullVersion</code>, or <code>null</code> if not present
- */
- @Nullable String getApiFullVersion();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime</code> <code>expiry</code>, or <code>null</code> if not present
- */
- @Nullable DateAndTime getExpiry();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum NFStatus implements Enumeration {
- REGISTERED(0, "REGISTERED"),
-
- SUSPENDED(1, "SUSPENDED")
- ;
-
- private static final Map<String, NFStatus> NAME_MAP;
- private static final Map<Integer, NFStatus> VALUE_MAP;
-
- static {
- final Builder<String, NFStatus> nb = ImmutableMap.builder();
- final Builder<Integer, NFStatus> vb = ImmutableMap.builder();
- for (NFStatus enumItem : NFStatus.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private NFStatus(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding NFStatus item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<NFStatus> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding NFStatus item, or null if no such item exists
- */
- public static NFStatus forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum NFType implements Enumeration {
- NRF(0, "NRF"),
-
- UDM(1, "UDM"),
-
- AMF(2, "AMF"),
-
- SMF(3, "SMF"),
-
- AUSF(4, "AUSF"),
-
- NEF(5, "NEF"),
-
- PCF(6, "PCF"),
-
- SMSF(7, "SMSF"),
-
- NSSF(8, "NSSF"),
-
- UDR(9, "UDR"),
-
- LMF(10, "LMF"),
-
- GMLC(11, "GMLC"),
-
- _5GEIR(12, "5G_EIR"),
-
- SEPP(13, "SEPP"),
-
- UPF(14, "UPF"),
-
- N3IWF(15, "N3IWF"),
-
- AF(16, "AF"),
-
- UDSF(17, "UDSF"),
-
- BSF(18, "BSF"),
-
- CHF(19, "CHF")
- ;
-
- private static final Map<String, NFType> NAME_MAP;
- private static final Map<Integer, NFType> VALUE_MAP;
-
- static {
- final Builder<String, NFType> nb = ImmutableMap.builder();
- final Builder<Integer, NFType> vb = ImmutableMap.builder();
- for (NFType enumItem : NFType.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private NFType(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding NFType item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<NFType> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding NFType item, or null if no such item exists
- */
- public static NFType forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum NotificationEventType implements Enumeration {
- NFREGISTERED(0, "NF_REGISTERED"),
-
- NFDEREGISTERED(1, "NF_DEREGISTERED"),
-
- NFPROFILECHANGED(2, "NF_PROFILE_CHANGED")
- ;
-
- private static final Map<String, NotificationEventType> NAME_MAP;
- private static final Map<Integer, NotificationEventType> VALUE_MAP;
-
- static {
- final Builder<String, NotificationEventType> nb = ImmutableMap.builder();
- final Builder<Integer, NotificationEventType> vb = ImmutableMap.builder();
- for (NotificationEventType enumItem : NotificationEventType.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private NotificationEventType(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding NotificationEventType item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<NotificationEventType> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding NotificationEventType item, or null if no such item exists
- */
- public static NotificationEventType forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum NotificationType implements Enumeration {
- N1MESSAGES(0, "N1_MESSAGES"),
-
- N2INFORMATION(1, "N2_INFORMATION"),
-
- LOCATIONNOTIFICATION(2, "LOCATION_NOTIFICATION")
- ;
-
- private static final Map<String, NotificationType> NAME_MAP;
- private static final Map<Integer, NotificationType> VALUE_MAP;
-
- static {
- final Builder<String, NotificationType> nb = ImmutableMap.builder();
- final Builder<Integer, NotificationType> vb = ImmutableMap.builder();
- for (NotificationType enumItem : NotificationType.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private NotificationType(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding NotificationType item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<NotificationType> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding NotificationType item, or null if no such item exists
- */
- public static NotificationType forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- * A Public Land Mobile Network is uniquely identified by its PLMN identifier.
- * PLMN-Id consists of Mobile Country Code (MCC) and Mobile Network Code (MNC).
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping pLMNId {
- * leaf MCC {
- * type t_mcc;
- * }
- * leaf MNC {
- * type t_mnc;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/pLMNId</i>
- *
- */
-public interface PLMNId
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("pLMNId");
-
- /**
- * Mobile Country Code (MCC), consisting of three decimal digits.The MCC identifies
- * uniquely the country of domicile of the mobile subscription.
- *
- *
- *
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TMcc</code> <code>mCC</code>, or <code>null</code> if not present
- */
- @Nullable TMcc getMCC();
-
- /**
- * Mobile Network Code (MNC), consisting of two or three decimal digits.The MNC
- * identifies the home PLMN of the mobile subscription.
- *
- *
- *
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TMnc</code> <code>mNC</code>, or <code>null</code> if not present
- */
- @Nullable TMnc getMNC();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.Short;
-import java.lang.String;
-import java.util.Objects;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class QOffsetRange
- implements TypeObject, Serializable {
- private static final long serialVersionUID = 6398961204554971940L;
- private final Short _value;
-
- private static void check_valueRange(final short value) {
- if (value >= (short)0 && value <= (short)255) {
- return;
- }
- CodeHelpers.throwInvalidRange("[[0..255]]", value);
- }
-
- @ConstructorProperties("value")
- public QOffsetRange(Short _value) {
- if (_value != null) {
- check_valueRange(_value);
- }
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public QOffsetRange(QOffsetRange source) {
- this._value = source._value;
- }
-
- public static QOffsetRange getDefaultInstance(String defaultValue) {
- return new QOffsetRange(Short.valueOf(defaultValue));
- }
-
- public Short getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- QOffsetRange other = (QOffsetRange) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(QOffsetRange.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import java.lang.Integer;
-import java.lang.Short;
-import java.util.List;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping RRMPolicyRatio2 {
- * leaf groupId {
- * type uint16;
- * }
- * leaf-list sNSSAI {
- * type t_s-NSSAI;
- * }
- * leaf quotaType {
- * type t_quotaType;
- * }
- * leaf rRMPolicyMaxRation {
- * type uint8;
- * }
- * leaf rRMPolicyMarginMaxRation {
- * type uint8;
- * }
- * leaf rRMPolicyMinRation {
- * type uint8;
- * }
- * leaf rRMPolicyMarginMinRation {
- * type uint8;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/RRMPolicyRatio2</i>
- *
- */
-public interface RRMPolicyRatio2
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("RRMPolicyRatio2");
-
- /**
- * @return <code>java.lang.Integer</code> <code>groupId</code>, or <code>null</code> if not present
- */
- @Nullable Integer getGroupId();
-
- /**
- * @return <code>java.util.List</code> <code>sNSSAI</code>, or <code>null</code> if not present
- */
- @Nullable List<TSNSSAI> getSNSSAI();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TQuotaType</code> <code>quotaType</code>, or <code>null</code> if not present
- */
- @Nullable TQuotaType getQuotaType();
-
- /**
- * @return <code>java.lang.Short</code> <code>rRMPolicyMaxRation</code>, or <code>null</code> if not present
- */
- @Nullable Short getRRMPolicyMaxRation();
-
- /**
- * @return <code>java.lang.Short</code> <code>rRMPolicyMarginMaxRation</code>, or <code>null</code> if not present
- */
- @Nullable Short getRRMPolicyMarginMaxRation();
-
- /**
- * @return <code>java.lang.Short</code> <code>rRMPolicyMinRation</code>, or <code>null</code> if not present
- */
- @Nullable Short getRRMPolicyMinRation();
-
- /**
- * @return <code>java.lang.Short</code> <code>rRMPolicyMarginMinRation</code>, or <code>null</code> if not present
- */
- @Nullable Short getRRMPolicyMarginMinRation();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import java.util.List;
-import org.eclipse.jdt.annotation.NonNull;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.snssaiupfinfoitem.DnnUpfInfo;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping SnssaiUpfInfoItem {
- * leaf sNssai {
- * type t_s-NSSAI;
- * }
- * list dnnUpfInfo {
- * key dnn;
- * uses DnnUpfInfoItem;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/SnssaiUpfInfoItem</i>
- *
- */
-public interface SnssaiUpfInfoItem
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("SnssaiUpfInfoItem");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TSNSSAI</code> <code>sNssai</code>, or <code>null</code> if not present
- */
- @Nullable TSNSSAI getSNssai();
-
- /**
- * @return <code>java.util.List</code> <code>dnnUpfInfo</code>, or <code>null</code> if not present
- */
- @Nullable List<DnnUpfInfo> getDnnUpfInfo();
-
- /**
- * @return <code>java.util.List</code> <code>dnnUpfInfo</code>, or an empty list if it is not present
- */
- default @NonNull List<DnnUpfInfo> nonnullDnnUpfInfo() {
- return CodeHelpers.nonnull(getDnnUpfInfo());
- }
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import java.lang.String;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping SupiRange {
- * leaf start {
- * type string;
- * }
- * leaf end {
- * type string;
- * }
- * leaf pattern {
- * type string;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/SupiRange</i>
- *
- */
-public interface SupiRange
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("SupiRange");
-
- /**
- * @return <code>java.lang.String</code> <code>start</code>, or <code>null</code> if not present
- */
- @Nullable String getStart();
-
- /**
- * @return <code>java.lang.String</code> <code>end</code>, or <code>null</code> if not present
- */
- @Nullable String getEnd();
-
- /**
- * @return <code>java.lang.String</code> <code>pattern</code>, or <code>null</code> if not present
- */
- @Nullable String getPattern();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableList;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.List;
-import java.util.Objects;
-import java.util.regex.Pattern;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class SupportedFeatures
- implements TypeObject, Serializable {
- private static final long serialVersionUID = 237085469237900179L;
- public static final List<String> PATTERN_CONSTANTS = ImmutableList.of("^(?:[A-Fa-f0-9]*)$");
- private static final Pattern patterns = Pattern.compile(PATTERN_CONSTANTS.get(0));
- private static final String regexes = "[A-Fa-f0-9]*";
- private final String _value;
-
- private static void check_valueLength(final String value) {
- }
-
- @ConstructorProperties("value")
- public SupportedFeatures(String _value) {
- if (_value != null) {
- check_valueLength(_value);
- }
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
- CodeHelpers.checkPattern(_value, patterns, regexes);
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public SupportedFeatures(SupportedFeatures source) {
- this._value = source._value;
- }
-
- public static SupportedFeatures getDefaultInstance(String defaultValue) {
- return new SupportedFeatures(defaultValue);
- }
-
- public String getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- SupportedFeatures other = (SupportedFeatures) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(SupportedFeatures.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableList;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.List;
-import java.util.Objects;
-import java.util.regex.Pattern;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TAMFPointer
- implements TypeObject, Serializable {
- private static final long serialVersionUID = -7925647994457565082L;
- public static final List<String> PATTERN_CONSTANTS = ImmutableList.of("^(?:[01]*)$");
- private static final Pattern patterns = Pattern.compile(PATTERN_CONSTANTS.get(0));
- private static final String regexes = "[01]*";
- private final String _value;
-
- private static void check_valueLength(final String value) {
- final int length = value.length();
- if (length == 6) {
- return;
- }
- CodeHelpers.throwInvalidLength("[[6..6]]", value);
- }
-
- @ConstructorProperties("value")
- public TAMFPointer(String _value) {
- if (_value != null) {
- check_valueLength(_value);
- }
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
- CodeHelpers.checkPattern(_value, patterns, regexes);
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TAMFPointer(TAMFPointer source) {
- this._value = source._value;
- }
-
- public static TAMFPointer getDefaultInstance(String defaultValue) {
- return new TAMFPointer(defaultValue);
- }
-
- public String getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TAMFPointer other = (TAMFPointer) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TAMFPointer.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableList;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.List;
-import java.util.Objects;
-import java.util.regex.Pattern;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TAMFRegionId
- implements TypeObject, Serializable {
- private static final long serialVersionUID = -4812289071560773109L;
- public static final List<String> PATTERN_CONSTANTS = ImmutableList.of("^(?:[01]*)$");
- private static final Pattern patterns = Pattern.compile(PATTERN_CONSTANTS.get(0));
- private static final String regexes = "[01]*";
- private final String _value;
-
- private static void check_valueLength(final String value) {
- final int length = value.length();
- if (length == 8) {
- return;
- }
- CodeHelpers.throwInvalidLength("[[8..8]]", value);
- }
-
- @ConstructorProperties("value")
- public TAMFRegionId(String _value) {
- if (_value != null) {
- check_valueLength(_value);
- }
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
- CodeHelpers.checkPattern(_value, patterns, regexes);
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TAMFRegionId(TAMFRegionId source) {
- this._value = source._value;
- }
-
- public static TAMFRegionId getDefaultInstance(String defaultValue) {
- return new TAMFRegionId(defaultValue);
- }
-
- public String getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TAMFRegionId other = (TAMFRegionId) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TAMFRegionId.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableList;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.List;
-import java.util.Objects;
-import java.util.regex.Pattern;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TAMFSetId
- implements TypeObject, Serializable {
- private static final long serialVersionUID = 6265848852591033404L;
- public static final List<String> PATTERN_CONSTANTS = ImmutableList.of("^(?:[01]*)$");
- private static final Pattern patterns = Pattern.compile(PATTERN_CONSTANTS.get(0));
- private static final String regexes = "[01]*";
- private final String _value;
-
- private static void check_valueLength(final String value) {
- final int length = value.length();
- if (length == 10) {
- return;
- }
- CodeHelpers.throwInvalidLength("[[10..10]]", value);
- }
-
- @ConstructorProperties("value")
- public TAMFSetId(String _value) {
- if (_value != null) {
- check_valueLength(_value);
- }
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
- CodeHelpers.checkPattern(_value, patterns, regexes);
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TAMFSetId(TAMFSetId source) {
- this._value = source._value;
- }
-
- public static TAMFSetId getDefaultInstance(String defaultValue) {
- return new TAMFSetId(defaultValue);
- }
-
- public String getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TAMFSetId other = (TAMFSetId) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TAMFSetId.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TAdministrativeState implements Enumeration {
- /**
- * The resource is administratively prohibited from performingservices for its
- * users.
- *
- */
- Locked(0, "Locked"),
-
- /**
- * Use of the resource is administratively permitted to existinginstances of use
- * only. While the system remains in the shutting down statethe manager may at any
- * time cause the managed object to revert to theunlocked state.
- *
- */
- Shutdown(1, "Shutdown"),
-
- /**
- * The resource is administratively permitted to perform services forits users.
- * This is independent of its inherent operability.
- *
- */
- Unlocked(2, "Unlocked")
- ;
-
- private static final Map<String, TAdministrativeState> NAME_MAP;
- private static final Map<Integer, TAdministrativeState> VALUE_MAP;
-
- static {
- final Builder<String, TAdministrativeState> nb = ImmutableMap.builder();
- final Builder<Integer, TAdministrativeState> vb = ImmutableMap.builder();
- for (TAdministrativeState enumItem : TAdministrativeState.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TAdministrativeState(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TAdministrativeState item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TAdministrativeState> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TAdministrativeState item, or null if no such item exists
- */
- public static TAdministrativeState forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TAvailabilityStatus implements Enumeration {
- /**
- * The resource is undergoing a test procedure. If the administrativestate is
- * locked or shutting down then normal users are precluded from usingthe resource
- * and the control status attribute has the value reserved for test.Tests that do
- * not exclude additional users can be present in any operationalor administrative
- * state but the reserved for test condition should not bepresent.
- *
- */
- INTEST(0, "IN TEST"),
-
- /**
- * The resource has an internal fault that prevents it from operating.The
- * operational state is disabled.
- *
- */
- FAILED(1, "FAILED"),
-
- /**
- * The resource requires power to be applied and is not powered on.For example, a
- * fuse or other protection device is known to have removedpower or a low voltage
- * condition has been detected. The operational stateis disabled.
- *
- */
- POWEROFF(2, "POWER OFF"),
-
- /**
- * The resource requires a routine operation to be performed to placeit online and
- * make it available for use. The operation may be manual orautomatic, or both. The
- * operational state is disabled.
- *
- */
- OFFLINE(3, "OFF LINE"),
-
- /**
- * The resource has been made inactive by an internal control processin accordance
- * with a predetermined time schedule. Under normal conditionsthe control process
- * can be expected to reactivate the resource at somescheduled time, and it is
- * therefore considered to be optional. Theoperational state is enabled or
- * disabled.
- *
- */
- OFFDUTY(4, "OFF DUTY"),
-
- /**
- * The resource cannot operate because some other resource on which itdepends is
- * (i.e. a resource not represented by the same managed object)unavailable. For
- * example, a device is not accessible because its controlleris powered off. The
- * operational state is disabled.
- *
- */
- DEPENDENCY(5, "DEPENDENCY"),
-
- /**
- * The service available from the resource is degraded in some respect,such as in
- * speed or operating capacity. Failure of a test or an unacceptableperformance
- * measurement has established that some or all services are notfunctional or are
- * degraded due to the presence of a defect. However, theresource remains available
- * for service, either because some services aresatisfactory or because degraded
- * service is preferable to no service at all.Object specific attributes may be
- * defined to represent further informationindicating, for example, which services
- * are not functional and the nature ofthe degradation. The operational state is
- * enabled.
- *
- */
- DEGRADED(6, "DEGRADED"),
-
- /**
- * The resource represented by the managed object is not present, or isincomplete.
- * For example, a plug-in module is missing, a cable is disconnectedor a software
- * module is not loaded. The operational state is disabled.
- *
- */
- NOTINSTALLED(7, "NOT INSTALLED"),
-
- /**
- * This indicates a log full condition.
- *
- */
- LOGFULL(8, "LOG FULL")
- ;
-
- private static final Map<String, TAvailabilityStatus> NAME_MAP;
- private static final Map<Integer, TAvailabilityStatus> VALUE_MAP;
-
- static {
- final Builder<String, TAvailabilityStatus> nb = ImmutableMap.builder();
- final Builder<Integer, TAvailabilityStatus> vb = ImmutableMap.builder();
- for (TAvailabilityStatus enumItem : TAvailabilityStatus.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TAvailabilityStatus(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TAvailabilityStatus item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TAvailabilityStatus> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TAvailabilityStatus item, or null if no such item exists
- */
- public static TAvailabilityStatus forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TCellState implements Enumeration {
- /**
- * The resource is not currently in use.
- *
- */
- Idle(0, "Idle"),
-
- /**
- * The resource is not available for use.
- *
- */
- Inactive(1, "Inactive"),
-
- /**
- * The resource is in use.
- *
- */
- Active(2, "Active")
- ;
-
- private static final Map<String, TCellState> NAME_MAP;
- private static final Map<Integer, TCellState> VALUE_MAP;
-
- static {
- final Builder<String, TCellState> nb = ImmutableMap.builder();
- final Builder<Integer, TCellState> vb = ImmutableMap.builder();
- for (TCellState enumItem : TCellState.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TCellState(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TCellState item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TCellState> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TCellState item, or null if no such item exists
- */
- public static TCellState forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TCyclicPrefix implements Enumeration {
- Normal(0, "Normal"),
-
- Extended(1, "Extended")
- ;
-
- private static final Map<String, TCyclicPrefix> NAME_MAP;
- private static final Map<Integer, TCyclicPrefix> VALUE_MAP;
-
- static {
- final Builder<String, TCyclicPrefix> nb = ImmutableMap.builder();
- final Builder<Integer, TCyclicPrefix> vb = ImmutableMap.builder();
- for (TCyclicPrefix enumItem : TCyclicPrefix.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TCyclicPrefix(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TCyclicPrefix item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TCyclicPrefix> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TCyclicPrefix item, or null if no such item exists
- */
- public static TCyclicPrefix forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Objects;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TDistinguishedName
- implements TypeObject, Serializable {
- private static final long serialVersionUID = 2209417379079206418L;
- private final String _value;
-
-
- @ConstructorProperties("value")
- public TDistinguishedName(String _value) {
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TDistinguishedName(TDistinguishedName source) {
- this._value = source._value;
- }
-
- public static TDistinguishedName getDefaultInstance(String defaultValue) {
- return new TDistinguishedName(defaultValue);
- }
-
- public String getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TDistinguishedName other = (TDistinguishedName) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TDistinguishedName.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Objects;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TDnn
- implements TypeObject, Serializable {
- private static final long serialVersionUID = -6761478371390250952L;
- private final String _value;
-
-
- @ConstructorProperties("value")
- public TDnn(String _value) {
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TDnn(TDnn source) {
- this._value = source._value;
- }
-
- public static TDnn getDefaultInstance(String defaultValue) {
- return new TDnn(defaultValue);
- }
-
- public String getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TDnn other = (TDnn) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TDnn.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.Short;
-import java.lang.String;
-import java.util.Objects;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TLoad
- implements TypeObject, Serializable {
- private static final long serialVersionUID = -1391841480548249841L;
- private final Short _value;
-
- private static void check_valueRange(final short value) {
- if (value >= (short)0 && value <= (short)100) {
- return;
- }
- CodeHelpers.throwInvalidRange("[[0..100]]", value);
- }
-
- @ConstructorProperties("value")
- public TLoad(Short _value) {
- if (_value != null) {
- check_valueRange(_value);
- }
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TLoad(TLoad source) {
- this._value = source._value;
- }
-
- public static TLoad getDefaultInstance(String defaultValue) {
- return new TLoad(Short.valueOf(defaultValue));
- }
-
- public Short getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TLoad other = (TLoad) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TLoad.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableList;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.List;
-import java.util.Objects;
-import java.util.regex.Pattern;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TMcc
- implements TypeObject, Serializable {
- private static final long serialVersionUID = 8336530756398858673L;
- public static final List<String> PATTERN_CONSTANTS = ImmutableList.of("^(?:[02-79][0-9][0-9])$");
- private static final Pattern patterns = Pattern.compile(PATTERN_CONSTANTS.get(0));
- private static final String regexes = "[02-79][0-9][0-9]";
- private final String _value;
-
- private static void check_valueLength(final String value) {
- }
-
- @ConstructorProperties("value")
- public TMcc(String _value) {
- if (_value != null) {
- check_valueLength(_value);
- }
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
- CodeHelpers.checkPattern(_value, patterns, regexes);
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TMcc(TMcc source) {
- this._value = source._value;
- }
-
- public static TMcc getDefaultInstance(String defaultValue) {
- return new TMcc(defaultValue);
- }
-
- public String getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TMcc other = (TMcc) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TMcc.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableList;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.List;
-import java.util.Objects;
-import java.util.regex.Pattern;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TMnc
- implements TypeObject, Serializable {
- private static final long serialVersionUID = 7207647705509368021L;
- public static final List<String> PATTERN_CONSTANTS = ImmutableList.of("^(?:[0-9][0-9][0-9]|[0-9][0-9])$");
- private static final Pattern patterns = Pattern.compile(PATTERN_CONSTANTS.get(0));
- private static final String regexes = "[0-9][0-9][0-9]|[0-9][0-9]";
- private final String _value;
-
- private static void check_valueLength(final String value) {
- }
-
- @ConstructorProperties("value")
- public TMnc(String _value) {
- if (_value != null) {
- check_valueLength(_value);
- }
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
- CodeHelpers.checkPattern(_value, patterns, regexes);
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TMnc(TMnc source) {
- this._value = source._value;
- }
-
- public static TMnc getDefaultInstance(String defaultValue) {
- return new TMnc(defaultValue);
- }
-
- public String getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TMnc other = (TMnc) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TMnc.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableList;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.List;
-import java.util.Objects;
-import java.util.regex.Pattern;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TNCI
- implements TypeObject, Serializable {
- private static final long serialVersionUID = 6536694555014033331L;
- public static final List<String> PATTERN_CONSTANTS = ImmutableList.of("^(?:[01]*)$", "^(?:[a-fA-F0-9]*)$");
- private static final Pattern[] patterns = CodeHelpers.compilePatterns(PATTERN_CONSTANTS);
- private static final String[] regexes = { "[01]*", "[a-fA-F0-9]*" };
- private final String _string;
-
-
- private static void check_stringLength(final String value) {
- final int length = value.length();
- if (length == 36) {
- return;
- }
- CodeHelpers.throwInvalidLength("[[36..36]]", value);
- }
- public TNCI(String _string) {
- super();
- check_stringLength(_string);
-
- this._string = _string;
- }
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TNCI(TNCI source) {
- this._string = source._string;
- }
-
- /**
- * Return a String representing the value of this union.
- *
- * @return String representation of this union's value.
- */
- public String stringValue() {
- if (_string != null) {
- return _string;
- }
-
- throw new IllegalStateException("No value assinged");
- }
-
-
- public String getString() {
- return _string;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_string);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TNCI other = (TNCI) obj;
- if (!Objects.equals(_string, other._string)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TNCI.class);
- CodeHelpers.appendValue(helper, "_string", _string);
- return helper.toString();
- }
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import java.lang.String;
-import java.lang.UnsupportedOperationException;
-
-/**
- * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string representation.
- * In some cases it is very difficult to automate it since there can be unions such as (uint32 - uint16), or (string - uint32).
- *
- * The reason behind putting it under src/main/java is:
- * This class is generated in form of a stub and needs to be finished by the user. This class is generated only once to prevent
- * loss of user code.
- *
- */
-public class TNCIBuilder {
- private TNCIBuilder() {
- //Exists only to defeat instantiation.
- }
-
- public static TNCI getDefaultInstance(String defaultValue) {
- throw new UnsupportedOperationException("Not yet implemented");
- }
-
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Long;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Objects;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TNRPCI
- implements TypeObject, Serializable {
- private static final long serialVersionUID = -8223745380422869872L;
- private final Long _value;
-
- private static void check_valueRange(final long value) {
- if (value >= 0L && value <= 4294967295L) {
- return;
- }
- CodeHelpers.throwInvalidRange("[[0..4294967295]]", value);
- }
-
- @ConstructorProperties("value")
- public TNRPCI(Long _value) {
- if (_value != null) {
- check_valueRange(_value);
- }
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TNRPCI(TNRPCI source) {
- this._value = source._value;
- }
-
- public static TNRPCI getDefaultInstance(String defaultValue) {
- return new TNRPCI(Long.valueOf(defaultValue));
- }
-
- public Long getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TNRPCI other = (TNRPCI) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TNRPCI.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Objects;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TNsiId
- implements TypeObject, Serializable {
- private static final long serialVersionUID = 5629408106052088513L;
- private final String _value;
-
-
- @ConstructorProperties("value")
- public TNsiId(String _value) {
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TNsiId(TNsiId source) {
- this._value = source._value;
- }
-
- public static TNsiId getDefaultInstance(String defaultValue) {
- return new TNsiId(defaultValue);
- }
-
- public String getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TNsiId other = (TNsiId) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TNsiId.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TOperationalState implements Enumeration {
- /**
- * The resource is partially or fully operable and available for use.
- *
- */
- Enabled(0, "Enabled"),
-
- /**
- * The resource is totally inoperable and unable to provide serviceto the user(s).
- *
- */
- Disabled(1, "Disabled")
- ;
-
- private static final Map<String, TOperationalState> NAME_MAP;
- private static final Map<Integer, TOperationalState> VALUE_MAP;
-
- static {
- final Builder<String, TOperationalState> nb = ImmutableMap.builder();
- final Builder<Integer, TOperationalState> vb = ImmutableMap.builder();
- for (TOperationalState enumItem : TOperationalState.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TOperationalState(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TOperationalState item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TOperationalState> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TOperationalState item, or null if no such item exists
- */
- public static TOperationalState forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TQuotaType implements Enumeration {
- Strict(0, "strict"),
-
- Float(1, "float")
- ;
-
- private static final Map<String, TQuotaType> NAME_MAP;
- private static final Map<Integer, TQuotaType> VALUE_MAP;
-
- static {
- final Builder<String, TQuotaType> nb = ImmutableMap.builder();
- final Builder<Integer, TQuotaType> vb = ImmutableMap.builder();
- for (TQuotaType enumItem : TQuotaType.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TQuotaType(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TQuotaType item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TQuotaType> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TQuotaType item, or null if no such item exists
- */
- public static TQuotaType forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TResourceSharingLevel implements Enumeration {
- Shared(0, "shared"),
-
- NotShared(1, "not-shared")
- ;
-
- private static final Map<String, TResourceSharingLevel> NAME_MAP;
- private static final Map<Integer, TResourceSharingLevel> VALUE_MAP;
-
- static {
- final Builder<String, TResourceSharingLevel> nb = ImmutableMap.builder();
- final Builder<Integer, TResourceSharingLevel> vb = ImmutableMap.builder();
- for (TResourceSharingLevel enumItem : TResourceSharingLevel.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TResourceSharingLevel(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TResourceSharingLevel item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TResourceSharingLevel> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TResourceSharingLevel item, or null if no such item exists
- */
- public static TResourceSharingLevel forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import java.io.Serializable;
-import java.lang.Long;
-import java.lang.Override;
-import java.lang.Short;
-import java.lang.String;
-import java.util.Objects;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TSNSSAI
- implements TypeObject, Serializable {
- private static final long serialVersionUID = -2943261658086489871L;
- private final Short _uint8;
- private final Long _uint32;
-
-
- private static void checkUint8Range(final short value) {
- if (value >= (short)0 && value <= (short)255) {
- return;
- }
- CodeHelpers.throwInvalidRange("[[0..255]]", value);
- }
- public TSNSSAI(Short _uint8) {
- super();
- checkUint8Range(_uint8);
-
- this._uint8 = _uint8;
- this._uint32 = null;
- }
-
- private static void checkUint32Range(final long value) {
- if (value >= 0L && value <= 4294967295L) {
- return;
- }
- CodeHelpers.throwInvalidRange("[[0..4294967295]]", value);
- }
- public TSNSSAI(Long _uint32) {
- super();
- checkUint32Range(_uint32);
-
- this._uint32 = _uint32;
- this._uint8 = null;
- }
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TSNSSAI(TSNSSAI source) {
- this._uint8 = source._uint8;
- this._uint32 = source._uint32;
- }
-
- /**
- * Return a String representing the value of this union.
- *
- * @return String representation of this union's value.
- */
- public String stringValue() {
- if (_uint8 != null) {
- return _uint8.toString();
- }
- if (_uint32 != null) {
- return _uint32.toString();
- }
-
- throw new IllegalStateException("No value assinged");
- }
-
-
- public Short getUint8() {
- return _uint8;
- }
-
- public Long getUint32() {
- return _uint32;
- }
-
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + Objects.hashCode(_uint8);
- result = prime * result + Objects.hashCode(_uint32);
- return result;
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TSNSSAI other = (TSNSSAI) obj;
- if (!Objects.equals(_uint8, other._uint8)) {
- return false;
- }
- if (!Objects.equals(_uint32, other._uint32)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TSNSSAI.class);
- CodeHelpers.appendValue(helper, "_uint8", _uint8);
- CodeHelpers.appendValue(helper, "_uint32", _uint32);
- return helper.toString();
- }
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import java.lang.String;
-import java.lang.UnsupportedOperationException;
-
-/**
- * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string representation.
- * In some cases it is very difficult to automate it since there can be unions such as (uint32 - uint16), or (string - uint32).
- *
- * The reason behind putting it under src/main/java is:
- * This class is generated in form of a stub and needs to be finished by the user. This class is generated only once to prevent
- * loss of user code.
- *
- */
-public class TSNSSAIBuilder {
- private TSNSSAIBuilder() {
- //Exists only to defeat instantiation.
- }
-
- public static TSNSSAI getDefaultInstance(String defaultValue) {
- throw new UnsupportedOperationException("Not yet implemented");
- }
-
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import java.beans.ConstructorProperties;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.Short;
-import java.lang.String;
-import java.util.Objects;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TSST
- implements TypeObject, Serializable {
- private static final long serialVersionUID = -2844923602415446951L;
- private final Short _value;
-
- private static void check_valueRange(final short value) {
- if (value >= (short)0 && value <= (short)255) {
- return;
- }
- CodeHelpers.throwInvalidRange("[[0..255]]", value);
- }
-
- @ConstructorProperties("value")
- public TSST(Short _value) {
- if (_value != null) {
- check_valueRange(_value);
- }
-
- Objects.requireNonNull(_value, "Supplied value may not be null");
-
- this._value = _value;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TSST(TSST source) {
- this._value = source._value;
- }
-
- public static TSST getDefaultInstance(String defaultValue) {
- return new TSST(Short.valueOf(defaultValue));
- }
-
- public Short getValue() {
- return _value;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_value);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TSST other = (TSST) obj;
- if (!Objects.equals(_value, other._value)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TSST.class);
- CodeHelpers.appendValue(helper, "_value", _value);
- return helper.toString();
- }
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TSubcarrierSpacing implements Enumeration {
- _15(0, "15"),
-
- _30(1, "30"),
-
- _60(2, "60"),
-
- _120(3, "120")
- ;
-
- private static final Map<String, TSubcarrierSpacing> NAME_MAP;
- private static final Map<Integer, TSubcarrierSpacing> VALUE_MAP;
-
- static {
- final Builder<String, TSubcarrierSpacing> nb = ImmutableMap.builder();
- final Builder<Integer, TSubcarrierSpacing> vb = ImmutableMap.builder();
- for (TSubcarrierSpacing enumItem : TSubcarrierSpacing.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TSubcarrierSpacing(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TSubcarrierSpacing item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TSubcarrierSpacing> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TSubcarrierSpacing item, or null if no such item exists
- */
- public static TSubcarrierSpacing forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.base.MoreObjects;
-import com.google.common.collect.ImmutableList;
-import java.io.Serializable;
-import java.lang.Override;
-import java.lang.String;
-import java.util.List;
-import java.util.Objects;
-import java.util.regex.Pattern;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.TypeObject;
-
-public class TTAC
- implements TypeObject, Serializable {
- private static final long serialVersionUID = -7663797870532797015L;
- public static final List<String> PATTERN_CONSTANTS = ImmutableList.of("^(?:[a-fA-F0-9]*)$");
- private static final Pattern patterns = Pattern.compile(PATTERN_CONSTANTS.get(0));
- private static final String regexes = "[a-fA-F0-9]*";
- private final String _string;
-
-
- private static void check_stringLength(final String value) {
- final int length = value.length();
- if (length == 4) {
- return;
- }
- CodeHelpers.throwInvalidLength("[[4..4]]", value);
- }
- public TTAC(String _string) {
- super();
- check_stringLength(_string);
-
- this._string = _string;
- }
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public TTAC(TTAC source) {
- this._string = source._string;
- }
-
- /**
- * Return a String representing the value of this union.
- *
- * @return String representation of this union's value.
- */
- public String stringValue() {
- if (_string != null) {
- return _string;
- }
-
- throw new IllegalStateException("No value assinged");
- }
-
-
- public String getString() {
- return _string;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_string);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- TTAC other = (TTAC) obj;
- if (!Objects.equals(_string, other._string)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(TTAC.class);
- CodeHelpers.appendValue(helper, "_string", _string);
- return helper.toString();
- }
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import java.lang.String;
-import java.lang.UnsupportedOperationException;
-
-/**
- * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string representation.
- * In some cases it is very difficult to automate it since there can be unions such as (uint32 - uint16), or (string - uint32).
- *
- * The reason behind putting it under src/main/java is:
- * This class is generated in form of a stub and needs to be finished by the user. This class is generated only once to prevent
- * loss of user code.
- *
- */
-public class TTACBuilder {
- private TTACBuilder() {
- //Exists only to defeat instantiation.
- }
-
- public static TTAC getDefaultInstance(String defaultValue) {
- throw new UnsupportedOperationException("Not yet implemented");
- }
-
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TTransportProtocol implements Enumeration {
- TCP(0, "TCP"),
-
- STCP(1, "STCP"),
-
- UDP(2, "UDP")
- ;
-
- private static final Map<String, TTransportProtocol> NAME_MAP;
- private static final Map<Integer, TTransportProtocol> VALUE_MAP;
-
- static {
- final Builder<String, TTransportProtocol> nb = ImmutableMap.builder();
- final Builder<Integer, TTransportProtocol> vb = ImmutableMap.builder();
- for (TTransportProtocol enumItem : TTransportProtocol.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TTransportProtocol(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TTransportProtocol item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TTransportProtocol> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TTransportProtocol item, or null if no such item exists
- */
- public static TTransportProtocol forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TUEMobilityLevel implements Enumeration {
- Stationary(0, "stationary"),
-
- Nomadic(1, "nomadic"),
-
- RestrictedMobility(2, "restricted mobility"),
-
- FullyMobility(3, "fully mobility")
- ;
-
- private static final Map<String, TUEMobilityLevel> NAME_MAP;
- private static final Map<Integer, TUEMobilityLevel> VALUE_MAP;
-
- static {
- final Builder<String, TUEMobilityLevel> nb = ImmutableMap.builder();
- final Builder<Integer, TUEMobilityLevel> vb = ImmutableMap.builder();
- for (TUEMobilityLevel enumItem : TUEMobilityLevel.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TUEMobilityLevel(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TUEMobilityLevel item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TUEMobilityLevel> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TUEMobilityLevel item, or null if no such item exists
- */
- public static TUEMobilityLevel forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.tai.PlmnId;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * grouping Tai {
- * container plmnId {
- * uses pLMNId;
- * }
- * leaf tac {
- * type t_tAC;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/Tai</i>
- *
- */
-public interface Tai
- extends
- DataObject
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("Tai");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.tai.PlmnId</code> <code>plmnId</code>, or <code>null</code> if not present
- */
- @Nullable PlmnId getPlmnId();
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TTAC</code> <code>tac</code>, or <code>null</code> if not present
- */
- @Nullable TTAC getTac();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum TxDirection implements Enumeration {
- DL(0, "DL"),
-
- UL(1, "UL"),
-
- DLAndUL(2, "DL and UL")
- ;
-
- private static final Map<String, TxDirection> NAME_MAP;
- private static final Map<Integer, TxDirection> VALUE_MAP;
-
- static {
- final Builder<String, TxDirection> nb = ImmutableMap.builder();
- final Builder<Integer, TxDirection> vb = ImmutableMap.builder();
- for (TxDirection enumItem : TxDirection.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private TxDirection(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding TxDirection item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<TxDirection> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding TxDirection item, or null if no such item exists
- */
- public static TxDirection forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731;
-import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.ImmutableMap.Builder;
-import java.lang.Integer;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Optional;
-import org.opendaylight.yangtools.yang.binding.Enumeration;
-
-public enum UPInterfaceType implements Enumeration {
- N3(0, "N3"),
-
- N6(1, "N6"),
-
- N9(2, "N9")
- ;
-
- private static final Map<String, UPInterfaceType> NAME_MAP;
- private static final Map<Integer, UPInterfaceType> VALUE_MAP;
-
- static {
- final Builder<String, UPInterfaceType> nb = ImmutableMap.builder();
- final Builder<Integer, UPInterfaceType> vb = ImmutableMap.builder();
- for (UPInterfaceType enumItem : UPInterfaceType.values()) {
- vb.put(enumItem.value, enumItem);
- nb.put(enumItem.name, enumItem);
- }
-
- NAME_MAP = nb.build();
- VALUE_MAP = vb.build();
- }
-
- private final String name;
- private final int value;
-
- private UPInterfaceType(int value, String name) {
- this.value = value;
- this.name = name;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public int getIntValue() {
- return value;
- }
-
- /**
- * Return the enumeration member whose {@link #getName()} matches specified value.
- *
- * @param name YANG assigned name
- * @return corresponding UPInterfaceType item, if present
- * @throws NullPointerException if name is null
- */
- public static Optional<UPInterfaceType> forName(String name) {
- return Optional.ofNullable(NAME_MAP.get(Objects.requireNonNull(name)));
- }
-
- /**
- * Return the enumeration member whose {@link #getIntValue()} matches specified value.
- *
- * @param intValue integer value
- * @return corresponding UPInterfaceType item, or null if no such item exists
- */
- public static UPInterfaceType forValue(int intValue) {
- return VALUE_MAP.get(intValue);
- }
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.guami;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.AMFIdentifier;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.Guami;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.ChildOf;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * container amfId {
- * uses aMFIdentifier;
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/Guami/amfId</i>
- *
- * <p>To create instances of this class use {@link AmfIdBuilder}.
- * @see AmfIdBuilder
- *
- */
-public interface AmfId
- extends
- ChildOf<Guami>,
- Augmentable<AmfId>,
- AMFIdentifier
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("amfId");
-
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.guami;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.Guami;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.PLMNId;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.ChildOf;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * container plmnId {
- * uses pLMNId;
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/Guami/plmnId</i>
- *
- * <p>To create instances of this class use {@link PlmnIdBuilder}.
- * @see PlmnIdBuilder
- *
- */
-public interface PlmnId
- extends
- ChildOf<Guami>,
- Augmentable<PlmnId>,
- PLMNId
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("plmnId");
-
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.InterfaceUpfInfoItem;
-import org.opendaylight.yangtools.yang.binding.ChoiceIn;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * choice address {
- * case ipv4Address {
- * leaf ipv4Address {
- * type inet:ipv4-address;
- * }
- * }
- * case ipv6Address {
- * leaf ipv6Address {
- * type inet:ipv6-address;
- * }
- * }
- * case ipv6Prefix {
- * leaf ipv6Prefix {
- * type inet:ipv6-prefix;
- * }
- * }
- * case endpointFqdn {
- * leaf endpointFqdn {
- * type inet:domain-name;
- * }
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/InterfaceUpfInfoItem/address</i>
- *
- */
-public interface Address
- extends
- ChoiceIn<InterfaceUpfInfoItem>
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("address");
-
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.address;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.Address;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.DomainName;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * case endpointFqdn {
- * leaf endpointFqdn {
- * type inet:domain-name;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/InterfaceUpfInfoItem/address/endpointFqdn</i>
- *
- */
-public interface EndpointFqdn
- extends
- DataObject,
- Augmentable<EndpointFqdn>,
- Address
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("endpointFqdn");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.DomainName</code> <code>endpointFqdn</code>, or <code>null</code> if not present
- */
- @Nullable DomainName getEndpointFqdn();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.address;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.Address;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * case ipv4Address {
- * leaf ipv4Address {
- * type inet:ipv4-address;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/InterfaceUpfInfoItem/address/ipv4Address</i>
- *
- */
-public interface Ipv4Address
- extends
- DataObject,
- Augmentable<Ipv4Address>,
- Address
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipv4Address");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address</code> <code>ipv4Address</code>, or <code>null</code> if not present
- */
- org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.@Nullable Ipv4Address getIpv4Address();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.address;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.Address;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * case ipv6Address {
- * leaf ipv6Address {
- * type inet:ipv6-address;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/InterfaceUpfInfoItem/address/ipv6Address</i>
- *
- */
-public interface Ipv6Address
- extends
- DataObject,
- Augmentable<Ipv6Address>,
- Address
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipv6Address");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address</code> <code>ipv6Address</code>, or <code>null</code> if not present
- */
- org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.@Nullable Ipv6Address getIpv6Address();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.address;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.Address;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * case ipv6Prefix {
- * leaf ipv6Prefix {
- * type inet:ipv6-prefix;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/InterfaceUpfInfoItem/address/ipv6Prefix</i>
- *
- */
-public interface Ipv6Prefix
- extends
- DataObject,
- Augmentable<Ipv6Prefix>,
- Address
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipv6Prefix");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix</code> <code>ipv6Prefix</code>, or <code>null</code> if not present
- */
- org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.@Nullable Ipv6Prefix getIpv6Prefix();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.IpEndPoint;
-import org.opendaylight.yangtools.yang.binding.ChoiceIn;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * choice address {
- * case ipv4Address {
- * leaf ipv4Address {
- * type inet:ipv4-address;
- * }
- * }
- * case ipv6Address {
- * leaf ipv6Address {
- * type inet:ipv6-address;
- * }
- * }
- * case ipv6Prefix {
- * leaf ipv6Prefix {
- * type inet:ipv6-prefix;
- * }
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/ipEndPoint/address</i>
- *
- */
-public interface Address
- extends
- ChoiceIn<IpEndPoint>
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("address");
-
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint.address;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint.Address;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * case ipv4Address {
- * leaf ipv4Address {
- * type inet:ipv4-address;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/ipEndPoint/address/ipv4Address</i>
- *
- */
-public interface Ipv4Address
- extends
- DataObject,
- Augmentable<Ipv4Address>,
- Address
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipv4Address");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address</code> <code>ipv4Address</code>, or <code>null</code> if not present
- */
- org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.@Nullable Ipv4Address getIpv4Address();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint.address;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint.Address;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * case ipv6Address {
- * leaf ipv6Address {
- * type inet:ipv6-address;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/ipEndPoint/address/ipv6Address</i>
- *
- */
-public interface Ipv6Address
- extends
- DataObject,
- Augmentable<Ipv6Address>,
- Address
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipv6Address");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address</code> <code>ipv6Address</code>, or <code>null</code> if not present
- */
- org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.@Nullable Ipv6Address getIpv6Address();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint.address;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint.Address;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * case ipv6Prefix {
- * leaf ipv6Prefix {
- * type inet:ipv6-prefix;
- * }
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/ipEndPoint/address/ipv6Prefix</i>
- *
- */
-public interface Ipv6Prefix
- extends
- DataObject,
- Augmentable<Ipv6Prefix>,
- Address
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipv6Prefix");
-
- /**
- * @return <code>org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix</code> <code>ipv6Prefix</code>, or <code>null</code> if not present
- */
- org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.@Nullable Ipv6Prefix getIpv6Prefix();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.snssaiupfinfoitem;
-import java.lang.Override;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.DnnUpfInfoItem;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.SnssaiUpfInfoItem;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.ChildOf;
-import org.opendaylight.yangtools.yang.binding.Identifiable;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * list dnnUpfInfo {
- * key dnn;
- * uses DnnUpfInfoItem;
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/SnssaiUpfInfoItem/dnnUpfInfo</i>
- *
- * <p>To create instances of this class use {@link DnnUpfInfoBuilder}.
- * @see DnnUpfInfoBuilder
- * @see DnnUpfInfoKey
- *
- */
-public interface DnnUpfInfo
- extends
- ChildOf<SnssaiUpfInfoItem>,
- Augmentable<DnnUpfInfo>,
- DnnUpfInfoItem,
- Identifiable<DnnUpfInfoKey>
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("dnnUpfInfo");
-
- @Override
- DnnUpfInfoKey key();
-
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.snssaiupfinfoitem;
-import com.google.common.base.MoreObjects;
-import java.lang.Override;
-import java.lang.String;
-import java.util.Objects;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TDnn;
-import org.opendaylight.yangtools.yang.binding.CodeHelpers;
-import org.opendaylight.yangtools.yang.binding.Identifier;
-
-public class DnnUpfInfoKey
- implements Identifier<DnnUpfInfo> {
- private static final long serialVersionUID = -3246452801435528856L;
- private final TDnn _dnn;
-
-
- public DnnUpfInfoKey(TDnn _dnn) {
-
-
- this._dnn = _dnn;
- }
-
- /**
- * Creates a copy from Source Object.
- *
- * @param source Source object
- */
- public DnnUpfInfoKey(DnnUpfInfoKey source) {
- this._dnn = source._dnn;
- }
-
-
- public TDnn getDnn() {
- return _dnn;
- }
-
-
- @Override
- public int hashCode() {
- return CodeHelpers.wrapperHashCode(_dnn);
- }
-
- @Override
- public boolean equals(java.lang.Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (getClass() != obj.getClass()) {
- return false;
- }
- DnnUpfInfoKey other = (DnnUpfInfoKey) obj;
- if (!Objects.equals(_dnn, other._dnn)) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- final MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(DnnUpfInfoKey.class);
- CodeHelpers.appendValue(helper, "_dnn", _dnn);
- return helper.toString();
- }
-}
-
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.tai;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.$YangModuleInfoImpl;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.PLMNId;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.Tai;
-import org.opendaylight.yangtools.yang.binding.Augmentable;
-import org.opendaylight.yangtools.yang.binding.ChildOf;
-import org.opendaylight.yangtools.yang.common.QName;
-
-/**
- *
- * <p>
- * This class represents the following YANG schema fragment defined in module <b>_3gpp-common-yang-types</b>
- * <pre>
- * container plmnId {
- * uses pLMNId;
- * }
- * </pre>The schema path to identify an instance is
- * <i>_3gpp-common-yang-types/Tai/plmnId</i>
- *
- * <p>To create instances of this class use {@link PlmnIdBuilder}.
- * @see PlmnIdBuilder
- *
- */
-public interface PlmnId
- extends
- ChildOf<Tai>,
- Augmentable<PlmnId>,
- PLMNId
-{
-
-
-
- public static final QName QNAME = $YangModuleInfoImpl.qnameOf("plmnId");
-
-
-}
-
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.gran;
-
-import java.util.Optional;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.DataProvider;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.service.NetworkElement;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.service.NetworkElementService;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.NetworkElementDeviceType;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * @author herbert
- *
- */
-public class GRanNetworkElement implements NetworkElement {
-
- private static final Logger log = LoggerFactory.getLogger(GRanNetworkElement.class);
-
- private final NetconfAccessor netconfAccessor;
- @SuppressWarnings("unused")
- private final DataProvider databaseService;
-
- public GRanNetworkElement(NetconfAccessor netconfAccess, DataProvider databaseService) {
- log.info("Create {}", GRanNetworkElement.class.getSimpleName());
- this.netconfAccessor = netconfAccess;
- this.databaseService = databaseService;
- }
-
- @Override
- public void register() {
- log.info("Register actions should be here");
- }
-
- @Override
- public void deregister() {
- log.info("deRegister actions should be here");
- }
-
- @Override
- public void warmstart() {
- log.info("Warmstart actions should be here");
- }
-
- @Override
- public NodeId getNodeId() {
- return netconfAccessor.getNodeId();
- }
-
- @Override
- public <L extends NetworkElementService> Optional<L> getService(Class<L> clazz) {
- return Optional.empty();
- }
-
- @Override
- public NetworkElementDeviceType getDeviceType() {
- return NetworkElementDeviceType.RAN3GPP;
- }
-
- @Override
- public Optional<NetconfAccessor> getAcessor() {
- return Optional.of(netconfAccessor);
- }
-
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.gran;
-
-import java.util.Optional;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.factory.NetworkElementFactory;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.service.NetworkElement;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.service.DeviceManagerServiceProvider;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.top.rev180731.TopGrp;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class GRanNetworkElementFactory implements NetworkElementFactory {
-
- private static final Logger log = LoggerFactory.getLogger(GRanNetworkElementFactory.class);
-
- @Override
- public Optional<NetworkElement> create(NetconfAccessor acessor, DeviceManagerServiceProvider serviceProvider) {
- if (acessor.getCapabilites().isSupportingNamespace(TopGrp.QNAME)) {
- log.info("Create device {} ", GRanNetworkElement.class.getName());
- return Optional.of(new GRanNetworkElement(acessor, serviceProvider.getDataProvider()));
- } else {
- return Optional.empty();
- }
- }
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.gran.impl;
-
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.factory.FactoryRegistration;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.service.NetconfNetworkElementService;
-import org.oransc.oam.features.devicemanager.gran.GRanNetworkElementFactory;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class DeviceManagerGRanImpl implements AutoCloseable {
-
- private static final Logger LOG = LoggerFactory.getLogger(DeviceManagerGRanImpl.class);
- private static final String APPLICATION_NAME = "DeviceManagerGRan";
-
- private NetconfNetworkElementService netconfNetworkElementService;
-
- private Boolean devicemanagerInitializationOk;
- private FactoryRegistration<GRanNetworkElementFactory> factoryRegistration;
-
- // Blueprint 1
- public DeviceManagerGRanImpl() {
- LOG.info("Creating provider for {}", APPLICATION_NAME);
- devicemanagerInitializationOk = false;
-
- netconfNetworkElementService = null;
- factoryRegistration = null;
-
- }
- public void setNetconfNetworkElementService(NetconfNetworkElementService netconfNetworkElementService) {
- this.netconfNetworkElementService = netconfNetworkElementService;
- }
-
- public void init() throws Exception {
-
- LOG.info("Session Initiated start {}", APPLICATION_NAME);
- // Intialization
- factoryRegistration = netconfNetworkElementService.registerNetworkElementFactory(new GRanNetworkElementFactory());
- netconfNetworkElementService.writeToEventLog(APPLICATION_NAME, "startup", "done");
- this.devicemanagerInitializationOk = true;
-
- LOG.info("Session Initiated end. Initialization done {}", devicemanagerInitializationOk);
- }
-
- @Override
- public void close() throws Exception {
- LOG.info("closing ...");
- if (factoryRegistration != null) {
- factoryRegistration.close();
- }
- LOG.info("closing done");
- }
-
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2019 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<blueprint xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
- xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" odl:use-default-for-reference-types="true">
-
- <reference id="netconfNetworkElementService"
- availability="mandatory" activation="eager"
- interface="org.onap.ccsdk.features.sdnr.wt.devicemanager.service.NetconfNetworkElementService"/>
-
- <bean id="provider"
- class="org.oransc.oam.features.devicemanager.gran.impl.DeviceManagerGRanImpl"
- init-method="init" destroy-method="close">
- <property name="netconfNetworkElementService" ref="netconfNetworkElementService"/>
- </bean>
-</blueprint>
+++ /dev/null
-#
-# ============LICENSE_START=======================================================
-# ONAP : ccsdk features
-# ================================================================================
-# Copyright (C) 2020 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=======================================================
-#
-#
-
-# Properties filled in by maven during build process
-version = ${project.version}
-build = ${buildtime}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.gran.test;
-
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.when;
-
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.service.DeviceManagerServiceProvider;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.service.NetconfNetworkElementService;
-import org.oransc.oam.features.devicemanager.gran.GRanNetworkElementFactory;
-import org.oransc.oam.features.devicemanager.gran.impl.DeviceManagerGRanImpl;
-
-public class TestDeviceManagerGRanImpl {
- GRanNetworkElementFactory factory = new GRanNetworkElementFactory();
- DeviceManagerServiceProvider serviceProvider;
-
- @Test
- public void test() throws Exception {
- serviceProvider = mock(DeviceManagerServiceProvider.class);
- NetconfNetworkElementService netconfNetworkElementService = mock(NetconfNetworkElementService.class);
- when(netconfNetworkElementService.registerNetworkElementFactory(factory)).thenReturn(null);
- when(netconfNetworkElementService.getServiceProvider()).thenReturn(serviceProvider);
-
- DeviceManagerGRanImpl devMgrGRan = new DeviceManagerGRanImpl();
-
- devMgrGRan.setNetconfNetworkElementService(netconfNetworkElementService);
- devMgrGRan.init();
- devMgrGRan.close();
-
- }
-
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.gran.test;
-
-import static org.junit.Assert.assertEquals;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.when;
-
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.DataProvider;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
-import org.oransc.oam.features.devicemanager.gran.GRanNetworkElement;
-
-public class TestGRanNetworkElement {
-
- private static final String NODEID = "node1";
-
- @Test
- public void test() {
- NetconfAccessor netconfAccessor = mock(NetconfAccessor.class);
- DataProvider databaseService = mock(DataProvider.class);
-
- when(netconfAccessor.getNodeId()).thenReturn(new NodeId(NODEID));
-
- GRanNetworkElement gRanNe = new GRanNetworkElement(netconfAccessor, databaseService);
- assertEquals(3, gRanNe.getDeviceType().getIntValue());
- assertEquals("RAN3GPP", gRanNe.getDeviceType().getName());
- assertEquals(NODEID, gRanNe.getNodeId().getValue());
-
- gRanNe.register();
- gRanNe.deregister();
- gRanNe.warmstart();
- gRanNe.getAcessor();
- gRanNe.getService(null);
-
- }
-
-
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.gran.test;
-
-import static org.junit.Assert.*;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.when;
-
-import org.junit.Before;
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.service.DeviceManagerServiceProvider;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.Capabilities;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor;
-import org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.top.rev180731.TopGrp;
-import org.oransc.oam.features.devicemanager.gran.GRanNetworkElementFactory;
-
-
-public class TestGRanNetworkElementFactory {
-
- Capabilities capabilities;
- NetconfAccessor netconfAccessor;
- DeviceManagerServiceProvider devMgrService;
-
- @SuppressWarnings("unused")
- @Before
- public void init() {
- capabilities = mock(Capabilities.class);
- netconfAccessor = mock(NetconfAccessor.class);
- devMgrService = mock(DeviceManagerServiceProvider.class);
-
- when(netconfAccessor.getCapabilites()).thenReturn(capabilities);
- when(devMgrService.getDataProvider()).thenReturn(null);
-
- }
-
- @Test
- public void testCreate() throws Exception {
- when(netconfAccessor.getCapabilites().isSupportingNamespace(TopGrp.QNAME)).thenReturn(true);
-
- GRanNetworkElementFactory gRanNeFactory = new GRanNetworkElementFactory();
- assertTrue((gRanNeFactory.create(netconfAccessor, devMgrService)).isPresent());
- }
-
- @Test
- public void testCreateNone() throws Exception {
- when(netconfAccessor.getCapabilites().isSupportingNamespace(TopGrp.QNAME)).thenReturn(false);
-
- GRanNetworkElementFactory gRanNeFactory = new GRanNetworkElementFactory();
- assertTrue(!(gRanNeFactory.create(netconfAccessor, devMgrService).isPresent()));
- }
-
-}
+++ /dev/null
-#
-# ============LICENSE_START=======================================================
-# ONAP : ccsdk features
-# ================================================================================
-# Copyright (C) 2020 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=======================================================
-#
-#
-
-# SLF4J's SimpleLogger configuration file
-# Simple implementation of Logger that sends all enabled log messages, for all defined loggers, to System.err.
-
-# Default logging detail level for all instances of SimpleLogger.
-# Must be one of ("trace", "debug", "info", "warn", or "error").
-# If not specified, defaults to "info".
-org.slf4j.simpleLogger.defaultLogLevel=info
-
-# Logging detail level for a SimpleLogger instance named "xxx.yyy.zzz".
-# Must be one of ("trace", "debug", "info", "warn", or "error").
-# If not specified, the default logging detail level is used.
-# org.slf4j.simpleLogger.log.xxx.yyy=debug
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.devicemanager=info
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.devicemanager.test=debug
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.database=debug
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.devicemanager.archiveservice=info
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.devicemanager.base.internalTypes.Resources=info
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.devicemanager.base.netconf.container=info
-
-# Set to true if you want the current date and time to be included in output messages.
-# Default is false, and will output the number of milliseconds elapsed since startup.
-#org.slf4j.simpleLogger.showDateTime=false
-
-# The date and time format to be used in the output messages.
-# The pattern describing the date and time format is the same that is used in java.text.SimpleDateFormat.
-# If the format is not specified or is invalid, the default format is used.
-# The default format is yyyy-MM-dd HH:mm:ss:SSS Z.
-#org.slf4j.simpleLogger.dateTimeFormat=yyyy-MM-dd HH:mm:ss:SSS Z
-
-# Set to true if you want to output the current thread name.
-# Defaults to true.
-#org.slf4j.simpleLogger.showThreadName=true
-
-# Set to true if you want the Logger instance name to be included in output messages.
-# Defaults to true.
-#org.slf4j.simpleLogger.showLogName=true
-
-# Set to true if you want the last component of the name to be included in output messages.
-# Defaults to false.
-#org.slf4j.simpleLogger.showShortLogName=false
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<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.o-ran-sc.oam.features.parent</groupId>
- <artifactId>single-feature-parent</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.o-ran-sc.oam.features.devicemanager</groupId>
- <artifactId>devicemanager-oran-ru-fh-feature</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>feature</packaging>
-
- <name>o-ran-sc-features :: ${project.artifactId}</name>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>devicemanager-oran-ru-fh-provider</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-
- <repositories>
- <repository>
- <id>onap-public</id>
- <url>https://nexus.onap.org/content/groups/public/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>onap-staging</id>
- <url>https://nexus.onap.org/content/groups/staging/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-release</id>
- <name>onap-repository-releases</name>
- <url>https://nexus.onap.org/content/repositories/releases/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-snapshot</id>
- <name>onap-repository-snapshots</name>
- <url>https://nexus.onap.org/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
-</project>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<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.o-ran-sc.oam.features.parent</groupId>
- <artifactId>odlparent-lite</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.o-ran-sc.oam.features.devicemanager</groupId>
- <artifactId>devicemanager-oran-ru-fh-installer</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>o-ran-sc-features :: ${project.artifactId}</name>
-
- <properties>
- <application.name>devicemanager-oran-ru-fh</application.name>
- <include.transitive.dependencies>false</include.transitive.dependencies>
- </properties>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>mdsal-artifacts</artifactId>
- <version>${odl.controller.mdsal.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>${application.name}-feature</artifactId>
- <version>${project.version}</version>
- <type>xml</type>
- <classifier>features</classifier>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>${application.name}-provider</artifactId>
- <version>${project.version}</version>
- </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>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-nested-dependencies</id>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <phase>prepare-package</phase>
- <configuration>
- <transitive>true</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>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <repositories>
- <repository>
- <id>onap-public</id>
- <url>https://nexus.onap.org/content/groups/public/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>onap-staging</id>
- <url>https://nexus.onap.org/content/groups/staging/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-release</id>
- <name>onap-repository-releases</name>
- <url>https://nexus.onap.org/content/repositories/releases/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-snapshot</id>
- <name>onap-repository-snapshots</name>
- <url>https://nexus.onap.org/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
-</project>
+++ /dev/null
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2017-2020 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:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
- 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>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<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.o-ran-sc.oam.features.parent</groupId>
- <artifactId>binding-parent</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.o-ran-sc.oam.features.devicemanager</groupId>
- <artifactId>devicemanager-oran-ru-fh-model</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>o-ran-sc-features :: ${project.artifactId}</name>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
-
- <properties>
- <maven.javadoc.skip>true</maven.javadoc.skip>
- </properties>
-
- <dependencies>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>**/gen/**</exclude>
- <exclude>**/generated-sources/**</exclude>
- <exclude>**/yang-gen-sal/**</exclude>
- <exclude>**/pax/**</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <repositories>
- <repository>
- <id>onap-public</id>
- <url>https://nexus.onap.org/content/groups/public/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>onap-staging</id>
- <url>https://nexus.onap.org/content/groups/staging/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-release</id>
- <name>onap-repository-releases</name>
- <url>https://nexus.onap.org/content/repositories/releases/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-snapshot</id>
- <name>onap-repository-snapshots</name>
- <url>https://nexus.onap.org/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
-
-</project>
+++ /dev/null
-module devicemanager-oran {
-
- yang-version 1;
- namespace "urn:opendaylight:params:xml:ns:yang:devicemanager-oran";
- prefix devicemanager-oran;
-
- organization
- "highstreet technologies GmbH";
- contact
- "Web: <https://highstreet-technologies.com>
- O-RAN: <https://wiki.o-ran-sc.org/display/OAM/Operations+and+Maintenance";
-
- description
- "DeviceManager Open RAN Api Module
-
- Copyright 2019 highstreet technologies GmbH 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.";
-
- revision 2019-11-15 {
- description
- "Initial revision";
- reference
- "https://jira.onap.org/browse/SDNC-877";
- }
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<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.o-ran-sc.oam.features.parent</groupId>
- <artifactId>odlparent-lite</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.o-ran-sc.oam.features.devicemanager</groupId>
- <artifactId>devicemanager-oran-ru-fh-top</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>o-ran-sc-features :: ${project.artifactId}</name>
-
- <properties>
- <feature-name>devicemanager-oran-ru-fh</feature-name>
- </properties>
-
- <modules>
- <module>model</module>
- <module>provider</module>
- <module>feature</module>
- <module>installer</module>
- </modules>
-
- <repositories>
- <repository>
- <id>onap-public</id>
- <url>https://nexus.onap.org/content/groups/public/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>onap-staging</id>
- <url>https://nexus.onap.org/content/groups/staging/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-release</id>
- <name>onap-repository-releases</name>
- <url>https://nexus.onap.org/content/repositories/releases/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-snapshot</id>
- <name>onap-repository-snapshots</name>
- <url>https://nexus.onap.org/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
-</project>
+++ /dev/null
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH 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==========================================================================
- */
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2020 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<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.o-ran-sc.oam.features.parent</groupId>
- <artifactId>binding-parent</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.o-ran-sc.oam.features.devicemanager</groupId>
- <artifactId>devicemanager-oran-ru-fh-provider</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>o-ran-sc-features :: ${project.artifactId}</name>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
-
- <properties>
- <checkstyle.skip>true</checkstyle.skip> <!-- POM configuration -->
- <maven.javadoc.skip>true</maven.javadoc.skip>
- <maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
- <buildtime>${maven.build.timestamp} UTC</buildtime>
- <databaseport>49400</databaseport>
- </properties>
-
- <dependencies>
- <!-- begin for testing -->
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <scope>test</scope>
- </dependency>
-
- <!-- end for testing -->
- <dependency>
- <groupId>org.o-ran-sc.scp-oam-modeling.features</groupId>
- <artifactId>o-ran-ru-fh-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-devicemanager-model</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-netconfnode-state-service-model</artifactId>
- <version>${project.version}</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>sal-netconf-connector</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-singleton-common-api</artifactId>
- <scope>provided</scope>
- </dependency>
- </dependencies>
-
- <build>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>**/gen/**</exclude>
- <exclude>**/generated-sources/**</exclude>
- <exclude>**/yang-gen-sal/**</exclude>
- <exclude>**/pax/**</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <repositories>
- <repository>
- <id>onap-public</id>
- <url>https://nexus.onap.org/content/groups/public/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>onap-staging</id>
- <url>https://nexus.onap.org/content/groups/staging/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-release</id>
- <name>onap-repository-releases</name>
- <url>https://nexus.onap.org/content/repositories/releases/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-snapshot</id>
- <name>onap-repository-snapshots</name>
- <url>https://nexus.onap.org/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
-</project>
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.alarms.rev190911;
-import java.lang.String;
-import java.lang.UnsupportedOperationException;
-
-/**
- * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string representation.
- * In some cases it is very difficult to automate it since there can be unions such as (uint32 - uint16), or (string - uint32).
- *
- * The reason behind putting it under src/main/java is:
- * This class is generated in form of a stub and needs to be finished by the user. This class is generated only once to prevent
- * loss of user code.
- *
- */
-public class OperatorStateBuilder {
- private OperatorStateBuilder() {
- //Exists only to defeat instantiation.
- }
-
- public static OperatorState getDefaultInstance(String defaultValue) {
- throw new UnsupportedOperationException("Not yet implemented");
- }
-
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.alarms.rev190911;
-import java.lang.String;
-import java.lang.UnsupportedOperationException;
-
-/**
- * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string representation.
- * In some cases it is very difficult to automate it since there can be unions such as (uint32 - uint16), or (string - uint32).
- *
- * The reason behind putting it under src/main/java is:
- * This class is generated in form of a stub and needs to be finished by the user. This class is generated only once to prevent
- * loss of user code.
- *
- */
-public class ResourceBuilder {
- private ResourceBuilder() {
- //Exists only to defeat instantiation.
- }
-
- public static Resource getDefaultInstance(String defaultValue) {
- throw new UnsupportedOperationException("Not yet implemented");
- }
-
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.alarms.rev190911;
-import java.lang.String;
-import java.lang.UnsupportedOperationException;
-
-/**
- * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string representation.
- * In some cases it is very difficult to automate it since there can be unions such as (uint32 - uint16), or (string - uint32).
- *
- * The reason behind putting it under src/main/java is:
- * This class is generated in form of a stub and needs to be finished by the user. This class is generated only once to prevent
- * loss of user code.
- *
- */
-public class ResourceMatchBuilder {
- private ResourceMatchBuilder() {
- //Exists only to defeat instantiation.
- }
-
- public static ResourceMatch getDefaultInstance(String defaultValue) {
- throw new UnsupportedOperationException("Not yet implemented");
- }
-
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.alarms.rev190911;
-import java.lang.String;
-import java.lang.UnsupportedOperationException;
-
-/**
- * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string representation.
- * In some cases it is very difficult to automate it since there can be unions such as (uint32 - uint16), or (string - uint32).
- *
- * The reason behind putting it under src/main/java is:
- * This class is generated in form of a stub and needs to be finished by the user. This class is generated only once to prevent
- * loss of user code.
- *
- */
-public class SeverityWithClearBuilder {
- private SeverityWithClearBuilder() {
- //Exists only to defeat instantiation.
- }
-
- public static SeverityWithClear getDefaultInstance(String defaultValue) {
- throw new UnsupportedOperationException("Not yet implemented");
- }
-
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.alarms.rev190911.alarms;
-import java.lang.String;
-import java.lang.UnsupportedOperationException;
-
-/**
- * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string representation.
- * In some cases it is very difficult to automate it since there can be unions such as (uint32 - uint16), or (string - uint32).
- *
- * The reason behind putting it under src/main/java is:
- * This class is generated in form of a stub and needs to be finished by the user. This class is generated only once to prevent
- * loss of user code.
- *
- */
-public class ControlMaxAlarmStatusChangesBuilder {
- private ControlMaxAlarmStatusChangesBuilder() {
- //Exists only to defeat instantiation.
- }
-
- public static Control.MaxAlarmStatusChanges getDefaultInstance(String defaultValue) {
- throw new UnsupportedOperationException("Not yet implemented");
- }
-
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * O-RAN-SC : oam/ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.oran.impl;
-
-import org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.factory.FactoryRegistration;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.service.NetconfNetworkElementService;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class DeviceManagerORanImpl implements AutoCloseable {
-
- private static final Logger LOG = LoggerFactory.getLogger(DeviceManagerORanImpl.class);
- private static final String APPLICATION_NAME = "DeviceManagerORan";
- @SuppressWarnings("unused")
- private static final String CONFIGURATIONFILE = "etc/devicemanager-oran.properties";
-
-
- private NetconfNetworkElementService netconfNetworkElementService;
-
- private HtDatabaseClient htDatabaseClient;
- private Boolean devicemanagerInitializationOk = false;
- private FactoryRegistration<ORanNetworkElementFactory> resORan;
-
- // Blueprint begin
- public DeviceManagerORanImpl() {
- LOG.info("Creating provider for {}", APPLICATION_NAME);
- resORan = null;
- }
-
- public void setNetconfNetworkElementService(NetconfNetworkElementService netconfNetworkElementService) {
- this.netconfNetworkElementService = netconfNetworkElementService;
- }
-
- public void init() throws Exception {
-
- LOG.info("Session Initiated start {}", APPLICATION_NAME);
-
- resORan = netconfNetworkElementService.registerNetworkElementFactory(new ORanNetworkElementFactory());
-
-
- netconfNetworkElementService.writeToEventLog(APPLICATION_NAME, "startup", "done");
- this.devicemanagerInitializationOk = true;
-
- LOG.info("Session Initiated end. Initialization done {}", devicemanagerInitializationOk);
- }
- // Blueprint end
-
- @Override
- public void close() throws Exception {
- LOG.info("closing ...");
- close(htDatabaseClient);
- close(resORan);
- LOG.info("closing done");
- }
-
- /**
- * Used to close all Services, that should support AutoCloseable Pattern
- *
- * @param toClose
- * @throws Exception
- */
- private void close(AutoCloseable... toCloseList) {
- for (AutoCloseable element : toCloseList) {
- if (element != null) {
- try {
- element.close();
- } catch (Exception e) {
- LOG.warn("Fail during close: ", e);
- }
- }
- }
- }
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * O-RAN-SC : oam/ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.oran.impl;
-
-import java.util.List;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.DataProvider;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.IetfNetconfNotificationsListener;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.NetconfCapabilityChange;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.NetconfConfigChange;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.NetconfConfirmedCommit;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.NetconfSessionEnd;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.NetconfSessionStart;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.netconf.config.change.Edit;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.EventlogBuilder;
-import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
-import org.opendaylight.yangtools.yang.binding.InstanceIdentifier.PathArgument;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * Listener for change notifications
- */
-public class ORanChangeNotificationListener implements IetfNetconfNotificationsListener {
-
- private static final Logger log = LoggerFactory.getLogger(ORanChangeNotificationListener.class);
-
- private final NetconfAccessor netconfAccessor;
- private final DataProvider databaseService;
-
- public ORanChangeNotificationListener(NetconfAccessor netconfAccessor, DataProvider databaseService) {
- this.netconfAccessor = netconfAccessor;
- this.databaseService = databaseService;
- }
-
- @Override
- public void onNetconfConfirmedCommit(NetconfConfirmedCommit notification) {
- log.info("onNetconfConfirmedCommit ", notification);
- }
-
- @Override
- public void onNetconfSessionStart(NetconfSessionStart notification) {
- log.info("onNetconfSessionStart ", notification);
- }
-
- @Override
- public void onNetconfSessionEnd(NetconfSessionEnd notification) {
- log.info("onNetconfSessionEnd ", notification);
- }
-
- @Override
- public void onNetconfCapabilityChange(NetconfCapabilityChange notification) {
- log.info("onNetconfCapabilityChange ", notification);
- }
-
- @Override
- public void onNetconfConfigChange(NetconfConfigChange notification) {
- log.info("onNetconfConfigChange (1) {}", notification);
- StringBuffer sb = new StringBuffer();
- List<Edit> editList = notification.nonnullEdit();
- for (Edit edit : editList) {
- if (sb.length() > 0) {
- sb.append(", ");
- }
- sb.append(edit);
-
- EventlogBuilder eventlogBuilder = new EventlogBuilder();
-
- InstanceIdentifier<?> target = edit.getTarget();
- if (target != null) {
- eventlogBuilder.setObjectId(target.toString());
- log.info("TARGET: {} {} {}", target.getClass(), target.getTargetType());
- for (PathArgument pa : target.getPathArguments()) {
- log.info("PathArgument {}", pa);
- }
- }
- eventlogBuilder.setNodeId(netconfAccessor.getNodeId().getValue());
- eventlogBuilder.setNewValue(String.valueOf(edit.getOperation()));
- databaseService.writeEventLog(eventlogBuilder.build());
- }
- log.info("onNetconfConfigChange (2) {}", sb);
- }
-
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * O-RAN-SC : oam/ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.oran.impl;
-
-import org.opendaylight.yang.gen.v1.urn.o.ran.fm._1._0.rev190204.AlarmNotif;
-import org.opendaylight.yang.gen.v1.urn.o.ran.fm._1._0.rev190204.ORanFmListener;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * @author herbert
- *
- */
-public class ORanFaultNotificationListener implements ORanFmListener {
-
- private static final Logger log = LoggerFactory.getLogger(ORanFaultNotificationListener.class);
-
- @Override
- public void onAlarmNotif(AlarmNotif notification) {
-
- log.info("onAlarmNotif {}", notification);
- }
-
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * O-RAN-SC : oam/ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.oran.impl;
-
-import java.util.List;
-import java.util.Optional;
-import org.eclipse.jdt.annotation.NonNull;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.DataProvider;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.service.NetworkElement;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.service.NetworkElementService;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor;
-import org.opendaylight.mdsal.common.api.LogicalDatastoreType;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.rev180313.Hardware;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.rev180313.hardware.Component;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.NetworkElementDeviceType;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
-import org.opendaylight.yangtools.concepts.ListenerRegistration;
-import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
-import org.opendaylight.yangtools.yang.binding.NotificationListener;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- */
-public class ORanNetworkElement implements NetworkElement {
-
- private static final Logger log = LoggerFactory.getLogger(ORanNetworkElement.class);
-
- private final NetconfAccessor netconfAccessor;
-
- private final DataProvider databaseService;
-
- private final ORanToInternalDataModel oRanMapper;
-
- private ListenerRegistration<NotificationListener> oRanListenerRegistrationResult;
- private @NonNull final ORanChangeNotificationListener oRanListener;
- private ListenerRegistration<NotificationListener> oRanFaultListenerRegistrationResult;
- private @NonNull final ORanFaultNotificationListener oRanFaultListener;
-
- ORanNetworkElement(NetconfAccessor netconfAccess, DataProvider databaseService) {
- log.info("Create {}", ORanNetworkElement.class.getSimpleName());
- this.netconfAccessor = netconfAccess;
- this.databaseService = databaseService;
-
- this.oRanListenerRegistrationResult = null;
- this.oRanListener = new ORanChangeNotificationListener(netconfAccessor, databaseService);
-
- this.oRanFaultListenerRegistrationResult = null;
- this.oRanFaultListener = new ORanFaultNotificationListener();
-
- this.oRanMapper = new ORanToInternalDataModel();
-
- }
-
- public void initialReadFromNetworkElement() {
- Hardware hardware = readHardware(netconfAccessor);
- if (hardware != null) {
- List<Component> componentList = hardware.getComponent();
- if (componentList != null) {
- for (Component component : componentList) {
- databaseService
- .writeInventory(oRanMapper.getInternalEquipment(netconfAccessor.getNodeId(), component));
- }
- }
- }
- }
-
- @Override
- public NetworkElementDeviceType getDeviceType() {
- return NetworkElementDeviceType.ORAN;
- }
-
- private Hardware readHardware(NetconfAccessor accessData) {
-
- final Class<Hardware> clazzPac = Hardware.class;
-
- log.info("DBRead Get equipment for class {} from mountpoint {} for uuid {}", clazzPac.getSimpleName(),
- accessData.getNodeId().getValue());
-
- InstanceIdentifier<Hardware> hardwareIID = InstanceIdentifier.builder(clazzPac).build();
-
- Hardware res = accessData.getTransactionUtils().readData(accessData.getDataBroker(),
- LogicalDatastoreType.OPERATIONAL, hardwareIID);
-
- return res;
- }
-
- @Override
- public void register() {
-
- initialReadFromNetworkElement();
- // Register call back class for receiving notifications
- this.oRanListenerRegistrationResult = netconfAccessor.doRegisterNotificationListener(oRanListener);
- this.oRanFaultListenerRegistrationResult = netconfAccessor.doRegisterNotificationListener(oRanFaultListener);
- // Register netconf stream
- netconfAccessor.registerNotificationsStream(NetconfAccessor.DefaultNotificationsStream);
-
-
- }
-
- @Override
- public void deregister() {
- if (oRanListenerRegistrationResult != null) {
- this.oRanListenerRegistrationResult.close();
- }
- if (oRanFaultListenerRegistrationResult != null) {
- this.oRanFaultListenerRegistrationResult.close();
- } ;
- }
-
-
- @Override
- public NodeId getNodeId() {
- return netconfAccessor.getNodeId();
- }
-
- @Override
- public <L extends NetworkElementService> Optional<L> getService(Class<L> clazz) {
- return Optional.empty();
- }
-
- @Override
- public void warmstart() {}
-
- @Override
- public Optional<NetconfAccessor> getAcessor() {
- return Optional.of(netconfAccessor);
- }
-
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * O-RAN-SC : oam/ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.oran.impl;
-
-import java.util.Optional;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.factory.NetworkElementFactory;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.service.NetworkElement;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.service.DeviceManagerServiceProvider;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.Capabilities;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor;
-import org.opendaylight.yang.gen.v1.urn.o.ran.hardware._1._0.rev190328.ORANHWCOMPONENT;
-import org.opendaylight.yangtools.yang.common.QName;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class ORanNetworkElementFactory implements NetworkElementFactory {
-
- private static final Logger log = LoggerFactory.getLogger(ORanNetworkElementFactory.class);
- //Workaround
- private static final QName OneCell =
- QName.create("urn:onf:otcc:wireless:yang:radio-access:commscope-onecell", "2020-06-22", "onecell").intern();
-
-
- @Override
- public Optional<NetworkElement> create(NetconfAccessor acessor, DeviceManagerServiceProvider serviceProvider) {
- Capabilities capabilites = acessor.getCapabilites();
- if (!capabilites.isSupportingNamespace(OneCell)) {
- if (capabilites.isSupportingNamespace(ORANHWCOMPONENT.QNAME)) {
- log.info("Create device {} ", ORanNetworkElement.class.getName());
- return Optional.of(new ORanNetworkElement(acessor, serviceProvider.getDataProvider()));
- }
- }
- return Optional.empty();
- }
-}
+++ /dev/null
-/**
- * ============LICENSE_START========================================================================
- * O-RAN-SC : oam/ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.oran.impl;
-
-import java.util.ArrayList;
-import java.util.List;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.rev180313.hardware.Component;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.Inventory;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.InventoryBuilder;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
-
-/**
- * @author herbert
- *
- */
-public class ORanToInternalDataModel {
-
-
- public Inventory getInternalEquipment(NodeId nodeId, Component component) {
-
- InventoryBuilder inventoryBuilder = new InventoryBuilder();
-
- // General
- inventoryBuilder.setNodeId(nodeId.getValue());
- inventoryBuilder.setParentUuid(component.getParent());
- inventoryBuilder.setTreeLevel(new Long(component.getParentRelPos()));
-
- inventoryBuilder.setUuid(component.getUuid().getValue());
- // -- String list with ids of holders
- List<String> containerHolderKeyList = new ArrayList<>();
- List<String> containerHolderList = component.getContainsChild();
- if (containerHolderList != null) {
- for (String containerHolder : containerHolderList) {
- containerHolderKeyList.add(containerHolder);
- }
- }
- inventoryBuilder.setContainedHolder(containerHolderKeyList);
- // -- Manufacturer related things
- inventoryBuilder.setManufacturerName(component.getName());
-
- // Equipment type
- inventoryBuilder.setDescription(component.getDescription());
- inventoryBuilder.setModelIdentifier(component.getModelName());
- inventoryBuilder.setPartTypeId(component.getXmlClass().getName());
- inventoryBuilder.setTypeName(component.getName());
- inventoryBuilder.setVersion(component.getHardwareRev());
-
- // Equipment instance
- inventoryBuilder.setDate(component.getMfgDate().getValue());
- inventoryBuilder.setSerial(component.getSerialNum());
-
- return inventoryBuilder.build();
- }
-
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2019 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<blueprint xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
- xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" odl:use-default-for-reference-types="true">
-
- <reference id="netconfNetworkElementService"
- availability="mandatory" activation="eager"
- interface="org.onap.ccsdk.features.sdnr.wt.devicemanager.service.NetconfNetworkElementService"/>
-
- <bean id="provider"
- class="org.oransc.oam.features.devicemanager.oran.impl.DeviceManagerORanImpl"
- init-method="init" destroy-method="close">
- <property name="netconfNetworkElementService" ref="netconfNetworkElementService"/>
- </bean>
-</blueprint>
+++ /dev/null
-#
-# ============LICENSE_START=======================================================
-# ONAP : ccsdk features
-# ================================================================================
-# Copyright (C) 2020 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=======================================================
-#
-#
-
-# Properties filled in by maven during build process
-version = ${project.version}
-build = ${buildtime}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * O-RAN-SC : oam/ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.oran.test;
-
-import static org.mockito.Mockito.mock;
-import java.io.IOException;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.service.NetconfNetworkElementService;
-import org.oransc.oam.features.devicemanager.oran.impl.DeviceManagerORanImpl;
-
-public class TestDeviceManagerORanImpl {
- DeviceManagerORanImpl devMgrOran;
-
- @Before
- public void init() throws InterruptedException, IOException {}
-
- @Test
- public void test() throws Exception {
- devMgrOran = new DeviceManagerORanImpl();
- NetconfNetworkElementService netconfNetworkElementService = mock(NetconfNetworkElementService.class);
-
- try {
- devMgrOran.setNetconfNetworkElementService(netconfNetworkElementService);
- devMgrOran.init();
- } catch (Exception e) {
- throw e;
- }
- }
-
- @After
- public void cleanUp() throws Exception {
- devMgrOran.close();
- }
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * O-RAN-SC : oam/ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.oran.test;
-
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.iana.hardware.rev180313.HardwareClass;
-
-public interface TestHardwareClass extends HardwareClass {
-
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * O-RAN-SC : oam/ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.oran.test;
-
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.verify;
-import static org.mockito.Mockito.when;
-import java.util.Arrays;
-import java.util.List;
-import org.eclipse.jdt.annotation.NonNull;
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.DataProvider;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netconf.base._1._0.rev110601.EditOperationType;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.NetconfConfigChange;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.netconf.config.change.Edit;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.netconf.config.change.EditBuilder;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.EventlogBuilder;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.EventlogEntity;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
-import org.opendaylight.yangtools.yang.binding.InstanceIdentifier.PathArgument;
-import org.oransc.oam.features.devicemanager.oran.impl.ORanChangeNotificationListener;
-
-public class TestORanChangeNotificationListener {
-
- private static final String NODEID = "node1";
-
- @Test
- public void test() {
-
- NetconfAccessor netconfAccessor = mock(NetconfAccessor.class);
- DataProvider databaseService = mock(DataProvider.class);
- ORanChangeNotificationListener notifListener =
- new ORanChangeNotificationListener(netconfAccessor, databaseService);
- when(netconfAccessor.getNodeId()).thenReturn(new NodeId(NODEID));
- Iterable<? extends PathArgument> pathArguments = Arrays.asList(new PathArgument() {
-
- @Override
- public int compareTo(PathArgument arg0) {
- return 0;
- }
-
- @Override
- public Class<? extends DataObject> getType() {
- return DataObject.class;
- }
- });
- InstanceIdentifier<?> target = InstanceIdentifier.create(pathArguments);
-
- notifListener.onNetconfConfigChange(createNotification(EditOperationType.Create, target));
- EventlogEntity event = new EventlogBuilder().setNodeId(NODEID)
- .setNewValue(String.valueOf(EditOperationType.Create)).setObjectId(target.toString()).build();
- verify(databaseService).writeEventLog(event);
-
- }
-
- /**
- * @param type
- * @return
- */
- private static NetconfConfigChange createNotification(EditOperationType type, InstanceIdentifier<?> target) {
- NetconfConfigChange change = mock(NetconfConfigChange.class);
-
- @SuppressWarnings("null")
- final @NonNull List<Edit> edits = Arrays.asList(new EditBuilder().setOperation(type).setTarget(target).build());
- when(change.nonnullEdit()).thenReturn(edits);
- return change;
- }
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * O-RAN-SC : oam/ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.oran.test;
-
-import org.junit.Test;
-import org.oransc.oam.features.devicemanager.oran.impl.ORanFaultNotificationListener;
-
-public class TestORanFaultNotificationListener {
-
- @Test
- public void test() {
- ORanFaultNotificationListener faultListener = new ORanFaultNotificationListener();
- faultListener.onAlarmNotif(null);
- }
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * O-RAN-SC : oam/ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.oran.test;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.spy;
-import static org.mockito.Mockito.when;
-import java.io.IOException;
-import java.util.Optional;
-import org.junit.After;
-import org.junit.BeforeClass;
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.DataProvider;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.service.NetworkElement;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.service.DeviceManagerServiceProvider;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.Capabilities;
-import org.opendaylight.yang.gen.v1.urn.o.ran.hardware._1._0.rev190328.ORANHWCOMPONENT;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
-import org.opendaylight.yangtools.yang.common.QName;
-import org.oransc.oam.features.devicemanager.oran.impl.ORanNetworkElementFactory;
-import org.oransc.oam.features.devicemanager.oran.test.mock.NetconfAccessorMock;
-import org.oransc.oam.features.devicemanager.oran.test.mock.TransactionUtilsMock;
-
-public class TestORanNetworkElement {
-
- static NetconfAccessorMock accessor;
- static DeviceManagerServiceProvider serviceProvider;
- static Capabilities capabilities;
- QName qCapability;
-
- @BeforeClass
- public static void init() throws InterruptedException, IOException {
- capabilities = mock(Capabilities.class);
- //accessor = mock(NetconfAccessorMock.class);
- accessor = spy(new NetconfAccessorMock(null, null, null, null));
- serviceProvider = mock(DeviceManagerServiceProvider.class);
-
- NodeId nNodeId = new NodeId("nSky");
- when(accessor.getCapabilites()).thenReturn(capabilities);
- when (accessor.getNodeId()).thenReturn(nNodeId);
- when (accessor.getTransactionUtils()).thenReturn(new TransactionUtilsMock());
-
- DataProvider dataProvider = mock(DataProvider.class);
- when(serviceProvider.getDataProvider()).thenReturn(dataProvider);
- }
-
- @Test
- public void test() {
- Optional<NetworkElement> oRanNe;
- when(accessor.getCapabilites().isSupportingNamespace(ORANHWCOMPONENT.QNAME)).thenReturn(true);
- ORanNetworkElementFactory factory = new ORanNetworkElementFactory();
- oRanNe = factory.create(accessor, serviceProvider);
- assertTrue(factory.create(accessor, serviceProvider).isPresent());
- oRanNe.get().register();
- oRanNe.get().deregister();
- oRanNe.get().getAcessor();
- oRanNe.get().getDeviceType();
- assertEquals(oRanNe.get().getNodeId().getValue(), "nSky");
- }
-
- @After
- public void cleanUp() throws Exception {
-
- }
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * O-RAN-SC : oam/ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.oran.test;
-
-import static org.junit.Assert.assertTrue;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.when;
-import java.io.IOException;
-import org.junit.After;
-import org.junit.BeforeClass;
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.service.DeviceManagerServiceProvider;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.Capabilities;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor;
-import org.opendaylight.yang.gen.v1.urn.o.ran.hardware._1._0.rev190328.ORANHWCOMPONENT;
-import org.opendaylight.yangtools.yang.common.QName;
-import org.oransc.oam.features.devicemanager.oran.impl.ORanNetworkElementFactory;
-import org.oransc.oam.features.devicemanager.oran.test.mock.NetconfAccessorMock;
-
-public class TestORanNetworkElementFactory {
-
- static NetconfAccessor accessor;
- static DeviceManagerServiceProvider serviceProvider;
- static Capabilities capabilities;
- QName qCapability;
-
- @BeforeClass
- public static void init() throws InterruptedException, IOException {
- capabilities = mock(Capabilities.class);
- accessor = mock(NetconfAccessorMock.class);
- serviceProvider = mock(DeviceManagerServiceProvider.class);
-
- when(accessor.getCapabilites()).thenReturn(capabilities);
- when(serviceProvider.getDataProvider()).thenReturn(null);
-
-
- }
-
- @Test
- public void testCreateORANHWComponent() throws Exception {
- when(accessor.getCapabilites().isSupportingNamespace(ORANHWCOMPONENT.QNAME)).thenReturn(true);
- ORanNetworkElementFactory factory = new ORanNetworkElementFactory();
- assertTrue((factory.create(accessor, serviceProvider)).isPresent());
- }
-
- @Test
- public void testCreateNone() throws Exception {
- when(accessor.getCapabilites().isSupportingNamespace(ORANHWCOMPONENT.QNAME)).thenReturn(false);
- ORanNetworkElementFactory factory = new ORanNetworkElementFactory();
- assertTrue(!(factory.create(accessor, serviceProvider).isPresent()));
- }
-
- @After
- public void cleanUp() throws Exception {
-
- }
-}
-
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * O-RAN-SC : oam/ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.oran.test;
-
-import static org.junit.Assert.assertEquals;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.when;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.List;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-import org.mockito.Mockito;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.iana.hardware.rev180313.HardwareClass;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.rev180313.hardware.Component;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
-import org.oransc.oam.features.devicemanager.oran.impl.ORanToInternalDataModel;
-
-public class TestORanToInternalDataModel {
-
- NodeId nodeId;
- Component component;
-
- @SuppressWarnings("unchecked")
- @Before
- public void init() throws InterruptedException, IOException {
- nodeId = mock(NodeId.class);
- component = mock(Component.class);
-
- when(nodeId.getValue()).thenReturn("ORan-1000");
- when(component.getParent()).thenReturn("Shelf");
- when(component.getParentRelPos()).thenReturn(0);
- when(component.getUuid()).thenReturn(new Uuid("0Aabcdef-0abc-0cfD-0abC-0123456789AB"));
-
- List<String> list = new ArrayList<String>();
- list.add("Card-01A");
- list.add("Card-01B");
-
- when(component.getContainsChild()).thenReturn(list);
- when(component.getName()).thenReturn("Nokia");
- when(component.getDescription()).thenReturn("ORAN Network Element NO-456");
- Class<? extends HardwareClass> hwClass = TestHardwareClass.class;
- Mockito.<Class<? extends HardwareClass>>when(component.getXmlClass()).thenReturn(hwClass);
-
- DateAndTime dt = new DateAndTime("2020-02-05T12:30:45.283Z");
- when(component.getMfgDate()).thenReturn(dt);
-
- }
-
- @Test
- public void test() throws Exception {
- ORanToInternalDataModel model = new ORanToInternalDataModel();
- model.getInternalEquipment(nodeId, component);
- assertEquals(component.getUuid().getValue(), "0Aabcdef-0abc-0cfD-0abC-0123456789AB");
- assertEquals(component.getMfgDate().getValue(), "2020-02-05T12:30:45.283Z");
-
- }
-
- @After
- public void cleanUp() throws Exception {
-
- }
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * O-RAN-SC : oam/ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.oran.test.mock;
-
-import com.google.common.util.concurrent.ListenableFuture;
-import org.eclipse.jdt.annotation.NonNull;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.Capabilities;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.TransactionUtils;
-import org.opendaylight.mdsal.binding.api.DataBroker;
-import org.opendaylight.mdsal.binding.api.MountPoint;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netconf.notification._1._0.rev080714.CreateSubscriptionOutput;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.node.topology.rev150114.NetconfNode;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
-import org.opendaylight.yangtools.concepts.ListenerRegistration;
-import org.opendaylight.yangtools.yang.binding.NotificationListener;
-import org.opendaylight.yangtools.yang.common.RpcResult;
-
-/**
- */
-public class NetconfAccessorMock implements NetconfAccessor {
-
- private final NodeId nNodeId;
- private final NetconfNode netconfNode;
- private final MountPoint mountpoint;
- private final DataBroker netconfNodeDataBroker;
-
- public NetconfAccessorMock(NodeId nNodeId, NetconfNode netconfNode, MountPoint mountpoint,
- DataBroker netconfNodeDataBroker) {
- this.nNodeId = nNodeId;
- this.netconfNode = netconfNode;
- this.mountpoint = mountpoint;
- this.netconfNodeDataBroker = netconfNodeDataBroker;
- }
-
- @Override
- public NodeId getNodeId() {
- return nNodeId;
- }
-
- @Override
- public NetconfNode getNetconfNode() {
- return netconfNode;
- }
-
- @Override
- public Capabilities getCapabilites() {
- return null;
- }
-
- @Override
- public DataBroker getDataBroker() {
- return netconfNodeDataBroker;
- }
-
- @Override
- public MountPoint getMountpoint() {
- return mountpoint;
- }
-
- @Override
- public TransactionUtils getTransactionUtils() {
- return null;
- }
-
- @Override
- public <T extends NotificationListener> ListenerRegistration<NotificationListener> doRegisterNotificationListener(
- @NonNull T listener) {
- return null;
- }
-
- @Override
- public ListenableFuture<RpcResult<CreateSubscriptionOutput>> registerNotificationsStream(String streamName) {
- return null;
- }
-
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * O-RAN-SC : oam/ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.oran.test.mock;
-
-import java.util.concurrent.atomic.AtomicBoolean;
-import java.util.concurrent.atomic.AtomicReference;
-import org.eclipse.jdt.annotation.Nullable;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.TransactionUtils;
-import org.opendaylight.mdsal.binding.api.DataBroker;
-import org.opendaylight.mdsal.common.api.LogicalDatastoreType;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
-
-public class TransactionUtilsMock implements TransactionUtils {
-
- @Override
- public <T extends DataObject> @Nullable T readData(DataBroker dataBroker, LogicalDatastoreType dataStoreType,
- InstanceIdentifier<T> iid) {
- // TODO Auto-generated method stub
- return null;
- }
-
- @Override
- public <T extends DataObject> @Nullable T readDataOptionalWithStatus(DataBroker dataBroker,
- LogicalDatastoreType dataStoreType, InstanceIdentifier<T> iid, AtomicBoolean noErrorIndication,
- AtomicReference<String> statusIndicator) {
- // TODO Auto-generated method stub
- return null;
- }
-
-}
+++ /dev/null
-#
-# ============LICENSE_START=======================================================
-# ONAP : ccsdk features
-# ================================================================================
-# Copyright (C) 2020 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=======================================================
-#
-#
-
-# SLF4J's SimpleLogger configuration file
-# Simple implementation of Logger that sends all enabled log messages, for all defined loggers, to System.err.
-
-# Default logging detail level for all instances of SimpleLogger.
-# Must be one of ("trace", "debug", "info", "warn", or "error").
-# If not specified, defaults to "info".
-org.slf4j.simpleLogger.defaultLogLevel=info
-
-# Logging detail level for a SimpleLogger instance named "xxx.yyy.zzz".
-# Must be one of ("trace", "debug", "info", "warn", or "error").
-# If not specified, the default logging detail level is used.
-# org.slf4j.simpleLogger.log.xxx.yyy=debug
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.devicemanager=info
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.devicemanager.test=debug
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.database=debug
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.devicemanager.archiveservice=info
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.devicemanager.base.internalTypes.Resources=info
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.devicemanager.base.netconf.container=info
-
-# Set to true if you want the current date and time to be included in output messages.
-# Default is false, and will output the number of milliseconds elapsed since startup.
-#org.slf4j.simpleLogger.showDateTime=false
-
-# The date and time format to be used in the output messages.
-# The pattern describing the date and time format is the same that is used in java.text.SimpleDateFormat.
-# If the format is not specified or is invalid, the default format is used.
-# The default format is yyyy-MM-dd HH:mm:ss:SSS Z.
-#org.slf4j.simpleLogger.dateTimeFormat=yyyy-MM-dd HH:mm:ss:SSS Z
-
-# Set to true if you want to output the current thread name.
-# Defaults to true.
-#org.slf4j.simpleLogger.showThreadName=true
-
-# Set to true if you want the Logger instance name to be included in output messages.
-# Defaults to true.
-#org.slf4j.simpleLogger.showLogName=true
-
-# Set to true if you want the last component of the name to be included in output messages.
-# Defaults to false.
-#org.slf4j.simpleLogger.showShortLogName=false
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<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.o-ran-sc.oam.features.parent</groupId>
- <artifactId>single-feature-parent</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.o-ran-sc.oam.features.devicemanager</groupId>
- <artifactId>devicemanager-xran-ru-fh-feature</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>feature</packaging>
-
- <name>o-ran-sc-features :: ${project.artifactId}</name>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>devicemanager-xran-ru-fh-provider</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-
- <repositories>
- <repository>
- <id>onap-public</id>
- <url>https://nexus.onap.org/content/groups/public/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>onap-staging</id>
- <url>https://nexus.onap.org/content/groups/staging/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-release</id>
- <name>onap-repository-releases</name>
- <url>https://nexus.onap.org/content/repositories/releases/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-snapshot</id>
- <name>onap-repository-snapshots</name>
- <url>https://nexus.onap.org/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
-</project>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<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.o-ran-sc.oam.features.parent</groupId>
- <artifactId>odlparent-lite</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.o-ran-sc.oam.features.devicemanager</groupId>
- <artifactId>devicemanager-xran-ru-fh-installer</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>o-ran-sc-features :: ${project.artifactId}</name>
-
- <properties>
- <application.name>devicemanager-xran-ru-fh</application.name>
- <include.transitive.dependencies>false</include.transitive.dependencies>
- </properties>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>mdsal-artifacts</artifactId>
- <version>${odl.controller.mdsal.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>${application.name}-feature</artifactId>
- <version>${project.version}</version>
- <type>xml</type>
- <classifier>features</classifier>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>${application.name}-provider</artifactId>
- <version>${project.version}</version>
- </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>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-nested-dependencies</id>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <phase>prepare-package</phase>
- <configuration>
- <transitive>true</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>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <repositories>
- <repository>
- <id>onap-public</id>
- <url>https://nexus.onap.org/content/groups/public/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>onap-staging</id>
- <url>https://nexus.onap.org/content/groups/staging/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-release</id>
- <name>onap-repository-releases</name>
- <url>https://nexus.onap.org/content/repositories/releases/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-snapshot</id>
- <name>onap-repository-snapshots</name>
- <url>https://nexus.onap.org/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
-</project>
+++ /dev/null
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2017-2020 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:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
- 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>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<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.o-ran-sc.oam.features.parent</groupId>
- <artifactId>binding-parent</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.o-ran-sc.oam.features.devicemanager</groupId>
- <artifactId>devicemanager-xran-ru-fh-model</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>o-ran-sc-features :: ${project.artifactId}</name>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
-
- <properties>
- <maven.javadoc.skip>true</maven.javadoc.skip>
- </properties>
-
- <dependencies>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>**/gen/**</exclude>
- <exclude>**/generated-sources/**</exclude>
- <exclude>**/yang-gen-sal/**</exclude>
- <exclude>**/pax/**</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <repositories>
- <repository>
- <id>onap-public</id>
- <url>https://nexus.onap.org/content/groups/public/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>onap-staging</id>
- <url>https://nexus.onap.org/content/groups/staging/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-release</id>
- <name>onap-repository-releases</name>
- <url>https://nexus.onap.org/content/repositories/releases/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-snapshot</id>
- <name>onap-repository-snapshots</name>
- <url>https://nexus.onap.org/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
-</project>
+++ /dev/null
-module devicemanager-xran {
-
- yang-version 1;
- namespace "urn:opendaylight:params:xml:ns:yang:devicemanager-xran";
- prefix devicemanager-xran;
-
- organization
- "highstreet technologies GmbH";
- contact
- "Web: <https://www.highstreet-technologies.com>";
-
- description
- "DeviceManager X RAN Api Module
-
- Copyright 2020 highstreet technologies GmbH 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.";
-
- revision 2020-03-09 {
- description
- "Initial revision";
- reference
- "";
- }
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<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.o-ran-sc.oam.features.parent</groupId>
- <artifactId>odlparent-lite</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.o-ran-sc.oam.features.devicemanager</groupId>
- <artifactId>devicemanager-xran-ru-fh-top</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>o-ran-sc-features :: ${project.artifactId}</name>
-
- <properties>
- <feature-name>devicemanager-xran-ru-fh</feature-name>
- </properties>
-
- <modules>
- <module>model</module>
- <module>provider</module>
- <module>feature</module>
- <module>installer</module>
- </modules>
-
- <repositories>
- <repository>
- <id>onap-public</id>
- <url>https://nexus.onap.org/content/groups/public/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>onap-staging</id>
- <url>https://nexus.onap.org/content/groups/staging/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-release</id>
- <name>onap-repository-releases</name>
- <url>https://nexus.onap.org/content/repositories/releases/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-snapshot</id>
- <name>onap-repository-snapshots</name>
- <url>https://nexus.onap.org/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
-</project>
+++ /dev/null
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH 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==========================================================================
- */
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2020 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<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.o-ran-sc.oam.features.parent</groupId>
- <artifactId>binding-parent</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <relativePath/>
- </parent>
-
- <groupId>org.o-ran-sc.oam.features.devicemanager</groupId>
- <artifactId>devicemanager-xran-ru-fh-provider</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>bundle</packaging>
-
- <name>o-ran-sc-features :: ${project.artifactId}</name>
- <licenses>
- <license>
- <name>Apache License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- </license>
- </licenses>
-
- <properties>
- <checkstyle.skip>true</checkstyle.skip> <!-- POM configuration -->
- <maven.javadoc.skip>true</maven.javadoc.skip>
- <maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
- <buildtime>${maven.build.timestamp} UTC</buildtime>
- <databaseport>49400</databaseport>
- </properties>
-
- <dependencies>
- <!-- begin for testing -->
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <scope>test</scope>
- </dependency>
-
- <!-- end for testing -->
- <dependency>
- <groupId>org.o-ran-sc.scp-oam-modeling.features</groupId>
- <artifactId>x-ran-ru-fh-model</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-devicemanager-model</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-netconfnode-state-service-model</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>sal-netconf-connector</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-singleton-common-api</artifactId>
- <scope>provided</scope>
- </dependency>
- </dependencies>
-
- <build>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- <plugins>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <configuration>
- <excludes>
- <exclude>**/gen/**</exclude>
- <exclude>**/generated-sources/**</exclude>
- <exclude>**/yang-gen-sal/**</exclude>
- <exclude>**/pax/**</exclude>
- </excludes>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <repositories>
- <repository>
- <id>onap-public</id>
- <url>https://nexus.onap.org/content/groups/public/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>onap-staging</id>
- <url>https://nexus.onap.org/content/groups/staging/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-release</id>
- <name>onap-repository-releases</name>
- <url>https://nexus.onap.org/content/repositories/releases/</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-snapshot</id>
- <name>onap-repository-snapshots</name>
- <url>https://nexus.onap.org/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
-</project>
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.alarms.rev190911;
-import java.lang.String;
-import java.lang.UnsupportedOperationException;
-
-/**
- * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string representation.
- * In some cases it is very difficult to automate it since there can be unions such as (uint32 - uint16), or (string - uint32).
- *
- * The reason behind putting it under src/main/java is:
- * This class is generated in form of a stub and needs to be finished by the user. This class is generated only once to prevent
- * loss of user code.
- *
- */
-public class OperatorStateBuilder {
- private OperatorStateBuilder() {
- //Exists only to defeat instantiation.
- }
-
- public static OperatorState getDefaultInstance(String defaultValue) {
- throw new UnsupportedOperationException("Not yet implemented");
- }
-
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.alarms.rev190911;
-import java.lang.String;
-import java.lang.UnsupportedOperationException;
-
-/**
- * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string representation.
- * In some cases it is very difficult to automate it since there can be unions such as (uint32 - uint16), or (string - uint32).
- *
- * The reason behind putting it under src/main/java is:
- * This class is generated in form of a stub and needs to be finished by the user. This class is generated only once to prevent
- * loss of user code.
- *
- */
-public class ResourceBuilder {
- private ResourceBuilder() {
- //Exists only to defeat instantiation.
- }
-
- public static Resource getDefaultInstance(String defaultValue) {
- throw new UnsupportedOperationException("Not yet implemented");
- }
-
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.alarms.rev190911;
-import java.lang.String;
-import java.lang.UnsupportedOperationException;
-
-/**
- * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string representation.
- * In some cases it is very difficult to automate it since there can be unions such as (uint32 - uint16), or (string - uint32).
- *
- * The reason behind putting it under src/main/java is:
- * This class is generated in form of a stub and needs to be finished by the user. This class is generated only once to prevent
- * loss of user code.
- *
- */
-public class ResourceMatchBuilder {
- private ResourceMatchBuilder() {
- //Exists only to defeat instantiation.
- }
-
- public static ResourceMatch getDefaultInstance(String defaultValue) {
- throw new UnsupportedOperationException("Not yet implemented");
- }
-
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.alarms.rev190911;
-import java.lang.String;
-import java.lang.UnsupportedOperationException;
-
-/**
- * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string representation.
- * In some cases it is very difficult to automate it since there can be unions such as (uint32 - uint16), or (string - uint32).
- *
- * The reason behind putting it under src/main/java is:
- * This class is generated in form of a stub and needs to be finished by the user. This class is generated only once to prevent
- * loss of user code.
- *
- */
-public class SeverityWithClearBuilder {
- private SeverityWithClearBuilder() {
- //Exists only to defeat instantiation.
- }
-
- public static SeverityWithClear getDefaultInstance(String defaultValue) {
- throw new UnsupportedOperationException("Not yet implemented");
- }
-
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.alarms.rev190911.alarms;
-import java.lang.String;
-import java.lang.UnsupportedOperationException;
-
-/**
- * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string representation.
- * In some cases it is very difficult to automate it since there can be unions such as (uint32 - uint16), or (string - uint32).
- *
- * The reason behind putting it under src/main/java is:
- * This class is generated in form of a stub and needs to be finished by the user. This class is generated only once to prevent
- * loss of user code.
- *
- */
-public class ControlMaxAlarmStatusChangesBuilder {
- private ControlMaxAlarmStatusChangesBuilder() {
- //Exists only to defeat instantiation.
- }
-
- public static Control.MaxAlarmStatusChanges getDefaultInstance(String defaultValue) {
- throw new UnsupportedOperationException("Not yet implemented");
- }
-
-}
+++ /dev/null
-package org.opendaylight.yang.gen.v1.urn.xran.dhcp._1._0.rev180720;
-import java.lang.String;
-import java.lang.UnsupportedOperationException;
-
-/**
- * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string representation.
- * In some cases it is very difficult to automate it since there can be unions such as (uint32 - uint16), or (string - uint32).
- *
- * The reason behind putting it under src/main/java is:
- * This class is generated in form of a stub and needs to be finished by the user. This class is generated only once to prevent
- * loss of user code.
- *
- */
-public class NetconfClientIdBuilder {
- private NetconfClientIdBuilder() {
- //Exists only to defeat instantiation.
- }
-
- public static NetconfClientId getDefaultInstance(String defaultValue) {
- throw new UnsupportedOperationException("Not yet implemented");
- }
-
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.xran.impl;
-
-import org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.factory.FactoryRegistration;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.service.NetconfNetworkElementService;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class DeviceManagerXRanImpl implements AutoCloseable {
-
- private static final Logger LOG = LoggerFactory.getLogger(DeviceManagerXRanImpl.class);
- private static final String APPLICATION_NAME = "DeviceManagerXRan";
- @SuppressWarnings("unused")
- private static final String CONFIGURATIONFILE = "etc/devicemanager-xran.properties";
-
-
- private NetconfNetworkElementService netconfNetworkElementService;
-
- private HtDatabaseClient htDatabaseClient;
- private Boolean devicemanagerInitializationOk = false;
- private FactoryRegistration<XRanNetworkElementFactory> resXRan;
-
- // Blueprint begin
- public DeviceManagerXRanImpl() {
- LOG.info("Creating provider for {}", APPLICATION_NAME);
- resXRan = null;
- }
-
- public void setNetconfNetworkElementService(NetconfNetworkElementService netconfNetworkElementService) {
- this.netconfNetworkElementService = netconfNetworkElementService;
- }
-
- public void init() throws Exception {
-
- LOG.info("Session Initiated start {}", APPLICATION_NAME);
-
- resXRan = netconfNetworkElementService.registerNetworkElementFactory(new XRanNetworkElementFactory());
-
-
- netconfNetworkElementService.writeToEventLog(APPLICATION_NAME, "startup", "done");
- this.devicemanagerInitializationOk = true;
-
- LOG.info("Session Initiated end. Initialization done {}", devicemanagerInitializationOk);
- }
- // Blueprint end
-
- @Override
- public void close() throws Exception {
- LOG.info("closing ...");
- close(htDatabaseClient);
- close(resXRan);
- LOG.info("closing done");
- }
-
- /**
- * Used to close all Services, that should support AutoCloseable Pattern
- *
- * @param toClose
- * @throws Exception
- */
- private void close(AutoCloseable... toCloseList) {
- for (AutoCloseable element : toCloseList) {
- if (element != null) {
- try {
- element.close();
- } catch (Exception e) {
- LOG.warn("Fail during close: ", e);
- }
- }
- }
- }
-}
+++ /dev/null
-/*******************************************************************************
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.xran.impl;
-
-import org.eclipse.jdt.annotation.NonNull;
-import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid;
-
-public class NullableHelper {
-
- private static final @NonNull Uuid DEFAULT_Uuid = new Uuid("ad3545a5-1dd0-4293-b2d9-90366357a032");
-
- public static @NonNull Uuid nnGetUuid(@Nullable Uuid x) {
- return x == null ? DEFAULT_Uuid : x;
- }
-
- public static @NonNull Integer nnGetInteger(@Nullable Integer x) {
- return x == null ? -1 : x;
- }
-
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.xran.impl;
-
-import java.util.List;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.DataProvider;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.IetfNetconfNotificationsListener;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.NetconfCapabilityChange;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.NetconfConfigChange;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.NetconfConfirmedCommit;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.NetconfSessionEnd;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.NetconfSessionStart;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.netconf.config.change.Edit;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.EventlogBuilder;
-import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
-import org.opendaylight.yangtools.yang.binding.InstanceIdentifier.PathArgument;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * Listener for change notifications
- */
-public class XRanChangeNotificationListener implements IetfNetconfNotificationsListener {
-
- private static final Logger log = LoggerFactory.getLogger(XRanChangeNotificationListener.class);
-
- private final NetconfAccessor netconfAccessor;
- private final DataProvider databaseService;
-
- public XRanChangeNotificationListener(NetconfAccessor netconfAccessor, DataProvider databaseService) {
- this.netconfAccessor = netconfAccessor;
- this.databaseService = databaseService;
- }
-
- @Override
- public void onNetconfConfirmedCommit(NetconfConfirmedCommit notification) {
- log.info("onNetconfConfirmedCommit ", notification);
- }
-
- @Override
- public void onNetconfSessionStart(NetconfSessionStart notification) {
- log.info("onNetconfSessionStart ", notification);
- }
-
- @Override
- public void onNetconfSessionEnd(NetconfSessionEnd notification) {
- log.info("onNetconfSessionEnd ", notification);
- }
-
- @Override
- public void onNetconfCapabilityChange(NetconfCapabilityChange notification) {
- log.info("onNetconfCapabilityChange ", notification);
- }
-
- @Override
- public void onNetconfConfigChange(NetconfConfigChange notification) {
- log.info("onNetconfConfigChange (1) {}", notification);
- StringBuffer sb = new StringBuffer();
- List<Edit> editList = notification.nonnullEdit();
- for (Edit edit : editList) {
- if (sb.length() > 0) {
- sb.append(", ");
- }
- sb.append(edit);
-
- EventlogBuilder eventlogBuilder = new EventlogBuilder();
-
- InstanceIdentifier<?> target = edit.getTarget();
- if (target != null) {
- eventlogBuilder.setObjectId(target.toString());
- log.info("TARGET: {} {} {}", target.getClass(), target.getTargetType());
- for (PathArgument pa : target.getPathArguments()) {
- log.info("PathArgument {}", pa);
- }
- }
- eventlogBuilder.setNodeId(netconfAccessor.getNodeId().getValue());
- eventlogBuilder.setNewValue(String.valueOf(edit.getOperation()));
- databaseService.writeEventLog(eventlogBuilder.build());
- }
- log.info("onNetconfConfigChange (2) {}", sb);
- }
-
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.xran.impl;
-
-import org.opendaylight.yang.gen.v1.urn.xran.fm._1._0.rev180720.AlarmNotif;
-import org.opendaylight.yang.gen.v1.urn.xran.fm._1._0.rev180720.XranFmListener;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class XRanFaultNotificationListener implements XranFmListener {
-
- private static final Logger log = LoggerFactory.getLogger(XRanFaultNotificationListener.class);
-
- @Override
- public void onAlarmNotif(AlarmNotif notification) {
-
- log.info("onAlarmNotif {}", notification);
- }
-
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.xran.impl;
-
-import java.util.List;
-import java.util.Optional;
-import org.eclipse.jdt.annotation.NonNull;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.DataProvider;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.service.NetworkElement;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.service.NetworkElementService;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor;
-import org.opendaylight.mdsal.common.api.LogicalDatastoreType;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.rev180313.Hardware;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.rev180313.hardware.Component;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.NetworkElementDeviceType;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
-import org.opendaylight.yangtools.concepts.ListenerRegistration;
-import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
-import org.opendaylight.yangtools.yang.binding.NotificationListener;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- */
-public class XRanNetworkElement implements NetworkElement {
-
- private static final Logger log = LoggerFactory.getLogger(XRanNetworkElement.class);
-
- private final NetconfAccessor netconfAccessor;
-
- private final DataProvider databaseService;
-
- private final XRanToInternalDataModel xRanMapper;
-
- private ListenerRegistration<NotificationListener> xRanListenerRegistrationResult;
- private @NonNull final XRanChangeNotificationListener xRanListener;
- private ListenerRegistration<NotificationListener> xRanFaultListenerRegistrationResult;
- private @NonNull final XRanFaultNotificationListener xRanFaultListener;
-
- XRanNetworkElement(NetconfAccessor netconfAccess, DataProvider databaseService) {
- log.info("Create {}",XRanNetworkElement.class.getSimpleName());
- this.netconfAccessor = netconfAccess;
- this.databaseService = databaseService;
-
- this.xRanListenerRegistrationResult = null;
- this.xRanListener = new XRanChangeNotificationListener(netconfAccessor, databaseService);
-
- this.xRanFaultListenerRegistrationResult = null;
- this.xRanFaultListener = new XRanFaultNotificationListener();
-
- this.xRanMapper = new XRanToInternalDataModel();
-
- }
-
- public void initialReadFromNetworkElement() {
- Hardware hardware = readHardware(netconfAccessor);
- if (hardware != null) {
- List<Component> componentList = hardware.getComponent();
- if (componentList != null) {
- for (Component component : componentList) {
- databaseService.writeInventory( xRanMapper.getInternalEquipment(netconfAccessor.getNodeId(), component));
- }
- }
- }
- }
-
- @Override
- public NetworkElementDeviceType getDeviceType() {
- return NetworkElementDeviceType.RAN;
- }
-
- private Hardware readHardware(NetconfAccessor accessData) {
-
- final Class<Hardware> clazzPac = Hardware.class;
-
- log.info("DBRead Get equipment for class {} from mountpoint {} for uuid {}", clazzPac.getSimpleName(),
- accessData.getNodeId().getValue());
-
- InstanceIdentifier<Hardware> hardwareIID =
- InstanceIdentifier.builder(clazzPac).build();
-
- Hardware res = accessData.getTransactionUtils().readData(accessData.getDataBroker(), LogicalDatastoreType.OPERATIONAL,
- hardwareIID);
-
- return res;
- }
-
- @Override
- public void register() {
-
- initialReadFromNetworkElement();
- // Register call back class for receiving notifications
- this.xRanListenerRegistrationResult = netconfAccessor.doRegisterNotificationListener(xRanListener);
- this.xRanFaultListenerRegistrationResult = netconfAccessor.doRegisterNotificationListener(xRanFaultListener);
- // Register netconf stream
- netconfAccessor.registerNotificationsStream(NetconfAccessor.DefaultNotificationsStream);
-
-
- }
-
- @Override
- public void deregister() {
- if (xRanListenerRegistrationResult != null) {
- this.xRanListenerRegistrationResult.close();
- }
- if (xRanFaultListenerRegistrationResult != null) {
- this.xRanFaultListenerRegistrationResult.close();
- };
- }
-
-
- @Override
- public NodeId getNodeId() {
- return netconfAccessor.getNodeId();
- }
-
- @Override
- public <L extends NetworkElementService> Optional<L> getService(Class<L> clazz) {
- return Optional.empty();
- }
-
- @Override
- public void warmstart() {
- }
-
- @Override
- public Optional<NetconfAccessor> getAcessor() {
- return Optional.of(netconfAccessor);
- }
-
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.xran.impl;
-
-import java.util.Optional;
-import org.eclipse.jdt.annotation.NonNull;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.factory.NetworkElementFactory;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.service.NetworkElement;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.service.DeviceManagerServiceProvider;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor;
-import org.opendaylight.yang.gen.v1.urn.xran.hardware._1._0.rev180720.XRANRADIO;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class XRanNetworkElementFactory implements NetworkElementFactory {
-
- private static final Logger log = LoggerFactory.getLogger(XRanNetworkElementFactory.class);
-
- @Override
- public Optional<NetworkElement> create(@NonNull NetconfAccessor acessor, @NonNull DeviceManagerServiceProvider serviceProvider) {
- if (acessor.getCapabilites().isSupportingNamespace(XRANRADIO.QNAME)) {
- log.info("Create device {} ",XRanNetworkElement.class.getName());
- return Optional.of(new XRanNetworkElement(acessor, serviceProvider.getDataProvider()));
- } else {
- return Optional.empty();
- }
- }
-}
+++ /dev/null
-/**
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2019 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.xran.impl;
-
-import java.util.ArrayList;
-import java.util.List;
-import org.eclipse.jdt.annotation.NonNull;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.iana.hardware.rev180313.HardwareClass;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.rev180313.hardware.Component;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.Inventory;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.InventoryBuilder;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
-
-public class XRanToInternalDataModel {
-
-
- public Inventory getInternalEquipment(NodeId nodeId, @NonNull Component component) {
-
- InventoryBuilder inventoryBuilder = new InventoryBuilder();
-
- // General
- inventoryBuilder.setNodeId(nodeId.getValue());
- inventoryBuilder.setParentUuid(component.getParent());
- inventoryBuilder.setTreeLevel(
- Long.valueOf(
- NullableHelper.nnGetInteger(
- component.getParentRelPos())));
-
- inventoryBuilder.setUuid(NullableHelper.nnGetUuid(component.getUuid()).getValue());
- // -- String list with ids of holders
- List<String> containerHolderKeyList = new ArrayList<>();
- List<String> containerHolderList = component.getContainsChild();
- if (containerHolderList != null) {
- for (String containerHolder : containerHolderList) {
- containerHolderKeyList.add(containerHolder);
- }
- }
- inventoryBuilder.setContainedHolder(containerHolderKeyList);
- // -- Manufacturer related things
- inventoryBuilder.setManufacturerName(component.getName());
-
- // Equipment type
- inventoryBuilder.setDescription(component.getDescription());
- inventoryBuilder.setModelIdentifier(component.getModelName());
-
- Class<? extends HardwareClass> xmlClass = component.getXmlClass();
- if (xmlClass != null) {
- inventoryBuilder.setPartTypeId(xmlClass.getName());
- }
- inventoryBuilder.setTypeName(component.getName());
- inventoryBuilder.setVersion(component.getHardwareRev());
-
- // Equipment instance
- DateAndTime mfgDate = component.getMfgDate();
- if (mfgDate != null) {
- inventoryBuilder.setDate(mfgDate.getValue());
- }
- inventoryBuilder.setSerial(component.getSerialNum());
-
- return inventoryBuilder.build();
- }
-
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ ============LICENSE_START=======================================================
- ~ ONAP : ccsdk features
- ~ ================================================================================
- ~ Copyright (C) 2019 highstreet technologies GmbH Intellectual Property.
- ~ All rights reserved.
- ~ ================================================================================
- ~ Update Copyright (C) 2020 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=======================================================
- ~
- -->
-
-<blueprint xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
- xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" odl:use-default-for-reference-types="true">
-
- <reference id="netconfNetworkElementService"
- availability="mandatory" activation="eager"
- interface="org.onap.ccsdk.features.sdnr.wt.devicemanager.service.NetconfNetworkElementService"/>
-
- <bean id="provider"
- class="org.oransc.oam.features.devicemanager.xran.impl.DeviceManagerXRanImpl"
- init-method="init" destroy-method="close">
- <property name="netconfNetworkElementService" ref="netconfNetworkElementService"/>
- </bean>
-</blueprint>
+++ /dev/null
-#
-# ============LICENSE_START=======================================================
-# ONAP : ccsdk features
-# ================================================================================
-# Copyright (C) 2020 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=======================================================
-#
-#
-
-# Properties filled in by maven during build process
-version = ${project.version}
-build = ${buildtime}
+++ /dev/null
-package org.oransc.oam.features.devicemanager.xran.test;
-
-import java.io.File;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.nio.file.Files;
-import java.nio.file.Path;
-import java.nio.file.Paths;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-import org.oransc.oam.features.devicemanager.xran.impl.DeviceManagerXRanImpl;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class TestDeviceManagerXRanImpl {
- private static Path KARAF_ETC = Paths.get("etc");
- private static final Logger LOG = LoggerFactory.getLogger(TestDeviceManagerXRanImpl.class);
- DeviceManagerXRanImpl devMgrXran;
-
- @Before
- public void init() throws InterruptedException, IOException {
- /*System.out.println("Logger: " + LOG.getClass().getName() + " " + LOG.getName());
- Path etc = KARAF_ETC;
- delete(etc);
-
- System.out.println("Create empty:" + etc.toString());
- Files.createDirectories(etc);*/
- }
-
- @Test
- public void test() throws Exception {
- devMgrXran = new DeviceManagerXRanImpl();
- /*DeviceManagerImpl devMgr = new DeviceManagerImpl();
-
- try {
- devMgr.init();
- devMgrOran.setNetconfNetworkElementService(devMgr);
- devMgrOran.init();
- } catch (Exception e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }*/
- /*
- * devMgrOran.setNetconfNetworkElementService(null); devMgrOran.init();
- * NetconfNetworkElementService netConfNetworkElementService =
- * mock(NetconfNetworkElementService.class); devMgrOran =
- * mock(DeviceManagerORanImpl.class);
- * when(netConfNetworkElementService.registerNetworkElementFactory(new
- * ORanNetworkElementFactory())).thenReturn(null);
- */
-
-
- }
-
- @After
- public void cleanUp() throws Exception {
- devMgrXran.close();
- }
-
- private static void delete(Path etc) throws IOException {
- if (Files.exists(etc)) {
- System.out.println("Found, removing:" + etc.toString());
- delete(etc.toFile());
- }
- }
-
- private static void delete(File f) throws IOException {
- if (f.isDirectory()) {
- for (File c : f.listFiles()) {
- delete(c);
- }
- }
- if (!f.delete()) {
- throw new FileNotFoundException("Failed to delete file: " + f);
- }
- }
-}
+++ /dev/null
-package org.oransc.oam.features.devicemanager.xran.test;
-
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.iana.hardware.rev180313.HardwareClass;
-
-public interface TestHardwareClass extends HardwareClass {
-
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.xran.test;
-
-import static org.junit.Assert.assertTrue;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.when;
-
-import java.io.IOException;
-import org.junit.After;
-import org.junit.BeforeClass;
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.service.DeviceManagerServiceProvider;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.Capabilities;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor;
-import org.opendaylight.yang.gen.v1.urn.xran.hardware._1._0.rev180720.XRANRADIO;
-import org.opendaylight.yangtools.yang.common.QName;
-import org.oransc.oam.features.devicemanager.xran.impl.XRanNetworkElementFactory;
-import org.oransc.oam.features.devicemanager.xran.test.mock.NetconfAccessorMock;
-
-public class TestXORanNetworkElementFactory {
-
- static NetconfAccessor accessor;
- static DeviceManagerServiceProvider serviceProvider;
- static Capabilities capabilities;
- QName qCapability;
-
- @BeforeClass
- public static void init() throws InterruptedException, IOException {
- capabilities = mock(Capabilities.class);
- accessor = mock(NetconfAccessorMock.class);
- serviceProvider = mock(DeviceManagerServiceProvider.class);
-
- when(accessor.getCapabilites()).thenReturn(capabilities);
- when(serviceProvider.getDataProvider()).thenReturn(null);
- }
-
- @Test
- public void testCreateORANHWComponent() throws Exception {
- when(accessor.getCapabilites().isSupportingNamespace(XRANRADIO.QNAME)).thenReturn(true);
- XRanNetworkElementFactory factory = new XRanNetworkElementFactory();
- assertTrue(factory.create(accessor, serviceProvider).isPresent());
- }
-
- @Test
- public void testCreateNone() throws Exception {
- when(accessor.getCapabilites().isSupportingNamespace(XRANRADIO.QNAME)).thenReturn(false);
- XRanNetworkElementFactory factory = new XRanNetworkElementFactory();
- assertTrue(!factory.create(accessor, serviceProvider).isPresent());
- }
-
- @After
- public void cleanUp() throws Exception {
-
- }
-}
-
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.xran.test;
-
-import static org.mockito.Mockito.*;
-
-import java.util.Arrays;
-import java.util.List;
-
-import org.eclipse.jdt.annotation.NonNull;
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.DataProvider;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netconf.base._1._0.rev110601.EditOperationType;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.NetconfConfigChange;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.netconf.config.change.Edit;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.netconf.config.change.EditBuilder;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.EventlogBuilder;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.data.provider.rev190801.EventlogEntity;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
-import org.opendaylight.yangtools.yang.binding.InstanceIdentifier.PathArgument;
-import org.oransc.oam.features.devicemanager.xran.impl.XRanChangeNotificationListener;
-
-public class TestXRanChangeNotificationListener {
-
- private static final String NODEID = "node1";
-
- @Test
- public void test() {
-
- NetconfAccessor netconfAccessor = mock(NetconfAccessor.class);
- DataProvider databaseService = mock(DataProvider.class);
- XRanChangeNotificationListener notifListener = new XRanChangeNotificationListener(netconfAccessor,
- databaseService);
- when(netconfAccessor.getNodeId()).thenReturn(new NodeId(NODEID));
- Iterable<? extends PathArgument> pathArguments = Arrays.asList(new PathArgument() {
-
- @Override
- public int compareTo(PathArgument arg0) {
- return 0;
- }
-
- @Override
- public Class<? extends DataObject> getType() {
- return DataObject.class;
- }
- });
- InstanceIdentifier<?> target = InstanceIdentifier.create(pathArguments);
-
- notifListener.onNetconfConfigChange(createNotification(EditOperationType.Create,target));
- EventlogEntity event = new EventlogBuilder().setNodeId(NODEID)
- .setNewValue(String.valueOf(EditOperationType.Create)).setObjectId(target.toString()).build();
- verify(databaseService).writeEventLog(event);
-
- }
-
- /**
- * @param type
- * @return
- */
- private static NetconfConfigChange createNotification(EditOperationType type,InstanceIdentifier<?> target) {
- NetconfConfigChange change = mock(NetconfConfigChange.class);
-
- @SuppressWarnings("null")
- final @NonNull List<Edit> edits = Arrays.asList(new EditBuilder().setOperation(type).setTarget(target).build());
- when(change.nonnullEdit()).thenReturn(edits);
- return change;
- }
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.xran.test;
-
-import org.junit.Test;
-import org.oransc.oam.features.devicemanager.xran.impl.XRanFaultNotificationListener;
-
-public class TestXRanFaultNotificationListener {
-
- @Test
- public void test() {
- XRanFaultNotificationListener faultListener = new XRanFaultNotificationListener();
- faultListener.onAlarmNotif(null);
- }
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.xran.test;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.when;
-import static org.mockito.Mockito.*;
-
-import java.util.Optional;
-import java.io.IOException;
-import org.junit.After;
-import org.junit.BeforeClass;
-import org.junit.Test;
-import org.onap.ccsdk.features.sdnr.wt.dataprovider.model.DataProvider;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.ne.service.NetworkElement;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
-import org.opendaylight.yang.gen.v1.urn.xran.hardware._1._0.rev180720.XRANRADIO;
-import org.opendaylight.yangtools.yang.common.QName;
-import org.oransc.oam.features.devicemanager.xran.impl.XRanNetworkElementFactory;
-import org.oransc.oam.features.devicemanager.xran.test.mock.NetconfAccessorMock;
-import org.oransc.oam.features.devicemanager.xran.test.mock.TransactionUtilsMock;
-import org.onap.ccsdk.features.sdnr.wt.devicemanager.service.DeviceManagerServiceProvider;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.Capabilities;
-
-public class TestXRanNetworkElement {
-
- static NetconfAccessorMock accessor;
- static DeviceManagerServiceProvider serviceProvider;
- static Capabilities capabilities;
- QName qCapability;
-
- @BeforeClass
- public static void init() throws InterruptedException, IOException {
- capabilities = mock(Capabilities.class);
- //accessor = mock(NetconfAccessorMock.class);
- accessor = spy(new NetconfAccessorMock(null, null, null, null));
- serviceProvider = mock(DeviceManagerServiceProvider.class);
-
- NodeId nNodeId = new NodeId("nSky");
- when(accessor.getCapabilites()).thenReturn(capabilities);
- when (accessor.getNodeId()).thenReturn(nNodeId);
- when (accessor.getTransactionUtils()).thenReturn(new TransactionUtilsMock());
-
- DataProvider dataProvider = mock(DataProvider.class);
- when(serviceProvider.getDataProvider()).thenReturn(dataProvider);
- }
-
- @Test
- public void test() {
- Optional<NetworkElement> oRanNe;
- when(accessor.getCapabilites().isSupportingNamespace(XRANRADIO.QNAME)).thenReturn(true);
- XRanNetworkElementFactory factory = new XRanNetworkElementFactory();
- oRanNe = factory.create(accessor, serviceProvider);
- assertTrue(factory.create(accessor, serviceProvider).isPresent());
- oRanNe.get().register();
- oRanNe.get().deregister();
- oRanNe.get().getAcessor();
- oRanNe.get().getDeviceType();
- assertEquals(oRanNe.get().getNodeId().getValue(), "nSky");
- }
-
- @After
- public void cleanUp() throws Exception {
-
- }
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.xran.test;
-
-import static org.junit.Assert.assertEquals;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.when;
-
-import java.util.List;
-import java.io.IOException;
-import java.util.ArrayList;
-
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-import org.mockito.Mockito;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.iana.hardware.rev180313.HardwareClass;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.rev180313.hardware.Component;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
-import org.oransc.oam.features.devicemanager.xran.impl.XRanToInternalDataModel;
-import org.oransc.oam.features.devicemanager.xran.test.TestHardwareClass;
-
-public class TestXRanToInternalDataModel {
-
- NodeId nodeId;
- Component component;
-
- @Before
- public void init() throws InterruptedException, IOException {
- nodeId = mock(NodeId.class);
- component = mock(Component.class);
-
- when(nodeId.getValue()).thenReturn("ORan-1000");
- when(component.getParent()).thenReturn("Shelf");
- when(component.getParentRelPos()).thenReturn(0);
- when(component.getUuid()).thenReturn(new Uuid("0Aabcdef-0abc-0cfD-0abC-0123456789AB"));
-
- List<String> list = new ArrayList<>();
- list.add("Card-01A");
- list.add("Card-01B");
-
- when (component.getContainsChild()).thenReturn(list);
- when (component.getName()).thenReturn("Nokia");
- when (component.getDescription()).thenReturn("ORAN Network Element NO-456");
- Class<? extends HardwareClass> hwClass = TestHardwareClass.class;
- Mockito.<Class<? extends HardwareClass>>when(component.getXmlClass()).thenReturn(hwClass);
-
- DateAndTime dt = new DateAndTime("2020-02-05T12:30:45.283Z");
- when (component.getMfgDate()).thenReturn(dt);
-
- }
-
- @Test
- public void test() throws Exception {
- XRanToInternalDataModel model = new XRanToInternalDataModel();
- model.getInternalEquipment(nodeId, component);
- assertEquals(component.getUuid().getValue(), "0Aabcdef-0abc-0cfD-0abC-0123456789AB");
- assertEquals(component.getMfgDate().getValue(), "2020-02-05T12:30:45.283Z");
-
- }
-
- @After
- public void cleanUp() throws Exception {
-
- }
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.xran.test.mock;
-
-import com.google.common.util.concurrent.ListenableFuture;
-import org.eclipse.jdt.annotation.NonNull;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.Capabilities;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.NetconfAccessor;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.TransactionUtils;
-import org.opendaylight.mdsal.binding.api.DataBroker;
-import org.opendaylight.mdsal.binding.api.MountPoint;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netconf.notification._1._0.rev080714.CreateSubscriptionOutput;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.netconf.node.topology.rev150114.NetconfNode;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
-import org.opendaylight.yangtools.concepts.ListenerRegistration;
-import org.opendaylight.yangtools.yang.binding.NotificationListener;
-import org.opendaylight.yangtools.yang.common.RpcResult;
-
-/**
- */
-public class NetconfAccessorMock implements NetconfAccessor {
-
- private final NodeId nNodeId;
- private final NetconfNode netconfNode;
- private final MountPoint mountpoint;
- private final DataBroker netconfNodeDataBroker;
-
- public NetconfAccessorMock(NodeId nNodeId, NetconfNode netconfNode, MountPoint mountpoint,
- DataBroker netconfNodeDataBroker) {
- this.nNodeId = nNodeId;
- this.netconfNode = netconfNode;
- this.mountpoint = mountpoint;
- this.netconfNodeDataBroker = netconfNodeDataBroker;
- }
-
- @Override
- public NodeId getNodeId() {
- return nNodeId;
- }
-
- @Override
- public NetconfNode getNetconfNode() {
- return netconfNode;
- }
-
- @Override
- public Capabilities getCapabilites() {
- return null;
- }
-
- @Override
- public DataBroker getDataBroker() {
- return netconfNodeDataBroker;
- }
-
- @Override
- public MountPoint getMountpoint() {
- return mountpoint;
- }
-
- @Override
- public TransactionUtils getTransactionUtils() {
- return null;
- }
-
- @Override
- public <T extends NotificationListener> ListenerRegistration<NotificationListener> doRegisterNotificationListener(
- @NonNull T listener) {
- return null;
- }
-
- @Override
- public ListenableFuture<RpcResult<CreateSubscriptionOutput>> registerNotificationsStream(String streamName) {
- return null;
- }
-
-}
+++ /dev/null
-/*
- * ============LICENSE_START========================================================================
- * ONAP : ccsdk feature sdnr wt
- * =================================================================================================
- * Copyright (C) 2020 highstreet technologies GmbH 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.oransc.oam.features.devicemanager.xran.test.mock;
-
-import java.util.concurrent.atomic.AtomicBoolean;
-import java.util.concurrent.atomic.AtomicReference;
-
-import org.eclipse.jdt.annotation.Nullable;
-import org.onap.ccsdk.features.sdnr.wt.netconfnodestateservice.TransactionUtils;
-import org.opendaylight.mdsal.binding.api.DataBroker;
-import org.opendaylight.mdsal.common.api.LogicalDatastoreType;
-import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
-
-public class TransactionUtilsMock implements TransactionUtils {
-
- @Override
- public <T extends DataObject> @Nullable T readData(DataBroker dataBroker, LogicalDatastoreType dataStoreType,
- InstanceIdentifier<T> iid) {
- // TODO Auto-generated method stub
- return null;
- }
-
- @Override
- public <T extends DataObject> @Nullable T readDataOptionalWithStatus(DataBroker dataBroker,
- LogicalDatastoreType dataStoreType, InstanceIdentifier<T> iid, AtomicBoolean noErrorIndication,
- AtomicReference<String> statusIndicator) {
- // TODO Auto-generated method stub
- return null;
- }
-
-}
+++ /dev/null
-#
-# ============LICENSE_START=======================================================
-# ONAP : ccsdk features
-# ================================================================================
-# Copyright (C) 2020 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=======================================================
-#
-#
-
-# SLF4J's SimpleLogger configuration file
-# Simple implementation of Logger that sends all enabled log messages, for all defined loggers, to System.err.
-
-# Default logging detail level for all instances of SimpleLogger.
-# Must be one of ("trace", "debug", "info", "warn", or "error").
-# If not specified, defaults to "info".
-org.slf4j.simpleLogger.defaultLogLevel=info
-
-# Logging detail level for a SimpleLogger instance named "xxx.yyy.zzz".
-# Must be one of ("trace", "debug", "info", "warn", or "error").
-# If not specified, the default logging detail level is used.
-# org.slf4j.simpleLogger.log.xxx.yyy=debug
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.devicemanager=info
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.devicemanager.test=debug
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.database=debug
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.devicemanager.archiveservice=info
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.devicemanager.base.internalTypes.Resources=info
-org.slf4j.simpleLogger.log.org.onap.ccsdk.features.sdnr.wt.devicemanager.base.netconf.container=info
-
-# Set to true if you want the current date and time to be included in output messages.
-# Default is false, and will output the number of milliseconds elapsed since startup.
-#org.slf4j.simpleLogger.showDateTime=false
-
-# The date and time format to be used in the output messages.
-# The pattern describing the date and time format is the same that is used in java.text.SimpleDateFormat.
-# If the format is not specified or is invalid, the default format is used.
-# The default format is yyyy-MM-dd HH:mm:ss:SSS Z.
-#org.slf4j.simpleLogger.dateTimeFormat=yyyy-MM-dd HH:mm:ss:SSS Z
-
-# Set to true if you want to output the current thread name.
-# Defaults to true.
-#org.slf4j.simpleLogger.showThreadName=true
-
-# Set to true if you want the Logger instance name to be included in output messages.
-# Defaults to true.
-#org.slf4j.simpleLogger.showLogName=true
-
-# Set to true if you want the last component of the name to be included in output messages.
-# Defaults to false.
-#org.slf4j.simpleLogger.showShortLogName=false
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-################################################################################
-# Copyright 2020 highstreet technologies and others
-#
-# 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.
-#
--->
-<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.oam.features</groupId>
- <artifactId>features-top</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>o-ran-sc features top</name>
-
- <modules>
- <module>devicemanager/o-ran/ru-fh</module>
- <module>devicemanager/x-ran/ru-fh</module>
- <module>devicemanager/g-ran/ru-fh</module>
- </modules>
-
-</project>
+++ /dev/null
-target/
-target-ide/
-yang-gen-sal/
-.checkstyle
-.classpath
-.project
-.settings
-.factorypath
-.metadata
-*.swp
-dist/
-*/**/bin/
-etc/
-node_modules/
-.fbExcludeFilterFile
-*.md.html
+++ /dev/null
-# parent
-
-This directory contains parent pom files to use ONAP sdnc and ccsdk framework for Opendaylight mdsal and netconf.
-
-Supported parents are:
- - binding-parent
- - odlparent-light
- - single-feature-parent
-
-In ONAP project most OpenDaylight clients are supported. This is a subset.
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-################################################################################
-# Copyright 2019 highstreet technologies and others
-#
-# 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.
-#
--->
-<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.opendaylight.mdsal</groupId>
- <artifactId>binding-parent</artifactId>
- <version>4.0.14</version>
- <relativePath/>
- </parent>
-
- <groupId>org.o-ran-sc.oam.features.parent</groupId>
- <artifactId>binding-parent</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>o-ran-sc features binding-parent</name>
- <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
- <url>http://wiki.o-ran-sc.org</url>
- <organization>
- <name>O-RAN-SC</name>
- </organization>
-
- <issueManagement>
- <system>JIRA</system>
- <url>https://jira.o-ran-sc.org/</url>
- </issueManagement>
- <distributionManagement>
- <repository>
- <id>ecomp-releases</id>
- <url>${onap.nexus.release-url}</url>
- </repository>
- <snapshotRepository>
- <id>ecomp-snapshots</id>
- <url>${onap.nexus.snapshot-url}</url>
- </snapshotRepository>
- </distributionManagement>
-
- <properties>
- <!-- Sonar properties -->
- <sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
- <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
- <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
- <!-- Default Sonar configuration -->
- <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
- <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
- <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
-
- <!-- Jacoco properties -->
- <jacoco.version>0.8.5</jacoco.version>
-
- <!-- properties from oparent -->
- <maven.compiler.source>8</maven.compiler.source>
- <maven.compiler.target>8</maven.compiler.target>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
- <!-- sitePath may be overridden in the inheriting POM if desired -->
- <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
-
- <!-- If following file exist, auto-generation of swagger.json will be done -->
- <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
- <!-- If following file exist, auto-generation of sdk will be done -->
- <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
- <!-- end of properties from oparent -->
-
- <!-- ONAP repositories -->
- <onap.nexus.host>nexus.onap.org</onap.nexus.host>
- <onap.nexus.port>443</onap.nexus.port>
- <onap.nexus.protocol>https</onap.nexus.protocol>
- <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
- <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
- <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
- <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
- <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
- <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
-
- <!-- OpenDaylight repositories -->
- <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
- <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
-
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <java.version.source>8</java.version.source>
- <java.version.target>8</java.version.target>
- <bundle.plugin.version>2.5.0</bundle.plugin.version>
- <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
- <features.file>features.xml</features.file>
- <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
- <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
- <checkstyle.skip>true</checkstyle.skip>
-
- <!-- logging-analytics versions -->
- <logging-analytics.version>1.6.6</logging-analytics.version>
-
- <!-- CCSDK component versions -->
- <ccsdk.cds.version>1.0.0-SNAPSHOT</ccsdk.cds.version>
- <ccsdk.features.version>1.0.0-SNAPSHOT</ccsdk.features.version>
- <ccsdk.sli.core.version>1.0.0-SNAPSHOT</ccsdk.sli.core.version>
- <ccsdk.sli.adaptors.version>1.0.0-SNAPSHOT</ccsdk.sli.adaptors.version>
- <ccsdk.sli.northbound.version>1.0.0-SNAPSHOT</ccsdk.sli.northbound.version>
- <ccsdk.sli.plugins.version>1.0.0-SNAPSHOT</ccsdk.sli.plugins.version>
- <ccsdk.distribution.version>1.0.0-SNAPSHOT</ccsdk.distribution.version>
- <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
- <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
- <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
- <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
- <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
-
- <!-- Support libraries used by OpenDaylight -->
- <odl.controller.mdsal.version>1.10.3</odl.controller.mdsal.version>
- <odl.mdsal.version>4.0.14</odl.mdsal.version>
- <odl.mdsal.model.version>2.0.14</odl.mdsal.model.version>
- <odl.netconf.restconf.version>1.10.3</odl.netconf.restconf.version>
- <odl.netconf.netconf.version>1.7.3</odl.netconf.netconf.version>
- <odl.netconf.sal.rest.docgen.version>1.10.3</odl.netconf.sal.rest.docgen.version>
-
- <!-- Used by aaa, vtn -->
- <commons.codec.version>1.13</commons.codec.version>
- <!-- Used by netconf, ovsdb -->
- <commons.lang3.version>3.8.1</commons.lang3.version>
- <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
- <commons.lang.version>2.6</commons.lang.version>
- <!-- Used by neutron; see also controller, vtn -->
- <commons.net.version>3.6</commons.net.version>
- <!-- Used by neutron -->
- <eclipse.persistence.version>2.7.4</eclipse.persistence.version>
- <!-- Used by aaa -->
- <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
- <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
- <gson.version>2.8.5</gson.version>
- <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
- <guava.version>25.1-jre</guava.version>
- <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
- integration/distribution, snmp4sdn, toolkit, ttp -->
- <jackson.version>2.9.10</jackson.version>
- <!-- Used by snmp4sdn, yangtools -->
- <javassist.version>3.24.1-GA</javassist.version>
-
- <!-- FIXME remove all dependencies for jersey 1.17 after migration all projects -->
- <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all, snmp4sdn, toolkit -->
- <jersey.version>2.25.1</jersey.version>
- <!-- Used by sfc -->
- <jersey.client.version>2.25.1</jersey.client.version>
-
- <!-- New packages for jersey migration 1.17 to 2.8 -->
- <!-- appache.geronimo.bundle for DocGen -->
- <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
- <org.json.version>20131018</org.json.version>
-
- <!-- Used everywhere -->
- <junit.version>4.12</junit.version>
- <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
- <logback.version>1.2.3</logback.version>
- <!-- Used by nic, sfc, sxp, tsdr -->
- <mockito.version>1.10.19</mockito.version>
- <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
- <netty.version>4.1.42.Final</netty.version>
- <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
- <slf4j.version>1.7.25</slf4j.version>
- <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit, tsdr, ttp -->
- <spring.version>4.3.25.RELEASE</spring.version>
-
- <!-- Extra support libraries used by SDN-C -->
- <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
- <antlr.version>4.7.2</antlr.version>
-
- <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
-
- <!-- Managed dependency versions -->
- <apache.httpcomponents.core.version>4.4.12</apache.httpcomponents.core.version>
- <apache.httpcomponents.client.version>4.5.10</apache.httpcomponents.client.version>
- <derby.version>10.14.2.0</derby.version>
- <eelf.version>1.0.0</eelf.version>
- <grpc.version>1.21.1</grpc.version>
- <mariadb.connector.version>2.4.4</mariadb.connector.version>
- <mariadb4j.version>2.4.0</mariadb4j.version>
- <testng.version>6.14.3</testng.version>
- <tomcat-jdbc.version>9.0.30</tomcat-jdbc.version>
- <jetty.version>9.4.12.v20180830</jetty.version>
- <skip.karaf.featureTest>true</skip.karaf.featureTest>
- <dependency-list.file>direct-dependencies.txt</dependency-list.file>
- </properties>
-
- <dependencyManagement>
- <dependencies>
- <!-- Note: If value in BOM conflicts with value inherited from
- parent pom, inherited value takes precedence. This seems more like
- a bug than a feature, but this is how maven 3.6 works -->
- <dependency>
- <groupId>org.o-ran-sc.oam.features.parent</groupId>
- <artifactId>dependencies-odl-bom</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.onap.logging-analytics</groupId>
- <artifactId>logging-slf4j</artifactId>
- <version>${logging-analytics.version}</version>
- </dependency>
- <dependency>
- <groupId>org.onap.logging-analytics</groupId>
- <artifactId>logging-filter-base</artifactId>
- <version>${logging-analytics.version}</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${junit.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-devicemanager-model</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-netconfnode-state-service-model</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <repositories>
- <repository>
- <id>onap-public</id>
- <url>${onap.nexus.public-url}</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>onap-staging</id>
- <url>${onap.nexus.staging-url}</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-release</id>
- <name>onap-repository-releases</name>
- <url>${onap.nexus.release-url}</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-snapshot</id>
- <name>onap-repository-snapshots</name>
- <url>${onap.nexus.snapshot-url}</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>opendaylight-mirror</id>
- <name>opendaylight-mirror</name>
- <url>${opendaylight.nexus.public-url}</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>opendaylight-snapshot</id>
- <name>opendaylight-snapshot</name>
- <url>${opendaylight.nexus.snapshot-url}</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
-
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <id>onap-public</id>
- <url>${onap.nexus.public-url}</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- <pluginRepository>
- <id>onap-staging</id>
- <url>${onap.nexus.staging-url}</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- <pluginRepository>
- <id>onap-snapshot</id>
- <url>${onap.nexus.snapshot-url}</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- <pluginRepository>
- <id>opendaylight-mirror</id>
- <name>opendaylight-mirror</name>
- <url>${opendaylight.nexus.public-url}</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </pluginRepository>
- <pluginRepository>
- <id>opendaylight-snapshot</id>
- <name>opendaylight-snapshot</name>
- <url>${opendaylight.nexus.snapshot-url}</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- <!-- Black Duck plugin dependencies -->
- <pluginRepository>
- <id>JCenter</id>
- <name>JCenter Repository</name>
- <url>http://jcenter.bintray.com</url>
- </pluginRepository>
-
- <pluginRepository>
- <id>Restlet</id>
- <name>Restlet Repository</name>
- <url>http://maven.restlet.com</url>
- </pluginRepository>
- </pluginRepositories>
-
- <build>
- <pluginManagement>
- <plugins>
- <!-- Plugins from ONAP version (parent of oparent) -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <!-- This version supports the "deployAtEnd" parameter -->
- <version>2.8</version>
- <configuration>
- <skip/>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>3.6</version>
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-webdav-jackrabbit</artifactId>
- <version>2.10</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>3.0.0-M2</version>
- <executions>
- <execution>
- <id>enforce-property</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireProperty>
- <property>onap.nexus.url</property>
- <message>You must set a onap.nexus.url property in your
- ~/.m2/settings.xml. See oparent/settings.xml for an example.
- </message>
- </requireProperty>
- </rules>
- <fail>true</fail>
- </configuration>
- </execution>
- <execution>
- <id>enforce-no-snapshots</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireReleaseDeps>
- <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
- <onlyWhenRelease>true</onlyWhenRelease>
- <level>WARN</level>
- </requireReleaseDeps>
- </rules>
- </configuration>
- </execution>
- <execution>
- <id>enforce-maven</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireJavaVersion>
- <version>8</version>
- </requireJavaVersion>
- <requireMavenVersion>
- <version>[3.5.0,)</version>
- </requireMavenVersion>
- </rules>
- </configuration>
- </execution>
- <execution>
- <id>enforce-banned-dependencies</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <bannedDependencies>
- <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message>
- <excludes>
- <exclude>org.mockito:mockito-all</exclude>
- <!-- <exclude>com.google.code.findbugs:annotations</exclude> -->
- </excludes>
- </bannedDependencies>
- </rules>
- <fail>true</fail>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
- <plugin>
- <groupId>org.sonarsource.scanner.maven</groupId>
- <artifactId>sonar-maven-plugin</artifactId>
- <version>${sonar.scanner.version}</version>
- </plugin>
- <!-- end of plugins from ONAP version (parent of oparent) -->
-
- <!-- Plugins from ONAP oparent -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.22.0</version>
- <configuration>
- <!-- Sets the VM argument line used when unit tests are run. -->
- <argLine>${surefireArgLine}</argLine>
- <!-- Excludes integration tests when unit tests are run. -->
- <excludes>
- <exclude>**/IT*.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <version>2.22.0</version>
- <executions>
- <!-- Ensures that both integration-test and verify goals of the Failsafe
- Maven plugin are executed. -->
- <execution>
- <id>integration-tests</id>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- <configuration>
- <!-- Sets the VM argument line used when integration tests are run. -->
- <argLine>${failsafeArgLine}</argLine>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- End of plugins from ONAP oparent -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>properties-maven-plugin</artifactId>
- <version>1.0.0</version>
- <executions>
- <execution>
- <goals>
- <goal>set-system-properties</goal>
- </goals>
- <configuration>
- <properties>
- <property>
- <name>maven.wagon.http.ssl.allowall</name>
- <value>${ssl.allowall}</value>
- </property>
- <property>
- <name>maven.wagon.http.ssl.insecure</name>
- <value>${ssl.insecure}</value>
- </property>
- </properties>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>versions-maven-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <processAllModules>true</processAllModules>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-scm-plugin</artifactId>
- <version>1.8.1</version>
- <configuration>
- <tag>${project.artifactId}-${project.version}</tag>
- </configuration>
- </plugin>
- <plugin>
- <groupId>com.github.ferstl</groupId>
- <artifactId>depgraph-maven-plugin</artifactId>
- <version>3.3.0</version>
- <configuration>
- <graphFormat>text</graphFormat>
- <outputFileName>${dependency-list.file}</outputFileName>
- <outputDirectory>${project.basedir}</outputDirectory>
- <transitiveExcludes>*</transitiveExcludes>
- <showVersions>true</showVersions>
- <showGroupIds>true</showGroupIds>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
-
- <!-- Plugins from oparent version (parent of oparent) -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- </plugin>
- <!-- end of plugins from oparent version (parent of oparent) -->
-
- <!-- Plugins from oparent -->
- <plugin>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.17</version>
- <dependencies>
- <dependency>
- <groupId>org.onap.oparent</groupId>
- <artifactId>checkstyle</artifactId>
- <version>1.2.2</version>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <id>onap-license</id>
- <goals>
- <goal>check</goal>
- </goals>
- <phase>process-sources</phase>
- <configuration>
- <configLocation>onap-checkstyle/check-license.xml</configLocation>
- <includeResources>false</includeResources>
- <includeTestSourceDirectory>true</includeTestSourceDirectory>
- <includeTestResources>false</includeTestResources>
- <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
- <excludes>
- </excludes>
- <consoleOutput>true</consoleOutput>
- <failOnViolation>false</failOnViolation>
- </configuration>
- </execution>
- <execution>
- <id>onap-java-style</id>
- <goals>
- <goal>check</goal>
- </goals>
- <phase>process-sources</phase>
- <configuration>
- <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
- with minor changes -->
- <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
- <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
- <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
- <includeResources>true</includeResources>
- <includeTestSourceDirectory>true</includeTestSourceDirectory>
- <includeTestResources>true</includeTestResources>
- <excludes>
- </excludes>
- <consoleOutput>true</consoleOutput>
- <failOnViolation>false</failOnViolation>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>1.12</version>
- </plugin>
- <!-- Jacoco / Sonar -->
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <version>${jacoco.version}</version>
- <executions>
- <execution>
- <id>pre-unit-test</id>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- <configuration>
- <!-- Sets the path to the file which contains the execution data. -->
- <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
- <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
- <propertyName>surefireArgLine</propertyName>
- </configuration>
- </execution>
- <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. -->
- <execution>
- <id>post-unit-test</id>
- <phase>test</phase>
- <goals>
- <goal>report</goal>
- </goals>
- <configuration>
- <!-- Sets the path to the file which contains the execution data. -->
- <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
- <!-- Sets the output directory for the code coverage report. -->
- <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
- </configuration>
- </execution>
- <execution>
- <id>pre-integration-test</id>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- <configuration>
- <!-- Sets the path to the file which contains the execution data. -->
- <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
- <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
- <propertyName>failsafeArgLine</propertyName>
- </configuration>
- </execution>
- <!-- Ensures that the code coverage report for integration tests after integration tests have been run. -->
- <execution>
- <id>post-integration-test</id>
- <phase>post-integration-test</phase>
- <goals>
- <goal>report</goal>
- </goals>
- <configuration>
- <!-- Sets the path to the file which contains the execution data. -->
- <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
- <!-- Sets the output directory for the code coverage report. -->
- <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
- </configuration>
- </execution>
- <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>
- <execution>
- <id>default-check</id>
- <goals>
- <goal>check</goal>
- </goals>
- <configuration>
- <rules>
- <rule>
- <element>PACKAGE</element>
- <limits>
- <limit>
- <counter>COMPLEXITY</counter>
- <value>COVEREDRATIO</value>
- <minimum>0.0</minimum>
- </limit>
- </limits>
- </rule>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- </plugin>
- <!-- end of plugins from oparent -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.10.4</version>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <additionalparam>-Xdoclint:none</additionalparam>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>3.0.0-M2</version>
- <executions>
- <execution>
- <id>enforce-property</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireProperty>
- <property>onap.nexus.url</property>
- <message>You must set a onap.nexus.url property in your
- ~/.m2/settings.xml. See oparent/settings.xml for an example.</message>
- </requireProperty>
- </rules>
- <fail>true</fail>
- </configuration>
- </execution>
- <execution>
- <id>enforce-no-snapshots</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireReleaseDeps>
- <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
- <onlyWhenRelease>true</onlyWhenRelease>
- <level>WARN</level>
- </requireReleaseDeps>
- </rules>
- </configuration>
- </execution>
- <execution>
- <id>enforce-maven</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireJavaVersion>
- <version>1.8.0</version>
- </requireJavaVersion>
- <requireMavenVersion>
- <version>[3.5.0,)</version>
- </requireMavenVersion>
- </rules>
- </configuration>
- </execution>
- <execution>
- <id>enforce-banned-dependencies</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <bannedDependencies>
- <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message>
- <excludes>
- <exclude>org.mockito:mockito-all</exclude>
-<!-- <exclude>com.google.code.findbugs:annotations</exclude> -->
- </excludes>
- </bannedDependencies>
- </rules>
- <fail>true</fail>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <reporting>
- <plugins>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.10.4</version>
- <configuration>
- <failOnError>false</failOnError>
- <additionalparam>-Xdoclint:none</additionalparam>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
-
- <profiles>
- <!-- Profiles from ONAP oparent -->
- <profile>
- <id>generate-json</id>
- <activation>
- <file>
- <exists>${swagger-properties}</exists>
- </file>
- <property>
- <name>swagger-sdk.generate-json</name>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>properties-maven-plugin</artifactId>
- <version>1.0.0</version>
- <executions>
- <execution>
- <phase>initialize</phase>
- <goals>
- <goal>read-project-properties</goal>
- </goals>
- <configuration>
- <files>
- <file>${basedir}/src/main/resources/swagger.properties</file>
- </files>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>com.github.kongchen</groupId>
- <artifactId>swagger-maven-plugin</artifactId>
- <version>3.1.4</version>
- <configuration>
- <apiSources>
- <apiSource>
- <locations>${api-rest-package}</locations>
- <schemes>http,https</schemes>
- <host>${api-host-ip}:${api-host-port}</host>
- <basePath>${api-base-path}</basePath>
- <info>
- <title>${api-title}</title>
- <version>${api-version}</version>
- <description>${api-description}</description>
- <license>
- <name>${api-license}</name>
- </license>
- </info>
- <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
- </apiSource>
- </apiSources>
- </configuration>
- <executions>
- <execution>
- <phase>compile</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <version>2.3.1</version>
- <executions>
- <execution>
- <id>install-file-id</id>
- <phase>install</phase>
- <goals>
- <goal>install-file</goal>
- </goals>
- <configuration>
- <file>${basedir}/src/main/resources/swagger.json</file>
- <groupId>${project.groupId}</groupId>
- <artifactId>${project.artifactId}-swagger-schema</artifactId>
- <version>${project.version}</version>
- <packaging>json</packaging>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>generate-sdk</id>
- <activation>
- <file>
- <exists>${swagger-json}</exists>
- </file>
- <property>
- <name>swagger-sdk.generate-java-sdk</name>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.8</version>
- <executions>
- <execution>
- <phase>initialize</phase>
- <id>ant-create-script</id>
- <configuration>
- <exportAntProperties>true</exportAntProperties>
- <tasks>
- <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
- <condition property="is_windows" value="true">
- <os family="windows"/>
- </condition>
- <condition property="isLinux" value="true">
- <os family="unix"/>
- </condition>
- <if>
- <equals arg1="${is_windows}" arg2="true"/>
- <then>
- <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
- <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
- <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
- </then>
- <else>
- <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
- <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
- <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
- <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
- </else>
- </if>
- </tasks>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>ant-contrib</groupId>
- <artifactId>ant-contrib</artifactId>
- <version>1.0b3</version>
- <exclusions>
- <exclusion>
- <groupId>ant</groupId>
- <artifactId>ant</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>io.swagger</groupId>
- <artifactId>swagger-codegen-maven-plugin</artifactId>
- <version>2.2.1</version>
- <executions>
- <execution>
- <goals>
- <goal>generate</goal>
- </goals>
- <configuration>
- <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
- <output>${project.build.directory}/generated-sources</output>
- <language>java</language>
- <configOptions>
- <dateLibrary>joda</dateLibrary>
- </configOptions>
- <library>jersey2</library>
- <groupId>${project.groupId}</groupId>
- <artifactId>${project.artifactId}-java-sdk</artifactId>
- <artifactVersion>${project.version}</artifactVersion>
- <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
- <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
- <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.5.0</version>
- <executions>
- <execution>
- <id>swagger-generate-sources</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- <configuration>
- <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <version>3.0.0</version>
- <executions>
- <execution>
- <id>clean-generated-files</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>clean</goal>
- </goals>
- <configuration>
- <filesets>
- <fileset>
- <directory>${project.build.directory}/generated-sources</directory>
- </fileset>
- </filesets>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>org.onap.msb.swagger-sdk</groupId>
- <artifactId>swagger-sdk</artifactId>
- <version>1.0.0</version>
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <id>sonar-jacoco-aggregate</id>
- <activation>
- <property>
- <name>onap.jacoco.aggregateFile</name>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>merge</id>
- <goals>
- <goal>merge</goal>
- </goals>
- <phase>generate-resources</phase>
- <configuration>
- <destFile>${onap.jacoco.aggregateFile}</destFile>
- <fileSets>
- <fileSet>
- <directory>${project.basedir}</directory>
- <includes>
- <include>**/target/code-coverage/*.exec</include>
- </includes>
- </fileSet>
- </fileSets>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <!-- End of profiles from ONAP oparent -->
-
- <profile>
- <id>yang-compile</id>
- <activation>
- <file>
- <exists>src/main/yang</exists>
- </file>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-maven-plugin</artifactId>
- <version>3.0.11</version>
- <dependencies>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>maven-sal-api-gen-plugin</artifactId>
- <version>${odl.mdsal.model.version}</version>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>sal-rest-docgen-maven</artifactId>
- <version>${odl.netconf.sal.rest.docgen.version}</version>
- <type>jar</type>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <id>binding</id>
- <goals>
- <goal>generate-sources</goal>
- </goals>
- <configuration>
- <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
- <codeGenerators>
- <generator>
- <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
- <outputBaseDir>${salGeneratorPath}</outputBaseDir>
- </generator>
- <generator>
- <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
- <outputBaseDir>target/swagger</outputBaseDir>
- </generator>
- </codeGenerators>
- <inspectDependencies>true</inspectDependencies>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.opendaylight.odlparent</groupId>
- <artifactId>odlparent</artifactId>
- <version>5.0.7</version>
- <relativePath/>
- </parent>
-
- <groupId>org.o-ran-sc.oam.features.parent</groupId>
- <artifactId>dependencies-odl-bom</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <distributionManagement>
- <repository>
- <id>ecomp-releases</id>
- <url>https://nexus.onap.org/content/repositories/releases</url>
- </repository>
- <snapshotRepository>
- <id>ecomp-snapshots</id>
- <url>https://nexus.onap.org/content/repositories/snapshots</url>
- </snapshotRepository>
- </distributionManagement>
-
- <!-- Note: maven properties do not work as expected in BOMs. The property settings are
- not imported - so if you use a property in the version below, the pom that imports your BOM is
- expected to have that property set - defeating the whole point of a BOM. Moral : use constants,
- not properties, for versions in BOMs -->
- <dependencyManagement>
- <dependencies>
- <!-- Preinstalled OpenDaylight artifacts -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>installed-odl-bom</artifactId>
- <version>${project.version}</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
-
- <!-- Other OpenDaylight dependencies -->
- <dependency>
- <groupId>org.opendaylight.bgpcep</groupId>
- <artifactId>bgp-artifacts</artifactId>
- <version>0.12.3</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>mdsal-artifacts</artifactId>
- <version>1.10.3</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-binding-broker-impl</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-binding-broker-impl</artifactId>
- <version>1.10.3</version>
- <type>test-jar</type>
- <classifier>tests</classifier>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-test-model</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-artifacts</artifactId>
- <version>4.0.14</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>netconf-artifacts</artifactId>
- <version>1.7.3</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>restconf-artifacts</artifactId>
- <version>1.10.3</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
-
- <!-- Other dependencies -->
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>1.2.3</version>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-core</artifactId>
- <version>1.2.3</version>
- </dependency>
- <dependency>
- <groupId>ch.vorburger.mariaDB4j</groupId>
- <artifactId>mariaDB4j</artifactId>
- <version>2.4.0</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.att.eelf</groupId>
- <artifactId>eelf-core</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>com.carrotsearch</groupId>
- <artifactId>hppc</artifactId>
- <version>0.7.1</version>
- </dependency>
- <dependency>
- <groupId>com.github.stefanbirkner</groupId>
- <artifactId>system-rules</artifactId>
- <version>1.19.0</version>
- </dependency>
- <dependency>
- <groupId>com.github.tomakehurst</groupId>
- <artifactId>wiremock</artifactId>
- <version>2.25.1</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.google.protobuf</groupId>
- <artifactId>protobuf-java</artifactId>
- <version>3.10.0</version>
- </dependency>
- <dependency>
- <groupId>com.google.protobuf</groupId>
- <artifactId>protobuf-java-util</artifactId>
- <version>3.10.0</version>
- </dependency>
- <dependency>
- <groupId>com.jayway.jsonpath</groupId>
- <artifactId>json-path</artifactId>
- <version>2.4.0</version>
- </dependency>
- <dependency>
- <groupId>com.ning</groupId>
- <artifactId>compress-lzf</artifactId>
- <version>1.0.2</version>
- </dependency>
- <dependency>
- <groupId>commons-cli</groupId>
- <artifactId>commons-cli</artifactId>
- <version>1.3.1</version>
- </dependency>
- <dependency>
- <groupId>dom4j</groupId>
- <artifactId>dom4j</artifactId>
- <version>1.6.1</version>
- </dependency>
- <!-- Indirect ODL constraint : should be compatible with io.netty version -->
- <dependency>
- <groupId>io.grpc</groupId>
- <artifactId>grpc-bom</artifactId>
- <version>1.21.1</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>jakarta-regexp</groupId>
- <artifactId>jakarta-regexp</artifactId>
- <version>1.4</version>
- </dependency>
- <dependency>
- <groupId>javax</groupId>
- <artifactId>javaee-api</artifactId>
- <version>7.0</version>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.5</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.12</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-io</artifactId>
- <version>1.3.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.derby</groupId>
- <artifactId>derby</artifactId>
- <version>10.14.2.0</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpcore</artifactId>
- <version>4.4.12</version>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- <version>4.5.10</version>
- </dependency>
-
- <!-- There are newer major releases of lucene available -->
- <dependency>
- <groupId>org.apache.sling</groupId>
- <artifactId>org.apache.sling.testing.osgi-mock</artifactId>
- <version>2.3.10</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>tomcat-jdbc</artifactId>
- <version>9.0.30</version>
- </dependency>
- <dependency>
- <groupId>org.apache.velocity</groupId>
- <artifactId>velocity</artifactId>
- <version>1.7</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.jackson</groupId>
- <artifactId>jackson-jaxrs</artifactId>
- <version>1.9.13</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.jettison</groupId>
- <artifactId>jettison</artifactId>
- <version>1.4.0</version>
- </dependency>
- <!-- Constrained by OpenDaylight -->
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-server</artifactId>
- <version>9.4.12.v20180830</version>
- </dependency>
- <!-- Constrained by OpenDaylight -->
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-servlet</artifactId>
- <version>9.4.12.v20180830</version>
- </dependency>
- <dependency>
- <groupId>org.java-websocket</groupId>
- <artifactId>Java-WebSocket</artifactId>
- <version>1.4.0</version>
- </dependency>
- <dependency>
- <groupId>net.bytebuddy</groupId>
- <artifactId>byte-buddy</artifactId>
- <version>1.9.10</version>
- </dependency>
- <dependency>
- <groupId>org.jsoup</groupId>
- <artifactId>jsoup</artifactId>
- <version>1.12.1</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mariadb.jdbc</groupId>
- <artifactId>mariadb-java-client</artifactId>
- <version>2.4.4</version>
- </dependency>
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-api-mockito2</artifactId>
- <version>1.7.4</version>
- </dependency>
- <dependency>
- <groupId>org.powermock</groupId>
- <artifactId>powermock-module-junit4</artifactId>
- <version>1.7.4</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
- <version>1.7.29</version>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-framework-bom</artifactId>
- <version>4.3.25.RELEASE</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- <version>6.14.3</version>
- </dependency>
- <dependency>
- <groupId>org.yaml</groupId>
- <artifactId>snakeyaml</artifactId>
- <version>1.25</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-</project>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.o-ran-sc.oam.features.parent</groupId>
- <artifactId>installed-odl-bom</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <distributionManagement>
- <repository>
- <id>ecomp-releases</id>
- <url>https://nexus.onap.org/content/repositories/releases</url>
- </repository>
- <snapshotRepository>
- <id>ecomp-snapshots</id>
- <url>https://nexus.onap.org/content/repositories/snapshots</url>
- </snapshotRepository>
- </distributionManagement>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>antlr</groupId>
- <artifactId>antlr</artifactId>
- <version>2.7.7</version>
- </dependency>
- <dependency>
- <groupId>com.esotericsoftware</groupId>
- <artifactId>kryo</artifactId>
- <version>4.0.2</version>
- </dependency>
- <dependency>
- <groupId>com.esotericsoftware</groupId>
- <artifactId>minlog</artifactId>
- <version>1.3.1</version>
- </dependency>
- <dependency>
- <groupId>com.esotericsoftware</groupId>
- <artifactId>reflectasm</artifactId>
- <version>1.11.8</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml</groupId>
- <artifactId>classmate</artifactId>
- <version>1.3.4</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-annotations</artifactId>
- <version>2.9.10</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-annotations</artifactId>
- <version>2.9.6</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-core</artifactId>
- <version>2.9.10</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-core</artifactId>
- <version>2.9.6</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
- <version>2.9.10.3</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
- <version>2.9.6</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.dataformat</groupId>
- <artifactId>jackson-dataformat-xml</artifactId>
- <version>2.9.10</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.jaxrs</groupId>
- <artifactId>jackson-jaxrs-base</artifactId>
- <version>2.9.10</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.jaxrs</groupId>
- <artifactId>jackson-jaxrs-json-provider</artifactId>
- <version>2.9.10</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.module</groupId>
- <artifactId>jackson-module-jaxb-annotations</artifactId>
- <version>2.9.10</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.woodstox</groupId>
- <artifactId>woodstox-core</artifactId>
- <version>5.3.0</version>
- </dependency>
- <dependency>
- <groupId>com.github.ben-manes.caffeine</groupId>
- <artifactId>caffeine</artifactId>
- <version>2.7.0</version>
- </dependency>
- <dependency>
- <groupId>com.github.ben-manes.caffeine</groupId>
- <artifactId>guava</artifactId>
- <version>2.7.0</version>
- </dependency>
- <dependency>
- <groupId>com.github.mifmif</groupId>
- <artifactId>generex</artifactId>
- <version>1.0.2</version>
- </dependency>
- <dependency>
- <groupId>com.github.spotbugs</groupId>
- <artifactId>spotbugs-annotations</artifactId>
- <version>3.1.12</version>
- </dependency>
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- <version>2.8.5</version>
- </dependency>
- <dependency>
- <groupId>com.google.errorprone</groupId>
- <artifactId>error_prone_annotations</artifactId>
- <version>2.3.3</version>
- </dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>failureaccess</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- <version>27.1-jre</version>
- </dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>listenablefuture</artifactId>
- <version>9999.0-empty-to-avoid-conflict-with-guava</version>
- </dependency>
- <dependency>
- <groupId>com.google.j2objc</groupId>
- <artifactId>j2objc-annotations</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>com.googlecode.json-simple</groupId>
- <artifactId>json-simple</artifactId>
- <version>1.1.1</version>
- </dependency>
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <version>1.3.172</version>
- </dependency>
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <version>1.4.200</version>
- </dependency>
- <dependency>
- <groupId>com.lmax</groupId>
- <artifactId>disruptor</artifactId>
- <version>3.4.2</version>
- </dependency>
- <dependency>
- <groupId>com.rabbitmq</groupId>
- <artifactId>amqp-client</artifactId>
- <version>4.4.1</version>
- </dependency>
- <dependency>
- <groupId>com.thoughtworks.paranamer</groupId>
- <artifactId>paranamer</artifactId>
- <version>2.8</version>
- </dependency>
- <dependency>
- <groupId>com.typesafe.akka</groupId>
- <artifactId>akka-actor_2.12</artifactId>
- <version>2.5.31</version>
- </dependency>
- <dependency>
- <groupId>com.typesafe.akka</groupId>
- <artifactId>akka-cluster_2.12</artifactId>
- <version>2.5.31</version>
- </dependency>
- <dependency>
- <groupId>com.typesafe.akka</groupId>
- <artifactId>akka-osgi_2.12</artifactId>
- <version>2.5.31</version>
- </dependency>
- <dependency>
- <groupId>com.typesafe.akka</groupId>
- <artifactId>akka-persistence_2.12</artifactId>
- <version>2.5.31</version>
- </dependency>
- <dependency>
- <groupId>com.typesafe.akka</groupId>
- <artifactId>akka-protobuf_2.12</artifactId>
- <version>2.5.31</version>
- </dependency>
- <dependency>
- <groupId>com.typesafe.akka</groupId>
- <artifactId>akka-remote_2.12</artifactId>
- <version>2.5.31</version>
- </dependency>
- <dependency>
- <groupId>com.typesafe.akka</groupId>
- <artifactId>akka-slf4j_2.12</artifactId>
- <version>2.5.31</version>
- </dependency>
- <dependency>
- <groupId>com.typesafe.akka</groupId>
- <artifactId>akka-stream_2.12</artifactId>
- <version>2.5.31</version>
- </dependency>
- <dependency>
- <groupId>com.typesafe</groupId>
- <artifactId>config</artifactId>
- <version>1.3.3</version>
- </dependency>
- <dependency>
- <groupId>com.typesafe</groupId>
- <artifactId>ssl-config-core_2.12</artifactId>
- <version>0.3.8</version>
- </dependency>
- <dependency>
- <groupId>com.zaxxer</groupId>
- <artifactId>HikariCP-java7</artifactId>
- <version>2.4.11</version>
- </dependency>
- <dependency>
- <groupId>commons-beanutils</groupId>
- <artifactId>commons-beanutils</artifactId>
- <version>1.9.4</version>
- </dependency>
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- <version>1.14</version>
- </dependency>
- <dependency>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- <version>3.2.2</version>
- </dependency>
- <dependency>
- <groupId>commons-dbcp</groupId>
- <artifactId>commons-dbcp</artifactId>
- <version>1.4</version>
- </dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>2.6</version>
- </dependency>
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <version>2.6</version>
- </dependency>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.2</version>
- </dependency>
- <dependency>
- <groupId>commons-net</groupId>
- <artifactId>commons-net</artifactId>
- <version>3.6</version>
- </dependency>
- <dependency>
- <groupId>commons-pool</groupId>
- <artifactId>commons-pool</artifactId>
- <version>1.6</version>
- </dependency>
- <dependency>
- <groupId>dk.brics</groupId>
- <artifactId>automaton</artifactId>
- <version>1.12-1</version>
- </dependency>
- <dependency>
- <groupId>io.aeron</groupId>
- <artifactId>aeron-client</artifactId>
- <version>1.15.3</version>
- </dependency>
- <dependency>
- <groupId>io.aeron</groupId>
- <artifactId>aeron-driver</artifactId>
- <version>1.15.3</version>
- </dependency>
- <dependency>
- <groupId>io.dropwizard.metrics</groupId>
- <artifactId>metrics-core</artifactId>
- <version>4.0.5</version>
- </dependency>
- <dependency>
- <groupId>io.dropwizard.metrics</groupId>
- <artifactId>metrics-graphite</artifactId>
- <version>4.0.5</version>
- </dependency>
- <dependency>
- <groupId>io.dropwizard.metrics</groupId>
- <artifactId>metrics-healthchecks</artifactId>
- <version>4.0.5</version>
- </dependency>
- <dependency>
- <groupId>io.dropwizard.metrics</groupId>
- <artifactId>metrics-jmx</artifactId>
- <version>4.0.5</version>
- </dependency>
- <dependency>
- <groupId>io.dropwizard.metrics</groupId>
- <artifactId>metrics-jvm</artifactId>
- <version>4.0.5</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-buffer</artifactId>
- <version>4.1.49.Final</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec-http</artifactId>
- <version>4.1.49.Final</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-codec</artifactId>
- <version>4.1.49.Final</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-common</artifactId>
- <version>4.1.49.Final</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-handler</artifactId>
- <version>4.1.49.Final</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-resolver</artifactId>
- <version>4.1.49.Final</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-transport-native-epoll</artifactId>
- <version>4.1.49.Final</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-transport-native-unix-common</artifactId>
- <version>4.1.49.Final</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-transport</artifactId>
- <version>4.1.49.Final</version>
- </dependency>
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty</artifactId>
- <version>3.10.6.Final</version>
- </dependency>
- <dependency>
- <groupId>io.undertow</groupId>
- <artifactId>undertow-core</artifactId>
- <version>1.4.23.Final</version>
- </dependency>
- <dependency>
- <groupId>io.undertow</groupId>
- <artifactId>undertow-servlet</artifactId>
- <version>1.4.23.Final</version>
- </dependency>
- <dependency>
- <groupId>io.undertow</groupId>
- <artifactId>undertow-websockets-jsr</artifactId>
- <version>1.4.23.Final</version>
- </dependency>
- <dependency>
- <groupId>javax.annotation</groupId>
- <artifactId>javax.annotation-api</artifactId>
- <version>1.2</version>
- </dependency>
- <dependency>
- <groupId>javax.annotation</groupId>
- <artifactId>javax.annotation-api</artifactId>
- <version>1.3</version>
- </dependency>
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>javax.el-api</artifactId>
- <version>3.0.0</version>
- </dependency>
- <dependency>
- <groupId>javax.enterprise</groupId>
- <artifactId>cdi-api</artifactId>
- <version>1.2</version>
- </dependency>
- <dependency>
- <groupId>javax.interceptor</groupId>
- <artifactId>javax.interceptor-api</artifactId>
- <version>1.2</version>
- </dependency>
- <dependency>
- <groupId>javax.jms</groupId>
- <artifactId>javax.jms-api</artifactId>
- <version>2.0.1</version>
- </dependency>
- <dependency>
- <groupId>javax.mail</groupId>
- <artifactId>mail</artifactId>
- <version>1.4.7</version>
- </dependency>
- <dependency>
- <groupId>javax.money</groupId>
- <artifactId>money-api</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>javax.persistence</groupId>
- <artifactId>javax.persistence-api</artifactId>
- <version>2.2</version>
- </dependency>
- <dependency>
- <groupId>javax.security.auth.message</groupId>
- <artifactId>javax.security.auth.message-api</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- <version>3.1.0</version>
- </dependency>
- <dependency>
- <groupId>javax.transaction</groupId>
- <artifactId>javax.transaction-api</artifactId>
- <version>1.2</version>
- </dependency>
- <dependency>
- <groupId>javax.validation</groupId>
- <artifactId>validation-api</artifactId>
- <version>1.1.0.Final</version>
- </dependency>
- <dependency>
- <groupId>javax.validation</groupId>
- <artifactId>validation-api</artifactId>
- <version>2.0.1.Final</version>
- </dependency>
- <dependency>
- <groupId>javax.websocket</groupId>
- <artifactId>javax.websocket-api</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>javax.ws.rs</groupId>
- <artifactId>javax.ws.rs-api</artifactId>
- <version>2.0.1</version>
- </dependency>
- <dependency>
- <groupId>joda-time</groupId>
- <artifactId>joda-time</artifactId>
- <version>2.9.7</version>
- </dependency>
- <dependency>
- <groupId>net.bytebuddy</groupId>
- <artifactId>byte-buddy</artifactId>
- <version>1.9.10</version>
- </dependency>
- <dependency>
- <groupId>net.i2p.crypto</groupId>
- <artifactId>eddsa</artifactId>
- <version>0.3.0</version>
- </dependency>
- <dependency>
- <groupId>net.java.dev.stax-utils</groupId>
- <artifactId>stax-utils</artifactId>
- <version>20070216</version>
- </dependency>
- <dependency>
- <groupId>net.sf.ehcache</groupId>
- <artifactId>ehcache</artifactId>
- <version>2.10.6</version>
- </dependency>
- <dependency>
- <groupId>net.sf.jung</groupId>
- <artifactId>jung-algorithms</artifactId>
- <version>2.1.1</version>
- </dependency>
- <dependency>
- <groupId>net.sf.jung</groupId>
- <artifactId>jung-api</artifactId>
- <version>2.1.1</version>
- </dependency>
- <dependency>
- <groupId>net.sf.jung</groupId>
- <artifactId>jung-graph-impl</artifactId>
- <version>2.1.1</version>
- </dependency>
- <dependency>
- <groupId>net.sf.kxml</groupId>
- <artifactId>kxml2</artifactId>
- <version>2.2.2</version>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.jtds</groupId>
- <artifactId>jtds</artifactId>
- <version>1.3.1</version>
- </dependency>
- <dependency>
- <groupId>org.agrona</groupId>
- <artifactId>agrona</artifactId>
- <version>0.9.33</version>
- </dependency>
- <dependency>
- <groupId>org.antlr</groupId>
- <artifactId>antlr4-runtime</artifactId>
- <version>4.7.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.activemq</groupId>
- <artifactId>activemq-osgi</artifactId>
- <version>5.15.3</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.application</groupId>
- <artifactId>org.apache.aries.application.api</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.application</groupId>
- <artifactId>org.apache.aries.application.default.local.platform</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.application</groupId>
- <artifactId>org.apache.aries.application.deployment.management</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.application</groupId>
- <artifactId>org.apache.aries.application.install</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.application</groupId>
- <artifactId>org.apache.aries.application.management</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.application</groupId>
- <artifactId>org.apache.aries.application.modeller</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.application</groupId>
- <artifactId>org.apache.aries.application.resolver.noop</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.application</groupId>
- <artifactId>org.apache.aries.application.resolver.obr</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.application</groupId>
- <artifactId>org.apache.aries.application.runtime</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.application</groupId>
- <artifactId>org.apache.aries.application.utils</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.blueprint</groupId>
- <artifactId>org.apache.aries.blueprint.api</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.blueprint</groupId>
- <artifactId>org.apache.aries.blueprint.cm</artifactId>
- <version>1.3.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.blueprint</groupId>
- <artifactId>org.apache.aries.blueprint.core.compatibility</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.blueprint</groupId>
- <artifactId>org.apache.aries.blueprint.core</artifactId>
- <version>1.10.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.blueprint</groupId>
- <artifactId>org.apache.aries.blueprint.webosgi</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jmx</groupId>
- <artifactId>org.apache.aries.jmx.api</artifactId>
- <version>1.1.5</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jmx</groupId>
- <artifactId>org.apache.aries.jmx.blueprint.api</artifactId>
- <version>1.2.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jmx</groupId>
- <artifactId>org.apache.aries.jmx.blueprint.core</artifactId>
- <version>1.2.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jmx</groupId>
- <artifactId>org.apache.aries.jmx.core</artifactId>
- <version>1.1.8</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jmx</groupId>
- <artifactId>org.apache.aries.jmx.whiteboard</artifactId>
- <version>1.2.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jndi</groupId>
- <artifactId>org.apache.aries.jndi.api</artifactId>
- <version>1.1.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jndi</groupId>
- <artifactId>org.apache.aries.jndi.core</artifactId>
- <version>1.0.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jndi</groupId>
- <artifactId>org.apache.aries.jndi.legacy.support</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jndi</groupId>
- <artifactId>org.apache.aries.jndi.rmi</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jndi</groupId>
- <artifactId>org.apache.aries.jndi.url</artifactId>
- <version>1.1.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jpa.javax.persistence</groupId>
- <artifactId>javax.persistence_2.1</artifactId>
- <version>2.7.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jpa</groupId>
- <artifactId>org.apache.aries.jpa.api</artifactId>
- <version>2.7.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jpa</groupId>
- <artifactId>org.apache.aries.jpa.blueprint</artifactId>
- <version>2.7.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jpa</groupId>
- <artifactId>org.apache.aries.jpa.container</artifactId>
- <version>2.7.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jpa</groupId>
- <artifactId>org.apache.aries.jpa.eclipselink.adapter</artifactId>
- <version>2.7.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.jpa</groupId>
- <artifactId>org.apache.aries.jpa.support</artifactId>
- <version>2.7.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries</groupId>
- <artifactId>org.apache.aries.util</artifactId>
- <version>1.1.3</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.proxy</groupId>
- <artifactId>org.apache.aries.proxy</artifactId>
- <version>1.1.4</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.proxy</groupId>
- <artifactId>org.apache.aries.proxy</artifactId>
- <version>1.1.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.quiesce</groupId>
- <artifactId>org.apache.aries.quiesce.api</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.spifly</groupId>
- <artifactId>org.apache.aries.spifly.dynamic.bundle</artifactId>
- <version>1.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.subsystem</groupId>
- <artifactId>org.apache.aries.subsystem.api</artifactId>
- <version>2.0.10</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.subsystem</groupId>
- <artifactId>org.apache.aries.subsystem.core</artifactId>
- <version>2.0.10</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.transaction</groupId>
- <artifactId>org.apache.aries.transaction.blueprint</artifactId>
- <version>1.1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.transaction</groupId>
- <artifactId>org.apache.aries.transaction.blueprint</artifactId>
- <version>2.2.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.aries.transaction</groupId>
- <artifactId>org.apache.aries.transaction.manager</artifactId>
- <version>1.3.3</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-dbcp2</artifactId>
- <version>2.1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- <version>3.9</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-pool2</artifactId>
- <version>2.5.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-pool2</artifactId>
- <version>2.6.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-text</artifactId>
- <version>1.8</version>
- </dependency>
- <dependency>
- <groupId>org.apache.deltaspike.core</groupId>
- <artifactId>deltaspike-core-api</artifactId>
- <version>1.8.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.deltaspike.core</groupId>
- <artifactId>deltaspike-core-impl</artifactId>
- <version>1.8.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.deltaspike.modules</groupId>
- <artifactId>deltaspike-data-module-api</artifactId>
- <version>1.8.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.deltaspike.modules</groupId>
- <artifactId>deltaspike-data-module-impl</artifactId>
- <version>1.8.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.deltaspike.modules</groupId>
- <artifactId>deltaspike-jpa-module-api</artifactId>
- <version>1.8.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.deltaspike.modules</groupId>
- <artifactId>deltaspike-jpa-module-impl</artifactId>
- <version>1.8.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.deltaspike.modules</groupId>
- <artifactId>deltaspike-partial-bean-module-api</artifactId>
- <version>1.8.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.deltaspike.modules</groupId>
- <artifactId>deltaspike-partial-bean-module-impl</artifactId>
- <version>1.8.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.deltaspike.modules</groupId>
- <artifactId>deltaspike-proxy-module-api</artifactId>
- <version>1.8.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.deltaspike.modules</groupId>
- <artifactId>deltaspike-proxy-module-impl-asm5</artifactId>
- <version>1.8.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.derby</groupId>
- <artifactId>derby</artifactId>
- <version>10.14.2.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.derby</groupId>
- <artifactId>derbyclient</artifactId>
- <version>10.14.2.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.bundlerepository</artifactId>
- <version>2.0.10</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.configadmin</artifactId>
- <version>1.9.14</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.coordinator</artifactId>
- <version>1.0.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.dependencymanager</artifactId>
- <version>4.4.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.fileinstall</artifactId>
- <version>3.6.4</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.framework.security</artifactId>
- <version>2.6.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.framework</artifactId>
- <version>5.6.12</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.http.jetty</artifactId>
- <version>4.0.8</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.http.servlet-api</artifactId>
- <version>1.1.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.http.whiteboard</artifactId>
- <version>4.0.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.httplite.complete</artifactId>
- <version>0.1.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.inventory</artifactId>
- <version>1.0.4</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.metatype</artifactId>
- <version>1.2.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.scr</artifactId>
- <version>2.1.16</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.webconsole.plugins.ds</artifactId>
- <version>2.1.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.webconsole.plugins.event</artifactId>
- <version>1.1.8</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.apache.felix.webconsole.plugins.memoryusage</artifactId>
- <version>1.0.10</version>
- </dependency>
- <dependency>
- <groupId>org.apache.felix</groupId>
- <artifactId>org.osgi.service.obr</artifactId>
- <version>1.0.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.bundles</groupId>
- <artifactId>commons-discovery</artifactId>
- <version>0.4_1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.components</groupId>
- <artifactId>geronimo-connector</artifactId>
- <version>3.1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.components</groupId>
- <artifactId>geronimo-connector</artifactId>
- <version>3.1.4</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-annotation_1.0_spec</artifactId>
- <version>1.1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-annotation_1.1_spec</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-atinject_1.0_spec</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-ejb_3.1_spec</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-el_1.0_spec</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-j2ee-connector_1.6_spec</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-j2ee-management_1.1_spec</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-jaspic_1.0_spec</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-jaxrpc_1.1_spec</artifactId>
- <version>2.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-jaxws_2.2_spec</artifactId>
- <version>1.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-jms_1.1_spec</artifactId>
- <version>1.1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-jpa_2.0_spec</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-jta_1.1_spec</artifactId>
- <version>1.1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-osgi-registry</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-stax-api_1.2_spec</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-validation_1.0_spec</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.audit</groupId>
- <artifactId>org.apache.karaf.audit.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.bundle</groupId>
- <artifactId>org.apache.karaf.bundle.blueprintstate</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.bundle</groupId>
- <artifactId>org.apache.karaf.bundle.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.config</groupId>
- <artifactId>org.apache.karaf.config.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.deployer</groupId>
- <artifactId>org.apache.karaf.deployer.blueprint</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.deployer</groupId>
- <artifactId>org.apache.karaf.deployer.features</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.deployer</groupId>
- <artifactId>org.apache.karaf.deployer.kar</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.deployer</groupId>
- <artifactId>org.apache.karaf.deployer.wrap</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.diagnostic</groupId>
- <artifactId>org.apache.karaf.diagnostic.boot</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.diagnostic</groupId>
- <artifactId>org.apache.karaf.diagnostic.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.docker</groupId>
- <artifactId>org.apache.karaf.docker.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>org.apache.karaf.features.command</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>org.apache.karaf.features.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.features</groupId>
- <artifactId>org.apache.karaf.features.extension</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.http</groupId>
- <artifactId>org.apache.karaf.http.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.instance</groupId>
- <artifactId>org.apache.karaf.instance.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.jaas.blueprint</groupId>
- <artifactId>org.apache.karaf.jaas.blueprint.config</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.jaas.blueprint</groupId>
- <artifactId>org.apache.karaf.jaas.blueprint.jasypt</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.jaas</groupId>
- <artifactId>org.apache.karaf.jaas.boot</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.jaas</groupId>
- <artifactId>org.apache.karaf.jaas.command</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.jaas</groupId>
- <artifactId>org.apache.karaf.jaas.config</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.jaas</groupId>
- <artifactId>org.apache.karaf.jaas.jasypt</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.jaas</groupId>
- <artifactId>org.apache.karaf.jaas.modules</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.jdbc</groupId>
- <artifactId>org.apache.karaf.jdbc.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.jms</groupId>
- <artifactId>org.apache.karaf.jms.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.jndi</groupId>
- <artifactId>org.apache.karaf.jndi.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.kar</groupId>
- <artifactId>org.apache.karaf.kar.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.log</groupId>
- <artifactId>org.apache.karaf.log.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.management</groupId>
- <artifactId>org.apache.karaf.management.server</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf</groupId>
- <artifactId>manual</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.maven</groupId>
- <artifactId>org.apache.karaf.maven.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.obr</groupId>
- <artifactId>org.apache.karaf.obr.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf</groupId>
- <artifactId>org.apache.karaf.client</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf</groupId>
- <artifactId>org.apache.karaf.event</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.package</groupId>
- <artifactId>org.apache.karaf.package.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.profile</groupId>
- <artifactId>org.apache.karaf.profile.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.scheduler</groupId>
- <artifactId>org.apache.karaf.scheduler.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.scr</groupId>
- <artifactId>org.apache.karaf.scr.management</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.scr</groupId>
- <artifactId>org.apache.karaf.scr.state</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.service</groupId>
- <artifactId>org.apache.karaf.service.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.service</groupId>
- <artifactId>org.apache.karaf.service.guard</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.services</groupId>
- <artifactId>org.apache.karaf.services.coordinator</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.services</groupId>
- <artifactId>org.apache.karaf.services.eventadmin</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.shell</groupId>
- <artifactId>org.apache.karaf.shell.commands</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.shell</groupId>
- <artifactId>org.apache.karaf.shell.console</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.shell</groupId>
- <artifactId>org.apache.karaf.shell.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.shell</groupId>
- <artifactId>org.apache.karaf.shell.ssh</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.shell</groupId>
- <artifactId>org.apache.karaf.shell.table</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.subsystem</groupId>
- <artifactId>org.apache.karaf.subsystem.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.system</groupId>
- <artifactId>org.apache.karaf.system.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.tooling</groupId>
- <artifactId>org.apache.karaf.tools.utils</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.web</groupId>
- <artifactId>org.apache.karaf.web.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.webconsole</groupId>
- <artifactId>org.apache.karaf.webconsole.console</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.webconsole</groupId>
- <artifactId>org.apache.karaf.webconsole.features</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.webconsole</groupId>
- <artifactId>org.apache.karaf.webconsole.gogo</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.webconsole</groupId>
- <artifactId>org.apache.karaf.webconsole.http</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.webconsole</groupId>
- <artifactId>org.apache.karaf.webconsole.instance</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.wrapper</groupId>
- <artifactId>org.apache.karaf.wrapper.core</artifactId>
- <version>4.2.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.myfaces.core</groupId>
- <artifactId>myfaces-api</artifactId>
- <version>2.2.12</version>
- </dependency>
- <dependency>
- <groupId>org.apache.myfaces.core</groupId>
- <artifactId>myfaces-impl</artifactId>
- <version>2.2.12</version>
- </dependency>
- <dependency>
- <groupId>org.apache.openjpa</groupId>
- <artifactId>openjpa</artifactId>
- <version>3.0.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.openwebbeans</groupId>
- <artifactId>openwebbeans-el22</artifactId>
- <version>1.7.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.openwebbeans</groupId>
- <artifactId>openwebbeans-impl</artifactId>
- <version>1.7.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.openwebbeans</groupId>
- <artifactId>openwebbeans-spi</artifactId>
- <version>1.7.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.openwebbeans</groupId>
- <artifactId>openwebbeans-web</artifactId>
- <version>1.7.6</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.bundles</groupId>
- <artifactId>org.apache.servicemix.bundles.c3p0</artifactId>
- <version>0.9.5.2_1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.bundles</groupId>
- <artifactId>org.apache.servicemix.bundles.cglib</artifactId>
- <version>3.2.4_1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.bundles</groupId>
- <artifactId>org.apache.servicemix.bundles.commons-digester</artifactId>
- <version>1.8_4</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.bundles</groupId>
- <artifactId>org.apache.servicemix.bundles.jasypt-spring31</artifactId>
- <version>1.9.2_1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.bundles</groupId>
- <artifactId>org.apache.servicemix.bundles.jasypt</artifactId>
- <version>1.9.2_1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.bundles</groupId>
- <artifactId>org.apache.servicemix.bundles.javax-inject</artifactId>
- <version>1_2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.bundles</groupId>
- <artifactId>org.apache.servicemix.bundles.jsr305</artifactId>
- <version>1.3.9_1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.bundles</groupId>
- <artifactId>org.apache.servicemix.bundles.not-yet-commons-ssl</artifactId>
- <version>0.3.11_1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.bundles</groupId>
- <artifactId>org.apache.servicemix.bundles.serp</artifactId>
- <version>1.14.1_1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.specs</groupId>
- <artifactId>org.apache.servicemix.specs.activation-api-1.1</artifactId>
- <version>2.9.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.specs</groupId>
- <artifactId>org.apache.servicemix.specs.java-persistence-api-2.0</artifactId>
- <version>2.9.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.specs</groupId>
- <artifactId>org.apache.servicemix.specs.javamail-api-1.4</artifactId>
- <version>2.9.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.specs</groupId>
- <artifactId>org.apache.servicemix.specs.jaxb-api-2.2</artifactId>
- <version>2.9.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.specs</groupId>
- <artifactId>org.apache.servicemix.specs.jaxp-api-1.3</artifactId>
- <version>2.9.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.specs</groupId>
- <artifactId>org.apache.servicemix.specs.jsr250-1.0</artifactId>
- <version>2.9.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.specs</groupId>
- <artifactId>org.apache.servicemix.specs.jsr303-api-1.0.0</artifactId>
- <version>2.9.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.servicemix.specs</groupId>
- <artifactId>org.apache.servicemix.specs.saaj-api-1.3</artifactId>
- <version>2.9.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.shiro</groupId>
- <artifactId>shiro-core</artifactId>
- <version>1.3.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.shiro</groupId>
- <artifactId>shiro-web</artifactId>
- <version>1.3.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.sshd</groupId>
- <artifactId>sshd-core</artifactId>
- <version>1.7.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.sshd</groupId>
- <artifactId>sshd-netty</artifactId>
- <version>2.3.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.sshd</groupId>
- <artifactId>sshd-osgi</artifactId>
- <version>2.3.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xbean</groupId>
- <artifactId>xbean-asm5-shaded</artifactId>
- <version>4.3</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xbean</groupId>
- <artifactId>xbean-asm6-shaded</artifactId>
- <version>4.9</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xbean</groupId>
- <artifactId>xbean-asm7-shaded</artifactId>
- <version>4.12</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xbean</groupId>
- <artifactId>xbean-bundleutils</artifactId>
- <version>4.12</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xbean</groupId>
- <artifactId>xbean-finder-shaded</artifactId>
- <version>4.12</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xbean</groupId>
- <artifactId>xbean-finder</artifactId>
- <version>4.12</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xbean</groupId>
- <artifactId>xbean-naming</artifactId>
- <version>4.14</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xbean</groupId>
- <artifactId>xbean-reflect</artifactId>
- <version>4.12</version>
- </dependency>
- <dependency>
- <groupId>org.checkerframework</groupId>
- <artifactId>checker-qual</artifactId>
- <version>2.5.8</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.groovy</groupId>
- <artifactId>groovy-all</artifactId>
- <version>2.4.12</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>animal-sniffer-annotations</artifactId>
- <version>1.17</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.woodstox</groupId>
- <artifactId>stax2-api</artifactId>
- <version>4.2</version>
- </dependency>
- <dependency>
- <groupId>org.dom4j</groupId>
- <artifactId>dom4j</artifactId>
- <version>2.1.1</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jdt.core.compiler</groupId>
- <artifactId>ecj</artifactId>
- <version>4.5.1</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jdt</groupId>
- <artifactId>org.eclipse.jdt.annotation</artifactId>
- <version>2.2.100</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty.aggregate</groupId>
- <artifactId>jetty-all-server</artifactId>
- <version>8.1.14.v20131031</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty.alpn</groupId>
- <artifactId>alpn-api</artifactId>
- <version>1.1.2.v20150522</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty.http2</groupId>
- <artifactId>http2-common</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty.http2</groupId>
- <artifactId>http2-hpack</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty.http2</groupId>
- <artifactId>http2-server</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-alpn-server</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-client</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-continuation</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-deploy</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-http</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-io</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-jaas</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-jaspi</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-jmx</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-jndi</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-plus</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-rewrite</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-security</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-server</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-servlet</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-servlets</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-util-ajax</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-util</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-webapp</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-xml</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty.osgi</groupId>
- <artifactId>jetty-osgi-alpn</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty.websocket</groupId>
- <artifactId>javax-websocket-client-impl</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty.websocket</groupId>
- <artifactId>javax-websocket-server-impl</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty.websocket</groupId>
- <artifactId>websocket-api</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty.websocket</groupId>
- <artifactId>websocket-client</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty.websocket</groupId>
- <artifactId>websocket-common</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty.websocket</groupId>
- <artifactId>websocket-server</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty.websocket</groupId>
- <artifactId>websocket-servlet</artifactId>
- <version>9.4.18.v20190429</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.persistence</groupId>
- <artifactId>javax.persistence</artifactId>
- <version>2.1.0</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.persistence</groupId>
- <artifactId>javax.persistence</artifactId>
- <version>2.2.0</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.persistence</groupId>
- <artifactId>org.eclipse.persistence.antlr</artifactId>
- <version>2.7.4</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.persistence</groupId>
- <artifactId>org.eclipse.persistence.asm</artifactId>
- <version>2.7.4</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.persistence</groupId>
- <artifactId>org.eclipse.persistence.core</artifactId>
- <version>2.7.4</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.persistence</groupId>
- <artifactId>org.eclipse.persistence.jpa.jpql</artifactId>
- <version>2.7.4</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.persistence</groupId>
- <artifactId>org.eclipse.persistence.jpa</artifactId>
- <version>2.7.4</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.platform</groupId>
- <artifactId>org.eclipse.osgi</artifactId>
- <version>3.12.100</version>
- </dependency>
- <dependency>
- <groupId>org.fusesource.hawtbuf</groupId>
- <artifactId>hawtbuf</artifactId>
- <version>1.11</version>
- </dependency>
- <dependency>
- <groupId>org.fusesource.jansi</groupId>
- <artifactId>jansi</artifactId>
- <version>1.18</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.hk2.external</groupId>
- <artifactId>aopalliance-repackaged</artifactId>
- <version>2.5.0-b32</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.hk2.external</groupId>
- <artifactId>javax.inject</artifactId>
- <version>2.5.0-b32</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.hk2</groupId>
- <artifactId>hk2-api</artifactId>
- <version>2.5.0-b32</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.hk2</groupId>
- <artifactId>hk2-locator</artifactId>
- <version>2.5.0-b32</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.hk2</groupId>
- <artifactId>hk2-utils</artifactId>
- <version>2.5.0-b32</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.hk2</groupId>
- <artifactId>osgi-resource-locator</artifactId>
- <version>1.0.1</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish</groupId>
- <artifactId>javax.el</artifactId>
- <version>3.0.1-b09</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
- <artifactId>jersey-guava</artifactId>
- <version>2.25.1</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jersey.containers</groupId>
- <artifactId>jersey-container-servlet-core</artifactId>
- <version>2.25.1</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jersey.containers</groupId>
- <artifactId>jersey-container-servlet</artifactId>
- <version>2.25.1</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jersey.core</groupId>
- <artifactId>jersey-client</artifactId>
- <version>2.25.1</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jersey.core</groupId>
- <artifactId>jersey-common</artifactId>
- <version>2.25.1</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jersey.core</groupId>
- <artifactId>jersey-server</artifactId>
- <version>2.25.1</version>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jersey.media</groupId>
- <artifactId>jersey-media-jaxb</artifactId>
- <version>2.25.1</version>
- </dependency>
- <dependency>
- <groupId>org.hibernate.common</groupId>
- <artifactId>hibernate-commons-annotations</artifactId>
- <version>5.1.0.Final</version>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-core</artifactId>
- <version>5.4.2.Final</version>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-envers</artifactId>
- <version>5.4.2.Final</version>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-osgi</artifactId>
- <version>5.4.2.Final</version>
- </dependency>
- <dependency>
- <groupId>org.hibernate.validator</groupId>
- <artifactId>hibernate-validator</artifactId>
- <version>6.0.16.Final</version>
- </dependency>
- <dependency>
- <groupId>org.hsqldb</groupId>
- <artifactId>hsqldb</artifactId>
- <version>2.3.4</version>
- </dependency>
- <dependency>
- <groupId>org.iq80.leveldb</groupId>
- <artifactId>leveldb</artifactId>
- <version>0.10</version>
- </dependency>
- <dependency>
- <groupId>org.javamoney</groupId>
- <artifactId>moneta</artifactId>
- <version>1.1</version>
- </dependency>
- <dependency>
- <groupId>org.javassist</groupId>
- <artifactId>javassist</artifactId>
- <version>3.24.0-GA</version>
- </dependency>
- <dependency>
- <groupId>org.javassist</groupId>
- <artifactId>javassist</artifactId>
- <version>3.26.0-GA</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.classfilewriter</groupId>
- <artifactId>jboss-classfilewriter</artifactId>
- <version>1.1.2.Final</version>
- </dependency>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jandex</artifactId>
- <version>2.0.5.Final</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.logging</groupId>
- <artifactId>jboss-logging</artifactId>
- <version>3.3.2.Final</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.narayana.osgi</groupId>
- <artifactId>narayana-osgi-jta</artifactId>
- <version>5.8.2.Final</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.spec.javax.transaction</groupId>
- <artifactId>jboss-transaction-api_1.2_spec</artifactId>
- <version>1.1.1.Final</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-osgi-bundle</artifactId>
- <version>2.4.8.Final</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.xnio</groupId>
- <artifactId>xnio-api</artifactId>
- <version>3.3.8.Final</version>
- </dependency>
- <dependency>
- <groupId>org.jboss.xnio</groupId>
- <artifactId>xnio-nio</artifactId>
- <version>3.3.8.Final</version>
- </dependency>
- <dependency>
- <groupId>org.jline</groupId>
- <artifactId>jline-builtins</artifactId>
- <version>3.11.0</version>
- </dependency>
- <dependency>
- <groupId>org.jline</groupId>
- <artifactId>jline-reader</artifactId>
- <version>3.11.0</version>
- </dependency>
- <dependency>
- <groupId>org.jline</groupId>
- <artifactId>jline-terminal-jansi</artifactId>
- <version>3.11.0</version>
- </dependency>
- <dependency>
- <groupId>org.jline</groupId>
- <artifactId>jline-terminal</artifactId>
- <version>3.11.0</version>
- </dependency>
- <dependency>
- <groupId>org.jline</groupId>
- <artifactId>jline</artifactId>
- <version>3.11.0</version>
- </dependency>
- <dependency>
- <groupId>org.jolokia</groupId>
- <artifactId>jolokia-core</artifactId>
- <version>1.6.2</version>
- </dependency>
- <dependency>
- <groupId>org.jolokia</groupId>
- <artifactId>jolokia-jsr160</artifactId>
- <version>1.6.2</version>
- </dependency>
- <dependency>
- <groupId>org.jolokia</groupId>
- <artifactId>jolokia-osgi</artifactId>
- <version>1.6.2</version>
- </dependency>
- <dependency>
- <groupId>org.json</groupId>
- <artifactId>json</artifactId>
- <version>20131018</version>
- </dependency>
- <dependency>
- <groupId>org.jsoup</groupId>
- <artifactId>jsoup</artifactId>
- <version>1.8.3</version>
- </dependency>
- <dependency>
- <groupId>org.mariadb.jdbc</groupId>
- <artifactId>mariadb-java-client</artifactId>
- <version>1.5.9</version>
- </dependency>
- <dependency>
- <groupId>org.messaginghub</groupId>
- <artifactId>pooled-jms</artifactId>
- <version>1.0.5</version>
- </dependency>
- <dependency>
- <groupId>org.objenesis</groupId>
- <artifactId>objenesis</artifactId>
- <version>2.6</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.aaa</groupId>
- <artifactId>aaa-authn-api</artifactId>
- <version>0.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.aaa</groupId>
- <artifactId>aaa-cert</artifactId>
- <version>0.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.aaa</groupId>
- <artifactId>aaa-cli</artifactId>
- <version>0.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.aaa</groupId>
- <artifactId>aaa-encrypt-service-impl</artifactId>
- <version>0.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.aaa</groupId>
- <artifactId>aaa-encrypt-service</artifactId>
- <version>0.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.aaa</groupId>
- <artifactId>aaa-filterchain</artifactId>
- <version>0.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.aaa</groupId>
- <artifactId>aaa-password-service-api</artifactId>
- <version>0.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.aaa</groupId>
- <artifactId>aaa-password-service-impl</artifactId>
- <version>0.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.aaa</groupId>
- <artifactId>aaa-shiro-api</artifactId>
- <version>0.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.aaa</groupId>
- <artifactId>aaa-shiro</artifactId>
- <version>0.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.aaa.web</groupId>
- <artifactId>servlet-api</artifactId>
- <version>0.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.aaa.web</groupId>
- <artifactId>servlet-jersey2</artifactId>
- <version>0.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.aaa.web</groupId>
- <artifactId>web-api</artifactId>
- <version>0.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.aaa.web</groupId>
- <artifactId>web-osgi-impl</artifactId>
- <version>0.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>benchmark-api</artifactId>
- <version>1.8.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>blueprint</artifactId>
- <version>0.11.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>cds-access-api</artifactId>
- <version>1.6.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>cds-access-client</artifactId>
- <version>1.6.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>cds-dom-api</artifactId>
- <version>1.6.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>dsbenchmark</artifactId>
- <version>1.8.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>mdsal-trace-api</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>mdsal-trace-binding-impl</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>mdsal-trace-cli</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>mdsal-trace-dom-impl</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>messagebus-api</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>messagebus-impl</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>messagebus-spi</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>messagebus-util</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller.model</groupId>
- <artifactId>model-inventory</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller.model</groupId>
- <artifactId>model-topology</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>netty-config-api</artifactId>
- <version>0.11.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>netty-event-executor-config</artifactId>
- <version>0.11.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>netty-threadgroup-config</artifactId>
- <version>0.11.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>netty-timer-config</artifactId>
- <version>0.11.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>ntfbenchmark</artifactId>
- <version>1.8.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>rpcbenchmark</artifactId>
- <version>1.8.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-akka-raft</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-akka-segmented-journal</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-binding-api</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-binding-broker-impl</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-binding-util</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-broker-impl</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-cluster-admin-api</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-cluster-admin-impl</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-clustering-commons</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-common-api</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-common-impl</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-common-util</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-core-api</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-core-compat</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-core-spi</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-distributed-datastore</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-inmemory-datastore</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>sal-remoterpc-connector</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller.samples</groupId>
- <artifactId>clustering-it-model</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller.samples</groupId>
- <artifactId>clustering-it-provider</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller.samples</groupId>
- <artifactId>sample-toaster-consumer</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller.samples</groupId>
- <artifactId>sample-toaster-provider</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller.samples</groupId>
- <artifactId>sample-toaster</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>threadpool-config-api</artifactId>
- <version>0.11.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.controller</groupId>
- <artifactId>threadpool-config-impl</artifactId>
- <version>0.11.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.daexim</groupId>
- <artifactId>daexim-akka-infoprovider-impl</artifactId>
- <version>1.6.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.daexim</groupId>
- <artifactId>daexim-impl</artifactId>
- <version>1.6.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.daexim</groupId>
- <artifactId>daexim-model</artifactId>
- <version>1.6.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.daexim</groupId>
- <artifactId>daexim-spi</artifactId>
- <version>1.6.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.infrautils</groupId>
- <artifactId>infrautils-util</artifactId>
- <version>1.6.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.infrautils</groupId>
- <artifactId>ready-api</artifactId>
- <version>1.6.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.infrautils</groupId>
- <artifactId>ready-impl</artifactId>
- <version>1.6.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
- <artifactId>rfc6991-ietf-inet-types</artifactId>
- <version>2.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
- <artifactId>rfc6991-ietf-yang-types</artifactId>
- <version>2.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
- <artifactId>rfc6991</artifactId>
- <version>2.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
- <artifactId>rfc7895</artifactId>
- <version>2.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
- <artifactId>rfc7952</artifactId>
- <version>2.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
- <artifactId>rfc8342-ietf-datastores</artifactId>
- <version>2.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
- <artifactId>rfc8342-ietf-origin</artifactId>
- <version>2.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
- <artifactId>rfc8342</artifactId>
- <version>2.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-binding-api</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-binding-dom-adapter</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-binding-dom-codec-osgi</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-binding-dom-codec</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-binding-generator-api</artifactId>
- <version>2.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-binding-generator-impl</artifactId>
- <version>2.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-binding-generator-util</artifactId>
- <version>2.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-binding-spec-util</artifactId>
- <version>2.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-binding-spi</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-binding-util</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-common-api</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-common-util</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-dom-api</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-dom-broker</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-dom-inmemory-datastore</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-dom-schema-service-osgi</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-dom-spi</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-eos-binding-adapter</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-eos-binding-api</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-eos-common-api</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-eos-common-spi</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-eos-dom-api</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-eos-dom-simple</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-singleton-common-api</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>mdsal-singleton-dom-impl</artifactId>
- <version>4.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.model</groupId>
- <artifactId>general-entity</artifactId>
- <version>2.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.model</groupId>
- <artifactId>ietf-restconf</artifactId>
- <version>2013.10.19.16.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.model</groupId>
- <artifactId>ietf-ted</artifactId>
- <version>2013.10.21.16.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.model</groupId>
- <artifactId>ietf-topology-isis</artifactId>
- <version>2013.10.21.16.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.model</groupId>
- <artifactId>ietf-topology-l3-unicast-igp</artifactId>
- <version>2013.10.21.16.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.model</groupId>
- <artifactId>ietf-topology-ospf</artifactId>
- <version>2013.10.21.16.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.model</groupId>
- <artifactId>ietf-topology</artifactId>
- <version>2013.10.21.16.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.model</groupId>
- <artifactId>ietf-type-util</artifactId>
- <version>3.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal.model</groupId>
- <artifactId>yang-ext</artifactId>
- <version>2013.09.07.16.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>yang-binding</artifactId>
- <version>2.0.14</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>aaa-authn-odl-plugin</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>callhome-model</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>callhome-protocol</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>callhome-provider</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>ietf-netconf-monitoring-extension</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>ietf-netconf-monitoring</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>ietf-netconf-nmda</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>ietf-netconf-notifications</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>ietf-netconf-with-defaults</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>ietf-netconf</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>ietf-restconf-monitoring</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>ietf-restconf</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>mdsal-netconf-connector</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>mdsal-netconf-impl</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>mdsal-netconf-monitoring</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>mdsal-netconf-notification</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>mdsal-netconf-ssh</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>mdsal-netconf-tcp</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>mdsal-netconf-yang-library</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>messagebus-netconf</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>netconf-api</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>netconf-auth</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>netconf-client</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>netconf-config</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>netconf-console</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>netconf-impl</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>netconf-mapping-api</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>netconf-netty-util</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>netconf-notifications-api</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>netconf-topology-config</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>netconf-topology-singleton</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>netconf-topology</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>netconf-util</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>restconf-common-models</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>restconf-common</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>restconf-nb-bierman02</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>restconf-nb-rfc8040</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>sal-netconf-connector</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>sal-rest-docgen</artifactId>
- <version>1.10.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>shaded-exificient</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>shaded-sshd</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>yanglib</artifactId>
- <version>1.7.3</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.odlparent</groupId>
- <artifactId>bcpkix-framework-ext</artifactId>
- <version>5.0.7</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.odlparent</groupId>
- <artifactId>bcprov-framework-ext</artifactId>
- <version>5.0.7</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.odlparent</groupId>
- <artifactId>karaf.branding</artifactId>
- <version>5.0.7</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.odlparent</groupId>
- <artifactId>leveldbjni-all</artifactId>
- <version>5.0.7</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.odlparent</groupId>
- <artifactId>logging-markers</artifactId>
- <version>5.0.7</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>concepts</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>odlext-model-api</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>odlext-parser-support</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>openconfig-model-api</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>openconfig-parser-support</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>rfc6241-model-api</artifactId>
- <version>1.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>rfc6241-parser-support</artifactId>
- <version>1.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>rfc6536-model-api</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>rfc6536-parser-support</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>rfc7952-data-api</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>rfc7952-data-util</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>rfc7952-model-api</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>rfc7952-parser-support</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>rfc8040-model-api</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>rfc8040-parser-support</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>rfc8528-data-api</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>rfc8528-data-util</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>rfc8528-model-api</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>rfc8528-parser-support</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>util</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-common</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-data-api</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-data-codec-gson</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-data-codec-xml</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-data-impl</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-data-transform</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-data-util</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-model-api</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-model-export</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-model-util</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-parser-api</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-parser-impl</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-parser-reactor</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-parser-rfc7950</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-parser-spi</artifactId>
- <version>3.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-xpath-api</artifactId>
- <version>1.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-xpath-impl</artifactId>
- <version>1.0.11</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.base</groupId>
- <artifactId>ops4j-base</artifactId>
- <version>1.5.0</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.cdi</groupId>
- <artifactId>pax-cdi-api</artifactId>
- <version>1.1.1</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.cdi</groupId>
- <artifactId>pax-cdi-extender</artifactId>
- <version>1.1.1</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.cdi</groupId>
- <artifactId>pax-cdi-extension</artifactId>
- <version>1.1.1</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.cdi</groupId>
- <artifactId>pax-cdi-jetty-openwebbeans</artifactId>
- <version>1.1.1</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.cdi</groupId>
- <artifactId>pax-cdi-jetty-weld</artifactId>
- <version>1.1.1</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.cdi</groupId>
- <artifactId>pax-cdi-openwebbeans</artifactId>
- <version>1.1.1</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.cdi</groupId>
- <artifactId>pax-cdi-spi</artifactId>
- <version>1.1.1</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.cdi</groupId>
- <artifactId>pax-cdi-undertow-openwebbeans</artifactId>
- <version>1.1.1</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.cdi</groupId>
- <artifactId>pax-cdi-undertow-weld</artifactId>
- <version>1.1.1</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.cdi</groupId>
- <artifactId>pax-cdi-web</artifactId>
- <version>1.1.1</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.cdi</groupId>
- <artifactId>pax-cdi-weld</artifactId>
- <version>1.1.1</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc-config</artifactId>
- <version>1.3.5</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc-db2</artifactId>
- <version>1.3.5</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc-derby</artifactId>
- <version>1.3.5</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc-derbyclient</artifactId>
- <version>1.3.5</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc-hsqldb</artifactId>
- <version>1.3.5</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc-jtds</artifactId>
- <version>1.3.5</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc-mariadb</artifactId>
- <version>1.3.5</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc-mssql</artifactId>
- <version>1.3.5</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc-oracle</artifactId>
- <version>1.3.5</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc-pool-aries</artifactId>
- <version>1.3.5</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc-pool-c3p0</artifactId>
- <version>1.3.5</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc-pool-common</artifactId>
- <version>1.3.5</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc-pool-dbcp2</artifactId>
- <version>1.3.5</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc-pool-hikaricp</artifactId>
- <version>1.3.5</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc-pool-narayana</artifactId>
- <version>1.3.5</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc-pool-transx</artifactId>
- <version>1.3.5</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc-sqlite</artifactId>
- <version>1.3.5</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc-teradata</artifactId>
- <version>1.3.5</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc</artifactId>
- <version>1.3.2</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jdbc</groupId>
- <artifactId>pax-jdbc</artifactId>
- <version>1.3.5</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jms</groupId>
- <artifactId>pax-jms-activemq</artifactId>
- <version>1.0.4</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jms</groupId>
- <artifactId>pax-jms-api</artifactId>
- <version>1.0.4</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jms</groupId>
- <artifactId>pax-jms-artemis</artifactId>
- <version>1.0.4</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jms</groupId>
- <artifactId>pax-jms-config</artifactId>
- <version>1.0.4</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jms</groupId>
- <artifactId>pax-jms-ibmmq</artifactId>
- <version>1.0.4</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jms</groupId>
- <artifactId>pax-jms-oracleaq</artifactId>
- <version>1.0.4</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jms</groupId>
- <artifactId>pax-jms-pool-narayana</artifactId>
- <version>1.0.4</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jms</groupId>
- <artifactId>pax-jms-pool-pooledjms</artifactId>
- <version>1.0.4</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jms</groupId>
- <artifactId>pax-jms-pool-transx</artifactId>
- <version>1.0.4</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.jpa</groupId>
- <artifactId>pax-jpa</artifactId>
- <version>0.3.0</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.logging</groupId>
- <artifactId>pax-logging-api</artifactId>
- <version>1.10.1</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.logging</groupId>
- <artifactId>pax-logging-log4j2</artifactId>
- <version>1.10.1</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.logging</groupId>
- <artifactId>pax-logging-logback</artifactId>
- <version>1.10.1</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.tipi</groupId>
- <artifactId>org.ops4j.pax.tipi.tomcat-embed-core</artifactId>
- <version>8.5.32.1</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.tipi</groupId>
- <artifactId>org.ops4j.pax.tipi.tomcat-embed-websocket</artifactId>
- <version>8.5.32.1</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.transx</groupId>
- <artifactId>pax-transx-connector</artifactId>
- <version>0.4.2</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.transx</groupId>
- <artifactId>pax-transx-connector</artifactId>
- <version>0.4.3</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.transx</groupId>
- <artifactId>pax-transx-jdbc</artifactId>
- <version>0.4.2</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.transx</groupId>
- <artifactId>pax-transx-jdbc</artifactId>
- <version>0.4.3</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.transx</groupId>
- <artifactId>pax-transx-jms</artifactId>
- <version>0.4.2</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.transx</groupId>
- <artifactId>pax-transx-jms</artifactId>
- <version>0.4.3</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.transx</groupId>
- <artifactId>pax-transx-tm-api</artifactId>
- <version>0.4.2</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.transx</groupId>
- <artifactId>pax-transx-tm-api</artifactId>
- <version>0.4.3</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.transx</groupId>
- <artifactId>pax-transx-tm-atomikos</artifactId>
- <version>0.4.2</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.transx</groupId>
- <artifactId>pax-transx-tm-atomikos</artifactId>
- <version>0.4.3</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.transx</groupId>
- <artifactId>pax-transx-tm-geronimo</artifactId>
- <version>0.4.2</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.transx</groupId>
- <artifactId>pax-transx-tm-geronimo</artifactId>
- <version>0.4.3</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.transx</groupId>
- <artifactId>pax-transx-tm-narayana</artifactId>
- <version>0.4.2</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.transx</groupId>
- <artifactId>pax-transx-tm-narayana</artifactId>
- <version>0.4.3</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.url</groupId>
- <artifactId>pax-url-aether</artifactId>
- <version>2.6.1</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.url</groupId>
- <artifactId>pax-url-obr</artifactId>
- <version>2.6.1</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.url</groupId>
- <artifactId>pax-url-war</artifactId>
- <version>2.6.1</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.url</groupId>
- <artifactId>pax-url-wrap</artifactId>
- <version>2.6.1</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-api</artifactId>
- <version>7.2.10</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-deployer</artifactId>
- <version>7.2.10</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-descriptor</artifactId>
- <version>7.2.10</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-extender-war</artifactId>
- <version>7.2.10</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-extender-whiteboard</artifactId>
- <version>7.2.10</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-jetty</artifactId>
- <version>7.2.10</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-jsp</artifactId>
- <version>7.2.10</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-resources-extender</artifactId>
- <version>7.2.10</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-resources-jsf</artifactId>
- <version>7.2.10</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-runtime</artifactId>
- <version>7.2.10</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-spi</artifactId>
- <version>7.2.10</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-tomcat</artifactId>
- <version>7.2.10</version>
- </dependency>
- <dependency>
- <groupId>org.ops4j.pax.web</groupId>
- <artifactId>pax-web-undertow</artifactId>
- <version>7.2.10</version>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.service.event</artifactId>
- <version>1.3.1</version>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.service.jdbc</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.util.function</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.util.promise</artifactId>
- <version>1.0.0</version>
- </dependency>
- <dependency>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm-analysis</artifactId>
- <version>7.1</version>
- </dependency>
- <dependency>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm-commons</artifactId>
- <version>7.1</version>
- </dependency>
- <dependency>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm-tree</artifactId>
- <version>7.1</version>
- </dependency>
- <dependency>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm-util</artifactId>
- <version>7.1</version>
- </dependency>
- <dependency>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm</artifactId>
- <version>5.2</version>
- </dependency>
- <dependency>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm</artifactId>
- <version>7.1</version>
- </dependency>
- <dependency>
- <groupId>org.postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <version>9.4.1212.jre7</version>
- </dependency>
- <dependency>
- <groupId>org.reactivestreams</groupId>
- <artifactId>reactive-streams</artifactId>
- <version>1.0.3</version>
- </dependency>
- <dependency>
- <groupId>org.scala-lang.modules</groupId>
- <artifactId>scala-java8-compat_2.12</artifactId>
- <version>0.9.1</version>
- </dependency>
- <dependency>
- <groupId>org.scala-lang.modules</groupId>
- <artifactId>scala-parser-combinators_2.12</artifactId>
- <version>1.1.2</version>
- </dependency>
- <dependency>
- <groupId>org.scala-lang</groupId>
- <artifactId>scala-library</artifactId>
- <version>2.12.11</version>
- </dependency>
- <dependency>
- <groupId>org.scala-lang</groupId>
- <artifactId>scala-reflect</artifactId>
- <version>2.12.11</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>1.7.12</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>1.7.25</version>
- </dependency>
- <dependency>
- <groupId>org.xerial</groupId>
- <artifactId>sqlite-jdbc</artifactId>
- <version>3.16.1</version>
- </dependency>
- <dependency>
- <groupId>tech.pantheon.triemap</groupId>
- <artifactId>triemap</artifactId>
- <version>1.1.0</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-</project>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-################################################################################
-# Copyright 2019 highstreet technologies and others
-#
-# 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.
-#
--->
-<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.opendaylight.odlparent</groupId>
- <artifactId>odlparent-lite</artifactId>
- <version>5.0.7</version>
- <relativePath/>
- </parent>
-
- <groupId>org.o-ran-sc.oam.features.parent</groupId>
- <artifactId>odlparent-lite</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>o-ran-sc features odlparent-lite</name>
-
- <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
- <url>http://wiki.o-ran-sc.org</url>
- <organization>
- <name>O-RAN-SC</name>
- </organization>
-
- <issueManagement>
- <system>JIRA</system>
- <url>https://jira.o-ran-sc.org/</url>
- </issueManagement>
- <distributionManagement>
- <repository>
- <id>ecomp-releases</id>
- <url>${onap.nexus.release-url}</url>
- </repository>
- <snapshotRepository>
- <id>ecomp-snapshots</id>
- <url>${onap.nexus.snapshot-url}</url>
- </snapshotRepository>
- </distributionManagement>
- <properties>
- <!-- Sonar properties -->
- <sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
- <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
- <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
- <!-- Default Sonar configuration -->
- <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
- <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
- <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
-
- <!-- Jacoco properties -->
- <jacoco.version>0.8.5</jacoco.version>
-
- <!-- properties from oparent -->
- <maven.compiler.source>8</maven.compiler.source>
- <maven.compiler.target>8</maven.compiler.target>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
- <!-- sitePath may be overridden in the inheriting POM if desired -->
- <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
-
- <!-- If following file exist, auto-generation of swagger.json will be done -->
- <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
- <!-- If following file exist, auto-generation of sdk will be done -->
- <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
- <!-- end of properties from oparent -->
-
- <!-- ONAP repositories -->
- <onap.nexus.host>nexus.onap.org</onap.nexus.host>
- <onap.nexus.port>443</onap.nexus.port>
- <onap.nexus.protocol>https</onap.nexus.protocol>
- <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
- <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
- <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
- <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
- <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
- <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
-
- <!-- OpenDaylight repositories -->
- <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
- <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
-
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <java.version.source>8</java.version.source>
- <java.version.target>8</java.version.target>
- <bundle.plugin.version>2.5.0</bundle.plugin.version>
- <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
- <features.file>features.xml</features.file>
- <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
- <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
- <checkstyle.skip>true</checkstyle.skip>
-
- <!-- logging-analytics versions -->
- <logging-analytics.version>1.6.6</logging-analytics.version>
-
- <!-- CCSDK component versions -->
- <ccsdk.cds.version>1.0.0-SNAPSHOT</ccsdk.cds.version>
- <ccsdk.features.version>1.0.0-SNAPSHOT</ccsdk.features.version>
- <ccsdk.sli.core.version>1.0.0-SNAPSHOT</ccsdk.sli.core.version>
- <ccsdk.sli.adaptors.version>1.0.0-SNAPSHOT</ccsdk.sli.adaptors.version>
- <ccsdk.sli.northbound.version>1.0.0-SNAPSHOT</ccsdk.sli.northbound.version>
- <ccsdk.sli.plugins.version>1.0.0-SNAPSHOT</ccsdk.sli.plugins.version>
- <ccsdk.distribution.version>1.0.0-SNAPSHOT</ccsdk.distribution.version>
- <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
- <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
- <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
- <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
- <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
-
- <!-- Support libraries used by OpenDaylight -->
- <odl.controller.mdsal.version>1.10.3</odl.controller.mdsal.version>
- <odl.mdsal.version>4.0.14</odl.mdsal.version>
- <odl.mdsal.model.version>2.0.14</odl.mdsal.model.version>
- <odl.netconf.restconf.version>1.10.3</odl.netconf.restconf.version>
- <odl.netconf.netconf.version>1.7.3</odl.netconf.netconf.version>
- <odl.netconf.sal.rest.docgen.version>1.10.3</odl.netconf.sal.rest.docgen.version>
-
- <!-- Used by aaa, vtn -->
- <commons.codec.version>1.13</commons.codec.version>
- <!-- Used by netconf, ovsdb -->
- <commons.lang3.version>3.8.1</commons.lang3.version>
- <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
- <commons.lang.version>2.6</commons.lang.version>
- <!-- Used by neutron; see also controller, vtn -->
- <commons.net.version>3.6</commons.net.version>
- <!-- Used by neutron -->
- <eclipse.persistence.version>2.7.4</eclipse.persistence.version>
- <!-- Used by aaa -->
- <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
- <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
- <gson.version>2.8.5</gson.version>
- <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
- <guava.version>25.1-jre</guava.version>
- <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
- integration/distribution, snmp4sdn, toolkit, ttp -->
- <jackson.version>2.9.10</jackson.version>
- <!-- Used by snmp4sdn, yangtools -->
- <javassist.version>3.24.1-GA</javassist.version>
-
- <!-- FIXME remove all dependencies for jersey 1.17 after migration all projects -->
- <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all, snmp4sdn, toolkit -->
- <jersey.version>2.25.1</jersey.version>
- <!-- Used by sfc -->
- <jersey.client.version>2.25.1</jersey.client.version>
-
- <!-- New packages for jersey migration 1.17 to 2.8 -->
- <!-- appache.geronimo.bundle for DocGen -->
- <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
- <org.json.version>20131018</org.json.version>
-
- <!-- Used everywhere -->
- <junit.version>4.12</junit.version>
- <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
- <logback.version>1.2.3</logback.version>
- <!-- Used by nic, sfc, sxp, tsdr -->
- <mockito.version>1.10.19</mockito.version>
- <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
- <netty.version>4.1.42.Final</netty.version>
- <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
- <slf4j.version>1.7.25</slf4j.version>
- <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit, tsdr, ttp -->
- <spring.version>4.3.25.RELEASE</spring.version>
-
- <!-- Extra support libraries used by SDN-C -->
- <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
- <antlr.version>4.7.2</antlr.version>
-
- <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
-
- <!-- Managed dependency versions -->
- <apache.httpcomponents.core.version>4.4.12</apache.httpcomponents.core.version>
- <apache.httpcomponents.client.version>4.5.10</apache.httpcomponents.client.version>
- <derby.version>10.14.2.0</derby.version>
- <eelf.version>1.0.0</eelf.version>
- <grpc.version>1.21.1</grpc.version>
- <mariadb.connector.version>2.4.4</mariadb.connector.version>
- <mariadb4j.version>2.4.0</mariadb4j.version>
- <testng.version>6.14.3</testng.version>
- <tomcat-jdbc.version>9.0.30</tomcat-jdbc.version>
- <jetty.version>9.4.12.v20180830</jetty.version>
- <skip.karaf.featureTest>true</skip.karaf.featureTest>
- <dependency-list.file>direct-dependencies.txt</dependency-list.file>
- </properties>
-
- <dependencyManagement>
- <dependencies>
- <!-- Note: If value in BOM conflicts with value inherited from
- parent pom, inherited value takes precedence. This seems more like
- a bug than a feature, but this is how maven 3.6 works -->
- <dependency>
- <groupId>org.o-ran-sc.oam.features.parent</groupId>
- <artifactId>dependencies-odl-bom</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.onap.logging-analytics</groupId>
- <artifactId>logging-slf4j</artifactId>
- <version>${logging-analytics.version}</version>
- </dependency>
- <dependency>
- <groupId>org.onap.logging-analytics</groupId>
- <artifactId>logging-filter-base</artifactId>
- <version>${logging-analytics.version}</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${junit.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <repositories>
- <repository>
- <id>onap-public</id>
- <url>${onap.nexus.public-url}</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>onap-staging</id>
- <url>${onap.nexus.staging-url}</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-release</id>
- <name>onap-repository-releases</name>
- <url>${onap.nexus.release-url}</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-snapshot</id>
- <name>onap-repository-snapshots</name>
- <url>${onap.nexus.snapshot-url}</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>opendaylight-mirror</id>
- <name>opendaylight-mirror</name>
- <url>${opendaylight.nexus.public-url}</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>opendaylight-snapshot</id>
- <name>opendaylight-snapshot</name>
- <url>${opendaylight.nexus.snapshot-url}</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
-
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <id>onap-public</id>
- <url>${onap.nexus.public-url}</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- <pluginRepository>
- <id>onap-staging</id>
- <url>${onap.nexus.staging-url}</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- <pluginRepository>
- <id>onap-snapshot</id>
- <url>${onap.nexus.snapshot-url}</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- <pluginRepository>
- <id>opendaylight-mirror</id>
- <name>opendaylight-mirror</name>
- <url>${opendaylight.nexus.public-url}</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </pluginRepository>
- <pluginRepository>
- <id>opendaylight-snapshot</id>
- <name>opendaylight-snapshot</name>
- <url>${opendaylight.nexus.snapshot-url}</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- <!-- Black Duck plugin dependencies -->
- <pluginRepository>
- <id>JCenter</id>
- <name>JCenter Repository</name>
- <url>http://jcenter.bintray.com</url>
- </pluginRepository>
-
- <pluginRepository>
- <id>Restlet</id>
- <name>Restlet Repository</name>
- <url>http://maven.restlet.com</url>
- </pluginRepository>
- </pluginRepositories>
-
- <build>
- <pluginManagement>
- <plugins>
- <!-- Plugins from ONAP version (parent of oparent) -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <!-- This version supports the "deployAtEnd" parameter -->
- <version>2.8</version>
- <configuration>
- <skip/>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>3.6</version>
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-webdav-jackrabbit</artifactId>
- <version>2.10</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>3.0.0-M2</version>
- <executions>
- <execution>
- <id>enforce-property</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireProperty>
- <property>onap.nexus.url</property>
- <message>You must set a onap.nexus.url property in your
- ~/.m2/settings.xml. See oparent/settings.xml for an example.
- </message>
- </requireProperty>
- </rules>
- <fail>true</fail>
- </configuration>
- </execution>
- <execution>
- <id>enforce-no-snapshots</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireReleaseDeps>
- <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
- <onlyWhenRelease>true</onlyWhenRelease>
- <level>WARN</level>
- </requireReleaseDeps>
- </rules>
- </configuration>
- </execution>
- <execution>
- <id>enforce-maven</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireJavaVersion>
- <version>8</version>
- </requireJavaVersion>
- <requireMavenVersion>
- <version>[3.5.0,)</version>
- </requireMavenVersion>
- </rules>
- </configuration>
- </execution>
- <execution>
- <id>enforce-banned-dependencies</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <bannedDependencies>
- <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message>
- <excludes>
- <exclude>org.mockito:mockito-all</exclude>
- <!-- <exclude>com.google.code.findbugs:annotations</exclude> -->
- </excludes>
- </bannedDependencies>
- </rules>
- <fail>true</fail>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
- <plugin>
- <groupId>org.sonarsource.scanner.maven</groupId>
- <artifactId>sonar-maven-plugin</artifactId>
- <version>${sonar.scanner.version}</version>
- </plugin>
- <!-- end of plugins from ONAP version (parent of oparent) -->
-
- <!-- Plugins from ONAP oparent -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.22.0</version>
- <configuration>
- <!-- Sets the VM argument line used when unit tests are run. -->
- <argLine>${surefireArgLine}</argLine>
- <!-- Excludes integration tests when unit tests are run. -->
- <excludes>
- <exclude>**/IT*.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <version>2.22.0</version>
- <executions>
- <!-- Ensures that both integration-test and verify goals of the Failsafe
- Maven plugin are executed. -->
- <execution>
- <id>integration-tests</id>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- <configuration>
- <!-- Sets the VM argument line used when integration tests are run. -->
- <argLine>${failsafeArgLine}</argLine>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- End of plugins from ONAP oparent -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>properties-maven-plugin</artifactId>
- <version>1.0.0</version>
- <executions>
- <execution>
- <goals>
- <goal>set-system-properties</goal>
- </goals>
- <configuration>
- <properties>
- <property>
- <name>maven.wagon.http.ssl.allowall</name>
- <value>${ssl.allowall}</value>
- </property>
- <property>
- <name>maven.wagon.http.ssl.insecure</name>
- <value>${ssl.insecure}</value>
- </property>
- </properties>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>versions-maven-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <processAllModules>true</processAllModules>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-scm-plugin</artifactId>
- <version>1.8.1</version>
- <configuration>
- <tag>${project.artifactId}-${project.version}</tag>
- </configuration>
- </plugin>
- <plugin>
- <groupId>com.github.ferstl</groupId>
- <artifactId>depgraph-maven-plugin</artifactId>
- <version>3.3.0</version>
- <configuration>
- <graphFormat>text</graphFormat>
- <outputFileName>${dependency-list.file}</outputFileName>
- <outputDirectory>${project.basedir}</outputDirectory>
- <transitiveExcludes>*</transitiveExcludes>
- <showVersions>true</showVersions>
- <showGroupIds>true</showGroupIds>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
-
- <!-- Plugins from oparent version (parent of oparent) -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- </plugin>
- <!-- end of plugins from oparent version (parent of oparent) -->
-
- <!-- Plugins from oparent -->
- <plugin>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.17</version>
- <dependencies>
- <dependency>
- <groupId>org.onap.oparent</groupId>
- <artifactId>checkstyle</artifactId>
- <version>1.2.2</version>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <id>onap-license</id>
- <goals>
- <goal>check</goal>
- </goals>
- <phase>process-sources</phase>
- <configuration>
- <configLocation>onap-checkstyle/check-license.xml</configLocation>
- <includeResources>false</includeResources>
- <includeTestSourceDirectory>true</includeTestSourceDirectory>
- <includeTestResources>false</includeTestResources>
- <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
- <excludes>
- </excludes>
- <consoleOutput>true</consoleOutput>
- <failOnViolation>false</failOnViolation>
- </configuration>
- </execution>
- <execution>
- <id>onap-java-style</id>
- <goals>
- <goal>check</goal>
- </goals>
- <phase>process-sources</phase>
- <configuration>
- <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
- with minor changes -->
- <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
- <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
- <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
- <includeResources>true</includeResources>
- <includeTestSourceDirectory>true</includeTestSourceDirectory>
- <includeTestResources>true</includeTestResources>
- <excludes>
- </excludes>
- <consoleOutput>true</consoleOutput>
- <failOnViolation>false</failOnViolation>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>1.12</version>
- </plugin>
- <!-- Jacoco / Sonar -->
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <version>${jacoco.version}</version>
- <executions>
- <execution>
- <id>pre-unit-test</id>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- <configuration>
- <!-- Sets the path to the file which contains the execution data. -->
- <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
- <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
- <propertyName>surefireArgLine</propertyName>
- </configuration>
- </execution>
- <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. -->
- <execution>
- <id>post-unit-test</id>
- <phase>test</phase>
- <goals>
- <goal>report</goal>
- </goals>
- <configuration>
- <!-- Sets the path to the file which contains the execution data. -->
- <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
- <!-- Sets the output directory for the code coverage report. -->
- <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
- </configuration>
- </execution>
- <execution>
- <id>pre-integration-test</id>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- <configuration>
- <!-- Sets the path to the file which contains the execution data. -->
- <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
- <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
- <propertyName>failsafeArgLine</propertyName>
- </configuration>
- </execution>
- <!-- Ensures that the code coverage report for integration tests after integration tests have been run. -->
- <execution>
- <id>post-integration-test</id>
- <phase>post-integration-test</phase>
- <goals>
- <goal>report</goal>
- </goals>
- <configuration>
- <!-- Sets the path to the file which contains the execution data. -->
- <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
- <!-- Sets the output directory for the code coverage report. -->
- <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
- </configuration>
- </execution>
- <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>
- <execution>
- <id>default-check</id>
- <goals>
- <goal>check</goal>
- </goals>
- <configuration>
- <rules>
- <rule>
- <element>PACKAGE</element>
- <limits>
- <limit>
- <counter>COMPLEXITY</counter>
- <value>COVEREDRATIO</value>
- <minimum>0.0</minimum>
- </limit>
- </limits>
- </rule>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- </plugin>
- <!-- end of plugins from oparent -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.10.4</version>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <additionalparam>-Xdoclint:none</additionalparam>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>3.0.0-M2</version>
- <executions>
- <execution>
- <id>enforce-property</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireProperty>
- <property>onap.nexus.url</property>
- <message>You must set a onap.nexus.url property in your
- ~/.m2/settings.xml. See oparent/settings.xml for an example.</message>
- </requireProperty>
- </rules>
- <fail>true</fail>
- </configuration>
- </execution>
- <execution>
- <id>enforce-no-snapshots</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireReleaseDeps>
- <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
- <onlyWhenRelease>true</onlyWhenRelease>
- <level>WARN</level>
- </requireReleaseDeps>
- </rules>
- </configuration>
- </execution>
- <execution>
- <id>enforce-maven</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireJavaVersion>
- <version>1.8.0</version>
- </requireJavaVersion>
- <requireMavenVersion>
- <version>[3.5.0,)</version>
- </requireMavenVersion>
- </rules>
- </configuration>
- </execution>
- <execution>
- <id>enforce-banned-dependencies</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <bannedDependencies>
- <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message>
- <excludes>
- <exclude>org.mockito:mockito-all</exclude>
-<!-- <exclude>com.google.code.findbugs:annotations</exclude> -->
- </excludes>
- </bannedDependencies>
- </rules>
- <fail>true</fail>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <reporting>
- <plugins>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.10.4</version>
- <configuration>
- <failOnError>false</failOnError>
- <additionalparam>-Xdoclint:none</additionalparam>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
-
- <profiles>
- <!-- Profiles from ONAP oparent -->
- <profile>
- <id>generate-json</id>
- <activation>
- <file>
- <exists>${swagger-properties}</exists>
- </file>
- <property>
- <name>swagger-sdk.generate-json</name>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>properties-maven-plugin</artifactId>
- <version>1.0.0</version>
- <executions>
- <execution>
- <phase>initialize</phase>
- <goals>
- <goal>read-project-properties</goal>
- </goals>
- <configuration>
- <files>
- <file>${basedir}/src/main/resources/swagger.properties</file>
- </files>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>com.github.kongchen</groupId>
- <artifactId>swagger-maven-plugin</artifactId>
- <version>3.1.4</version>
- <configuration>
- <apiSources>
- <apiSource>
- <locations>${api-rest-package}</locations>
- <schemes>http,https</schemes>
- <host>${api-host-ip}:${api-host-port}</host>
- <basePath>${api-base-path}</basePath>
- <info>
- <title>${api-title}</title>
- <version>${api-version}</version>
- <description>${api-description}</description>
- <license>
- <name>${api-license}</name>
- </license>
- </info>
- <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
- </apiSource>
- </apiSources>
- </configuration>
- <executions>
- <execution>
- <phase>compile</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <version>2.3.1</version>
- <executions>
- <execution>
- <id>install-file-id</id>
- <phase>install</phase>
- <goals>
- <goal>install-file</goal>
- </goals>
- <configuration>
- <file>${basedir}/src/main/resources/swagger.json</file>
- <groupId>${project.groupId}</groupId>
- <artifactId>${project.artifactId}-swagger-schema</artifactId>
- <version>${project.version}</version>
- <packaging>json</packaging>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>generate-sdk</id>
- <activation>
- <file>
- <exists>${swagger-json}</exists>
- </file>
- <property>
- <name>swagger-sdk.generate-java-sdk</name>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.8</version>
- <executions>
- <execution>
- <phase>initialize</phase>
- <id>ant-create-script</id>
- <configuration>
- <exportAntProperties>true</exportAntProperties>
- <tasks>
- <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
- <condition property="is_windows" value="true">
- <os family="windows"/>
- </condition>
- <condition property="isLinux" value="true">
- <os family="unix"/>
- </condition>
- <if>
- <equals arg1="${is_windows}" arg2="true"/>
- <then>
- <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
- <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
- <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
- </then>
- <else>
- <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
- <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
- <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
- <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
- </else>
- </if>
- </tasks>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>ant-contrib</groupId>
- <artifactId>ant-contrib</artifactId>
- <version>1.0b3</version>
- <exclusions>
- <exclusion>
- <groupId>ant</groupId>
- <artifactId>ant</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>io.swagger</groupId>
- <artifactId>swagger-codegen-maven-plugin</artifactId>
- <version>2.2.1</version>
- <executions>
- <execution>
- <goals>
- <goal>generate</goal>
- </goals>
- <configuration>
- <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
- <output>${project.build.directory}/generated-sources</output>
- <language>java</language>
- <configOptions>
- <dateLibrary>joda</dateLibrary>
- </configOptions>
- <library>jersey2</library>
- <groupId>${project.groupId}</groupId>
- <artifactId>${project.artifactId}-java-sdk</artifactId>
- <artifactVersion>${project.version}</artifactVersion>
- <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
- <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
- <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.5.0</version>
- <executions>
- <execution>
- <id>swagger-generate-sources</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- <configuration>
- <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <version>3.0.0</version>
- <executions>
- <execution>
- <id>clean-generated-files</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>clean</goal>
- </goals>
- <configuration>
- <filesets>
- <fileset>
- <directory>${project.build.directory}/generated-sources</directory>
- </fileset>
- </filesets>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>org.onap.msb.swagger-sdk</groupId>
- <artifactId>swagger-sdk</artifactId>
- <version>1.0.0</version>
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <id>sonar-jacoco-aggregate</id>
- <activation>
- <property>
- <name>onap.jacoco.aggregateFile</name>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>merge</id>
- <goals>
- <goal>merge</goal>
- </goals>
- <phase>generate-resources</phase>
- <configuration>
- <destFile>${onap.jacoco.aggregateFile}</destFile>
- <fileSets>
- <fileSet>
- <directory>${project.basedir}</directory>
- <includes>
- <include>**/target/code-coverage/*.exec</include>
- </includes>
- </fileSet>
- </fileSets>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <!-- End of profiles from ONAP oparent -->
-
- <profile>
- <id>yang-compile</id>
- <activation>
- <file>
- <exists>src/main/yang</exists>
- </file>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-maven-plugin</artifactId>
- <version>3.0.11</version>
- <dependencies>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>maven-sal-api-gen-plugin</artifactId>
- <version>${odl.mdsal.model.version}</version>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>sal-rest-docgen-maven</artifactId>
- <version>${odl.netconf.sal.rest.docgen.version}</version>
- <type>jar</type>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <id>binding</id>
- <goals>
- <goal>generate-sources</goal>
- </goals>
- <configuration>
- <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
- <codeGenerators>
- <generator>
- <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
- <outputBaseDir>${salGeneratorPath}</outputBaseDir>
- </generator>
- <generator>
- <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
- <outputBaseDir>target/swagger</outputBaseDir>
- </generator>
- </codeGenerators>
- <inspectDependencies>true</inspectDependencies>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
-</project>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-################################################################################
-# Copyright 2020 highstreet technologies and others
-#
-# 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.
-#
--->
-<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.oam.parent</groupId>
- <artifactId>parent-top</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>o-ran-sc parent top</name>
-
- <modules>
- <module>installed-odl-bom</module>
- <module>dependencies-odl-bom</module>
- <module>odlparent-lite</module>
- <module>binding-parent</module>
- <module>single-feature-parent</module>
- </modules>
-
-</project>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-################################################################################
-# Copyright 2019 highstreet technologies and others
-#
-# 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.
-#
--->
-<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.opendaylight.odlparent</groupId>
- <artifactId>single-feature-parent</artifactId>
- <version>5.0.7</version>
- <relativePath/>
- </parent>
-
- <groupId>org.o-ran-sc.oam.features.parent</groupId>
- <artifactId>single-feature-parent</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <name>o-ran-sc features single-feature-parent</name>
- <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
- <url>http://wiki.o-ran-sc.org</url>
- <organization>
- <name>O-RAN-SC</name>
- </organization>
-
- <issueManagement>
- <system>JIRA</system>
- <url>https://jira.o-ran-sc.org/</url>
- </issueManagement>
- <distributionManagement>
- <repository>
- <id>ecomp-releases</id>
- <url>${onap.nexus.release-url}</url>
- </repository>
- <snapshotRepository>
- <id>ecomp-snapshots</id>
- <url>${onap.nexus.snapshot-url}</url>
- </snapshotRepository>
- </distributionManagement>
-
- <properties>
- <!-- Sonar properties -->
- <sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
- <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
- <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
- <!-- Default Sonar configuration -->
- <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
- <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
- <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
-
- <!-- Jacoco properties -->
- <jacoco.version>0.8.5</jacoco.version>
-
- <!-- properties from oparent -->
- <maven.compiler.source>8</maven.compiler.source>
- <maven.compiler.target>8</maven.compiler.target>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
- <!-- sitePath may be overridden in the inheriting POM if desired -->
- <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
-
- <!-- If following file exist, auto-generation of swagger.json will be done -->
- <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
- <!-- If following file exist, auto-generation of sdk will be done -->
- <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
- <!-- end of properties from oparent -->
-
- <!-- ONAP repositories -->
- <onap.nexus.host>nexus.onap.org</onap.nexus.host>
- <onap.nexus.port>443</onap.nexus.port>
- <onap.nexus.protocol>https</onap.nexus.protocol>
- <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
- <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
- <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
- <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
- <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
- <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
-
- <!-- OpenDaylight repositories -->
- <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
- <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
-
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <java.version.source>8</java.version.source>
- <java.version.target>8</java.version.target>
- <bundle.plugin.version>2.5.0</bundle.plugin.version>
- <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
- <features.file>features.xml</features.file>
- <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
- <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
- <checkstyle.skip>true</checkstyle.skip>
-
- <!-- logging-analytics versions -->
- <logging-analytics.version>1.6.6</logging-analytics.version>
-
- <!-- CCSDK component versions -->
- <ccsdk.cds.version>1.0.0-SNAPSHOT</ccsdk.cds.version>
- <ccsdk.features.version>1.0.0-SNAPSHOT</ccsdk.features.version>
- <ccsdk.sli.core.version>1.0.0-SNAPSHOT</ccsdk.sli.core.version>
- <ccsdk.sli.adaptors.version>1.0.0-SNAPSHOT</ccsdk.sli.adaptors.version>
- <ccsdk.sli.northbound.version>1.0.0-SNAPSHOT</ccsdk.sli.northbound.version>
- <ccsdk.sli.plugins.version>1.0.0-SNAPSHOT</ccsdk.sli.plugins.version>
- <ccsdk.distribution.version>1.0.0-SNAPSHOT</ccsdk.distribution.version>
- <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
- <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
- <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
- <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
- <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
-
- <!-- Support libraries used by OpenDaylight -->
- <odl.controller.mdsal.version>1.10.3</odl.controller.mdsal.version>
- <odl.mdsal.version>4.0.14</odl.mdsal.version>
- <odl.mdsal.model.version>2.0.14</odl.mdsal.model.version>
- <odl.netconf.restconf.version>1.10.3</odl.netconf.restconf.version>
- <odl.netconf.netconf.version>1.7.3</odl.netconf.netconf.version>
- <odl.netconf.sal.rest.docgen.version>1.10.3</odl.netconf.sal.rest.docgen.version>
-
- <!-- Used by aaa, vtn -->
- <commons.codec.version>1.13</commons.codec.version>
- <!-- Used by netconf, ovsdb -->
- <commons.lang3.version>3.8.1</commons.lang3.version>
- <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
- <commons.lang.version>2.6</commons.lang.version>
- <!-- Used by neutron; see also controller, vtn -->
- <commons.net.version>3.6</commons.net.version>
- <!-- Used by neutron -->
- <eclipse.persistence.version>2.7.4</eclipse.persistence.version>
- <!-- Used by aaa -->
- <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
- <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
- <gson.version>2.8.5</gson.version>
- <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
- <guava.version>25.1-jre</guava.version>
- <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
- integration/distribution, snmp4sdn, toolkit, ttp -->
- <jackson.version>2.9.10</jackson.version>
- <!-- Used by snmp4sdn, yangtools -->
- <javassist.version>3.24.1-GA</javassist.version>
-
- <!-- FIXME remove all dependencies for jersey 1.17 after migration all projects -->
- <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all, snmp4sdn, toolkit -->
- <jersey.version>2.25.1</jersey.version>
- <!-- Used by sfc -->
- <jersey.client.version>2.25.1</jersey.client.version>
-
- <!-- New packages for jersey migration 1.17 to 2.8 -->
- <!-- appache.geronimo.bundle for DocGen -->
- <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
- <org.json.version>20131018</org.json.version>
-
- <!-- Used everywhere -->
- <junit.version>4.12</junit.version>
- <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
- <logback.version>1.2.3</logback.version>
- <!-- Used by nic, sfc, sxp, tsdr -->
- <mockito.version>1.10.19</mockito.version>
- <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
- <netty.version>4.1.42.Final</netty.version>
- <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
- <slf4j.version>1.7.25</slf4j.version>
- <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit, tsdr, ttp -->
- <spring.version>4.3.25.RELEASE</spring.version>
-
- <!-- Extra support libraries used by SDN-C -->
- <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
- <antlr.version>4.7.2</antlr.version>
-
- <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
-
- <!-- Managed dependency versions -->
- <apache.httpcomponents.core.version>4.4.12</apache.httpcomponents.core.version>
- <apache.httpcomponents.client.version>4.5.10</apache.httpcomponents.client.version>
- <derby.version>10.14.2.0</derby.version>
- <eelf.version>1.0.0</eelf.version>
- <grpc.version>1.21.1</grpc.version>
- <mariadb.connector.version>2.4.4</mariadb.connector.version>
- <mariadb4j.version>2.4.0</mariadb4j.version>
- <testng.version>6.14.3</testng.version>
- <tomcat-jdbc.version>9.0.30</tomcat-jdbc.version>
- <jetty.version>9.4.12.v20180830</jetty.version>
- <skip.karaf.featureTest>true</skip.karaf.featureTest>
- <dependency-list.file>direct-dependencies.txt</dependency-list.file>
- </properties>
-
- <dependencyManagement>
- <dependencies>
- <!-- Note: If value in BOM conflicts with value inherited from
- parent pom, inherited value takes precedence. This seems more like
- a bug than a feature, but this is how maven 3.6 works -->
- <dependency>
- <groupId>org.o-ran-sc.oam.features.parent</groupId>
- <artifactId>dependencies-odl-bom</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <dependency>
- <groupId>org.onap.logging-analytics</groupId>
- <artifactId>logging-slf4j</artifactId>
- <version>${logging-analytics.version}</version>
- </dependency>
- <dependency>
- <groupId>org.onap.logging-analytics</groupId>
- <artifactId>logging-filter-base</artifactId>
- <version>${logging-analytics.version}</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${junit.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <repositories>
- <repository>
- <id>onap-public</id>
- <url>${onap.nexus.public-url}</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>onap-staging</id>
- <url>${onap.nexus.staging-url}</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-release</id>
- <name>onap-repository-releases</name>
- <url>${onap.nexus.release-url}</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>ecomp-snapshot</id>
- <name>onap-repository-snapshots</name>
- <url>${onap.nexus.snapshot-url}</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>opendaylight-mirror</id>
- <name>opendaylight-mirror</name>
- <url>${opendaylight.nexus.public-url}</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>opendaylight-snapshot</id>
- <name>opendaylight-snapshot</name>
- <url>${opendaylight.nexus.snapshot-url}</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
-
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <id>onap-public</id>
- <url>${onap.nexus.public-url}</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- <pluginRepository>
- <id>onap-staging</id>
- <url>${onap.nexus.staging-url}</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- <pluginRepository>
- <id>onap-snapshot</id>
- <url>${onap.nexus.snapshot-url}</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- <pluginRepository>
- <id>opendaylight-mirror</id>
- <name>opendaylight-mirror</name>
- <url>${opendaylight.nexus.public-url}</url>
- <releases>
- <enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </pluginRepository>
- <pluginRepository>
- <id>opendaylight-snapshot</id>
- <name>opendaylight-snapshot</name>
- <url>${opendaylight.nexus.snapshot-url}</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- <!-- Black Duck plugin dependencies -->
- <pluginRepository>
- <id>JCenter</id>
- <name>JCenter Repository</name>
- <url>http://jcenter.bintray.com</url>
- </pluginRepository>
-
- <pluginRepository>
- <id>Restlet</id>
- <name>Restlet Repository</name>
- <url>http://maven.restlet.com</url>
- </pluginRepository>
- </pluginRepositories>
-
- <build>
- <pluginManagement>
- <plugins>
- <!-- Plugins from ONAP version (parent of oparent) -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <!-- This version supports the "deployAtEnd" parameter -->
- <version>2.8</version>
- <configuration>
- <skip/>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>3.6</version>
- <dependencies>
- <dependency>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-webdav-jackrabbit</artifactId>
- <version>2.10</version>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>3.0.0-M2</version>
- <executions>
- <execution>
- <id>enforce-property</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireProperty>
- <property>onap.nexus.url</property>
- <message>You must set a onap.nexus.url property in your
- ~/.m2/settings.xml. See oparent/settings.xml for an example.
- </message>
- </requireProperty>
- </rules>
- <fail>true</fail>
- </configuration>
- </execution>
- <execution>
- <id>enforce-no-snapshots</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireReleaseDeps>
- <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
- <onlyWhenRelease>true</onlyWhenRelease>
- <level>WARN</level>
- </requireReleaseDeps>
- </rules>
- </configuration>
- </execution>
- <execution>
- <id>enforce-maven</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireJavaVersion>
- <version>8</version>
- </requireJavaVersion>
- <requireMavenVersion>
- <version>[3.5.0,)</version>
- </requireMavenVersion>
- </rules>
- </configuration>
- </execution>
- <execution>
- <id>enforce-banned-dependencies</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <bannedDependencies>
- <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message>
- <excludes>
- <exclude>org.mockito:mockito-all</exclude>
- <!-- <exclude>com.google.code.findbugs:annotations</exclude> -->
- </excludes>
- </bannedDependencies>
- </rules>
- <fail>true</fail>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
- <plugin>
- <groupId>org.sonarsource.scanner.maven</groupId>
- <artifactId>sonar-maven-plugin</artifactId>
- <version>${sonar.scanner.version}</version>
- </plugin>
- <!-- end of plugins from ONAP version (parent of oparent) -->
-
- <!-- Plugins from ONAP oparent -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.22.0</version>
- <configuration>
- <!-- Sets the VM argument line used when unit tests are run. -->
- <argLine>${surefireArgLine}</argLine>
- <!-- Excludes integration tests when unit tests are run. -->
- <excludes>
- <exclude>**/IT*.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <version>2.22.0</version>
- <executions>
- <!-- Ensures that both integration-test and verify goals of the Failsafe
- Maven plugin are executed. -->
- <execution>
- <id>integration-tests</id>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- <configuration>
- <!-- Sets the VM argument line used when integration tests are run. -->
- <argLine>${failsafeArgLine}</argLine>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!-- End of plugins from ONAP oparent -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>properties-maven-plugin</artifactId>
- <version>1.0.0</version>
- <executions>
- <execution>
- <goals>
- <goal>set-system-properties</goal>
- </goals>
- <configuration>
- <properties>
- <property>
- <name>maven.wagon.http.ssl.allowall</name>
- <value>${ssl.allowall}</value>
- </property>
- <property>
- <name>maven.wagon.http.ssl.insecure</name>
- <value>${ssl.insecure}</value>
- </property>
- </properties>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>versions-maven-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <processAllModules>true</processAllModules>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-scm-plugin</artifactId>
- <version>1.8.1</version>
- <configuration>
- <tag>${project.artifactId}-${project.version}</tag>
- </configuration>
- </plugin>
- <plugin>
- <groupId>com.github.ferstl</groupId>
- <artifactId>depgraph-maven-plugin</artifactId>
- <version>3.3.0</version>
- <configuration>
- <graphFormat>text</graphFormat>
- <outputFileName>${dependency-list.file}</outputFileName>
- <outputDirectory>${project.basedir}</outputDirectory>
- <transitiveExcludes>*</transitiveExcludes>
- <showVersions>true</showVersions>
- <showGroupIds>true</showGroupIds>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
-
- <!-- Plugins from oparent version (parent of oparent) -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- </plugin>
- <!-- end of plugins from oparent version (parent of oparent) -->
-
- <!-- Plugins from oparent -->
- <plugin>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.17</version>
- <dependencies>
- <dependency>
- <groupId>org.onap.oparent</groupId>
- <artifactId>checkstyle</artifactId>
- <version>1.2.2</version>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <id>onap-license</id>
- <goals>
- <goal>check</goal>
- </goals>
- <phase>process-sources</phase>
- <configuration>
- <configLocation>onap-checkstyle/check-license.xml</configLocation>
- <includeResources>false</includeResources>
- <includeTestSourceDirectory>true</includeTestSourceDirectory>
- <includeTestResources>false</includeTestResources>
- <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
- <excludes>
- </excludes>
- <consoleOutput>true</consoleOutput>
- <failOnViolation>false</failOnViolation>
- </configuration>
- </execution>
- <execution>
- <id>onap-java-style</id>
- <goals>
- <goal>check</goal>
- </goals>
- <phase>process-sources</phase>
- <configuration>
- <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
- with minor changes -->
- <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
- <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
- <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
- <includeResources>true</includeResources>
- <includeTestSourceDirectory>true</includeTestSourceDirectory>
- <includeTestResources>true</includeTestResources>
- <excludes>
- </excludes>
- <consoleOutput>true</consoleOutput>
- <failOnViolation>false</failOnViolation>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>1.12</version>
- </plugin>
- <!-- Jacoco / Sonar -->
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <version>${jacoco.version}</version>
- <executions>
- <execution>
- <id>pre-unit-test</id>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- <configuration>
- <!-- Sets the path to the file which contains the execution data. -->
- <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
- <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
- <propertyName>surefireArgLine</propertyName>
- </configuration>
- </execution>
- <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. -->
- <execution>
- <id>post-unit-test</id>
- <phase>test</phase>
- <goals>
- <goal>report</goal>
- </goals>
- <configuration>
- <!-- Sets the path to the file which contains the execution data. -->
- <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
- <!-- Sets the output directory for the code coverage report. -->
- <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
- </configuration>
- </execution>
- <execution>
- <id>pre-integration-test</id>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- <configuration>
- <!-- Sets the path to the file which contains the execution data. -->
- <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
- <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
- <propertyName>failsafeArgLine</propertyName>
- </configuration>
- </execution>
- <!-- Ensures that the code coverage report for integration tests after integration tests have been run. -->
- <execution>
- <id>post-integration-test</id>
- <phase>post-integration-test</phase>
- <goals>
- <goal>report</goal>
- </goals>
- <configuration>
- <!-- Sets the path to the file which contains the execution data. -->
- <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
- <!-- Sets the output directory for the code coverage report. -->
- <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
- </configuration>
- </execution>
- <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>
- <execution>
- <id>default-check</id>
- <goals>
- <goal>check</goal>
- </goals>
- <configuration>
- <rules>
- <rule>
- <element>PACKAGE</element>
- <limits>
- <limit>
- <counter>COMPLEXITY</counter>
- <value>COVEREDRATIO</value>
- <minimum>0.0</minimum>
- </limit>
- </limits>
- </rule>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- </plugin>
- <!-- end of plugins from oparent -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.10.4</version>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <additionalparam>-Xdoclint:none</additionalparam>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>3.0.0-M2</version>
- <executions>
- <execution>
- <id>enforce-property</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireProperty>
- <property>onap.nexus.url</property>
- <message>You must set a onap.nexus.url property in your
- ~/.m2/settings.xml. See oparent/settings.xml for an example.</message>
- </requireProperty>
- </rules>
- <fail>true</fail>
- </configuration>
- </execution>
- <execution>
- <id>enforce-no-snapshots</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireReleaseDeps>
- <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
- <onlyWhenRelease>true</onlyWhenRelease>
- <level>WARN</level>
- </requireReleaseDeps>
- </rules>
- </configuration>
- </execution>
- <execution>
- <id>enforce-maven</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireJavaVersion>
- <version>1.8.0</version>
- </requireJavaVersion>
- <requireMavenVersion>
- <version>[3.5.0,)</version>
- </requireMavenVersion>
- </rules>
- </configuration>
- </execution>
- <execution>
- <id>enforce-banned-dependencies</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <bannedDependencies>
- <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message>
- <excludes>
- <exclude>org.mockito:mockito-all</exclude>
-<!-- <exclude>com.google.code.findbugs:annotations</exclude> -->
- </excludes>
- </bannedDependencies>
- </rules>
- <fail>true</fail>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <reporting>
- <plugins>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.10.4</version>
- <configuration>
- <failOnError>false</failOnError>
- <additionalparam>-Xdoclint:none</additionalparam>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
-
- <profiles>
- <!-- Profiles from ONAP oparent -->
- <profile>
- <id>generate-json</id>
- <activation>
- <file>
- <exists>${swagger-properties}</exists>
- </file>
- <property>
- <name>swagger-sdk.generate-json</name>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>properties-maven-plugin</artifactId>
- <version>1.0.0</version>
- <executions>
- <execution>
- <phase>initialize</phase>
- <goals>
- <goal>read-project-properties</goal>
- </goals>
- <configuration>
- <files>
- <file>${basedir}/src/main/resources/swagger.properties</file>
- </files>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>com.github.kongchen</groupId>
- <artifactId>swagger-maven-plugin</artifactId>
- <version>3.1.4</version>
- <configuration>
- <apiSources>
- <apiSource>
- <locations>${api-rest-package}</locations>
- <schemes>http,https</schemes>
- <host>${api-host-ip}:${api-host-port}</host>
- <basePath>${api-base-path}</basePath>
- <info>
- <title>${api-title}</title>
- <version>${api-version}</version>
- <description>${api-description}</description>
- <license>
- <name>${api-license}</name>
- </license>
- </info>
- <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
- </apiSource>
- </apiSources>
- </configuration>
- <executions>
- <execution>
- <phase>compile</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-install-plugin</artifactId>
- <version>2.3.1</version>
- <executions>
- <execution>
- <id>install-file-id</id>
- <phase>install</phase>
- <goals>
- <goal>install-file</goal>
- </goals>
- <configuration>
- <file>${basedir}/src/main/resources/swagger.json</file>
- <groupId>${project.groupId}</groupId>
- <artifactId>${project.artifactId}-swagger-schema</artifactId>
- <version>${project.version}</version>
- <packaging>json</packaging>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>generate-sdk</id>
- <activation>
- <file>
- <exists>${swagger-json}</exists>
- </file>
- <property>
- <name>swagger-sdk.generate-java-sdk</name>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.8</version>
- <executions>
- <execution>
- <phase>initialize</phase>
- <id>ant-create-script</id>
- <configuration>
- <exportAntProperties>true</exportAntProperties>
- <tasks>
- <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
- <condition property="is_windows" value="true">
- <os family="windows"/>
- </condition>
- <condition property="isLinux" value="true">
- <os family="unix"/>
- </condition>
- <if>
- <equals arg1="${is_windows}" arg2="true"/>
- <then>
- <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
- <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
- <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
- </then>
- <else>
- <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
- <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
- <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
- <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
- </else>
- </if>
- </tasks>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>ant-contrib</groupId>
- <artifactId>ant-contrib</artifactId>
- <version>1.0b3</version>
- <exclusions>
- <exclusion>
- <groupId>ant</groupId>
- <artifactId>ant</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- </dependencies>
- </plugin>
- <plugin>
- <groupId>io.swagger</groupId>
- <artifactId>swagger-codegen-maven-plugin</artifactId>
- <version>2.2.1</version>
- <executions>
- <execution>
- <goals>
- <goal>generate</goal>
- </goals>
- <configuration>
- <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
- <output>${project.build.directory}/generated-sources</output>
- <language>java</language>
- <configOptions>
- <dateLibrary>joda</dateLibrary>
- </configOptions>
- <library>jersey2</library>
- <groupId>${project.groupId}</groupId>
- <artifactId>${project.artifactId}-java-sdk</artifactId>
- <artifactVersion>${project.version}</artifactVersion>
- <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
- <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
- <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>1.5.0</version>
- <executions>
- <execution>
- <id>swagger-generate-sources</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>exec</goal>
- </goals>
- <configuration>
- <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clean-plugin</artifactId>
- <version>3.0.0</version>
- <executions>
- <execution>
- <id>clean-generated-files</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>clean</goal>
- </goals>
- <configuration>
- <filesets>
- <fileset>
- <directory>${project.build.directory}/generated-sources</directory>
- </fileset>
- </filesets>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>org.onap.msb.swagger-sdk</groupId>
- <artifactId>swagger-sdk</artifactId>
- <version>1.0.0</version>
- </dependency>
- </dependencies>
- </profile>
- <profile>
- <id>sonar-jacoco-aggregate</id>
- <activation>
- <property>
- <name>onap.jacoco.aggregateFile</name>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>merge</id>
- <goals>
- <goal>merge</goal>
- </goals>
- <phase>generate-resources</phase>
- <configuration>
- <destFile>${onap.jacoco.aggregateFile}</destFile>
- <fileSets>
- <fileSet>
- <directory>${project.basedir}</directory>
- <includes>
- <include>**/target/code-coverage/*.exec</include>
- </includes>
- </fileSet>
- </fileSets>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <!-- End of profiles from ONAP oparent -->
-
- <profile>
- <id>yang-compile</id>
- <activation>
- <file>
- <exists>src/main/yang</exists>
- </file>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.opendaylight.yangtools</groupId>
- <artifactId>yang-maven-plugin</artifactId>
- <version>3.0.11</version>
- <dependencies>
- <dependency>
- <groupId>org.opendaylight.mdsal</groupId>
- <artifactId>maven-sal-api-gen-plugin</artifactId>
- <version>${odl.mdsal.model.version}</version>
- <type>jar</type>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.opendaylight.netconf</groupId>
- <artifactId>sal-rest-docgen-maven</artifactId>
- <version>${odl.netconf.sal.rest.docgen.version}</version>
- <type>jar</type>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <id>binding</id>
- <goals>
- <goal>generate-sources</goal>
- </goals>
- <configuration>
- <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
- <codeGenerators>
- <generator>
- <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
- <outputBaseDir>${salGeneratorPath}</outputBaseDir>
- </generator>
- <generator>
- <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
- <outputBaseDir>target/swagger</outputBaseDir>
- </generator>
- </codeGenerators>
- <inspectDependencies>true</inspectDependencies>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>