From 0719837d53276b4f132d7db31d3753e12bb3914b Mon Sep 17 00:00:00 2001 From: Ravi Pendurty Date: Mon, 12 Apr 2021 06:03:17 +0200 Subject: [PATCH] Remove unused folders Remove unused folders Issue-ID: OAM-179 Signed-off-by: Ravi Pendurty Change-Id: I9d7a6af1cd21e58a62b8654af4d571318a5f3098 Signed-off-by: Ravi Pendurty --- distribution/README.md | 3 - .../nonrtric-o1-controller-frankfurt/pom.xml | 173 - .../src/main/docker/Dockerfile | 19 - .../src/main/scripts/TagVersion.groovy | 41 - distribution/nonrtric-o1-controller/pom.xml | 202 -- .../src/main/docker/Dockerfile | 27 - .../src/main/scripts/TagVersion.groovy | 41 - .../nonrtric-o1-controller/src/main/yaml/.env | 24 - .../src/main/yaml/docker-compose.yml | 54 - distribution/pom.xml | 33 - features/.gitignore | 16 - features/README.md | 11 - features/devicemanager/g-ran/ru-fh/feature/pom.xml | 99 - .../devicemanager/g-ran/ru-fh/installer/pom.xml | 116 - .../src/assembly/assemble_mvnrepo_zip.xml | 47 - features/devicemanager/g-ran/ru-fh/model/pom.xml | 121 - features/devicemanager/g-ran/ru-fh/pom.xml | 53 - .../devicemanager/g-ran/ru-fh/provider/copyright | 17 - .../devicemanager/g-ran/ru-fh/provider/pom.xml | 185 -- .../top/rev180731/$YangModelBindingProvider.java | 8 - .../sa5/nrm/top/rev180731/$YangModuleInfoImpl.java | 46 - .../_3gpp/tsg/sa5/nrm/top/rev180731/TopGrp.java | 45 - .../types/rev180731/$YangModelBindingProvider.java | 8 - .../nrm/types/rev180731/$YangModuleInfoImpl.java | 47 - .../tsg/sa5/nrm/types/rev180731/AMFIdentifier.java | 51 - .../tsg/sa5/nrm/types/rev180731/BwpContext.java | 73 - .../tsg/sa5/nrm/types/rev180731/DataSetId.java | 75 - .../rev180731/DefaultNotificationSubscription.java | 60 - .../sa5/nrm/types/rev180731/DnnUpfInfoItem.java | 35 - .../_3gpp/tsg/sa5/nrm/types/rev180731/Guami.java | 45 - .../tsg/sa5/nrm/types/rev180731/IdentityRange.java | 52 - .../nrm/types/rev180731/InterfaceUpfInfoItem.java | 72 - .../tsg/sa5/nrm/types/rev180731/IpEndPoint.java | 67 - .../sa5/nrm/types/rev180731/Ipv4AddressRange.java | 44 - .../sa5/nrm/types/rev180731/Ipv6PrefixRange.java | 44 - .../tsg/sa5/nrm/types/rev180731/IsInitialBwp.java | 71 - .../sa5/nrm/types/rev180731/N1MessageClass.java | 75 - .../nrm/types/rev180731/N2InformationClass.java | 77 - .../sa5/nrm/types/rev180731/NFServiceVersion.java | 53 - .../tsg/sa5/nrm/types/rev180731/NFStatus.java | 71 - .../_3gpp/tsg/sa5/nrm/types/rev180731/NFType.java | 107 - .../nrm/types/rev180731/NotificationEventType.java | 73 - .../sa5/nrm/types/rev180731/NotificationType.java | 73 - .../_3gpp/tsg/sa5/nrm/types/rev180731/PLMNId.java | 55 - .../tsg/sa5/nrm/types/rev180731/QOffsetRange.java | 83 - .../sa5/nrm/types/rev180731/RRMPolicyRatio2.java | 86 - .../sa5/nrm/types/rev180731/SnssaiUpfInfoItem.java | 55 - .../tsg/sa5/nrm/types/rev180731/SupiRange.java | 52 - .../sa5/nrm/types/rev180731/SupportedFeatures.java | 85 - .../tsg/sa5/nrm/types/rev180731/TAMFPointer.java | 90 - .../tsg/sa5/nrm/types/rev180731/TAMFRegionId.java | 90 - .../tsg/sa5/nrm/types/rev180731/TAMFSetId.java | 90 - .../nrm/types/rev180731/TAdministrativeState.java | 89 - .../nrm/types/rev180731/TAvailabilityStatus.java | 147 - .../tsg/sa5/nrm/types/rev180731/TCellState.java | 85 - .../tsg/sa5/nrm/types/rev180731/TCyclicPrefix.java | 71 - .../nrm/types/rev180731/TDistinguishedName.java | 73 - .../_3gpp/tsg/sa5/nrm/types/rev180731/TDnn.java | 73 - .../_3gpp/tsg/sa5/nrm/types/rev180731/TLoad.java | 83 - .../_3gpp/tsg/sa5/nrm/types/rev180731/TMcc.java | 85 - .../_3gpp/tsg/sa5/nrm/types/rev180731/TMnc.java | 85 - .../_3gpp/tsg/sa5/nrm/types/rev180731/TNCI.java | 93 - .../tsg/sa5/nrm/types/rev180731/TNCIBuilder.java | 23 - .../_3gpp/tsg/sa5/nrm/types/rev180731/TNRPCI.java | 83 - .../_3gpp/tsg/sa5/nrm/types/rev180731/TNsiId.java | 73 - .../sa5/nrm/types/rev180731/TOperationalState.java | 79 - .../tsg/sa5/nrm/types/rev180731/TQuotaType.java | 71 - .../nrm/types/rev180731/TResourceSharingLevel.java | 71 - .../_3gpp/tsg/sa5/nrm/types/rev180731/TSNSSAI.java | 120 - .../sa5/nrm/types/rev180731/TSNSSAIBuilder.java | 23 - .../_3gpp/tsg/sa5/nrm/types/rev180731/TSST.java | 83 - .../nrm/types/rev180731/TSubcarrierSpacing.java | 75 - .../_3gpp/tsg/sa5/nrm/types/rev180731/TTAC.java | 93 - .../tsg/sa5/nrm/types/rev180731/TTACBuilder.java | 23 - .../nrm/types/rev180731/TTransportProtocol.java | 73 - .../sa5/nrm/types/rev180731/TUEMobilityLevel.java | 75 - .../urn/_3gpp/tsg/sa5/nrm/types/rev180731/Tai.java | 44 - .../tsg/sa5/nrm/types/rev180731/TxDirection.java | 73 - .../sa5/nrm/types/rev180731/UPInterfaceType.java | 73 - .../tsg/sa5/nrm/types/rev180731/guami/AmfId.java | 37 - .../tsg/sa5/nrm/types/rev180731/guami/PlmnId.java | 37 - .../rev180731/interfaceupfinfoitem/Address.java | 49 - .../interfaceupfinfoitem/address/EndpointFqdn.java | 41 - .../interfaceupfinfoitem/address/Ipv4Address.java | 40 - .../interfaceupfinfoitem/address/Ipv6Address.java | 40 - .../interfaceupfinfoitem/address/Ipv6Prefix.java | 40 - .../nrm/types/rev180731/ipendpoint/Address.java | 44 - .../rev180731/ipendpoint/address/Ipv4Address.java | 40 - .../rev180731/ipendpoint/address/Ipv6Address.java | 40 - .../rev180731/ipendpoint/address/Ipv6Prefix.java | 40 - .../rev180731/snssaiupfinfoitem/DnnUpfInfo.java | 44 - .../rev180731/snssaiupfinfoitem/DnnUpfInfoKey.java | 67 - .../tsg/sa5/nrm/types/rev180731/tai/PlmnId.java | 37 - .../devicemanager/gran/GRanNetworkElement.java | 83 - .../gran/GRanNetworkElementFactory.java | 43 - .../gran/impl/DeviceManagerGRanImpl.java | 69 - .../org/opendaylight/blueprint/impl-blueprint.xml | 38 - .../provider/src/main/resources/version.properties | 24 - .../gran/test/TestDeviceManagerGRanImpl.java | 48 - .../gran/test/TestGRanNetworkElement.java | 55 - .../gran/test/TestGRanNetworkElementFactory.java | 67 - .../src/test/resources/simplelogger.properties | 61 - features/devicemanager/o-ran/ru-fh/feature/pom.xml | 101 - .../devicemanager/o-ran/ru-fh/installer/pom.xml | 178 - .../src/assembly/assemble_mvnrepo_zip.xml | 47 - features/devicemanager/o-ran/ru-fh/model/pom.xml | 124 - .../model/src/main/yang/devicemanager-oran.yang | 37 - features/devicemanager/o-ran/ru-fh/pom.xml | 104 - .../devicemanager/o-ran/ru-fh/provider/copyright | 17 - .../devicemanager/o-ran/ru-fh/provider/pom.xml | 168 - .../alarms/rev190911/OperatorStateBuilder.java | 23 - .../ietf/alarms/rev190911/ResourceBuilder.java | 23 - .../alarms/rev190911/ResourceMatchBuilder.java | 23 - .../alarms/rev190911/SeverityWithClearBuilder.java | 23 - .../ControlMaxAlarmStatusChangesBuilder.java | 23 - .../oran/impl/DeviceManagerORanImpl.java | 89 - .../oran/impl/ORanChangeNotificationListener.java | 99 - .../oran/impl/ORanFaultNotificationListener.java | 39 - .../oran/impl/ORanNetworkElement.java | 145 - .../oran/impl/ORanNetworkElementFactory.java | 51 - .../oran/impl/ORanToInternalDataModel.java | 70 - .../org/opendaylight/blueprint/impl-blueprint.xml | 38 - .../provider/src/main/resources/version.properties | 24 - .../oran/test/TestDeviceManagerORanImpl.java | 51 - .../devicemanager/oran/test/TestHardwareClass.java | 24 - .../test/TestORanChangeNotificationListener.java | 87 - .../test/TestORanFaultNotificationListener.java | 30 - .../oran/test/TestORanNetworkElement.java | 82 - .../oran/test/TestORanNetworkElementFactory.java | 73 - .../oran/test/TestORanToInternalDataModel.java | 81 - .../oran/test/mock/NetconfAccessorMock.java | 92 - .../oran/test/mock/TransactionUtilsMock.java | 46 - .../src/test/resources/simplelogger.properties | 61 - features/devicemanager/x-ran/ru-fh/feature/pom.xml | 101 - .../devicemanager/x-ran/ru-fh/installer/pom.xml | 178 - .../src/assembly/assemble_mvnrepo_zip.xml | 47 - features/devicemanager/x-ran/ru-fh/model/pom.xml | 123 - .../model/src/main/yang/devicemanager-xran.yang | 36 - features/devicemanager/x-ran/ru-fh/pom.xml | 104 - .../devicemanager/x-ran/ru-fh/provider/copyright | 17 - .../devicemanager/x-ran/ru-fh/provider/pom.xml | 166 - .../alarms/rev190911/OperatorStateBuilder.java | 23 - .../ietf/alarms/rev190911/ResourceBuilder.java | 23 - .../alarms/rev190911/ResourceMatchBuilder.java | 23 - .../alarms/rev190911/SeverityWithClearBuilder.java | 23 - .../ControlMaxAlarmStatusChangesBuilder.java | 23 - .../_1/_0/rev180720/NetconfClientIdBuilder.java | 23 - .../xran/impl/DeviceManagerXRanImpl.java | 89 - .../devicemanager/xran/impl/NullableHelper.java | 36 - .../xran/impl/XRanChangeNotificationListener.java | 99 - .../xran/impl/XRanFaultNotificationListener.java | 35 - .../xran/impl/XRanNetworkElement.java | 146 - .../xran/impl/XRanNetworkElementFactory.java | 44 - .../xran/impl/XRanToInternalDataModel.java | 79 - .../org/opendaylight/blueprint/impl-blueprint.xml | 38 - .../provider/src/main/resources/version.properties | 24 - .../xran/test/TestDeviceManagerXRanImpl.java | 78 - .../devicemanager/xran/test/TestHardwareClass.java | 7 - .../xran/test/TestXORanNetworkElementFactory.java | 72 - .../test/TestXRanChangeNotificationListener.java | 87 - .../test/TestXRanFaultNotificationListener.java | 30 - .../xran/test/TestXRanNetworkElement.java | 83 - .../xran/test/TestXRanToInternalDataModel.java | 83 - .../xran/test/mock/NetconfAccessorMock.java | 92 - .../xran/test/mock/TransactionUtilsMock.java | 47 - .../src/test/resources/simplelogger.properties | 61 - features/pom.xml | 35 - parent/.gitignore | 16 - parent/README.md | 10 - parent/binding-parent/pom.xml | 1180 ------- parent/dependencies-odl-bom/pom.xml | 310 -- parent/installed-odl-bom/pom.xml | 3425 -------------------- parent/odlparent-lite/pom.xml | 1169 ------- parent/pom.xml | 37 - parent/single-feature-parent/pom.xml | 1168 ------- 175 files changed, 18026 deletions(-) delete mode 100644 distribution/README.md delete mode 100644 distribution/nonrtric-o1-controller-frankfurt/pom.xml delete mode 100644 distribution/nonrtric-o1-controller-frankfurt/src/main/docker/Dockerfile delete mode 100644 distribution/nonrtric-o1-controller-frankfurt/src/main/scripts/TagVersion.groovy delete mode 100644 distribution/nonrtric-o1-controller/pom.xml delete mode 100644 distribution/nonrtric-o1-controller/src/main/docker/Dockerfile delete mode 100644 distribution/nonrtric-o1-controller/src/main/scripts/TagVersion.groovy delete mode 100644 distribution/nonrtric-o1-controller/src/main/yaml/.env delete mode 100644 distribution/nonrtric-o1-controller/src/main/yaml/docker-compose.yml delete mode 100644 distribution/pom.xml delete mode 100644 features/.gitignore delete mode 100644 features/README.md delete mode 100644 features/devicemanager/g-ran/ru-fh/feature/pom.xml delete mode 100755 features/devicemanager/g-ran/ru-fh/installer/pom.xml delete mode 100644 features/devicemanager/g-ran/ru-fh/installer/src/assembly/assemble_mvnrepo_zip.xml delete mode 100644 features/devicemanager/g-ran/ru-fh/model/pom.xml delete mode 100755 features/devicemanager/g-ran/ru-fh/pom.xml delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/copyright delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/pom.xml delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/$YangModelBindingProvider.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/$YangModuleInfoImpl.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/TopGrp.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/$YangModelBindingProvider.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/$YangModuleInfoImpl.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/AMFIdentifier.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/BwpContext.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DataSetId.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DefaultNotificationSubscription.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DnnUpfInfoItem.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Guami.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IdentityRange.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/InterfaceUpfInfoItem.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IpEndPoint.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Ipv4AddressRange.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Ipv6PrefixRange.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IsInitialBwp.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/N1MessageClass.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/N2InformationClass.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFServiceVersion.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFStatus.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFType.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NotificationEventType.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NotificationType.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/PLMNId.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/QOffsetRange.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/RRMPolicyRatio2.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SnssaiUpfInfoItem.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupiRange.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupportedFeatures.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFPointer.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFRegionId.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFSetId.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAdministrativeState.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAvailabilityStatus.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TCellState.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TCyclicPrefix.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TDistinguishedName.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TDnn.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TLoad.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TMcc.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TMnc.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCI.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCIBuilder.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNRPCI.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNsiId.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TOperationalState.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TQuotaType.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TResourceSharingLevel.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSNSSAI.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSNSSAIBuilder.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSST.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSubcarrierSpacing.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTAC.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTACBuilder.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTransportProtocol.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TUEMobilityLevel.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Tai.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TxDirection.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/UPInterfaceType.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/AmfId.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/PlmnId.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/Address.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/EndpointFqdn.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv4Address.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6Address.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6Prefix.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/Address.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv4Address.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6Address.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6Prefix.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/snssaiupfinfoitem/DnnUpfInfo.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/snssaiupfinfoitem/DnnUpfInfoKey.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/tai/PlmnId.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/gran/GRanNetworkElement.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/gran/GRanNetworkElementFactory.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/gran/impl/DeviceManagerGRanImpl.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/main/resources/version.properties delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/gran/test/TestDeviceManagerGRanImpl.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/gran/test/TestGRanNetworkElement.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/gran/test/TestGRanNetworkElementFactory.java delete mode 100644 features/devicemanager/g-ran/ru-fh/provider/src/test/resources/simplelogger.properties delete mode 100644 features/devicemanager/o-ran/ru-fh/feature/pom.xml delete mode 100644 features/devicemanager/o-ran/ru-fh/installer/pom.xml delete mode 100644 features/devicemanager/o-ran/ru-fh/installer/src/assembly/assemble_mvnrepo_zip.xml delete mode 100644 features/devicemanager/o-ran/ru-fh/model/pom.xml delete mode 100644 features/devicemanager/o-ran/ru-fh/model/src/main/yang/devicemanager-oran.yang delete mode 100644 features/devicemanager/o-ran/ru-fh/pom.xml delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/copyright delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/pom.xml delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/OperatorStateBuilder.java delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/ResourceBuilder.java delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/ResourceMatchBuilder.java delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/SeverityWithClearBuilder.java delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/alarms/ControlMaxAlarmStatusChangesBuilder.java delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/DeviceManagerORanImpl.java delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/ORanChangeNotificationListener.java delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/ORanFaultNotificationListener.java delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/ORanNetworkElement.java delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/ORanNetworkElementFactory.java delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/ORanToInternalDataModel.java delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/main/resources/version.properties delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestDeviceManagerORanImpl.java delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestHardwareClass.java delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestORanChangeNotificationListener.java delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestORanFaultNotificationListener.java delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestORanNetworkElement.java delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestORanNetworkElementFactory.java delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestORanToInternalDataModel.java delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/mock/NetconfAccessorMock.java delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/mock/TransactionUtilsMock.java delete mode 100644 features/devicemanager/o-ran/ru-fh/provider/src/test/resources/simplelogger.properties delete mode 100644 features/devicemanager/x-ran/ru-fh/feature/pom.xml delete mode 100755 features/devicemanager/x-ran/ru-fh/installer/pom.xml delete mode 100644 features/devicemanager/x-ran/ru-fh/installer/src/assembly/assemble_mvnrepo_zip.xml delete mode 100644 features/devicemanager/x-ran/ru-fh/model/pom.xml delete mode 100644 features/devicemanager/x-ran/ru-fh/model/src/main/yang/devicemanager-xran.yang delete mode 100755 features/devicemanager/x-ran/ru-fh/pom.xml delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/copyright delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/pom.xml delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/OperatorStateBuilder.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/ResourceBuilder.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/ResourceMatchBuilder.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/SeverityWithClearBuilder.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/alarms/ControlMaxAlarmStatusChangesBuilder.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/xran/dhcp/_1/_0/rev180720/NetconfClientIdBuilder.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/DeviceManagerXRanImpl.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/NullableHelper.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/XRanChangeNotificationListener.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/XRanFaultNotificationListener.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/XRanNetworkElement.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/XRanNetworkElementFactory.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/XRanToInternalDataModel.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/main/resources/version.properties delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestDeviceManagerXRanImpl.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestHardwareClass.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestXORanNetworkElementFactory.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestXRanChangeNotificationListener.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestXRanFaultNotificationListener.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestXRanNetworkElement.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestXRanToInternalDataModel.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/mock/NetconfAccessorMock.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/mock/TransactionUtilsMock.java delete mode 100644 features/devicemanager/x-ran/ru-fh/provider/src/test/resources/simplelogger.properties delete mode 100644 features/pom.xml delete mode 100644 parent/.gitignore delete mode 100644 parent/README.md delete mode 100644 parent/binding-parent/pom.xml delete mode 100644 parent/dependencies-odl-bom/pom.xml delete mode 100644 parent/installed-odl-bom/pom.xml delete mode 100644 parent/odlparent-lite/pom.xml delete mode 100644 parent/pom.xml delete mode 100644 parent/single-feature-parent/pom.xml diff --git a/distribution/README.md b/distribution/README.md deleted file mode 100644 index 8e6348e..0000000 --- a/distribution/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Distribution - -This directory contains OAM related software artifacts realted to the packaging and distributing code. diff --git a/distribution/nonrtric-o1-controller-frankfurt/pom.xml b/distribution/nonrtric-o1-controller-frankfurt/pom.xml deleted file mode 100644 index 91b359d..0000000 --- a/distribution/nonrtric-o1-controller-frankfurt/pom.xml +++ /dev/null @@ -1,173 +0,0 @@ - - - 4.0.0 - - - org.o-ran-sc.oam.features.parent - odlparent-lite - 1.5.2-SNAPSHOT - - - - org.o-ran-sc.oam.distribution - nonrtric-o1-controller - 1.8.0-SNAPSHOT - pom - - sdnc-distribution :: o-ran-sc :: nonrtric-o1-controller - - nonrtric-o1-controller based on ONAP SDNC - - - O-RAN-SC/OAM - - - - nexus3.onap.org:10001/onap/sdnc-image:1.8.0-STAGING-latest - o-ran-sc/${project.artifactId} - ${maven.build.timestamp} - ${project.version} - 0.7.1-SNAPSHOT - mvn:org.o-ran-sc.oam.features.devicemanager/devicemanager-oran-ru-fh-feature/${o-ran-sc.features.version}/xml/features - mvn:org.o-ran-sc.oam.features.devicemanager/devicemanager-xran-ru-fh-feature/${o-ran-sc.features.version}/xml/features - ${repo-oran},${repo-xran} - sdnr-wt-feature-aggregator,devicemanager-oran-ru-fh-feature,devicemanager-xran-ru-fh-feature - ${project.version} - ${https_proxy} - yyyyMMdd'T'HHmmss'Z' - opt/opendaylight - deploy - true - - - - - - org.o-ran-sc.oam.features.devicemanager - devicemanager-oran-ru-fh-installer - ${o-ran-sc.features.version} - zip - repo - - - org.o-ran-sc.oam.features.devicemanager - devicemanager-xran-ru-fh-installer - ${o-ran-sc.features.version} - zip - repo - - - - - - - org.codehaus.groovy.maven - gmaven-plugin - 1.0 - - - validate - - execute - - - ${basedir}/src/main/scripts/TagVersion.groovy - - - - - - maven-resources-plugin - 2.6 - - - copy-dockerfile - - copy-resources - - validate - - ${basedir}/target/docker-stage - - - src/main/docker - - Dockerfile - - true - - - - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack features - generate-sources - - unpack-dependencies - - - ${basedir}/target/docker-stage - true - false - true - true - - - - - - io.fabric8 - docker-maven-plugin - 0.28.0 - false - - ${env.CONTAINER_PUSH_REGISTRY} - - - ${image.name} - - try - ${basedir}/target/docker-stage - - ${project.docker.latestminortag.version} - ${project.docker.latestfulltag.version} - ${project.docker.latesttagtimestamp.version} - - - - - - - - generate-images - package - - build - - - - push-images - ${docker.push.phase} - - build - push - - - - - - - - org.apache.maven.wagon - wagon-http-lightweight - 2.2 - - - - diff --git a/distribution/nonrtric-o1-controller-frankfurt/src/main/docker/Dockerfile b/distribution/nonrtric-o1-controller-frankfurt/src/main/docker/Dockerfile deleted file mode 100644 index 79bafef..0000000 --- a/distribution/nonrtric-o1-controller-frankfurt/src/main/docker/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -# 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 diff --git a/distribution/nonrtric-o1-controller-frankfurt/src/main/scripts/TagVersion.groovy b/distribution/nonrtric-o1-controller-frankfurt/src/main/scripts/TagVersion.groovy deleted file mode 100644 index e2c317d..0000000 --- a/distribution/nonrtric-o1-controller-frankfurt/src/main/scripts/TagVersion.groovy +++ /dev/null @@ -1,41 +0,0 @@ -/*- - * ============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']; -} diff --git a/distribution/nonrtric-o1-controller/pom.xml b/distribution/nonrtric-o1-controller/pom.xml deleted file mode 100644 index 428f80f..0000000 --- a/distribution/nonrtric-o1-controller/pom.xml +++ /dev/null @@ -1,202 +0,0 @@ - - - 4.0.0 - - - org.onap.ccsdk.parent - odlparent-lite - 1.4.3 - - - - org.o-ran-sc.oam.distribution - nonrtric-o1-controller - 0.6.3-SNAPSHOT - pom - - sdnc-distribution :: sdnc :: nonrtric-o1-controller - Creates nonrtric-o1-controller from ONAP SDNC - - O-RAN-SC/OAM - - - - 1.7.5-STAGING-latest - - nexus3.onap.org:10001/onap/sdnc-image:${image.version} - o-ran-sc/nonrtric-o1-controller - ${project.version} - ${maven.build.timestamp} - ${project.version} - ${https_proxy} - yyyyMMdd'T'HHmmss'Z' - opt/opendaylight - deploy - true - 93C4A3FD7BB9C367 - - - mvn:org.onap.ccsdk.features.sdnr.wt/sdnr-wt-feature-aggregator/${project.version}/xml/features - ${sdnr.wt.repo} - - odl-mdsal-all,odl-mdsal-apidocs,odl-daexim-all - odl-netconf-topology,odl-netconf-connector,sdnr-wt-feature-aggregator - ${odl.boot.features.odl} - - - - - - - org.apache.maven.wagon - wagon-http-lightweight - 2.2 - - - - - org.codehaus.groovy.maven - gmaven-plugin - 1.0 - - - validate - - execute - - - ${basedir}/src/main/scripts/TagVersion.groovy - - - - - - maven-resources-plugin - 2.6 - - - copy-dockerfile - - copy-resources - - validate - - ${basedir}/target/docker-stage - - - src/main/docker - - Dockerfile - - true - - - - - - copy-scripts - - copy-resources - - validate - - ${basedir}/target/docker-stage/opt/onap/sdnc/bin - - - src/main/scripts - - *.sh - - true - - - - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack features - generate-sources - - unpack-dependencies - - - ${basedir}/target/docker-stage - true - false - true - true - - - - - - - - - - - - - - - - - - - - - - - - - io.fabric8 - docker-maven-plugin - 0.31.0 - false - - - - ${image.name} - - try - ${basedir}/target/docker-stage - - - ${project.docker.latestminortag.version} - ${project.docker.latestfulltag.version} - ${project.docker.latesttagtimestamp.version} - ${image.version} - - - - - - - - generate-images - package - - build - - - - - push-images - ${docker.push.phase} - - build - push - - - - - - - diff --git a/distribution/nonrtric-o1-controller/src/main/docker/Dockerfile b/distribution/nonrtric-o1-controller/src/main/docker/Dockerfile deleted file mode 100644 index a25d578..0000000 --- a/distribution/nonrtric-o1-controller/src/main/docker/Dockerfile +++ /dev/null @@ -1,27 +0,0 @@ -################################################################################ -# 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 - diff --git a/distribution/nonrtric-o1-controller/src/main/scripts/TagVersion.groovy b/distribution/nonrtric-o1-controller/src/main/scripts/TagVersion.groovy deleted file mode 100644 index 68a8b78..0000000 --- a/distribution/nonrtric-o1-controller/src/main/scripts/TagVersion.groovy +++ /dev/null @@ -1,41 +0,0 @@ -/*- - * ============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']; -} diff --git a/distribution/nonrtric-o1-controller/src/main/yaml/.env b/distribution/nonrtric-o1-controller/src/main/yaml/.env deleted file mode 100644 index f141094..0000000 --- a/distribution/nonrtric-o1-controller/src/main/yaml/.env +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# 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/ diff --git a/distribution/nonrtric-o1-controller/src/main/yaml/docker-compose.yml b/distribution/nonrtric-o1-controller/src/main/yaml/docker-compose.yml deleted file mode 100644 index c0de8ad..0000000 --- a/distribution/nonrtric-o1-controller/src/main/yaml/docker-compose.yml +++ /dev/null @@ -1,54 +0,0 @@ -################################################################################ -# 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 diff --git a/distribution/pom.xml b/distribution/pom.xml deleted file mode 100644 index c8970c0..0000000 --- a/distribution/pom.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - 4.0.0 - - org.o-ran-sc.oam.distribution - distribution-top - 1.8.0-SNAPSHOT - pom - - o-ran-sc distribution top - - - nonrtric-o1-controller-frankfurt - - - diff --git a/features/.gitignore b/features/.gitignore deleted file mode 100644 index 94227c1..0000000 --- a/features/.gitignore +++ /dev/null @@ -1,16 +0,0 @@ -target/ -target-ide/ -yang-gen-sal/ -.checkstyle -.classpath -.project -.settings -.factorypath -.metadata -*.swp -dist/ -*/**/bin/ -etc/ -node_modules/ -.fbExcludeFilterFile -*.md.html diff --git a/features/README.md b/features/README.md deleted file mode 100644 index fc38fea..0000000 --- a/features/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# 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 diff --git a/features/devicemanager/g-ran/ru-fh/feature/pom.xml b/features/devicemanager/g-ran/ru-fh/feature/pom.xml deleted file mode 100644 index ba9cd0b..0000000 --- a/features/devicemanager/g-ran/ru-fh/feature/pom.xml +++ /dev/null @@ -1,99 +0,0 @@ - - - - - 4.0.0 - - - org.o-ran-sc.oam.features.parent - single-feature-parent - 2.0.0-SNAPSHOT - - - - org.o-ran-sc.oam.features.devicemanager - devicemanager-gran-ru-fh-feature - 1.0.0-SNAPSHOT - feature - - o-ran-sc-features :: ${project.artifactId} - - - - ${project.groupId} - devicemanager-gran-ru-fh-provider - ${project.version} - - - - - - onap-public - https://nexus.onap.org/content/groups/public/ - - true - never - - - true - always - - - - onap-staging - https://nexus.onap.org/content/groups/staging/ - - true - never - - - true - always - - - - ecomp-release - onap-repository-releases - https://nexus.onap.org/content/repositories/releases/ - - true - never - - - false - - - - ecomp-snapshot - onap-repository-snapshots - https://nexus.onap.org/content/repositories/snapshots/ - - false - - - true - - - - - diff --git a/features/devicemanager/g-ran/ru-fh/installer/pom.xml b/features/devicemanager/g-ran/ru-fh/installer/pom.xml deleted file mode 100755 index 9280a69..0000000 --- a/features/devicemanager/g-ran/ru-fh/installer/pom.xml +++ /dev/null @@ -1,116 +0,0 @@ - - - - - 4.0.0 - - - org.o-ran-sc.oam.features.parent - odlparent-lite - 2.0.0-SNAPSHOT - - - - org.o-ran-sc.oam.features.devicemanager - devicemanager-gran-ru-fh-installer - 1.0.0-SNAPSHOT - pom - - o-ran-sc-features :: ${project.artifactId} - - - devicemanager-gran-ru-fh - false - - - - - ${project.groupId} - ${application.name}-feature - ${project.version} - xml - features - - - * - * - - - - - ${project.groupId} - ${application.name}-provider - ${project.version} - - - - - - - maven-assembly-plugin - - - maven-repo-zip - - single - - package - - true - stage/${application.name}-${project.version} - - src/assembly/assemble_mvnrepo_zip.xml - - true - - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - copy-nested-dependencies - - copy-dependencies - - prepare-package - - true - ${project.build.directory}/assembly/system - false - true - true - true - false - false - - - - - - - diff --git a/features/devicemanager/g-ran/ru-fh/installer/src/assembly/assemble_mvnrepo_zip.xml b/features/devicemanager/g-ran/ru-fh/installer/src/assembly/assemble_mvnrepo_zip.xml deleted file mode 100644 index dfe5060..0000000 --- a/features/devicemanager/g-ran/ru-fh/installer/src/assembly/assemble_mvnrepo_zip.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - repo - - zip - - - - false - - - - target/assembly/ - . - - - - - - diff --git a/features/devicemanager/g-ran/ru-fh/model/pom.xml b/features/devicemanager/g-ran/ru-fh/model/pom.xml deleted file mode 100644 index c5286ae..0000000 --- a/features/devicemanager/g-ran/ru-fh/model/pom.xml +++ /dev/null @@ -1,121 +0,0 @@ - - - - - 4.0.0 - - - org.o-ran-sc.oam.features.parent - binding-parent - 2.0.0-SNAPSHOT - - - - org.o-ran-sc.oam.features.devicemanager - devicemanager-gran-ru-fh-model - 1.0.0-SNAPSHOT - bundle - - o-ran-sc-features :: ${project.artifactId} - - - Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0 - - - - - true - - - - - - - - - org.jacoco - jacoco-maven-plugin - - - **/gen/** - **/generated-sources/** - **/yang-gen-sal/** - **/pax/** - - - - - - - - - onap-public - https://nexus.onap.org/content/groups/public/ - - true - never - - - true - always - - - - onap-staging - https://nexus.onap.org/content/groups/staging/ - - true - never - - - true - always - - - - ecomp-release - onap-repository-releases - https://nexus.onap.org/content/repositories/releases/ - - true - never - - - false - - - - ecomp-snapshot - onap-repository-snapshots - https://nexus.onap.org/content/repositories/snapshots/ - - false - - - true - - - - - diff --git a/features/devicemanager/g-ran/ru-fh/pom.xml b/features/devicemanager/g-ran/ru-fh/pom.xml deleted file mode 100755 index 6eb97c1..0000000 --- a/features/devicemanager/g-ran/ru-fh/pom.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - 4.0.0 - - - org.o-ran-sc.oam.features.parent - odlparent-lite - 2.0.0-SNAPSHOT - - - - org.o-ran-sc.oam.features.devicemanager - devicemanager-gran-ru-fh-top - 1.0.0-SNAPSHOT - pom - - o-ran-sc-features :: ${project.artifactId} - - - model - provider - feature - installer - - - - devicemanager-gran-ru-fh - - diff --git a/features/devicemanager/g-ran/ru-fh/provider/copyright b/features/devicemanager/g-ran/ru-fh/provider/copyright deleted file mode 100644 index 754b621..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/copyright +++ /dev/null @@ -1,17 +0,0 @@ -/** - * ============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========================================================================== - */ diff --git a/features/devicemanager/g-ran/ru-fh/provider/pom.xml b/features/devicemanager/g-ran/ru-fh/provider/pom.xml deleted file mode 100644 index 61c13a6..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/pom.xml +++ /dev/null @@ -1,185 +0,0 @@ - - - - - 4.0.0 - - - org.o-ran-sc.oam.features.parent - binding-parent - 2.0.0-SNAPSHOT - - - - org.o-ran-sc.oam.features.devicemanager - devicemanager-gran-ru-fh-provider - 1.0.0-SNAPSHOT - bundle - - o-ran-sc-features :: ${project.artifactId} - - - Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0 - - - - - true - true - yyyy-MM-dd HH:mm - ${maven.build.timestamp} UTC - - - - - - org.mockito - mockito-core - test - - - - ${project.groupId} - devicemanager-gran-ru-fh-model - ${project.version} - - - org.onap.ccsdk.features.sdnr.wt - sdnr-wt-netconfnode-state-service-model - ${project.version} - provided - - - org.onap.ccsdk.features.sdnr.wt - sdnr-wt-devicemanager-model - ${project.version} - provided - - - org.onap.ccsdk.features.sdnr.wt - sdnr-wt-common - ${project.version} - provided - - - org.osgi - org.osgi.core - provided - - - org.opendaylight.netconf - sal-netconf-connector - provided - - - org.opendaylight.mdsal.binding.model.ietf - rfc6991-ietf-yang-types - provided - - - org.opendaylight.mdsal - yang-binding - provided - - - org.opendaylight.mdsal - mdsal-singleton-common-api - provided - - - - - - - src/main/resources - true - - - - - org.jacoco - jacoco-maven-plugin - - - **/gen/** - **/generated-sources/** - **/yang-gen-sal/** - **/pax/** - - - - - - - - - onap-public - https://nexus.onap.org/content/groups/public/ - - true - never - - - true - always - - - - onap-staging - https://nexus.onap.org/content/groups/staging/ - - true - never - - - true - always - - - - ecomp-release - onap-repository-releases - https://nexus.onap.org/content/repositories/releases/ - - true - never - - - false - - - - ecomp-snapshot - onap-repository-snapshots - https://nexus.onap.org/content/repositories/snapshots/ - - false - - - true - - - - - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/$YangModelBindingProvider.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/$YangModelBindingProvider.java deleted file mode 100644 index 925890b..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/$YangModelBindingProvider.java +++ /dev/null @@ -1,8 +0,0 @@ -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(); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/$YangModuleInfoImpl.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/$YangModuleInfoImpl.java deleted file mode 100644 index 7b43064..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/$YangModuleInfoImpl.java +++ /dev/null @@ -1,46 +0,0 @@ -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 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 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 getImportedModules() { - return importedModules; - } - - -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/TopGrp.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/TopGrp.java deleted file mode 100644 index 5216512..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/top/rev180731/TopGrp.java +++ /dev/null @@ -1,45 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-top - *

- * grouping TopGrp {
- *   leaf objectClass {
- *     type string;
- *   }
- *   leaf id {
- *     type nrm-type:t_DistinguishedName;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-top/TopGrp - * - */ -public interface TopGrp - extends - DataObject -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("TopGrp"); - - /** - * @return java.lang.String objectClass, or null if not present - */ - @Nullable String getObjectClass(); - - /** - * @return org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TDistinguishedName id, or null if not present - */ - @Nullable TDistinguishedName getId(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/$YangModelBindingProvider.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/$YangModelBindingProvider.java deleted file mode 100644 index 9bfd8cb..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/$YangModelBindingProvider.java +++ /dev/null @@ -1,8 +0,0 @@ -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(); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/$YangModuleInfoImpl.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/$YangModuleInfoImpl.java deleted file mode 100644 index 7ad939a..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/$YangModuleInfoImpl.java +++ /dev/null @@ -1,47 +0,0 @@ -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 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 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 getImportedModules() { - return importedModules; - } - - -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/AMFIdentifier.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/AMFIdentifier.java deleted file mode 100644 index 6068ed2..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/AMFIdentifier.java +++ /dev/null @@ -1,51 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * 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;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/aMFIdentifier - * - */ -public interface AMFIdentifier - extends - DataObject -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("aMFIdentifier"); - - /** - * @return org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TAMFRegionId aMFRegionId, or null if not present - */ - @Nullable TAMFRegionId getAMFRegionId(); - - /** - * @return org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TAMFSetId aMFSetId, or null if not present - */ - @Nullable TAMFSetId getAMFSetId(); - - /** - * @return org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TAMFPointer aMFPointer, or null if not present - */ - @Nullable TAMFPointer getAMFPointer(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/BwpContext.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/BwpContext.java deleted file mode 100644 index c9e052b..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/BwpContext.java +++ /dev/null @@ -1,73 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DataSetId.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DataSetId.java deleted file mode 100644 index 3585bfb..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DataSetId.java +++ /dev/null @@ -1,75 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DefaultNotificationSubscription.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DefaultNotificationSubscription.java deleted file mode 100644 index 969d5cb..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DefaultNotificationSubscription.java +++ /dev/null @@ -1,60 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * grouping defaultNotificationSubscription {
- *   leaf notificationType {
- *     type NotificationType;
- *   }
- *   leaf callbackUri {
- *     type inet:uri;
- *   }
- *   leaf n1MessageClass {
- *     type N1MessageClass;
- *   }
- *   leaf n2InformationClass {
- *     type N2InformationClass;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/defaultNotificationSubscription - * - */ -public interface DefaultNotificationSubscription - extends - DataObject -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("defaultNotificationSubscription"); - - /** - * @return org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.NotificationType notificationType, or null if not present - */ - @Nullable NotificationType getNotificationType(); - - /** - * @return org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri callbackUri, or null if not present - */ - @Nullable Uri getCallbackUri(); - - /** - * @return org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.N1MessageClass n1MessageClass, or null if not present - */ - @Nullable N1MessageClass getN1MessageClass(); - - /** - * @return org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.N2InformationClass n2InformationClass, or null if not present - */ - @Nullable N2InformationClass getN2InformationClass(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DnnUpfInfoItem.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DnnUpfInfoItem.java deleted file mode 100644 index a21ffc1..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/DnnUpfInfoItem.java +++ /dev/null @@ -1,35 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * grouping DnnUpfInfoItem {
- *   leaf dnn {
- *     type t_Dnn;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/DnnUpfInfoItem - * - */ -public interface DnnUpfInfoItem - extends - DataObject -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("DnnUpfInfoItem"); - - /** - * @return org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TDnn dnn, or null if not present - */ - @Nullable TDnn getDnn(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Guami.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Guami.java deleted file mode 100644 index 94a4ca1..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Guami.java +++ /dev/null @@ -1,45 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * grouping Guami {
- *   container plmnId {
- *     uses pLMNId;
- *   }
- *   container amfId {
- *     uses aMFIdentifier;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/Guami - * - */ -public interface Guami - extends - DataObject -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("Guami"); - - /** - * @return org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.guami.PlmnId plmnId, or null if not present - */ - @Nullable PlmnId getPlmnId(); - - /** - * @return org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.guami.AmfId amfId, or null if not present - */ - @Nullable AmfId getAmfId(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IdentityRange.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IdentityRange.java deleted file mode 100644 index 4146a26..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IdentityRange.java +++ /dev/null @@ -1,52 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * grouping IdentityRange {
- *   leaf start {
- *     type string;
- *   }
- *   leaf end {
- *     type string;
- *   }
- *   leaf pattern {
- *     type string;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/IdentityRange - * - */ -public interface IdentityRange - extends - DataObject -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("IdentityRange"); - - /** - * @return java.lang.String start, or null if not present - */ - @Nullable String getStart(); - - /** - * @return java.lang.String end, or null if not present - */ - @Nullable String getEnd(); - - /** - * @return java.lang.String pattern, or null if not present - */ - @Nullable String getPattern(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/InterfaceUpfInfoItem.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/InterfaceUpfInfoItem.java deleted file mode 100644 index a3a32e2..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/InterfaceUpfInfoItem.java +++ /dev/null @@ -1,72 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * 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;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/InterfaceUpfInfoItem - * - */ -public interface InterfaceUpfInfoItem - extends - DataObject -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("InterfaceUpfInfoItem"); - - /** - * @return org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.UPInterfaceType interfaceType, or null if not present - */ - @Nullable UPInterfaceType getInterfaceType(); - - /** - * @return org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.interfaceupfinfoitem.Address address, or null if not present - */ - @Nullable Address getAddress(); - - /** - * @return java.lang.String networkInstance, or null if not present - */ - @Nullable String getNetworkInstance(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IpEndPoint.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IpEndPoint.java deleted file mode 100644 index 4853cc3..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IpEndPoint.java +++ /dev/null @@ -1,67 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * 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;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/ipEndPoint - * - */ -public interface IpEndPoint - extends - DataObject -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipEndPoint"); - - /** - * @return org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.ipendpoint.Address address, or null if not present - */ - @Nullable Address getAddress(); - - /** - * @return org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TTransportProtocol transport, or null if not present - */ - @Nullable TTransportProtocol getTransport(); - - /** - * @return java.lang.Integer port, or null if not present - */ - @Nullable Integer getPort(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Ipv4AddressRange.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Ipv4AddressRange.java deleted file mode 100644 index 1684893..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Ipv4AddressRange.java +++ /dev/null @@ -1,44 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * grouping Ipv4AddressRange {
- *   leaf start {
- *     type inet:ipv4-address;
- *   }
- *   leaf end {
- *     type inet:ipv4-address;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/Ipv4AddressRange - * - */ -public interface Ipv4AddressRange - extends - DataObject -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("Ipv4AddressRange"); - - /** - * @return org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address start, or null if not present - */ - @Nullable Ipv4Address getStart(); - - /** - * @return org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address end, or null if not present - */ - @Nullable Ipv4Address getEnd(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Ipv6PrefixRange.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Ipv6PrefixRange.java deleted file mode 100644 index 60bb7db..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Ipv6PrefixRange.java +++ /dev/null @@ -1,44 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * grouping Ipv6PrefixRange {
- *   leaf start {
- *     type inet:ipv6-prefix;
- *   }
- *   leaf end {
- *     type inet:ipv6-prefix;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/Ipv6PrefixRange - * - */ -public interface Ipv6PrefixRange - extends - DataObject -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("Ipv6PrefixRange"); - - /** - * @return org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix start, or null if not present - */ - @Nullable Ipv6Prefix getStart(); - - /** - * @return org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix end, or null if not present - */ - @Nullable Ipv6Prefix getEnd(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IsInitialBwp.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IsInitialBwp.java deleted file mode 100644 index 7073ca5..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/IsInitialBwp.java +++ /dev/null @@ -1,71 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/N1MessageClass.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/N1MessageClass.java deleted file mode 100644 index f08c101..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/N1MessageClass.java +++ /dev/null @@ -1,75 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/N2InformationClass.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/N2InformationClass.java deleted file mode 100644 index 8353780..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/N2InformationClass.java +++ /dev/null @@ -1,77 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFServiceVersion.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFServiceVersion.java deleted file mode 100644 index 983cc5b..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFServiceVersion.java +++ /dev/null @@ -1,53 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * grouping NFServiceVersion {
- *   leaf apiVersionInUri {
- *     type string;
- *   }
- *   leaf apiFullVersion {
- *     type string;
- *   }
- *   leaf expiry {
- *     type yang:date-and-time;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/NFServiceVersion - * - */ -public interface NFServiceVersion - extends - DataObject -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("NFServiceVersion"); - - /** - * @return java.lang.String apiVersionInUri, or null if not present - */ - @Nullable String getApiVersionInUri(); - - /** - * @return java.lang.String apiFullVersion, or null if not present - */ - @Nullable String getApiFullVersion(); - - /** - * @return org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime expiry, or null if not present - */ - @Nullable DateAndTime getExpiry(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFStatus.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFStatus.java deleted file mode 100644 index aa11f71..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFStatus.java +++ /dev/null @@ -1,71 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFType.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFType.java deleted file mode 100644 index 8789e43..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NFType.java +++ /dev/null @@ -1,107 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NotificationEventType.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NotificationEventType.java deleted file mode 100644 index e0857a8..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NotificationEventType.java +++ /dev/null @@ -1,73 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NotificationType.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NotificationType.java deleted file mode 100644 index e78ba7b..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/NotificationType.java +++ /dev/null @@ -1,73 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/PLMNId.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/PLMNId.java deleted file mode 100644 index 24bb8d6..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/PLMNId.java +++ /dev/null @@ -1,55 +0,0 @@ -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). - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * grouping pLMNId {
- *   leaf MCC {
- *     type t_mcc;
- *   }
- *   leaf MNC {
- *     type t_mnc;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/pLMNId - * - */ -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 org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TMcc mCC, or null 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 org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TMnc mNC, or null if not present - */ - @Nullable TMnc getMNC(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/QOffsetRange.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/QOffsetRange.java deleted file mode 100644 index 5854ab5..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/QOffsetRange.java +++ /dev/null @@ -1,83 +0,0 @@ -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(); - } -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/RRMPolicyRatio2.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/RRMPolicyRatio2.java deleted file mode 100644 index 5669971..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/RRMPolicyRatio2.java +++ /dev/null @@ -1,86 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * 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;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/RRMPolicyRatio2 - * - */ -public interface RRMPolicyRatio2 - extends - DataObject -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("RRMPolicyRatio2"); - - /** - * @return java.lang.Integer groupId, or null if not present - */ - @Nullable Integer getGroupId(); - - /** - * @return java.util.List sNSSAI, or null if not present - */ - @Nullable List getSNSSAI(); - - /** - * @return org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TQuotaType quotaType, or null if not present - */ - @Nullable TQuotaType getQuotaType(); - - /** - * @return java.lang.Short rRMPolicyMaxRation, or null if not present - */ - @Nullable Short getRRMPolicyMaxRation(); - - /** - * @return java.lang.Short rRMPolicyMarginMaxRation, or null if not present - */ - @Nullable Short getRRMPolicyMarginMaxRation(); - - /** - * @return java.lang.Short rRMPolicyMinRation, or null if not present - */ - @Nullable Short getRRMPolicyMinRation(); - - /** - * @return java.lang.Short rRMPolicyMarginMinRation, or null if not present - */ - @Nullable Short getRRMPolicyMarginMinRation(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SnssaiUpfInfoItem.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SnssaiUpfInfoItem.java deleted file mode 100644 index 04f47b0..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SnssaiUpfInfoItem.java +++ /dev/null @@ -1,55 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * grouping SnssaiUpfInfoItem {
- *   leaf sNssai {
- *     type t_s-NSSAI;
- *   }
- *   list dnnUpfInfo {
- *     key dnn;
- *     uses DnnUpfInfoItem;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/SnssaiUpfInfoItem - * - */ -public interface SnssaiUpfInfoItem - extends - DataObject -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("SnssaiUpfInfoItem"); - - /** - * @return org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TSNSSAI sNssai, or null if not present - */ - @Nullable TSNSSAI getSNssai(); - - /** - * @return java.util.List dnnUpfInfo, or null if not present - */ - @Nullable List getDnnUpfInfo(); - - /** - * @return java.util.List dnnUpfInfo, or an empty list if it is not present - */ - default @NonNull List nonnullDnnUpfInfo() { - return CodeHelpers.nonnull(getDnnUpfInfo()); - } - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupiRange.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupiRange.java deleted file mode 100644 index e959fca..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupiRange.java +++ /dev/null @@ -1,52 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * grouping SupiRange {
- *   leaf start {
- *     type string;
- *   }
- *   leaf end {
- *     type string;
- *   }
- *   leaf pattern {
- *     type string;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/SupiRange - * - */ -public interface SupiRange - extends - DataObject -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("SupiRange"); - - /** - * @return java.lang.String start, or null if not present - */ - @Nullable String getStart(); - - /** - * @return java.lang.String end, or null if not present - */ - @Nullable String getEnd(); - - /** - * @return java.lang.String pattern, or null if not present - */ - @Nullable String getPattern(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupportedFeatures.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupportedFeatures.java deleted file mode 100644 index dec0ed6..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/SupportedFeatures.java +++ /dev/null @@ -1,85 +0,0 @@ -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 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(); - } -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFPointer.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFPointer.java deleted file mode 100644 index 05ec3a3..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFPointer.java +++ /dev/null @@ -1,90 +0,0 @@ -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 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(); - } -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFRegionId.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFRegionId.java deleted file mode 100644 index bb70b4f..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFRegionId.java +++ /dev/null @@ -1,90 +0,0 @@ -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 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(); - } -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFSetId.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFSetId.java deleted file mode 100644 index 6ecd82e..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAMFSetId.java +++ /dev/null @@ -1,90 +0,0 @@ -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 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(); - } -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAdministrativeState.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAdministrativeState.java deleted file mode 100644 index 2838c3c..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAdministrativeState.java +++ /dev/null @@ -1,89 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAvailabilityStatus.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAvailabilityStatus.java deleted file mode 100644 index d86f688..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TAvailabilityStatus.java +++ /dev/null @@ -1,147 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TCellState.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TCellState.java deleted file mode 100644 index 0082d6c..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TCellState.java +++ /dev/null @@ -1,85 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TCyclicPrefix.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TCyclicPrefix.java deleted file mode 100644 index e8b2f3f..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TCyclicPrefix.java +++ /dev/null @@ -1,71 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TDistinguishedName.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TDistinguishedName.java deleted file mode 100644 index fbf1a49..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TDistinguishedName.java +++ /dev/null @@ -1,73 +0,0 @@ -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(); - } -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TDnn.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TDnn.java deleted file mode 100644 index b7d4857..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TDnn.java +++ /dev/null @@ -1,73 +0,0 @@ -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(); - } -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TLoad.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TLoad.java deleted file mode 100644 index 65038cb..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TLoad.java +++ /dev/null @@ -1,83 +0,0 @@ -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(); - } -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TMcc.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TMcc.java deleted file mode 100644 index a5d32a3..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TMcc.java +++ /dev/null @@ -1,85 +0,0 @@ -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 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(); - } -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TMnc.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TMnc.java deleted file mode 100644 index d5de22d..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TMnc.java +++ /dev/null @@ -1,85 +0,0 @@ -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 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(); - } -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCI.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCI.java deleted file mode 100644 index e778650..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCI.java +++ /dev/null @@ -1,93 +0,0 @@ -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 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(); - } -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCIBuilder.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCIBuilder.java deleted file mode 100644 index 3c8462d..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNCIBuilder.java +++ /dev/null @@ -1,23 +0,0 @@ -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"); - } - -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNRPCI.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNRPCI.java deleted file mode 100644 index 72a8400..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNRPCI.java +++ /dev/null @@ -1,83 +0,0 @@ -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(); - } -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNsiId.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNsiId.java deleted file mode 100644 index 1ae6f3c..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TNsiId.java +++ /dev/null @@ -1,73 +0,0 @@ -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(); - } -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TOperationalState.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TOperationalState.java deleted file mode 100644 index 8aae8b4..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TOperationalState.java +++ /dev/null @@ -1,79 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TQuotaType.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TQuotaType.java deleted file mode 100644 index 2b66b0c..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TQuotaType.java +++ /dev/null @@ -1,71 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TResourceSharingLevel.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TResourceSharingLevel.java deleted file mode 100644 index ea8eca6..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TResourceSharingLevel.java +++ /dev/null @@ -1,71 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSNSSAI.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSNSSAI.java deleted file mode 100644 index 09cf352..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSNSSAI.java +++ /dev/null @@ -1,120 +0,0 @@ -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(); - } -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSNSSAIBuilder.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSNSSAIBuilder.java deleted file mode 100644 index b0d11a7..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSNSSAIBuilder.java +++ /dev/null @@ -1,23 +0,0 @@ -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"); - } - -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSST.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSST.java deleted file mode 100644 index 1045aa9..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSST.java +++ /dev/null @@ -1,83 +0,0 @@ -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(); - } -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSubcarrierSpacing.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSubcarrierSpacing.java deleted file mode 100644 index 4912402..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TSubcarrierSpacing.java +++ /dev/null @@ -1,75 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTAC.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTAC.java deleted file mode 100644 index f85c972..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTAC.java +++ /dev/null @@ -1,93 +0,0 @@ -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 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(); - } -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTACBuilder.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTACBuilder.java deleted file mode 100644 index e9aba26..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTACBuilder.java +++ /dev/null @@ -1,23 +0,0 @@ -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"); - } - -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTransportProtocol.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTransportProtocol.java deleted file mode 100644 index bfdf26c..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TTransportProtocol.java +++ /dev/null @@ -1,73 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TUEMobilityLevel.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TUEMobilityLevel.java deleted file mode 100644 index 96aa56c..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TUEMobilityLevel.java +++ /dev/null @@ -1,75 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Tai.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Tai.java deleted file mode 100644 index 325f70a..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/Tai.java +++ /dev/null @@ -1,44 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * grouping Tai {
- *   container plmnId {
- *     uses pLMNId;
- *   }
- *   leaf tac {
- *     type t_tAC;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/Tai - * - */ -public interface Tai - extends - DataObject -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("Tai"); - - /** - * @return org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.tai.PlmnId plmnId, or null if not present - */ - @Nullable PlmnId getPlmnId(); - - /** - * @return org.opendaylight.yang.gen.v1.urn._3gpp.tsg.sa5.nrm.types.rev180731.TTAC tac, or null if not present - */ - @Nullable TTAC getTac(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TxDirection.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TxDirection.java deleted file mode 100644 index a02cee6..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/TxDirection.java +++ /dev/null @@ -1,73 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/UPInterfaceType.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/UPInterfaceType.java deleted file mode 100644 index bdcf43a..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/UPInterfaceType.java +++ /dev/null @@ -1,73 +0,0 @@ -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 NAME_MAP; - private static final Map VALUE_MAP; - - static { - final Builder nb = ImmutableMap.builder(); - final Builder 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 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); - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/AmfId.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/AmfId.java deleted file mode 100644 index 3918d23..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/AmfId.java +++ /dev/null @@ -1,37 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * container amfId {
- *   uses aMFIdentifier;
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/Guami/amfId - * - *

To create instances of this class use {@link AmfIdBuilder}. - * @see AmfIdBuilder - * - */ -public interface AmfId - extends - ChildOf, - Augmentable, - AMFIdentifier -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("amfId"); - - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/PlmnId.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/PlmnId.java deleted file mode 100644 index 6f00171..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/guami/PlmnId.java +++ /dev/null @@ -1,37 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * container plmnId {
- *   uses pLMNId;
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/Guami/plmnId - * - *

To create instances of this class use {@link PlmnIdBuilder}. - * @see PlmnIdBuilder - * - */ -public interface PlmnId - extends - ChildOf, - Augmentable, - PLMNId -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("plmnId"); - - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/Address.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/Address.java deleted file mode 100644 index d9718e6..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/Address.java +++ /dev/null @@ -1,49 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * 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;
- *     }
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/InterfaceUpfInfoItem/address - * - */ -public interface Address - extends - ChoiceIn -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("address"); - - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/EndpointFqdn.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/EndpointFqdn.java deleted file mode 100644 index 4bf58dd..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/EndpointFqdn.java +++ /dev/null @@ -1,41 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * case endpointFqdn {
- *   leaf endpointFqdn {
- *     type inet:domain-name;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/InterfaceUpfInfoItem/address/endpointFqdn - * - */ -public interface EndpointFqdn - extends - DataObject, - Augmentable, - Address -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("endpointFqdn"); - - /** - * @return org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.DomainName endpointFqdn, or null if not present - */ - @Nullable DomainName getEndpointFqdn(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv4Address.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv4Address.java deleted file mode 100644 index 92483f4..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv4Address.java +++ /dev/null @@ -1,40 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * case ipv4Address {
- *   leaf ipv4Address {
- *     type inet:ipv4-address;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/InterfaceUpfInfoItem/address/ipv4Address - * - */ -public interface Ipv4Address - extends - DataObject, - Augmentable, - Address -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipv4Address"); - - /** - * @return org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address ipv4Address, or null if not present - */ - org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.@Nullable Ipv4Address getIpv4Address(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6Address.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6Address.java deleted file mode 100644 index 93a8aff..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6Address.java +++ /dev/null @@ -1,40 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * case ipv6Address {
- *   leaf ipv6Address {
- *     type inet:ipv6-address;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/InterfaceUpfInfoItem/address/ipv6Address - * - */ -public interface Ipv6Address - extends - DataObject, - Augmentable, - Address -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipv6Address"); - - /** - * @return org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address ipv6Address, or null if not present - */ - org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.@Nullable Ipv6Address getIpv6Address(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6Prefix.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6Prefix.java deleted file mode 100644 index e18a666..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/interfaceupfinfoitem/address/Ipv6Prefix.java +++ /dev/null @@ -1,40 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * case ipv6Prefix {
- *   leaf ipv6Prefix {
- *     type inet:ipv6-prefix;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/InterfaceUpfInfoItem/address/ipv6Prefix - * - */ -public interface Ipv6Prefix - extends - DataObject, - Augmentable, - Address -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipv6Prefix"); - - /** - * @return org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix ipv6Prefix, or null if not present - */ - org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.@Nullable Ipv6Prefix getIpv6Prefix(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/Address.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/Address.java deleted file mode 100644 index f15a2bd..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/Address.java +++ /dev/null @@ -1,44 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * 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;
- *     }
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/ipEndPoint/address - * - */ -public interface Address - extends - ChoiceIn -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("address"); - - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv4Address.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv4Address.java deleted file mode 100644 index b387e3f..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv4Address.java +++ /dev/null @@ -1,40 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * case ipv4Address {
- *   leaf ipv4Address {
- *     type inet:ipv4-address;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/ipEndPoint/address/ipv4Address - * - */ -public interface Ipv4Address - extends - DataObject, - Augmentable, - Address -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipv4Address"); - - /** - * @return org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address ipv4Address, or null if not present - */ - org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.@Nullable Ipv4Address getIpv4Address(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6Address.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6Address.java deleted file mode 100644 index f6a3a4a..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6Address.java +++ /dev/null @@ -1,40 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * case ipv6Address {
- *   leaf ipv6Address {
- *     type inet:ipv6-address;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/ipEndPoint/address/ipv6Address - * - */ -public interface Ipv6Address - extends - DataObject, - Augmentable, - Address -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipv6Address"); - - /** - * @return org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address ipv6Address, or null if not present - */ - org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.@Nullable Ipv6Address getIpv6Address(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6Prefix.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6Prefix.java deleted file mode 100644 index 95022a3..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/ipendpoint/address/Ipv6Prefix.java +++ /dev/null @@ -1,40 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * case ipv6Prefix {
- *   leaf ipv6Prefix {
- *     type inet:ipv6-prefix;
- *   }
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/ipEndPoint/address/ipv6Prefix - * - */ -public interface Ipv6Prefix - extends - DataObject, - Augmentable, - Address -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("ipv6Prefix"); - - /** - * @return org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix ipv6Prefix, or null if not present - */ - org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.@Nullable Ipv6Prefix getIpv6Prefix(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/snssaiupfinfoitem/DnnUpfInfo.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/snssaiupfinfoitem/DnnUpfInfo.java deleted file mode 100644 index 0257063..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/snssaiupfinfoitem/DnnUpfInfo.java +++ /dev/null @@ -1,44 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * list dnnUpfInfo {
- *   key dnn;
- *   uses DnnUpfInfoItem;
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/SnssaiUpfInfoItem/dnnUpfInfo - * - *

To create instances of this class use {@link DnnUpfInfoBuilder}. - * @see DnnUpfInfoBuilder - * @see DnnUpfInfoKey - * - */ -public interface DnnUpfInfo - extends - ChildOf, - Augmentable, - DnnUpfInfoItem, - Identifiable -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("dnnUpfInfo"); - - @Override - DnnUpfInfoKey key(); - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/snssaiupfinfoitem/DnnUpfInfoKey.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/snssaiupfinfoitem/DnnUpfInfoKey.java deleted file mode 100644 index faa589d..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/snssaiupfinfoitem/DnnUpfInfoKey.java +++ /dev/null @@ -1,67 +0,0 @@ -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 { - 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(); - } -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/tai/PlmnId.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/tai/PlmnId.java deleted file mode 100644 index 44c34f2..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/_3gpp/tsg/sa5/nrm/types/rev180731/tai/PlmnId.java +++ /dev/null @@ -1,37 +0,0 @@ -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; - -/** - * - *

- * This class represents the following YANG schema fragment defined in module _3gpp-common-yang-types - *

- * container plmnId {
- *   uses pLMNId;
- * }
- * 
The schema path to identify an instance is - * _3gpp-common-yang-types/Tai/plmnId - * - *

To create instances of this class use {@link PlmnIdBuilder}. - * @see PlmnIdBuilder - * - */ -public interface PlmnId - extends - ChildOf, - Augmentable, - PLMNId -{ - - - - public static final QName QNAME = $YangModuleInfoImpl.qnameOf("plmnId"); - - -} - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/gran/GRanNetworkElement.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/gran/GRanNetworkElement.java deleted file mode 100644 index 93cbdfd..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/gran/GRanNetworkElement.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * ============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 Optional getService(Class clazz) { - return Optional.empty(); - } - - @Override - public NetworkElementDeviceType getDeviceType() { - return NetworkElementDeviceType.RAN3GPP; - } - - @Override - public Optional getAcessor() { - return Optional.of(netconfAccessor); - } - -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/gran/GRanNetworkElementFactory.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/gran/GRanNetworkElementFactory.java deleted file mode 100644 index 12366b9..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/gran/GRanNetworkElementFactory.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * ============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 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(); - } - } -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/gran/impl/DeviceManagerGRanImpl.java b/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/gran/impl/DeviceManagerGRanImpl.java deleted file mode 100644 index cc6158c..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/gran/impl/DeviceManagerGRanImpl.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * ============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 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"); - } - -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml b/features/devicemanager/g-ran/ru-fh/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml deleted file mode 100644 index 0d44fc5..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/main/resources/version.properties b/features/devicemanager/g-ran/ru-fh/provider/src/main/resources/version.properties deleted file mode 100644 index 6638c04..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/main/resources/version.properties +++ /dev/null @@ -1,24 +0,0 @@ -# -# ============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} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/gran/test/TestDeviceManagerGRanImpl.java b/features/devicemanager/g-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/gran/test/TestDeviceManagerGRanImpl.java deleted file mode 100644 index c82cda7..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/gran/test/TestDeviceManagerGRanImpl.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * ============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(); - - } - -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/gran/test/TestGRanNetworkElement.java b/features/devicemanager/g-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/gran/test/TestGRanNetworkElement.java deleted file mode 100644 index f3f8224..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/gran/test/TestGRanNetworkElement.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * ============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); - - } - - -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/gran/test/TestGRanNetworkElementFactory.java b/features/devicemanager/g-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/gran/test/TestGRanNetworkElementFactory.java deleted file mode 100644 index 9edfa9a..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/gran/test/TestGRanNetworkElementFactory.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * ============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())); - } - -} diff --git a/features/devicemanager/g-ran/ru-fh/provider/src/test/resources/simplelogger.properties b/features/devicemanager/g-ran/ru-fh/provider/src/test/resources/simplelogger.properties deleted file mode 100644 index 9af26dc..0000000 --- a/features/devicemanager/g-ran/ru-fh/provider/src/test/resources/simplelogger.properties +++ /dev/null @@ -1,61 +0,0 @@ -# -# ============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 diff --git a/features/devicemanager/o-ran/ru-fh/feature/pom.xml b/features/devicemanager/o-ran/ru-fh/feature/pom.xml deleted file mode 100644 index 712fd0a..0000000 --- a/features/devicemanager/o-ran/ru-fh/feature/pom.xml +++ /dev/null @@ -1,101 +0,0 @@ - - - - - 4.0.0 - - - org.o-ran-sc.oam.features.parent - single-feature-parent - 2.0.0-SNAPSHOT - - - - org.o-ran-sc.oam.features.devicemanager - devicemanager-oran-ru-fh-feature - 1.0.0-SNAPSHOT - feature - - o-ran-sc-features :: ${project.artifactId} - - - - ${project.groupId} - devicemanager-oran-ru-fh-provider - ${project.version} - - - - - - onap-public - https://nexus.onap.org/content/groups/public/ - - true - never - - - true - always - - - - onap-staging - https://nexus.onap.org/content/groups/staging/ - - true - never - - - true - always - - - - ecomp-release - onap-repository-releases - https://nexus.onap.org/content/repositories/releases/ - - true - never - - - false - - - - ecomp-snapshot - onap-repository-snapshots - https://nexus.onap.org/content/repositories/snapshots/ - - false - - - true - - - - - diff --git a/features/devicemanager/o-ran/ru-fh/installer/pom.xml b/features/devicemanager/o-ran/ru-fh/installer/pom.xml deleted file mode 100644 index 2a4aea2..0000000 --- a/features/devicemanager/o-ran/ru-fh/installer/pom.xml +++ /dev/null @@ -1,178 +0,0 @@ - - - - - 4.0.0 - - - org.o-ran-sc.oam.features.parent - odlparent-lite - 2.0.0-SNAPSHOT - - - - org.o-ran-sc.oam.features.devicemanager - devicemanager-oran-ru-fh-installer - 1.0.0-SNAPSHOT - pom - - o-ran-sc-features :: ${project.artifactId} - - - devicemanager-oran-ru-fh - false - - - - - - org.opendaylight.controller - mdsal-artifacts - ${odl.controller.mdsal.version} - pom - import - - - - - - ${project.groupId} - ${application.name}-feature - ${project.version} - xml - features - - - * - * - - - - - ${project.groupId} - ${application.name}-provider - ${project.version} - - - - - - - maven-assembly-plugin - - - maven-repo-zip - - single - - package - - true - stage/${application.name}-${project.version} - - src/assembly/assemble_mvnrepo_zip.xml - - true - - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - copy-nested-dependencies - - copy-dependencies - - prepare-package - - true - ${project.build.directory}/assembly/system - false - true - true - true - false - false - - - - - - - - - - onap-public - https://nexus.onap.org/content/groups/public/ - - true - never - - - true - always - - - - onap-staging - https://nexus.onap.org/content/groups/staging/ - - true - never - - - true - always - - - - ecomp-release - onap-repository-releases - https://nexus.onap.org/content/repositories/releases/ - - true - never - - - false - - - - ecomp-snapshot - onap-repository-snapshots - https://nexus.onap.org/content/repositories/snapshots/ - - false - - - true - - - - - diff --git a/features/devicemanager/o-ran/ru-fh/installer/src/assembly/assemble_mvnrepo_zip.xml b/features/devicemanager/o-ran/ru-fh/installer/src/assembly/assemble_mvnrepo_zip.xml deleted file mode 100644 index dfe5060..0000000 --- a/features/devicemanager/o-ran/ru-fh/installer/src/assembly/assemble_mvnrepo_zip.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - repo - - zip - - - - false - - - - target/assembly/ - . - - - - - - diff --git a/features/devicemanager/o-ran/ru-fh/model/pom.xml b/features/devicemanager/o-ran/ru-fh/model/pom.xml deleted file mode 100644 index cdb2c42..0000000 --- a/features/devicemanager/o-ran/ru-fh/model/pom.xml +++ /dev/null @@ -1,124 +0,0 @@ - - - - - 4.0.0 - - - org.o-ran-sc.oam.features.parent - binding-parent - 2.0.0-SNAPSHOT - - - - org.o-ran-sc.oam.features.devicemanager - devicemanager-oran-ru-fh-model - 1.0.0-SNAPSHOT - bundle - - o-ran-sc-features :: ${project.artifactId} - - - Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0 - - - - - true - - - - - - - - - org.jacoco - jacoco-maven-plugin - - - **/gen/** - **/generated-sources/** - **/yang-gen-sal/** - **/pax/** - - - - - - - - - onap-public - https://nexus.onap.org/content/groups/public/ - - true - never - - - true - always - - - - onap-staging - https://nexus.onap.org/content/groups/staging/ - - true - never - - - true - always - - - - ecomp-release - onap-repository-releases - https://nexus.onap.org/content/repositories/releases/ - - true - never - - - false - - - - ecomp-snapshot - onap-repository-snapshots - https://nexus.onap.org/content/repositories/snapshots/ - - false - - - true - - - - - - diff --git a/features/devicemanager/o-ran/ru-fh/model/src/main/yang/devicemanager-oran.yang b/features/devicemanager/o-ran/ru-fh/model/src/main/yang/devicemanager-oran.yang deleted file mode 100644 index 6ea5836..0000000 --- a/features/devicemanager/o-ran/ru-fh/model/src/main/yang/devicemanager-oran.yang +++ /dev/null @@ -1,37 +0,0 @@ -module devicemanager-oran { - - yang-version 1; - namespace "urn:opendaylight:params:xml:ns:yang:devicemanager-oran"; - prefix devicemanager-oran; - - organization - "highstreet technologies GmbH"; - contact - "Web: - O-RAN: - - - - 4.0.0 - - - org.o-ran-sc.oam.features.parent - odlparent-lite - 2.0.0-SNAPSHOT - - - - org.o-ran-sc.oam.features.devicemanager - devicemanager-oran-ru-fh-top - 1.0.0-SNAPSHOT - pom - - o-ran-sc-features :: ${project.artifactId} - - - devicemanager-oran-ru-fh - - - - model - provider - feature - installer - - - - - onap-public - https://nexus.onap.org/content/groups/public/ - - true - never - - - true - always - - - - onap-staging - https://nexus.onap.org/content/groups/staging/ - - true - never - - - true - always - - - - ecomp-release - onap-repository-releases - https://nexus.onap.org/content/repositories/releases/ - - true - never - - - false - - - - ecomp-snapshot - onap-repository-snapshots - https://nexus.onap.org/content/repositories/snapshots/ - - false - - - true - - - - - diff --git a/features/devicemanager/o-ran/ru-fh/provider/copyright b/features/devicemanager/o-ran/ru-fh/provider/copyright deleted file mode 100644 index 754b621..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/copyright +++ /dev/null @@ -1,17 +0,0 @@ -/** - * ============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========================================================================== - */ diff --git a/features/devicemanager/o-ran/ru-fh/provider/pom.xml b/features/devicemanager/o-ran/ru-fh/provider/pom.xml deleted file mode 100644 index bef4a1f..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/pom.xml +++ /dev/null @@ -1,168 +0,0 @@ - - - - - 4.0.0 - - - org.o-ran-sc.oam.features.parent - binding-parent - 2.0.0-SNAPSHOT - - - - org.o-ran-sc.oam.features.devicemanager - devicemanager-oran-ru-fh-provider - 1.0.0-SNAPSHOT - bundle - - o-ran-sc-features :: ${project.artifactId} - - - Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0 - - - - - true - true - yyyy-MM-dd HH:mm - ${maven.build.timestamp} UTC - 49400 - - - - - - org.mockito - mockito-core - test - - - - - org.o-ran-sc.scp-oam-modeling.features - o-ran-ru-fh-model - ${project.version} - - - org.onap.ccsdk.features.sdnr.wt - sdnr-wt-devicemanager-model - ${project.version} - provided - - - org.onap.ccsdk.features.sdnr.wt - sdnr-wt-netconfnode-state-service-model - ${project.version} - provided - - - org.opendaylight.netconf - sal-netconf-connector - provided - - - org.opendaylight.mdsal - mdsal-singleton-common-api - provided - - - - - - - src/main/resources - true - - - - - org.jacoco - jacoco-maven-plugin - - - **/gen/** - **/generated-sources/** - **/yang-gen-sal/** - **/pax/** - - - - - - - - - onap-public - https://nexus.onap.org/content/groups/public/ - - true - never - - - true - always - - - - onap-staging - https://nexus.onap.org/content/groups/staging/ - - true - never - - - true - always - - - - ecomp-release - onap-repository-releases - https://nexus.onap.org/content/repositories/releases/ - - true - never - - - false - - - - ecomp-snapshot - onap-repository-snapshots - https://nexus.onap.org/content/repositories/snapshots/ - - false - - - true - - - - - diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/OperatorStateBuilder.java b/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/OperatorStateBuilder.java deleted file mode 100644 index 7e8327a..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/OperatorStateBuilder.java +++ /dev/null @@ -1,23 +0,0 @@ -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"); - } - -} diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/ResourceBuilder.java b/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/ResourceBuilder.java deleted file mode 100644 index 7c4a63d..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/ResourceBuilder.java +++ /dev/null @@ -1,23 +0,0 @@ -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"); - } - -} diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/ResourceMatchBuilder.java b/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/ResourceMatchBuilder.java deleted file mode 100644 index 282a6a2..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/ResourceMatchBuilder.java +++ /dev/null @@ -1,23 +0,0 @@ -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"); - } - -} diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/SeverityWithClearBuilder.java b/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/SeverityWithClearBuilder.java deleted file mode 100644 index 8139192..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/SeverityWithClearBuilder.java +++ /dev/null @@ -1,23 +0,0 @@ -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"); - } - -} diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/alarms/ControlMaxAlarmStatusChangesBuilder.java b/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/alarms/ControlMaxAlarmStatusChangesBuilder.java deleted file mode 100644 index 9f10ae8..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/alarms/ControlMaxAlarmStatusChangesBuilder.java +++ /dev/null @@ -1,23 +0,0 @@ -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"); - } - -} diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/DeviceManagerORanImpl.java b/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/DeviceManagerORanImpl.java deleted file mode 100644 index e580426..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/DeviceManagerORanImpl.java +++ /dev/null @@ -1,89 +0,0 @@ -/* - * ============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 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); - } - } - } - } -} diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/ORanChangeNotificationListener.java b/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/ORanChangeNotificationListener.java deleted file mode 100644 index 5c35f85..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/ORanChangeNotificationListener.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * ============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 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); - } - -} diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/ORanFaultNotificationListener.java b/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/ORanFaultNotificationListener.java deleted file mode 100644 index b460f16..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/ORanFaultNotificationListener.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * ============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); - } - -} diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/ORanNetworkElement.java b/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/ORanNetworkElement.java deleted file mode 100644 index 1404c34..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/ORanNetworkElement.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - * ============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 oRanListenerRegistrationResult; - private @NonNull final ORanChangeNotificationListener oRanListener; - private ListenerRegistration 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 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 clazzPac = Hardware.class; - - log.info("DBRead Get equipment for class {} from mountpoint {} for uuid {}", clazzPac.getSimpleName(), - accessData.getNodeId().getValue()); - - InstanceIdentifier 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 Optional getService(Class clazz) { - return Optional.empty(); - } - - @Override - public void warmstart() {} - - @Override - public Optional getAcessor() { - return Optional.of(netconfAccessor); - } - -} diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/ORanNetworkElementFactory.java b/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/ORanNetworkElementFactory.java deleted file mode 100644 index bc9da71..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/ORanNetworkElementFactory.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * ============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 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(); - } -} diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/ORanToInternalDataModel.java b/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/ORanToInternalDataModel.java deleted file mode 100644 index 0864b8f..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/oran/impl/ORanToInternalDataModel.java +++ /dev/null @@ -1,70 +0,0 @@ -/** - * ============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 containerHolderKeyList = new ArrayList<>(); - List 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(); - } - -} diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml b/features/devicemanager/o-ran/ru-fh/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml deleted file mode 100644 index d70f328..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/main/resources/version.properties b/features/devicemanager/o-ran/ru-fh/provider/src/main/resources/version.properties deleted file mode 100644 index 6638c04..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/main/resources/version.properties +++ /dev/null @@ -1,24 +0,0 @@ -# -# ============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} diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestDeviceManagerORanImpl.java b/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestDeviceManagerORanImpl.java deleted file mode 100644 index c9476be..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestDeviceManagerORanImpl.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * ============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(); - } -} diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestHardwareClass.java b/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestHardwareClass.java deleted file mode 100644 index 4d259cd..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestHardwareClass.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * ============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 { - -} diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestORanChangeNotificationListener.java b/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestORanChangeNotificationListener.java deleted file mode 100644 index 435d565..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestORanChangeNotificationListener.java +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ============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 pathArguments = Arrays.asList(new PathArgument() { - - @Override - public int compareTo(PathArgument arg0) { - return 0; - } - - @Override - public Class 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 edits = Arrays.asList(new EditBuilder().setOperation(type).setTarget(target).build()); - when(change.nonnullEdit()).thenReturn(edits); - return change; - } -} diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestORanFaultNotificationListener.java b/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestORanFaultNotificationListener.java deleted file mode 100644 index 61e5d1b..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestORanFaultNotificationListener.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * ============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); - } -} diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestORanNetworkElement.java b/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestORanNetworkElement.java deleted file mode 100644 index e969012..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestORanNetworkElement.java +++ /dev/null @@ -1,82 +0,0 @@ -/* - * ============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 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 { - - } -} diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestORanNetworkElementFactory.java b/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestORanNetworkElementFactory.java deleted file mode 100644 index ca61d44..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestORanNetworkElementFactory.java +++ /dev/null @@ -1,73 +0,0 @@ -/* - * ============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 { - - } -} - diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestORanToInternalDataModel.java b/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestORanToInternalDataModel.java deleted file mode 100644 index f35bcb4..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/TestORanToInternalDataModel.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * ============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 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 hwClass = TestHardwareClass.class; - Mockito.>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 { - - } -} diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/mock/NetconfAccessorMock.java b/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/mock/NetconfAccessorMock.java deleted file mode 100644 index 165ad0f..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/mock/NetconfAccessorMock.java +++ /dev/null @@ -1,92 +0,0 @@ -/* - * ============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 ListenerRegistration doRegisterNotificationListener( - @NonNull T listener) { - return null; - } - - @Override - public ListenableFuture> registerNotificationsStream(String streamName) { - return null; - } - -} diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/mock/TransactionUtilsMock.java b/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/mock/TransactionUtilsMock.java deleted file mode 100644 index e07fce1..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/oran/test/mock/TransactionUtilsMock.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * ============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 @Nullable T readData(DataBroker dataBroker, LogicalDatastoreType dataStoreType, - InstanceIdentifier iid) { - // TODO Auto-generated method stub - return null; - } - - @Override - public @Nullable T readDataOptionalWithStatus(DataBroker dataBroker, - LogicalDatastoreType dataStoreType, InstanceIdentifier iid, AtomicBoolean noErrorIndication, - AtomicReference statusIndicator) { - // TODO Auto-generated method stub - return null; - } - -} diff --git a/features/devicemanager/o-ran/ru-fh/provider/src/test/resources/simplelogger.properties b/features/devicemanager/o-ran/ru-fh/provider/src/test/resources/simplelogger.properties deleted file mode 100644 index 9af26dc..0000000 --- a/features/devicemanager/o-ran/ru-fh/provider/src/test/resources/simplelogger.properties +++ /dev/null @@ -1,61 +0,0 @@ -# -# ============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 diff --git a/features/devicemanager/x-ran/ru-fh/feature/pom.xml b/features/devicemanager/x-ran/ru-fh/feature/pom.xml deleted file mode 100644 index 601012b..0000000 --- a/features/devicemanager/x-ran/ru-fh/feature/pom.xml +++ /dev/null @@ -1,101 +0,0 @@ - - - - - 4.0.0 - - - org.o-ran-sc.oam.features.parent - single-feature-parent - 2.0.0-SNAPSHOT - - - - org.o-ran-sc.oam.features.devicemanager - devicemanager-xran-ru-fh-feature - 1.0.0-SNAPSHOT - feature - - o-ran-sc-features :: ${project.artifactId} - - - - ${project.groupId} - devicemanager-xran-ru-fh-provider - ${project.version} - - - - - - onap-public - https://nexus.onap.org/content/groups/public/ - - true - never - - - true - always - - - - onap-staging - https://nexus.onap.org/content/groups/staging/ - - true - never - - - true - always - - - - ecomp-release - onap-repository-releases - https://nexus.onap.org/content/repositories/releases/ - - true - never - - - false - - - - ecomp-snapshot - onap-repository-snapshots - https://nexus.onap.org/content/repositories/snapshots/ - - false - - - true - - - - - diff --git a/features/devicemanager/x-ran/ru-fh/installer/pom.xml b/features/devicemanager/x-ran/ru-fh/installer/pom.xml deleted file mode 100755 index d91997e..0000000 --- a/features/devicemanager/x-ran/ru-fh/installer/pom.xml +++ /dev/null @@ -1,178 +0,0 @@ - - - - - 4.0.0 - - - org.o-ran-sc.oam.features.parent - odlparent-lite - 2.0.0-SNAPSHOT - - - - org.o-ran-sc.oam.features.devicemanager - devicemanager-xran-ru-fh-installer - 1.0.0-SNAPSHOT - pom - - o-ran-sc-features :: ${project.artifactId} - - - devicemanager-xran-ru-fh - false - - - - - - org.opendaylight.controller - mdsal-artifacts - ${odl.controller.mdsal.version} - pom - import - - - - - - ${project.groupId} - ${application.name}-feature - ${project.version} - xml - features - - - * - * - - - - - ${project.groupId} - ${application.name}-provider - ${project.version} - - - - - - - maven-assembly-plugin - - - maven-repo-zip - - single - - package - - true - stage/${application.name}-${project.version} - - src/assembly/assemble_mvnrepo_zip.xml - - true - - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - copy-nested-dependencies - - copy-dependencies - - prepare-package - - true - ${project.build.directory}/assembly/system - false - true - true - true - false - false - - - - - - - - - - onap-public - https://nexus.onap.org/content/groups/public/ - - true - never - - - true - always - - - - onap-staging - https://nexus.onap.org/content/groups/staging/ - - true - never - - - true - always - - - - ecomp-release - onap-repository-releases - https://nexus.onap.org/content/repositories/releases/ - - true - never - - - false - - - - ecomp-snapshot - onap-repository-snapshots - https://nexus.onap.org/content/repositories/snapshots/ - - false - - - true - - - - - diff --git a/features/devicemanager/x-ran/ru-fh/installer/src/assembly/assemble_mvnrepo_zip.xml b/features/devicemanager/x-ran/ru-fh/installer/src/assembly/assemble_mvnrepo_zip.xml deleted file mode 100644 index dfe5060..0000000 --- a/features/devicemanager/x-ran/ru-fh/installer/src/assembly/assemble_mvnrepo_zip.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - repo - - zip - - - - false - - - - target/assembly/ - . - - - - - - diff --git a/features/devicemanager/x-ran/ru-fh/model/pom.xml b/features/devicemanager/x-ran/ru-fh/model/pom.xml deleted file mode 100644 index 68bd7df..0000000 --- a/features/devicemanager/x-ran/ru-fh/model/pom.xml +++ /dev/null @@ -1,123 +0,0 @@ - - - - - 4.0.0 - - - org.o-ran-sc.oam.features.parent - binding-parent - 2.0.0-SNAPSHOT - - - - org.o-ran-sc.oam.features.devicemanager - devicemanager-xran-ru-fh-model - 1.0.0-SNAPSHOT - bundle - - o-ran-sc-features :: ${project.artifactId} - - - Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0 - - - - - true - - - - - - - - - org.jacoco - jacoco-maven-plugin - - - **/gen/** - **/generated-sources/** - **/yang-gen-sal/** - **/pax/** - - - - - - - - - onap-public - https://nexus.onap.org/content/groups/public/ - - true - never - - - true - always - - - - onap-staging - https://nexus.onap.org/content/groups/staging/ - - true - never - - - true - always - - - - ecomp-release - onap-repository-releases - https://nexus.onap.org/content/repositories/releases/ - - true - never - - - false - - - - ecomp-snapshot - onap-repository-snapshots - https://nexus.onap.org/content/repositories/snapshots/ - - false - - - true - - - - - diff --git a/features/devicemanager/x-ran/ru-fh/model/src/main/yang/devicemanager-xran.yang b/features/devicemanager/x-ran/ru-fh/model/src/main/yang/devicemanager-xran.yang deleted file mode 100644 index bf1fc79..0000000 --- a/features/devicemanager/x-ran/ru-fh/model/src/main/yang/devicemanager-xran.yang +++ /dev/null @@ -1,36 +0,0 @@ -module devicemanager-xran { - - yang-version 1; - namespace "urn:opendaylight:params:xml:ns:yang:devicemanager-xran"; - prefix devicemanager-xran; - - organization - "highstreet technologies GmbH"; - contact - "Web: "; - - 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 - ""; - } -} diff --git a/features/devicemanager/x-ran/ru-fh/pom.xml b/features/devicemanager/x-ran/ru-fh/pom.xml deleted file mode 100755 index 8d73ed6..0000000 --- a/features/devicemanager/x-ran/ru-fh/pom.xml +++ /dev/null @@ -1,104 +0,0 @@ - - - - - 4.0.0 - - - org.o-ran-sc.oam.features.parent - odlparent-lite - 2.0.0-SNAPSHOT - - - - org.o-ran-sc.oam.features.devicemanager - devicemanager-xran-ru-fh-top - 1.0.0-SNAPSHOT - pom - - o-ran-sc-features :: ${project.artifactId} - - - devicemanager-xran-ru-fh - - - - model - provider - feature - installer - - - - - onap-public - https://nexus.onap.org/content/groups/public/ - - true - never - - - true - always - - - - onap-staging - https://nexus.onap.org/content/groups/staging/ - - true - never - - - true - always - - - - ecomp-release - onap-repository-releases - https://nexus.onap.org/content/repositories/releases/ - - true - never - - - false - - - - ecomp-snapshot - onap-repository-snapshots - https://nexus.onap.org/content/repositories/snapshots/ - - false - - - true - - - - - diff --git a/features/devicemanager/x-ran/ru-fh/provider/copyright b/features/devicemanager/x-ran/ru-fh/provider/copyright deleted file mode 100644 index 754b621..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/copyright +++ /dev/null @@ -1,17 +0,0 @@ -/** - * ============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========================================================================== - */ diff --git a/features/devicemanager/x-ran/ru-fh/provider/pom.xml b/features/devicemanager/x-ran/ru-fh/provider/pom.xml deleted file mode 100644 index 75cdf81..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/pom.xml +++ /dev/null @@ -1,166 +0,0 @@ - - - - - 4.0.0 - - - org.o-ran-sc.oam.features.parent - binding-parent - 2.0.0-SNAPSHOT - - - - org.o-ran-sc.oam.features.devicemanager - devicemanager-xran-ru-fh-provider - 1.0.0-SNAPSHOT - bundle - - o-ran-sc-features :: ${project.artifactId} - - - Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0 - - - - - true - true - yyyy-MM-dd HH:mm - ${maven.build.timestamp} UTC - 49400 - - - - - - org.mockito - mockito-core - test - - - - - org.o-ran-sc.scp-oam-modeling.features - x-ran-ru-fh-model - ${project.version} - - - org.onap.ccsdk.features.sdnr.wt - sdnr-wt-devicemanager-model - provided - - - org.onap.ccsdk.features.sdnr.wt - sdnr-wt-netconfnode-state-service-model - provided - - - org.opendaylight.netconf - sal-netconf-connector - provided - - - org.opendaylight.mdsal - mdsal-singleton-common-api - provided - - - - - - - src/main/resources - true - - - - - org.jacoco - jacoco-maven-plugin - - - **/gen/** - **/generated-sources/** - **/yang-gen-sal/** - **/pax/** - - - - - - - - - onap-public - https://nexus.onap.org/content/groups/public/ - - true - never - - - true - always - - - - onap-staging - https://nexus.onap.org/content/groups/staging/ - - true - never - - - true - always - - - - ecomp-release - onap-repository-releases - https://nexus.onap.org/content/repositories/releases/ - - true - never - - - false - - - - ecomp-snapshot - onap-repository-snapshots - https://nexus.onap.org/content/repositories/snapshots/ - - false - - - true - - - - - diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/OperatorStateBuilder.java b/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/OperatorStateBuilder.java deleted file mode 100644 index 7e8327a..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/OperatorStateBuilder.java +++ /dev/null @@ -1,23 +0,0 @@ -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"); - } - -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/ResourceBuilder.java b/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/ResourceBuilder.java deleted file mode 100644 index 7c4a63d..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/ResourceBuilder.java +++ /dev/null @@ -1,23 +0,0 @@ -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"); - } - -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/ResourceMatchBuilder.java b/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/ResourceMatchBuilder.java deleted file mode 100644 index 282a6a2..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/ResourceMatchBuilder.java +++ /dev/null @@ -1,23 +0,0 @@ -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"); - } - -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/SeverityWithClearBuilder.java b/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/SeverityWithClearBuilder.java deleted file mode 100644 index 8139192..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/SeverityWithClearBuilder.java +++ /dev/null @@ -1,23 +0,0 @@ -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"); - } - -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/alarms/ControlMaxAlarmStatusChangesBuilder.java b/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/alarms/ControlMaxAlarmStatusChangesBuilder.java deleted file mode 100644 index 9f10ae8..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/ietf/params/xml/ns/yang/ietf/alarms/rev190911/alarms/ControlMaxAlarmStatusChangesBuilder.java +++ /dev/null @@ -1,23 +0,0 @@ -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"); - } - -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/xran/dhcp/_1/_0/rev180720/NetconfClientIdBuilder.java b/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/xran/dhcp/_1/_0/rev180720/NetconfClientIdBuilder.java deleted file mode 100644 index 910d92b..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/opendaylight/yang/gen/v1/urn/xran/dhcp/_1/_0/rev180720/NetconfClientIdBuilder.java +++ /dev/null @@ -1,23 +0,0 @@ -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"); - } - -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/DeviceManagerXRanImpl.java b/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/DeviceManagerXRanImpl.java deleted file mode 100644 index 5aa89da..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/DeviceManagerXRanImpl.java +++ /dev/null @@ -1,89 +0,0 @@ -/* - * ============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 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); - } - } - } - } -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/NullableHelper.java b/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/NullableHelper.java deleted file mode 100644 index 0764226..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/NullableHelper.java +++ /dev/null @@ -1,36 +0,0 @@ -/******************************************************************************* - * ============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; - } - -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/XRanChangeNotificationListener.java b/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/XRanChangeNotificationListener.java deleted file mode 100644 index be0822f..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/XRanChangeNotificationListener.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * ============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 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); - } - -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/XRanFaultNotificationListener.java b/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/XRanFaultNotificationListener.java deleted file mode 100644 index 5fdb078..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/XRanFaultNotificationListener.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * ============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); - } - -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/XRanNetworkElement.java b/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/XRanNetworkElement.java deleted file mode 100644 index a956c44..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/XRanNetworkElement.java +++ /dev/null @@ -1,146 +0,0 @@ -/* - * ============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 xRanListenerRegistrationResult; - private @NonNull final XRanChangeNotificationListener xRanListener; - private ListenerRegistration 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 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 clazzPac = Hardware.class; - - log.info("DBRead Get equipment for class {} from mountpoint {} for uuid {}", clazzPac.getSimpleName(), - accessData.getNodeId().getValue()); - - InstanceIdentifier 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 Optional getService(Class clazz) { - return Optional.empty(); - } - - @Override - public void warmstart() { - } - - @Override - public Optional getAcessor() { - return Optional.of(netconfAccessor); - } - -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/XRanNetworkElementFactory.java b/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/XRanNetworkElementFactory.java deleted file mode 100644 index 139fc16..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/XRanNetworkElementFactory.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * ============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 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(); - } - } -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/XRanToInternalDataModel.java b/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/XRanToInternalDataModel.java deleted file mode 100644 index ed8ffb3..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/main/java/org/oransc/oam/features/devicemanager/xran/impl/XRanToInternalDataModel.java +++ /dev/null @@ -1,79 +0,0 @@ -/** - * ============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 containerHolderKeyList = new ArrayList<>(); - List 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 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(); - } - -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml b/features/devicemanager/x-ran/ru-fh/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml deleted file mode 100644 index 14d3142..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/main/resources/org/opendaylight/blueprint/impl-blueprint.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/main/resources/version.properties b/features/devicemanager/x-ran/ru-fh/provider/src/main/resources/version.properties deleted file mode 100644 index 6638c04..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/main/resources/version.properties +++ /dev/null @@ -1,24 +0,0 @@ -# -# ============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} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestDeviceManagerXRanImpl.java b/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestDeviceManagerXRanImpl.java deleted file mode 100644 index cba3904..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestDeviceManagerXRanImpl.java +++ /dev/null @@ -1,78 +0,0 @@ -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); - } - } -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestHardwareClass.java b/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestHardwareClass.java deleted file mode 100644 index 34317f6..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestHardwareClass.java +++ /dev/null @@ -1,7 +0,0 @@ -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 { - -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestXORanNetworkElementFactory.java b/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestXORanNetworkElementFactory.java deleted file mode 100644 index 600dc5f..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestXORanNetworkElementFactory.java +++ /dev/null @@ -1,72 +0,0 @@ -/* - * ============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 { - - } -} - diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestXRanChangeNotificationListener.java b/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestXRanChangeNotificationListener.java deleted file mode 100644 index c12ab9d..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestXRanChangeNotificationListener.java +++ /dev/null @@ -1,87 +0,0 @@ -/* - * ============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 pathArguments = Arrays.asList(new PathArgument() { - - @Override - public int compareTo(PathArgument arg0) { - return 0; - } - - @Override - public Class 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 edits = Arrays.asList(new EditBuilder().setOperation(type).setTarget(target).build()); - when(change.nonnullEdit()).thenReturn(edits); - return change; - } -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestXRanFaultNotificationListener.java b/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestXRanFaultNotificationListener.java deleted file mode 100644 index f246ccf..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestXRanFaultNotificationListener.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * ============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); - } -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestXRanNetworkElement.java b/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestXRanNetworkElement.java deleted file mode 100644 index 91ff30e..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestXRanNetworkElement.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * ============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 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 { - - } -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestXRanToInternalDataModel.java b/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestXRanToInternalDataModel.java deleted file mode 100644 index 153870f..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/TestXRanToInternalDataModel.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * ============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 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 hwClass = TestHardwareClass.class; - Mockito.>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 { - - } -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/mock/NetconfAccessorMock.java b/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/mock/NetconfAccessorMock.java deleted file mode 100644 index 0c50454..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/mock/NetconfAccessorMock.java +++ /dev/null @@ -1,92 +0,0 @@ -/* - * ============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 ListenerRegistration doRegisterNotificationListener( - @NonNull T listener) { - return null; - } - - @Override - public ListenableFuture> registerNotificationsStream(String streamName) { - return null; - } - -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/mock/TransactionUtilsMock.java b/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/mock/TransactionUtilsMock.java deleted file mode 100644 index a8ff855..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/test/java/org/oransc/oam/features/devicemanager/xran/test/mock/TransactionUtilsMock.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * ============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 @Nullable T readData(DataBroker dataBroker, LogicalDatastoreType dataStoreType, - InstanceIdentifier iid) { - // TODO Auto-generated method stub - return null; - } - - @Override - public @Nullable T readDataOptionalWithStatus(DataBroker dataBroker, - LogicalDatastoreType dataStoreType, InstanceIdentifier iid, AtomicBoolean noErrorIndication, - AtomicReference statusIndicator) { - // TODO Auto-generated method stub - return null; - } - -} diff --git a/features/devicemanager/x-ran/ru-fh/provider/src/test/resources/simplelogger.properties b/features/devicemanager/x-ran/ru-fh/provider/src/test/resources/simplelogger.properties deleted file mode 100644 index 9af26dc..0000000 --- a/features/devicemanager/x-ran/ru-fh/provider/src/test/resources/simplelogger.properties +++ /dev/null @@ -1,61 +0,0 @@ -# -# ============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 diff --git a/features/pom.xml b/features/pom.xml deleted file mode 100644 index 7c39bb5..0000000 --- a/features/pom.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - 4.0.0 - - org.o-ran-sc.oam.features - features-top - 1.0.0-SNAPSHOT - pom - - o-ran-sc features top - - - devicemanager/o-ran/ru-fh - devicemanager/x-ran/ru-fh - devicemanager/g-ran/ru-fh - - - diff --git a/parent/.gitignore b/parent/.gitignore deleted file mode 100644 index 94227c1..0000000 --- a/parent/.gitignore +++ /dev/null @@ -1,16 +0,0 @@ -target/ -target-ide/ -yang-gen-sal/ -.checkstyle -.classpath -.project -.settings -.factorypath -.metadata -*.swp -dist/ -*/**/bin/ -etc/ -node_modules/ -.fbExcludeFilterFile -*.md.html diff --git a/parent/README.md b/parent/README.md deleted file mode 100644 index 9de4c95..0000000 --- a/parent/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# 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. diff --git a/parent/binding-parent/pom.xml b/parent/binding-parent/pom.xml deleted file mode 100644 index 7c402bf..0000000 --- a/parent/binding-parent/pom.xml +++ /dev/null @@ -1,1180 +0,0 @@ - - - - 4.0.0 - - - org.opendaylight.mdsal - binding-parent - 4.0.14 - - - - org.o-ran-sc.oam.features.parent - binding-parent - 2.0.0-SNAPSHOT - pom - - o-ran-sc features binding-parent - Root POM to be used in place of odlparent for CCSDK based projects - http://wiki.o-ran-sc.org - - O-RAN-SC - - - - JIRA - https://jira.o-ran-sc.org/ - - - - ecomp-releases - ${onap.nexus.release-url} - - - ecomp-snapshots - ${onap.nexus.snapshot-url} - - - - - - 3.7.0.1746 - 3.2 - jacoco - - ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml - - **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** - - - 0.8.5 - - - 8 - 8 - UTF-8 - UTF-8 - https://nexus.onap.org - - /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} - - - ${basedir}/src/main/resources/swagger.properties - - ${basedir}/src/main/resources/swagger.json - - - - nexus.onap.org - 443 - https - https://nexus.onap.org/content/groups/public - https://nexus.onap.org/content/groups/staging - https://nexus.onap.org/content/repositories/releases - https://nexus.onap.org/content/repositories/snapshots - ecomp-staging - 176c31dfe190a - - - https://nexus.opendaylight.org/content/repositories/public/ - https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ - - UTF-8 - 8 - 8 - 2.5.0 - 2.5.1 - features.xml - src/main/yang-gen-config - src/main/yang-gen-sal - true - - - 1.6.6 - - - 1.0.0-SNAPSHOT - 1.0.0-SNAPSHOT - 1.0.0-SNAPSHOT - 1.0.0-SNAPSHOT - 1.0.0-SNAPSHOT - 1.0.0-SNAPSHOT - 1.0.0-SNAPSHOT - ${ccsdk.sli.core.version} - ${ccsdk.sli.adaptors.version} - ${ccsdk.sli.core.version} - ${ccsdk.sli.adaptors.version} - ${ccsdk.sli.core.version} - - - 1.10.3 - 4.0.14 - 2.0.14 - 1.10.3 - 1.7.3 - 1.10.3 - - - 1.13 - - 3.8.1 - - 2.6 - - 3.6 - - 2.7.4 - - 4.4.1 - - 2.8.5 - - 25.1-jre - - 2.9.10 - - 3.24.1-GA - - - - 2.25.1 - - 2.25.1 - - - - - 20131018 - - - 4.12 - - 1.2.3 - - 1.10.19 - - 4.1.42.Final - - 1.7.25 - - 4.3.25.RELEASE - - - 0.6.4 - 4.7.2 - - 1.0.0 - - - 4.4.12 - 4.5.10 - 10.14.2.0 - 1.0.0 - 1.21.1 - 2.4.4 - 2.4.0 - 6.14.3 - 9.0.30 - 9.4.12.v20180830 - true - direct-dependencies.txt - - - - - - - org.o-ran-sc.oam.features.parent - dependencies-odl-bom - 2.0.0-SNAPSHOT - pom - import - - - org.onap.logging-analytics - logging-slf4j - ${logging-analytics.version} - - - org.onap.logging-analytics - logging-filter-base - ${logging-analytics.version} - - - junit - junit - ${junit.version} - test - - - org.onap.ccsdk.features.sdnr.wt - sdnr-wt-devicemanager-model - 1.0.0-SNAPSHOT - provided - - - org.onap.ccsdk.features.sdnr.wt - sdnr-wt-netconfnode-state-service-model - 1.0.0-SNAPSHOT - provided - - - - - - - onap-public - ${onap.nexus.public-url} - - true - never - - - true - always - - - - onap-staging - ${onap.nexus.staging-url} - - true - never - - - true - always - - - - ecomp-release - onap-repository-releases - ${onap.nexus.release-url} - - true - never - - - false - - - - ecomp-snapshot - onap-repository-snapshots - ${onap.nexus.snapshot-url} - - false - - - true - - - - opendaylight-mirror - opendaylight-mirror - ${opendaylight.nexus.public-url} - - true - never - - - false - - - - opendaylight-snapshot - opendaylight-snapshot - ${opendaylight.nexus.snapshot-url} - - false - - - true - - - - - - - onap-public - ${onap.nexus.public-url} - - true - - - true - - - - onap-staging - ${onap.nexus.staging-url} - - true - - - true - - - - onap-snapshot - ${onap.nexus.snapshot-url} - - false - - - true - - - - opendaylight-mirror - opendaylight-mirror - ${opendaylight.nexus.public-url} - - true - never - - - false - - - - opendaylight-snapshot - opendaylight-snapshot - ${opendaylight.nexus.snapshot-url} - - false - - - true - - - - - JCenter - JCenter Repository - http://jcenter.bintray.com - - - - Restlet - Restlet Repository - http://maven.restlet.com - - - - - - - - - org.apache.maven.plugins - maven-deploy-plugin - - 2.8 - - - - - - org.apache.maven.plugins - maven-site-plugin - 3.6 - - - org.apache.maven.wagon - wagon-webdav-jackrabbit - 2.10 - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.0.0-M2 - - - enforce-property - - enforce - - - - - onap.nexus.url - You must set a onap.nexus.url property in your - ~/.m2/settings.xml. See oparent/settings.xml for an example. - - - - true - - - - enforce-no-snapshots - - enforce - - - - - false - true - WARN - - - - - - enforce-maven - - enforce - - - - - 8 - - - [3.5.0,) - - - - - - enforce-banned-dependencies - - enforce - - - - - 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 - - org.mockito:mockito-all - - - - - true - - - - - - - org.sonarsource.scanner.maven - sonar-maven-plugin - ${sonar.scanner.version} - - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.22.0 - - - ${surefireArgLine} - - - **/IT*.java - - - - - org.apache.maven.plugins - maven-failsafe-plugin - 2.22.0 - - - - integration-tests - - integration-test - verify - - - - ${failsafeArgLine} - - - - - - - - org.codehaus.mojo - properties-maven-plugin - 1.0.0 - - - - set-system-properties - - - - - maven.wagon.http.ssl.allowall - ${ssl.allowall} - - - maven.wagon.http.ssl.insecure - ${ssl.insecure} - - - - - - - - - org.codehaus.mojo - versions-maven-plugin - 2.5 - - true - - - - maven-scm-plugin - 1.8.1 - - ${project.artifactId}-${project.version} - - - - com.github.ferstl - depgraph-maven-plugin - 3.3.0 - - text - ${dependency-list.file} - ${project.basedir} - * - true - true - - - - - - - - - org.apache.maven.plugins - maven-deploy-plugin - - - org.apache.maven.plugins - maven-site-plugin - - - - - - maven-checkstyle-plugin - 2.17 - - - org.onap.oparent - checkstyle - 1.2.2 - - - - - onap-license - - check - - process-sources - - onap-checkstyle/check-license.xml - false - true - false - ${project.build.sourceDirectory} - - - true - false - - - - onap-java-style - - check - - process-sources - - - onap-checkstyle/onap-java-style.xml - - ${project.build.sourceDirectory}/src/main/java - true - true - true - - - true - false - - - - - - org.codehaus.mojo - build-helper-maven-plugin - 1.12 - - - - org.jacoco - jacoco-maven-plugin - ${jacoco.version} - - - pre-unit-test - - prepare-agent - - - - ${project.build.directory}/code-coverage/jacoco-ut.exec - - surefireArgLine - - - - - post-unit-test - test - - report - - - - ${project.build.directory}/code-coverage/jacoco-ut.exec - - ${project.reporting.outputDirectory}/jacoco-ut - - - - pre-integration-test - pre-integration-test - - prepare-agent - - - - ${project.build.directory}/code-coverage/jacoco-it.exec - - failsafeArgLine - - - - - post-integration-test - post-integration-test - - report - - - - ${project.build.directory}/code-coverage/jacoco-it.exec - - ${project.reporting.outputDirectory}/jacoco-it - - - - default-prepare-agent - - prepare-agent - - - - default-report - prepare-package - - report - - - - default-check - - check - - - - - PACKAGE - - - COMPLEXITY - COVEREDRATIO - 0.0 - - - - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - org.apache.maven.plugins - maven-failsafe-plugin - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.4 - - - attach-javadocs - - jar - - - -Xdoclint:none - - - - - - maven-enforcer-plugin - 3.0.0-M2 - - - enforce-property - - enforce - - - - - onap.nexus.url - You must set a onap.nexus.url property in your - ~/.m2/settings.xml. See oparent/settings.xml for an example. - - - true - - - - enforce-no-snapshots - - enforce - - - - - false - true - WARN - - - - - - enforce-maven - - enforce - - - - - 1.8.0 - - - [3.5.0,) - - - - - - enforce-banned-dependencies - - enforce - - - - - 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 - - org.mockito:mockito-all - - - - - true - - - - - - - - - - - maven-javadoc-plugin - 2.10.4 - - false - -Xdoclint:none - - - - - - - - - generate-json - - - ${swagger-properties} - - - swagger-sdk.generate-json - - - - - - org.codehaus.mojo - properties-maven-plugin - 1.0.0 - - - initialize - - read-project-properties - - - - ${basedir}/src/main/resources/swagger.properties - - - - - - - com.github.kongchen - swagger-maven-plugin - 3.1.4 - - - - ${api-rest-package} - http,https - ${api-host-ip}:${api-host-port} - ${api-base-path} - - ${api-title} - ${api-version} - ${api-description} - - ${api-license} - - - ${basedir}/src/main/resources - - - - - - compile - - generate - - - - - - org.apache.maven.plugins - maven-install-plugin - 2.3.1 - - - install-file-id - install - - install-file - - - ${basedir}/src/main/resources/swagger.json - ${project.groupId} - ${project.artifactId}-swagger-schema - ${project.version} - json - - - - - - - - - generate-sdk - - - ${swagger-json} - - - swagger-sdk.generate-java-sdk - - - - - - org.apache.maven.plugins - maven-antrun-plugin - 1.8 - - - initialize - ant-create-script - - true - - - - - - - - - - - - - - - - - - - - - - - - - - run - - - - - - ant-contrib - ant-contrib - 1.0b3 - - - ant - ant - - - - - - - io.swagger - swagger-codegen-maven-plugin - 2.2.1 - - - - generate - - - ${basedir}/src/main/resources/swagger.json - ${project.build.directory}/generated-sources - java - - joda - - jersey2 - ${project.groupId} - ${project.artifactId}-java-sdk - ${project.version} - ${project.groupId}.${project.artifactId}.client.model - ${project.groupId}.${project.artifactId}.client.api - ${project.groupId}.${project.artifactId}.client.invoker - - - - - - org.codehaus.mojo - exec-maven-plugin - 1.5.0 - - - swagger-generate-sources - generate-sources - - exec - - - ${project.build.directory}${file.separator}${swagger.sdk.script.file} - - - - - - org.apache.maven.plugins - maven-clean-plugin - 3.0.0 - - - clean-generated-files - generate-sources - - clean - - - - - ${project.build.directory}/generated-sources - - - - - - - - - - - org.onap.msb.swagger-sdk - swagger-sdk - 1.0.0 - - - - - sonar-jacoco-aggregate - - - onap.jacoco.aggregateFile - - - - - - org.jacoco - jacoco-maven-plugin - - - merge - - merge - - generate-resources - - ${onap.jacoco.aggregateFile} - - - ${project.basedir} - - **/target/code-coverage/*.exec - - - - - - - - - - - - - - yang-compile - - - src/main/yang - - - - - - org.opendaylight.yangtools - yang-maven-plugin - 3.0.11 - - - org.opendaylight.mdsal - maven-sal-api-gen-plugin - ${odl.mdsal.model.version} - jar - compile - - - org.opendaylight.netconf - sal-rest-docgen-maven - ${odl.netconf.sal.rest.docgen.version} - jar - - - - - binding - - generate-sources - - - ${yang.file.directory} - - - org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl - ${salGeneratorPath} - - - org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator - target/swagger - - - true - - - - - - - - - diff --git a/parent/dependencies-odl-bom/pom.xml b/parent/dependencies-odl-bom/pom.xml deleted file mode 100644 index 9cb79e5..0000000 --- a/parent/dependencies-odl-bom/pom.xml +++ /dev/null @@ -1,310 +0,0 @@ - - - 4.0.0 - - - org.opendaylight.odlparent - odlparent - 5.0.7 - - - - org.o-ran-sc.oam.features.parent - dependencies-odl-bom - 2.0.0-SNAPSHOT - pom - - - - ecomp-releases - https://nexus.onap.org/content/repositories/releases - - - ecomp-snapshots - https://nexus.onap.org/content/repositories/snapshots - - - - - - - - - ${project.groupId} - installed-odl-bom - ${project.version} - pom - import - - - - - org.opendaylight.bgpcep - bgp-artifacts - 0.12.3 - pom - import - - - org.opendaylight.controller - mdsal-artifacts - 1.10.3 - pom - import - - - org.opendaylight.controller - sal-binding-broker-impl - 1.10.3 - - - org.opendaylight.controller - sal-binding-broker-impl - 1.10.3 - test-jar - tests - test - - - org.opendaylight.controller - sal-test-model - 1.10.3 - - - org.opendaylight.mdsal - mdsal-artifacts - 4.0.14 - pom - import - - - org.opendaylight.netconf - netconf-artifacts - 1.7.3 - pom - import - - - org.opendaylight.netconf - restconf-artifacts - 1.10.3 - pom - import - - - - - ch.qos.logback - logback-classic - 1.2.3 - - - ch.qos.logback - logback-core - 1.2.3 - - - ch.vorburger.mariaDB4j - mariaDB4j - 2.4.0 - test - - - com.att.eelf - eelf-core - 1.0.0 - - - com.carrotsearch - hppc - 0.7.1 - - - com.github.stefanbirkner - system-rules - 1.19.0 - - - com.github.tomakehurst - wiremock - 2.25.1 - test - - - com.google.protobuf - protobuf-java - 3.10.0 - - - com.google.protobuf - protobuf-java-util - 3.10.0 - - - com.jayway.jsonpath - json-path - 2.4.0 - - - com.ning - compress-lzf - 1.0.2 - - - commons-cli - commons-cli - 1.3.1 - - - dom4j - dom4j - 1.6.1 - - - - io.grpc - grpc-bom - 1.21.1 - pom - import - - - jakarta-regexp - jakarta-regexp - 1.4 - - - javax - javaee-api - 7.0 - - - javax.servlet - servlet-api - 2.5 - - - junit - junit - 4.12 - test - - - org.apache.commons - commons-io - 1.3.2 - - - org.apache.derby - derby - 10.14.2.0 - test - - - org.apache.httpcomponents - httpcore - 4.4.12 - - - org.apache.httpcomponents - httpclient - 4.5.10 - - - - - org.apache.sling - org.apache.sling.testing.osgi-mock - 2.3.10 - - - org.apache.tomcat - tomcat-jdbc - 9.0.30 - - - org.apache.velocity - velocity - 1.7 - - - org.codehaus.jackson - jackson-jaxrs - 1.9.13 - - - org.codehaus.jettison - jettison - 1.4.0 - - - - org.eclipse.jetty - jetty-server - 9.4.12.v20180830 - - - - org.eclipse.jetty - jetty-servlet - 9.4.12.v20180830 - - - org.java-websocket - Java-WebSocket - 1.4.0 - - - net.bytebuddy - byte-buddy - 1.9.10 - - - org.jsoup - jsoup - 1.12.1 - test - - - org.mariadb.jdbc - mariadb-java-client - 2.4.4 - - - org.powermock - powermock-api-mockito2 - 1.7.4 - - - org.powermock - powermock-module-junit4 - 1.7.4 - - - org.slf4j - jcl-over-slf4j - 1.7.29 - - - org.springframework - spring-framework-bom - 4.3.25.RELEASE - pom - import - - - org.testng - testng - 6.14.3 - - - org.yaml - snakeyaml - 1.25 - - - - diff --git a/parent/installed-odl-bom/pom.xml b/parent/installed-odl-bom/pom.xml deleted file mode 100644 index a5a444e..0000000 --- a/parent/installed-odl-bom/pom.xml +++ /dev/null @@ -1,3425 +0,0 @@ - - - 4.0.0 - - org.o-ran-sc.oam.features.parent - installed-odl-bom - 2.0.0-SNAPSHOT - pom - - - - ecomp-releases - https://nexus.onap.org/content/repositories/releases - - - ecomp-snapshots - https://nexus.onap.org/content/repositories/snapshots - - - - - - - antlr - antlr - 2.7.7 - - - com.esotericsoftware - kryo - 4.0.2 - - - com.esotericsoftware - minlog - 1.3.1 - - - com.esotericsoftware - reflectasm - 1.11.8 - - - com.fasterxml - classmate - 1.3.4 - - - com.fasterxml.jackson.core - jackson-annotations - 2.9.10 - - - com.fasterxml.jackson.core - jackson-annotations - 2.9.6 - - - com.fasterxml.jackson.core - jackson-core - 2.9.10 - - - com.fasterxml.jackson.core - jackson-core - 2.9.6 - - - com.fasterxml.jackson.core - jackson-databind - 2.9.10.3 - - - com.fasterxml.jackson.core - jackson-databind - 2.9.6 - - - com.fasterxml.jackson.dataformat - jackson-dataformat-xml - 2.9.10 - - - com.fasterxml.jackson.jaxrs - jackson-jaxrs-base - 2.9.10 - - - com.fasterxml.jackson.jaxrs - jackson-jaxrs-json-provider - 2.9.10 - - - com.fasterxml.jackson.module - jackson-module-jaxb-annotations - 2.9.10 - - - com.fasterxml.woodstox - woodstox-core - 5.3.0 - - - com.github.ben-manes.caffeine - caffeine - 2.7.0 - - - com.github.ben-manes.caffeine - guava - 2.7.0 - - - com.github.mifmif - generex - 1.0.2 - - - com.github.spotbugs - spotbugs-annotations - 3.1.12 - - - com.google.code.gson - gson - 2.8.5 - - - com.google.errorprone - error_prone_annotations - 2.3.3 - - - com.google.guava - failureaccess - 1.0.1 - - - com.google.guava - guava - 27.1-jre - - - com.google.guava - listenablefuture - 9999.0-empty-to-avoid-conflict-with-guava - - - com.google.j2objc - j2objc-annotations - 1.1 - - - com.googlecode.json-simple - json-simple - 1.1.1 - - - com.h2database - h2 - 1.3.172 - - - com.h2database - h2 - 1.4.200 - - - com.lmax - disruptor - 3.4.2 - - - com.rabbitmq - amqp-client - 4.4.1 - - - com.thoughtworks.paranamer - paranamer - 2.8 - - - com.typesafe.akka - akka-actor_2.12 - 2.5.31 - - - com.typesafe.akka - akka-cluster_2.12 - 2.5.31 - - - com.typesafe.akka - akka-osgi_2.12 - 2.5.31 - - - com.typesafe.akka - akka-persistence_2.12 - 2.5.31 - - - com.typesafe.akka - akka-protobuf_2.12 - 2.5.31 - - - com.typesafe.akka - akka-remote_2.12 - 2.5.31 - - - com.typesafe.akka - akka-slf4j_2.12 - 2.5.31 - - - com.typesafe.akka - akka-stream_2.12 - 2.5.31 - - - com.typesafe - config - 1.3.3 - - - com.typesafe - ssl-config-core_2.12 - 0.3.8 - - - com.zaxxer - HikariCP-java7 - 2.4.11 - - - commons-beanutils - commons-beanutils - 1.9.4 - - - commons-codec - commons-codec - 1.14 - - - commons-collections - commons-collections - 3.2.2 - - - commons-dbcp - commons-dbcp - 1.4 - - - commons-io - commons-io - 2.6 - - - commons-lang - commons-lang - 2.6 - - - commons-logging - commons-logging - 1.2 - - - commons-net - commons-net - 3.6 - - - commons-pool - commons-pool - 1.6 - - - dk.brics - automaton - 1.12-1 - - - io.aeron - aeron-client - 1.15.3 - - - io.aeron - aeron-driver - 1.15.3 - - - io.dropwizard.metrics - metrics-core - 4.0.5 - - - io.dropwizard.metrics - metrics-graphite - 4.0.5 - - - io.dropwizard.metrics - metrics-healthchecks - 4.0.5 - - - io.dropwizard.metrics - metrics-jmx - 4.0.5 - - - io.dropwizard.metrics - metrics-jvm - 4.0.5 - - - io.netty - netty-buffer - 4.1.49.Final - - - io.netty - netty-codec-http - 4.1.49.Final - - - io.netty - netty-codec - 4.1.49.Final - - - io.netty - netty-common - 4.1.49.Final - - - io.netty - netty-handler - 4.1.49.Final - - - io.netty - netty-resolver - 4.1.49.Final - - - io.netty - netty-transport-native-epoll - 4.1.49.Final - - - io.netty - netty-transport-native-unix-common - 4.1.49.Final - - - io.netty - netty-transport - 4.1.49.Final - - - io.netty - netty - 3.10.6.Final - - - io.undertow - undertow-core - 1.4.23.Final - - - io.undertow - undertow-servlet - 1.4.23.Final - - - io.undertow - undertow-websockets-jsr - 1.4.23.Final - - - javax.annotation - javax.annotation-api - 1.2 - - - javax.annotation - javax.annotation-api - 1.3 - - - javax.el - javax.el-api - 3.0.0 - - - javax.enterprise - cdi-api - 1.2 - - - javax.interceptor - javax.interceptor-api - 1.2 - - - javax.jms - javax.jms-api - 2.0.1 - - - javax.mail - mail - 1.4.7 - - - javax.money - money-api - 1.0.1 - - - javax.persistence - javax.persistence-api - 2.2 - - - javax.security.auth.message - javax.security.auth.message-api - 1.1 - - - javax.servlet - javax.servlet-api - 3.1.0 - - - javax.transaction - javax.transaction-api - 1.2 - - - javax.validation - validation-api - 1.1.0.Final - - - javax.validation - validation-api - 2.0.1.Final - - - javax.websocket - javax.websocket-api - 1.1 - - - javax.ws.rs - javax.ws.rs-api - 2.0.1 - - - joda-time - joda-time - 2.9.7 - - - net.bytebuddy - byte-buddy - 1.9.10 - - - net.i2p.crypto - eddsa - 0.3.0 - - - net.java.dev.stax-utils - stax-utils - 20070216 - - - net.sf.ehcache - ehcache - 2.10.6 - - - net.sf.jung - jung-algorithms - 2.1.1 - - - net.sf.jung - jung-api - 2.1.1 - - - net.sf.jung - jung-graph-impl - 2.1.1 - - - net.sf.kxml - kxml2 - 2.2.2 - - - net.sourceforge.jtds - jtds - 1.3.1 - - - org.agrona - agrona - 0.9.33 - - - org.antlr - antlr4-runtime - 4.7.2 - - - org.apache.activemq - activemq-osgi - 5.15.3 - - - org.apache.aries.application - org.apache.aries.application.api - 1.0.0 - - - org.apache.aries.application - org.apache.aries.application.default.local.platform - 1.0.0 - - - org.apache.aries.application - org.apache.aries.application.deployment.management - 1.0.0 - - - org.apache.aries.application - org.apache.aries.application.install - 1.0.0 - - - org.apache.aries.application - org.apache.aries.application.management - 1.0.0 - - - org.apache.aries.application - org.apache.aries.application.modeller - 1.0.0 - - - org.apache.aries.application - org.apache.aries.application.resolver.noop - 1.0.0 - - - org.apache.aries.application - org.apache.aries.application.resolver.obr - 1.0.0 - - - org.apache.aries.application - org.apache.aries.application.runtime - 1.0.0 - - - org.apache.aries.application - org.apache.aries.application.utils - 1.0.0 - - - org.apache.aries.blueprint - org.apache.aries.blueprint.api - 1.0.1 - - - org.apache.aries.blueprint - org.apache.aries.blueprint.cm - 1.3.1 - - - org.apache.aries.blueprint - org.apache.aries.blueprint.core.compatibility - 1.0.0 - - - org.apache.aries.blueprint - org.apache.aries.blueprint.core - 1.10.2 - - - org.apache.aries.blueprint - org.apache.aries.blueprint.webosgi - 1.0.1 - - - org.apache.aries.jmx - org.apache.aries.jmx.api - 1.1.5 - - - org.apache.aries.jmx - org.apache.aries.jmx.blueprint.api - 1.2.0 - - - org.apache.aries.jmx - org.apache.aries.jmx.blueprint.core - 1.2.0 - - - org.apache.aries.jmx - org.apache.aries.jmx.core - 1.1.8 - - - org.apache.aries.jmx - org.apache.aries.jmx.whiteboard - 1.2.0 - - - org.apache.aries.jndi - org.apache.aries.jndi.api - 1.1.0 - - - org.apache.aries.jndi - org.apache.aries.jndi.core - 1.0.2 - - - org.apache.aries.jndi - org.apache.aries.jndi.legacy.support - 1.0.0 - - - org.apache.aries.jndi - org.apache.aries.jndi.rmi - 1.0.0 - - - org.apache.aries.jndi - org.apache.aries.jndi.url - 1.1.0 - - - org.apache.aries.jpa.javax.persistence - javax.persistence_2.1 - 2.7.2 - - - org.apache.aries.jpa - org.apache.aries.jpa.api - 2.7.2 - - - org.apache.aries.jpa - org.apache.aries.jpa.blueprint - 2.7.2 - - - org.apache.aries.jpa - org.apache.aries.jpa.container - 2.7.2 - - - org.apache.aries.jpa - org.apache.aries.jpa.eclipselink.adapter - 2.7.2 - - - org.apache.aries.jpa - org.apache.aries.jpa.support - 2.7.2 - - - org.apache.aries - org.apache.aries.util - 1.1.3 - - - org.apache.aries.proxy - org.apache.aries.proxy - 1.1.4 - - - org.apache.aries.proxy - org.apache.aries.proxy - 1.1.6 - - - org.apache.aries.quiesce - org.apache.aries.quiesce.api - 1.0.0 - - - org.apache.aries.spifly - org.apache.aries.spifly.dynamic.bundle - 1.2 - - - org.apache.aries.subsystem - org.apache.aries.subsystem.api - 2.0.10 - - - org.apache.aries.subsystem - org.apache.aries.subsystem.core - 2.0.10 - - - org.apache.aries.transaction - org.apache.aries.transaction.blueprint - 1.1.1 - - - org.apache.aries.transaction - org.apache.aries.transaction.blueprint - 2.2.0 - - - org.apache.aries.transaction - org.apache.aries.transaction.manager - 1.3.3 - - - org.apache.commons - commons-dbcp2 - 2.1.1 - - - org.apache.commons - commons-lang3 - 3.9 - - - org.apache.commons - commons-pool2 - 2.5.0 - - - org.apache.commons - commons-pool2 - 2.6.2 - - - org.apache.commons - commons-text - 1.8 - - - org.apache.deltaspike.core - deltaspike-core-api - 1.8.1 - - - org.apache.deltaspike.core - deltaspike-core-impl - 1.8.1 - - - org.apache.deltaspike.modules - deltaspike-data-module-api - 1.8.1 - - - org.apache.deltaspike.modules - deltaspike-data-module-impl - 1.8.1 - - - org.apache.deltaspike.modules - deltaspike-jpa-module-api - 1.8.1 - - - org.apache.deltaspike.modules - deltaspike-jpa-module-impl - 1.8.1 - - - org.apache.deltaspike.modules - deltaspike-partial-bean-module-api - 1.8.1 - - - org.apache.deltaspike.modules - deltaspike-partial-bean-module-impl - 1.8.1 - - - org.apache.deltaspike.modules - deltaspike-proxy-module-api - 1.8.1 - - - org.apache.deltaspike.modules - deltaspike-proxy-module-impl-asm5 - 1.8.1 - - - org.apache.derby - derby - 10.14.2.0 - - - org.apache.derby - derbyclient - 10.14.2.0 - - - org.apache.felix - org.apache.felix.bundlerepository - 2.0.10 - - - org.apache.felix - org.apache.felix.configadmin - 1.9.14 - - - org.apache.felix - org.apache.felix.coordinator - 1.0.2 - - - org.apache.felix - org.apache.felix.dependencymanager - 4.4.1 - - - org.apache.felix - org.apache.felix.fileinstall - 3.6.4 - - - org.apache.felix - org.apache.felix.framework.security - 2.6.1 - - - org.apache.felix - org.apache.felix.framework - 5.6.12 - - - org.apache.felix - org.apache.felix.http.jetty - 4.0.8 - - - org.apache.felix - org.apache.felix.http.servlet-api - 1.1.2 - - - org.apache.felix - org.apache.felix.http.whiteboard - 4.0.0 - - - org.apache.felix - org.apache.felix.httplite.complete - 0.1.6 - - - org.apache.felix - org.apache.felix.inventory - 1.0.4 - - - org.apache.felix - org.apache.felix.metatype - 1.2.2 - - - org.apache.felix - org.apache.felix.scr - 2.1.16 - - - org.apache.felix - org.apache.felix.webconsole.plugins.ds - 2.1.0 - - - org.apache.felix - org.apache.felix.webconsole.plugins.event - 1.1.8 - - - org.apache.felix - org.apache.felix.webconsole.plugins.memoryusage - 1.0.10 - - - org.apache.felix - org.osgi.service.obr - 1.0.2 - - - org.apache.geronimo.bundles - commons-discovery - 0.4_1 - - - org.apache.geronimo.components - geronimo-connector - 3.1.1 - - - org.apache.geronimo.components - geronimo-connector - 3.1.4 - - - org.apache.geronimo.specs - geronimo-annotation_1.0_spec - 1.1.1 - - - org.apache.geronimo.specs - geronimo-annotation_1.1_spec - 1.0.1 - - - org.apache.geronimo.specs - geronimo-atinject_1.0_spec - 1.0 - - - org.apache.geronimo.specs - geronimo-ejb_3.1_spec - 1.0 - - - org.apache.geronimo.specs - geronimo-el_1.0_spec - 1.0.1 - - - org.apache.geronimo.specs - geronimo-j2ee-connector_1.6_spec - 1.0 - - - org.apache.geronimo.specs - geronimo-j2ee-management_1.1_spec - 1.0.1 - - - org.apache.geronimo.specs - geronimo-jaspic_1.0_spec - 1.1 - - - org.apache.geronimo.specs - geronimo-jaxrpc_1.1_spec - 2.1 - - - org.apache.geronimo.specs - geronimo-jaxws_2.2_spec - 1.0 - - - org.apache.geronimo.specs - geronimo-jms_1.1_spec - 1.1.1 - - - org.apache.geronimo.specs - geronimo-jpa_2.0_spec - 1.1 - - - org.apache.geronimo.specs - geronimo-jta_1.1_spec - 1.1.1 - - - org.apache.geronimo.specs - geronimo-osgi-registry - 1.1 - - - org.apache.geronimo.specs - geronimo-stax-api_1.2_spec - 1.1 - - - org.apache.geronimo.specs - geronimo-validation_1.0_spec - 1.1 - - - org.apache.karaf.audit - org.apache.karaf.audit.core - 4.2.6 - - - org.apache.karaf.bundle - org.apache.karaf.bundle.blueprintstate - 4.2.6 - - - org.apache.karaf.bundle - org.apache.karaf.bundle.core - 4.2.6 - - - org.apache.karaf.config - org.apache.karaf.config.core - 4.2.6 - - - org.apache.karaf.deployer - org.apache.karaf.deployer.blueprint - 4.2.6 - - - org.apache.karaf.deployer - org.apache.karaf.deployer.features - 4.2.6 - - - org.apache.karaf.deployer - org.apache.karaf.deployer.kar - 4.2.6 - - - org.apache.karaf.deployer - org.apache.karaf.deployer.wrap - 4.2.6 - - - org.apache.karaf.diagnostic - org.apache.karaf.diagnostic.boot - 4.2.6 - - - org.apache.karaf.diagnostic - org.apache.karaf.diagnostic.core - 4.2.6 - - - org.apache.karaf.docker - org.apache.karaf.docker.core - 4.2.6 - - - org.apache.karaf.features - org.apache.karaf.features.command - 4.2.6 - - - org.apache.karaf.features - org.apache.karaf.features.core - 4.2.6 - - - org.apache.karaf.features - org.apache.karaf.features.extension - 4.2.6 - - - org.apache.karaf.http - org.apache.karaf.http.core - 4.2.6 - - - org.apache.karaf.instance - org.apache.karaf.instance.core - 4.2.6 - - - org.apache.karaf.jaas.blueprint - org.apache.karaf.jaas.blueprint.config - 4.2.6 - - - org.apache.karaf.jaas.blueprint - org.apache.karaf.jaas.blueprint.jasypt - 4.2.6 - - - org.apache.karaf.jaas - org.apache.karaf.jaas.boot - 4.2.6 - - - org.apache.karaf.jaas - org.apache.karaf.jaas.command - 4.2.6 - - - org.apache.karaf.jaas - org.apache.karaf.jaas.config - 4.2.6 - - - org.apache.karaf.jaas - org.apache.karaf.jaas.jasypt - 4.2.6 - - - org.apache.karaf.jaas - org.apache.karaf.jaas.modules - 4.2.6 - - - org.apache.karaf.jdbc - org.apache.karaf.jdbc.core - 4.2.6 - - - org.apache.karaf.jms - org.apache.karaf.jms.core - 4.2.6 - - - org.apache.karaf.jndi - org.apache.karaf.jndi.core - 4.2.6 - - - org.apache.karaf.kar - org.apache.karaf.kar.core - 4.2.6 - - - org.apache.karaf.log - org.apache.karaf.log.core - 4.2.6 - - - org.apache.karaf.management - org.apache.karaf.management.server - 4.2.6 - - - org.apache.karaf - manual - 4.2.6 - - - org.apache.karaf.maven - org.apache.karaf.maven.core - 4.2.6 - - - org.apache.karaf.obr - org.apache.karaf.obr.core - 4.2.6 - - - org.apache.karaf - org.apache.karaf.client - 4.2.6 - - - org.apache.karaf - org.apache.karaf.event - 4.2.6 - - - org.apache.karaf.package - org.apache.karaf.package.core - 4.2.6 - - - org.apache.karaf.profile - org.apache.karaf.profile.core - 4.2.6 - - - org.apache.karaf.scheduler - org.apache.karaf.scheduler.core - 4.2.6 - - - org.apache.karaf.scr - org.apache.karaf.scr.management - 4.2.6 - - - org.apache.karaf.scr - org.apache.karaf.scr.state - 4.2.6 - - - org.apache.karaf.service - org.apache.karaf.service.core - 4.2.6 - - - org.apache.karaf.service - org.apache.karaf.service.guard - 4.2.6 - - - org.apache.karaf.services - org.apache.karaf.services.coordinator - 4.2.6 - - - org.apache.karaf.services - org.apache.karaf.services.eventadmin - 4.2.6 - - - org.apache.karaf.shell - org.apache.karaf.shell.commands - 4.2.6 - - - org.apache.karaf.shell - org.apache.karaf.shell.console - 4.2.6 - - - org.apache.karaf.shell - org.apache.karaf.shell.core - 4.2.6 - - - org.apache.karaf.shell - org.apache.karaf.shell.ssh - 4.2.6 - - - org.apache.karaf.shell - org.apache.karaf.shell.table - 4.2.6 - - - org.apache.karaf.subsystem - org.apache.karaf.subsystem.core - 4.2.6 - - - org.apache.karaf.system - org.apache.karaf.system.core - 4.2.6 - - - org.apache.karaf.tooling - org.apache.karaf.tools.utils - 4.2.6 - - - org.apache.karaf.web - org.apache.karaf.web.core - 4.2.6 - - - org.apache.karaf.webconsole - org.apache.karaf.webconsole.console - 4.2.6 - - - org.apache.karaf.webconsole - org.apache.karaf.webconsole.features - 4.2.6 - - - org.apache.karaf.webconsole - org.apache.karaf.webconsole.gogo - 4.2.6 - - - org.apache.karaf.webconsole - org.apache.karaf.webconsole.http - 4.2.6 - - - org.apache.karaf.webconsole - org.apache.karaf.webconsole.instance - 4.2.6 - - - org.apache.karaf.wrapper - org.apache.karaf.wrapper.core - 4.2.6 - - - org.apache.myfaces.core - myfaces-api - 2.2.12 - - - org.apache.myfaces.core - myfaces-impl - 2.2.12 - - - org.apache.openjpa - openjpa - 3.0.0 - - - org.apache.openwebbeans - openwebbeans-el22 - 1.7.6 - - - org.apache.openwebbeans - openwebbeans-impl - 1.7.6 - - - org.apache.openwebbeans - openwebbeans-spi - 1.7.6 - - - org.apache.openwebbeans - openwebbeans-web - 1.7.6 - - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.c3p0 - 0.9.5.2_1 - - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.cglib - 3.2.4_1 - - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.commons-digester - 1.8_4 - - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.jasypt-spring31 - 1.9.2_1 - - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.jasypt - 1.9.2_1 - - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.javax-inject - 1_2 - - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.jsr305 - 1.3.9_1 - - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.not-yet-commons-ssl - 0.3.11_1 - - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.serp - 1.14.1_1 - - - org.apache.servicemix.specs - org.apache.servicemix.specs.activation-api-1.1 - 2.9.0 - - - org.apache.servicemix.specs - org.apache.servicemix.specs.java-persistence-api-2.0 - 2.9.0 - - - org.apache.servicemix.specs - org.apache.servicemix.specs.javamail-api-1.4 - 2.9.0 - - - org.apache.servicemix.specs - org.apache.servicemix.specs.jaxb-api-2.2 - 2.9.0 - - - org.apache.servicemix.specs - org.apache.servicemix.specs.jaxp-api-1.3 - 2.9.0 - - - org.apache.servicemix.specs - org.apache.servicemix.specs.jsr250-1.0 - 2.9.0 - - - org.apache.servicemix.specs - org.apache.servicemix.specs.jsr303-api-1.0.0 - 2.9.0 - - - org.apache.servicemix.specs - org.apache.servicemix.specs.saaj-api-1.3 - 2.9.0 - - - org.apache.shiro - shiro-core - 1.3.2 - - - org.apache.shiro - shiro-web - 1.3.2 - - - org.apache.sshd - sshd-core - 1.7.0 - - - org.apache.sshd - sshd-netty - 2.3.0 - - - org.apache.sshd - sshd-osgi - 2.3.0 - - - org.apache.xbean - xbean-asm5-shaded - 4.3 - - - org.apache.xbean - xbean-asm6-shaded - 4.9 - - - org.apache.xbean - xbean-asm7-shaded - 4.12 - - - org.apache.xbean - xbean-bundleutils - 4.12 - - - org.apache.xbean - xbean-finder-shaded - 4.12 - - - org.apache.xbean - xbean-finder - 4.12 - - - org.apache.xbean - xbean-naming - 4.14 - - - org.apache.xbean - xbean-reflect - 4.12 - - - org.checkerframework - checker-qual - 2.5.8 - - - org.codehaus.groovy - groovy-all - 2.4.12 - - - org.codehaus.mojo - animal-sniffer-annotations - 1.17 - - - org.codehaus.woodstox - stax2-api - 4.2 - - - org.dom4j - dom4j - 2.1.1 - - - org.eclipse.jdt.core.compiler - ecj - 4.5.1 - - - org.eclipse.jdt - org.eclipse.jdt.annotation - 2.2.100 - - - org.eclipse.jetty.aggregate - jetty-all-server - 8.1.14.v20131031 - - - org.eclipse.jetty.alpn - alpn-api - 1.1.2.v20150522 - - - org.eclipse.jetty.http2 - http2-common - 9.4.18.v20190429 - - - org.eclipse.jetty.http2 - http2-hpack - 9.4.18.v20190429 - - - org.eclipse.jetty.http2 - http2-server - 9.4.18.v20190429 - - - org.eclipse.jetty - jetty-alpn-server - 9.4.18.v20190429 - - - org.eclipse.jetty - jetty-client - 9.4.18.v20190429 - - - org.eclipse.jetty - jetty-continuation - 9.4.18.v20190429 - - - org.eclipse.jetty - jetty-deploy - 9.4.18.v20190429 - - - org.eclipse.jetty - jetty-http - 9.4.18.v20190429 - - - org.eclipse.jetty - jetty-io - 9.4.18.v20190429 - - - org.eclipse.jetty - jetty-jaas - 9.4.18.v20190429 - - - org.eclipse.jetty - jetty-jaspi - 9.4.18.v20190429 - - - org.eclipse.jetty - jetty-jmx - 9.4.18.v20190429 - - - org.eclipse.jetty - jetty-jndi - 9.4.18.v20190429 - - - org.eclipse.jetty - jetty-plus - 9.4.18.v20190429 - - - org.eclipse.jetty - jetty-rewrite - 9.4.18.v20190429 - - - org.eclipse.jetty - jetty-security - 9.4.18.v20190429 - - - org.eclipse.jetty - jetty-server - 9.4.18.v20190429 - - - org.eclipse.jetty - jetty-servlet - 9.4.18.v20190429 - - - org.eclipse.jetty - jetty-servlets - 9.4.18.v20190429 - - - org.eclipse.jetty - jetty-util-ajax - 9.4.18.v20190429 - - - org.eclipse.jetty - jetty-util - 9.4.18.v20190429 - - - org.eclipse.jetty - jetty-webapp - 9.4.18.v20190429 - - - org.eclipse.jetty - jetty-xml - 9.4.18.v20190429 - - - org.eclipse.jetty.osgi - jetty-osgi-alpn - 9.4.18.v20190429 - - - org.eclipse.jetty.websocket - javax-websocket-client-impl - 9.4.18.v20190429 - - - org.eclipse.jetty.websocket - javax-websocket-server-impl - 9.4.18.v20190429 - - - org.eclipse.jetty.websocket - websocket-api - 9.4.18.v20190429 - - - org.eclipse.jetty.websocket - websocket-client - 9.4.18.v20190429 - - - org.eclipse.jetty.websocket - websocket-common - 9.4.18.v20190429 - - - org.eclipse.jetty.websocket - websocket-server - 9.4.18.v20190429 - - - org.eclipse.jetty.websocket - websocket-servlet - 9.4.18.v20190429 - - - org.eclipse.persistence - javax.persistence - 2.1.0 - - - org.eclipse.persistence - javax.persistence - 2.2.0 - - - org.eclipse.persistence - org.eclipse.persistence.antlr - 2.7.4 - - - org.eclipse.persistence - org.eclipse.persistence.asm - 2.7.4 - - - org.eclipse.persistence - org.eclipse.persistence.core - 2.7.4 - - - org.eclipse.persistence - org.eclipse.persistence.jpa.jpql - 2.7.4 - - - org.eclipse.persistence - org.eclipse.persistence.jpa - 2.7.4 - - - org.eclipse.platform - org.eclipse.osgi - 3.12.100 - - - org.fusesource.hawtbuf - hawtbuf - 1.11 - - - org.fusesource.jansi - jansi - 1.18 - - - org.glassfish.hk2.external - aopalliance-repackaged - 2.5.0-b32 - - - org.glassfish.hk2.external - javax.inject - 2.5.0-b32 - - - org.glassfish.hk2 - hk2-api - 2.5.0-b32 - - - org.glassfish.hk2 - hk2-locator - 2.5.0-b32 - - - org.glassfish.hk2 - hk2-utils - 2.5.0-b32 - - - org.glassfish.hk2 - osgi-resource-locator - 1.0.1 - - - org.glassfish - javax.el - 3.0.1-b09 - - - org.glassfish.jersey.bundles.repackaged - jersey-guava - 2.25.1 - - - org.glassfish.jersey.containers - jersey-container-servlet-core - 2.25.1 - - - org.glassfish.jersey.containers - jersey-container-servlet - 2.25.1 - - - org.glassfish.jersey.core - jersey-client - 2.25.1 - - - org.glassfish.jersey.core - jersey-common - 2.25.1 - - - org.glassfish.jersey.core - jersey-server - 2.25.1 - - - org.glassfish.jersey.media - jersey-media-jaxb - 2.25.1 - - - org.hibernate.common - hibernate-commons-annotations - 5.1.0.Final - - - org.hibernate - hibernate-core - 5.4.2.Final - - - org.hibernate - hibernate-envers - 5.4.2.Final - - - org.hibernate - hibernate-osgi - 5.4.2.Final - - - org.hibernate.validator - hibernate-validator - 6.0.16.Final - - - org.hsqldb - hsqldb - 2.3.4 - - - org.iq80.leveldb - leveldb - 0.10 - - - org.javamoney - moneta - 1.1 - - - org.javassist - javassist - 3.24.0-GA - - - org.javassist - javassist - 3.26.0-GA - - - org.jboss.classfilewriter - jboss-classfilewriter - 1.1.2.Final - - - org.jboss - jandex - 2.0.5.Final - - - org.jboss.logging - jboss-logging - 3.3.2.Final - - - org.jboss.narayana.osgi - narayana-osgi-jta - 5.8.2.Final - - - org.jboss.spec.javax.transaction - jboss-transaction-api_1.2_spec - 1.1.1.Final - - - org.jboss.weld - weld-osgi-bundle - 2.4.8.Final - - - org.jboss.xnio - xnio-api - 3.3.8.Final - - - org.jboss.xnio - xnio-nio - 3.3.8.Final - - - org.jline - jline-builtins - 3.11.0 - - - org.jline - jline-reader - 3.11.0 - - - org.jline - jline-terminal-jansi - 3.11.0 - - - org.jline - jline-terminal - 3.11.0 - - - org.jline - jline - 3.11.0 - - - org.jolokia - jolokia-core - 1.6.2 - - - org.jolokia - jolokia-jsr160 - 1.6.2 - - - org.jolokia - jolokia-osgi - 1.6.2 - - - org.json - json - 20131018 - - - org.jsoup - jsoup - 1.8.3 - - - org.mariadb.jdbc - mariadb-java-client - 1.5.9 - - - org.messaginghub - pooled-jms - 1.0.5 - - - org.objenesis - objenesis - 2.6 - - - org.opendaylight.aaa - aaa-authn-api - 0.10.3 - - - org.opendaylight.aaa - aaa-cert - 0.10.3 - - - org.opendaylight.aaa - aaa-cli - 0.10.3 - - - org.opendaylight.aaa - aaa-encrypt-service-impl - 0.10.3 - - - org.opendaylight.aaa - aaa-encrypt-service - 0.10.3 - - - org.opendaylight.aaa - aaa-filterchain - 0.10.3 - - - org.opendaylight.aaa - aaa-password-service-api - 0.10.3 - - - org.opendaylight.aaa - aaa-password-service-impl - 0.10.3 - - - org.opendaylight.aaa - aaa-shiro-api - 0.10.3 - - - org.opendaylight.aaa - aaa-shiro - 0.10.3 - - - org.opendaylight.aaa.web - servlet-api - 0.10.3 - - - org.opendaylight.aaa.web - servlet-jersey2 - 0.10.3 - - - org.opendaylight.aaa.web - web-api - 0.10.3 - - - org.opendaylight.aaa.web - web-osgi-impl - 0.10.3 - - - org.opendaylight.controller - benchmark-api - 1.8.3 - - - org.opendaylight.controller - blueprint - 0.11.3 - - - org.opendaylight.controller - cds-access-api - 1.6.3 - - - org.opendaylight.controller - cds-access-client - 1.6.3 - - - org.opendaylight.controller - cds-dom-api - 1.6.3 - - - org.opendaylight.controller - dsbenchmark - 1.8.3 - - - org.opendaylight.controller - mdsal-trace-api - 1.10.3 - - - org.opendaylight.controller - mdsal-trace-binding-impl - 1.10.3 - - - org.opendaylight.controller - mdsal-trace-cli - 1.10.3 - - - org.opendaylight.controller - mdsal-trace-dom-impl - 1.10.3 - - - org.opendaylight.controller - messagebus-api - 1.10.3 - - - org.opendaylight.controller - messagebus-impl - 1.10.3 - - - org.opendaylight.controller - messagebus-spi - 1.10.3 - - - org.opendaylight.controller - messagebus-util - 1.10.3 - - - org.opendaylight.controller.model - model-inventory - 1.10.3 - - - org.opendaylight.controller.model - model-topology - 1.10.3 - - - org.opendaylight.controller - netty-config-api - 0.11.3 - - - org.opendaylight.controller - netty-event-executor-config - 0.11.3 - - - org.opendaylight.controller - netty-threadgroup-config - 0.11.3 - - - org.opendaylight.controller - netty-timer-config - 0.11.3 - - - org.opendaylight.controller - ntfbenchmark - 1.8.3 - - - org.opendaylight.controller - rpcbenchmark - 1.8.3 - - - org.opendaylight.controller - sal-akka-raft - 1.10.3 - - - org.opendaylight.controller - sal-akka-segmented-journal - 1.10.3 - - - org.opendaylight.controller - sal-binding-api - 1.10.3 - - - org.opendaylight.controller - sal-binding-broker-impl - 1.10.3 - - - org.opendaylight.controller - sal-binding-util - 1.10.3 - - - org.opendaylight.controller - sal-broker-impl - 1.10.3 - - - org.opendaylight.controller - sal-cluster-admin-api - 1.10.3 - - - org.opendaylight.controller - sal-cluster-admin-impl - 1.10.3 - - - org.opendaylight.controller - sal-clustering-commons - 1.10.3 - - - org.opendaylight.controller - sal-common-api - 1.10.3 - - - org.opendaylight.controller - sal-common-impl - 1.10.3 - - - org.opendaylight.controller - sal-common-util - 1.10.3 - - - org.opendaylight.controller - sal-core-api - 1.10.3 - - - org.opendaylight.controller - sal-core-compat - 1.10.3 - - - org.opendaylight.controller - sal-core-spi - 1.10.3 - - - org.opendaylight.controller - sal-distributed-datastore - 1.10.3 - - - org.opendaylight.controller - sal-inmemory-datastore - 1.10.3 - - - org.opendaylight.controller - sal-remoterpc-connector - 1.10.3 - - - org.opendaylight.controller.samples - clustering-it-model - 1.10.3 - - - org.opendaylight.controller.samples - clustering-it-provider - 1.10.3 - - - org.opendaylight.controller.samples - sample-toaster-consumer - 1.10.3 - - - org.opendaylight.controller.samples - sample-toaster-provider - 1.10.3 - - - org.opendaylight.controller.samples - sample-toaster - 1.10.3 - - - org.opendaylight.controller - threadpool-config-api - 0.11.3 - - - org.opendaylight.controller - threadpool-config-impl - 0.11.3 - - - org.opendaylight.daexim - daexim-akka-infoprovider-impl - 1.6.3 - - - org.opendaylight.daexim - daexim-impl - 1.6.3 - - - org.opendaylight.daexim - daexim-model - 1.6.3 - - - org.opendaylight.daexim - daexim-spi - 1.6.3 - - - org.opendaylight.infrautils - infrautils-util - 1.6.3 - - - org.opendaylight.infrautils - ready-api - 1.6.3 - - - org.opendaylight.infrautils - ready-impl - 1.6.3 - - - org.opendaylight.mdsal.binding.model.ietf - rfc6991-ietf-inet-types - 2.0.14 - - - org.opendaylight.mdsal.binding.model.ietf - rfc6991-ietf-yang-types - 2.0.14 - - - org.opendaylight.mdsal.binding.model.ietf - rfc6991 - 2.0.14 - - - org.opendaylight.mdsal.binding.model.ietf - rfc7895 - 2.0.14 - - - org.opendaylight.mdsal.binding.model.ietf - rfc7952 - 2.0.14 - - - org.opendaylight.mdsal.binding.model.ietf - rfc8342-ietf-datastores - 2.0.14 - - - org.opendaylight.mdsal.binding.model.ietf - rfc8342-ietf-origin - 2.0.14 - - - org.opendaylight.mdsal.binding.model.ietf - rfc8342 - 2.0.14 - - - org.opendaylight.mdsal - mdsal-binding-api - 4.0.14 - - - org.opendaylight.mdsal - mdsal-binding-dom-adapter - 4.0.14 - - - org.opendaylight.mdsal - mdsal-binding-dom-codec-osgi - 4.0.14 - - - org.opendaylight.mdsal - mdsal-binding-dom-codec - 4.0.14 - - - org.opendaylight.mdsal - mdsal-binding-generator-api - 2.0.14 - - - org.opendaylight.mdsal - mdsal-binding-generator-impl - 2.0.14 - - - org.opendaylight.mdsal - mdsal-binding-generator-util - 2.0.14 - - - org.opendaylight.mdsal - mdsal-binding-spec-util - 2.0.14 - - - org.opendaylight.mdsal - mdsal-binding-spi - 4.0.14 - - - org.opendaylight.mdsal - mdsal-binding-util - 4.0.14 - - - org.opendaylight.mdsal - mdsal-common-api - 4.0.14 - - - org.opendaylight.mdsal - mdsal-common-util - 4.0.14 - - - org.opendaylight.mdsal - mdsal-dom-api - 4.0.14 - - - org.opendaylight.mdsal - mdsal-dom-broker - 4.0.14 - - - org.opendaylight.mdsal - mdsal-dom-inmemory-datastore - 4.0.14 - - - org.opendaylight.mdsal - mdsal-dom-schema-service-osgi - 4.0.14 - - - org.opendaylight.mdsal - mdsal-dom-spi - 4.0.14 - - - org.opendaylight.mdsal - mdsal-eos-binding-adapter - 4.0.14 - - - org.opendaylight.mdsal - mdsal-eos-binding-api - 4.0.14 - - - org.opendaylight.mdsal - mdsal-eos-common-api - 4.0.14 - - - org.opendaylight.mdsal - mdsal-eos-common-spi - 4.0.14 - - - org.opendaylight.mdsal - mdsal-eos-dom-api - 4.0.14 - - - org.opendaylight.mdsal - mdsal-eos-dom-simple - 4.0.14 - - - org.opendaylight.mdsal - mdsal-singleton-common-api - 4.0.14 - - - org.opendaylight.mdsal - mdsal-singleton-dom-impl - 4.0.14 - - - org.opendaylight.mdsal.model - general-entity - 2.0.14 - - - org.opendaylight.mdsal.model - ietf-restconf - 2013.10.19.16.14 - - - org.opendaylight.mdsal.model - ietf-ted - 2013.10.21.16.14 - - - org.opendaylight.mdsal.model - ietf-topology-isis - 2013.10.21.16.14 - - - org.opendaylight.mdsal.model - ietf-topology-l3-unicast-igp - 2013.10.21.16.14 - - - org.opendaylight.mdsal.model - ietf-topology-ospf - 2013.10.21.16.14 - - - org.opendaylight.mdsal.model - ietf-topology - 2013.10.21.16.14 - - - org.opendaylight.mdsal.model - ietf-type-util - 3.0.14 - - - org.opendaylight.mdsal.model - yang-ext - 2013.09.07.16.14 - - - org.opendaylight.mdsal - yang-binding - 2.0.14 - - - org.opendaylight.netconf - aaa-authn-odl-plugin - 1.7.3 - - - org.opendaylight.netconf - callhome-model - 1.7.3 - - - org.opendaylight.netconf - callhome-protocol - 1.7.3 - - - org.opendaylight.netconf - callhome-provider - 1.7.3 - - - org.opendaylight.netconf - ietf-netconf-monitoring-extension - 1.7.3 - - - org.opendaylight.netconf - ietf-netconf-monitoring - 1.7.3 - - - org.opendaylight.netconf - ietf-netconf-nmda - 1.7.3 - - - org.opendaylight.netconf - ietf-netconf-notifications - 1.7.3 - - - org.opendaylight.netconf - ietf-netconf-with-defaults - 1.7.3 - - - org.opendaylight.netconf - ietf-netconf - 1.7.3 - - - org.opendaylight.netconf - ietf-restconf-monitoring - 1.10.3 - - - org.opendaylight.netconf - ietf-restconf - 1.10.3 - - - org.opendaylight.netconf - mdsal-netconf-connector - 1.7.3 - - - org.opendaylight.netconf - mdsal-netconf-impl - 1.7.3 - - - org.opendaylight.netconf - mdsal-netconf-monitoring - 1.7.3 - - - org.opendaylight.netconf - mdsal-netconf-notification - 1.7.3 - - - org.opendaylight.netconf - mdsal-netconf-ssh - 1.7.3 - - - org.opendaylight.netconf - mdsal-netconf-tcp - 1.7.3 - - - org.opendaylight.netconf - mdsal-netconf-yang-library - 1.7.3 - - - org.opendaylight.netconf - messagebus-netconf - 1.7.3 - - - org.opendaylight.netconf - netconf-api - 1.7.3 - - - org.opendaylight.netconf - netconf-auth - 1.7.3 - - - org.opendaylight.netconf - netconf-client - 1.7.3 - - - org.opendaylight.netconf - netconf-config - 1.7.3 - - - org.opendaylight.netconf - netconf-console - 1.7.3 - - - org.opendaylight.netconf - netconf-impl - 1.7.3 - - - org.opendaylight.netconf - netconf-mapping-api - 1.7.3 - - - org.opendaylight.netconf - netconf-netty-util - 1.7.3 - - - org.opendaylight.netconf - netconf-notifications-api - 1.7.3 - - - org.opendaylight.netconf - netconf-topology-config - 1.7.3 - - - org.opendaylight.netconf - netconf-topology-singleton - 1.7.3 - - - org.opendaylight.netconf - netconf-topology - 1.7.3 - - - org.opendaylight.netconf - netconf-util - 1.7.3 - - - org.opendaylight.netconf - restconf-common-models - 1.10.3 - - - org.opendaylight.netconf - restconf-common - 1.10.3 - - - org.opendaylight.netconf - restconf-nb-bierman02 - 1.10.3 - - - org.opendaylight.netconf - restconf-nb-rfc8040 - 1.10.3 - - - org.opendaylight.netconf - sal-netconf-connector - 1.10.3 - - - org.opendaylight.netconf - sal-rest-docgen - 1.10.3 - - - org.opendaylight.netconf - shaded-exificient - 1.7.3 - - - org.opendaylight.netconf - shaded-sshd - 1.7.3 - - - org.opendaylight.netconf - yanglib - 1.7.3 - - - org.opendaylight.odlparent - bcpkix-framework-ext - 5.0.7 - - - org.opendaylight.odlparent - bcprov-framework-ext - 5.0.7 - - - org.opendaylight.odlparent - karaf.branding - 5.0.7 - - - org.opendaylight.odlparent - leveldbjni-all - 5.0.7 - - - org.opendaylight.odlparent - logging-markers - 5.0.7 - - - org.opendaylight.yangtools - concepts - 3.0.11 - - - org.opendaylight.yangtools - odlext-model-api - 3.0.11 - - - org.opendaylight.yangtools - odlext-parser-support - 3.0.11 - - - org.opendaylight.yangtools - openconfig-model-api - 3.0.11 - - - org.opendaylight.yangtools - openconfig-parser-support - 3.0.11 - - - org.opendaylight.yangtools - rfc6241-model-api - 1.0.11 - - - org.opendaylight.yangtools - rfc6241-parser-support - 1.0.11 - - - org.opendaylight.yangtools - rfc6536-model-api - 3.0.11 - - - org.opendaylight.yangtools - rfc6536-parser-support - 3.0.11 - - - org.opendaylight.yangtools - rfc7952-data-api - 3.0.11 - - - org.opendaylight.yangtools - rfc7952-data-util - 3.0.11 - - - org.opendaylight.yangtools - rfc7952-model-api - 3.0.11 - - - org.opendaylight.yangtools - rfc7952-parser-support - 3.0.11 - - - org.opendaylight.yangtools - rfc8040-model-api - 3.0.11 - - - org.opendaylight.yangtools - rfc8040-parser-support - 3.0.11 - - - org.opendaylight.yangtools - rfc8528-data-api - 3.0.11 - - - org.opendaylight.yangtools - rfc8528-data-util - 3.0.11 - - - org.opendaylight.yangtools - rfc8528-model-api - 3.0.11 - - - org.opendaylight.yangtools - rfc8528-parser-support - 3.0.11 - - - org.opendaylight.yangtools - util - 3.0.11 - - - org.opendaylight.yangtools - yang-common - 3.0.11 - - - org.opendaylight.yangtools - yang-data-api - 3.0.11 - - - org.opendaylight.yangtools - yang-data-codec-gson - 3.0.11 - - - org.opendaylight.yangtools - yang-data-codec-xml - 3.0.11 - - - org.opendaylight.yangtools - yang-data-impl - 3.0.11 - - - org.opendaylight.yangtools - yang-data-transform - 3.0.11 - - - org.opendaylight.yangtools - yang-data-util - 3.0.11 - - - org.opendaylight.yangtools - yang-model-api - 3.0.11 - - - org.opendaylight.yangtools - yang-model-export - 3.0.11 - - - org.opendaylight.yangtools - yang-model-util - 3.0.11 - - - org.opendaylight.yangtools - yang-parser-api - 3.0.11 - - - org.opendaylight.yangtools - yang-parser-impl - 3.0.11 - - - org.opendaylight.yangtools - yang-parser-reactor - 3.0.11 - - - org.opendaylight.yangtools - yang-parser-rfc7950 - 3.0.11 - - - org.opendaylight.yangtools - yang-parser-spi - 3.0.11 - - - org.opendaylight.yangtools - yang-xpath-api - 1.0.11 - - - org.opendaylight.yangtools - yang-xpath-impl - 1.0.11 - - - org.ops4j.base - ops4j-base - 1.5.0 - - - org.ops4j.pax.cdi - pax-cdi-api - 1.1.1 - - - org.ops4j.pax.cdi - pax-cdi-extender - 1.1.1 - - - org.ops4j.pax.cdi - pax-cdi-extension - 1.1.1 - - - org.ops4j.pax.cdi - pax-cdi-jetty-openwebbeans - 1.1.1 - - - org.ops4j.pax.cdi - pax-cdi-jetty-weld - 1.1.1 - - - org.ops4j.pax.cdi - pax-cdi-openwebbeans - 1.1.1 - - - org.ops4j.pax.cdi - pax-cdi-spi - 1.1.1 - - - org.ops4j.pax.cdi - pax-cdi-undertow-openwebbeans - 1.1.1 - - - org.ops4j.pax.cdi - pax-cdi-undertow-weld - 1.1.1 - - - org.ops4j.pax.cdi - pax-cdi-web - 1.1.1 - - - org.ops4j.pax.cdi - pax-cdi-weld - 1.1.1 - - - org.ops4j.pax.jdbc - pax-jdbc-config - 1.3.5 - - - org.ops4j.pax.jdbc - pax-jdbc-db2 - 1.3.5 - - - org.ops4j.pax.jdbc - pax-jdbc-derby - 1.3.5 - - - org.ops4j.pax.jdbc - pax-jdbc-derbyclient - 1.3.5 - - - org.ops4j.pax.jdbc - pax-jdbc-hsqldb - 1.3.5 - - - org.ops4j.pax.jdbc - pax-jdbc-jtds - 1.3.5 - - - org.ops4j.pax.jdbc - pax-jdbc-mariadb - 1.3.5 - - - org.ops4j.pax.jdbc - pax-jdbc-mssql - 1.3.5 - - - org.ops4j.pax.jdbc - pax-jdbc-oracle - 1.3.5 - - - org.ops4j.pax.jdbc - pax-jdbc-pool-aries - 1.3.5 - - - org.ops4j.pax.jdbc - pax-jdbc-pool-c3p0 - 1.3.5 - - - org.ops4j.pax.jdbc - pax-jdbc-pool-common - 1.3.5 - - - org.ops4j.pax.jdbc - pax-jdbc-pool-dbcp2 - 1.3.5 - - - org.ops4j.pax.jdbc - pax-jdbc-pool-hikaricp - 1.3.5 - - - org.ops4j.pax.jdbc - pax-jdbc-pool-narayana - 1.3.5 - - - org.ops4j.pax.jdbc - pax-jdbc-pool-transx - 1.3.5 - - - org.ops4j.pax.jdbc - pax-jdbc-sqlite - 1.3.5 - - - org.ops4j.pax.jdbc - pax-jdbc-teradata - 1.3.5 - - - org.ops4j.pax.jdbc - pax-jdbc - 1.3.2 - - - org.ops4j.pax.jdbc - pax-jdbc - 1.3.5 - - - org.ops4j.pax.jms - pax-jms-activemq - 1.0.4 - - - org.ops4j.pax.jms - pax-jms-api - 1.0.4 - - - org.ops4j.pax.jms - pax-jms-artemis - 1.0.4 - - - org.ops4j.pax.jms - pax-jms-config - 1.0.4 - - - org.ops4j.pax.jms - pax-jms-ibmmq - 1.0.4 - - - org.ops4j.pax.jms - pax-jms-oracleaq - 1.0.4 - - - org.ops4j.pax.jms - pax-jms-pool-narayana - 1.0.4 - - - org.ops4j.pax.jms - pax-jms-pool-pooledjms - 1.0.4 - - - org.ops4j.pax.jms - pax-jms-pool-transx - 1.0.4 - - - org.ops4j.pax.jpa - pax-jpa - 0.3.0 - - - org.ops4j.pax.logging - pax-logging-api - 1.10.1 - - - org.ops4j.pax.logging - pax-logging-log4j2 - 1.10.1 - - - org.ops4j.pax.logging - pax-logging-logback - 1.10.1 - - - org.ops4j.pax.tipi - org.ops4j.pax.tipi.tomcat-embed-core - 8.5.32.1 - - - org.ops4j.pax.tipi - org.ops4j.pax.tipi.tomcat-embed-websocket - 8.5.32.1 - - - org.ops4j.pax.transx - pax-transx-connector - 0.4.2 - - - org.ops4j.pax.transx - pax-transx-connector - 0.4.3 - - - org.ops4j.pax.transx - pax-transx-jdbc - 0.4.2 - - - org.ops4j.pax.transx - pax-transx-jdbc - 0.4.3 - - - org.ops4j.pax.transx - pax-transx-jms - 0.4.2 - - - org.ops4j.pax.transx - pax-transx-jms - 0.4.3 - - - org.ops4j.pax.transx - pax-transx-tm-api - 0.4.2 - - - org.ops4j.pax.transx - pax-transx-tm-api - 0.4.3 - - - org.ops4j.pax.transx - pax-transx-tm-atomikos - 0.4.2 - - - org.ops4j.pax.transx - pax-transx-tm-atomikos - 0.4.3 - - - org.ops4j.pax.transx - pax-transx-tm-geronimo - 0.4.2 - - - org.ops4j.pax.transx - pax-transx-tm-geronimo - 0.4.3 - - - org.ops4j.pax.transx - pax-transx-tm-narayana - 0.4.2 - - - org.ops4j.pax.transx - pax-transx-tm-narayana - 0.4.3 - - - org.ops4j.pax.url - pax-url-aether - 2.6.1 - - - org.ops4j.pax.url - pax-url-obr - 2.6.1 - - - org.ops4j.pax.url - pax-url-war - 2.6.1 - - - org.ops4j.pax.url - pax-url-wrap - 2.6.1 - - - org.ops4j.pax.web - pax-web-api - 7.2.10 - - - org.ops4j.pax.web - pax-web-deployer - 7.2.10 - - - org.ops4j.pax.web - pax-web-descriptor - 7.2.10 - - - org.ops4j.pax.web - pax-web-extender-war - 7.2.10 - - - org.ops4j.pax.web - pax-web-extender-whiteboard - 7.2.10 - - - org.ops4j.pax.web - pax-web-jetty - 7.2.10 - - - org.ops4j.pax.web - pax-web-jsp - 7.2.10 - - - org.ops4j.pax.web - pax-web-resources-extender - 7.2.10 - - - org.ops4j.pax.web - pax-web-resources-jsf - 7.2.10 - - - org.ops4j.pax.web - pax-web-runtime - 7.2.10 - - - org.ops4j.pax.web - pax-web-spi - 7.2.10 - - - org.ops4j.pax.web - pax-web-tomcat - 7.2.10 - - - org.ops4j.pax.web - pax-web-undertow - 7.2.10 - - - org.osgi - org.osgi.service.event - 1.3.1 - - - org.osgi - org.osgi.service.jdbc - 1.0.0 - - - org.osgi - org.osgi.util.function - 1.0.0 - - - org.osgi - org.osgi.util.promise - 1.0.0 - - - org.ow2.asm - asm-analysis - 7.1 - - - org.ow2.asm - asm-commons - 7.1 - - - org.ow2.asm - asm-tree - 7.1 - - - org.ow2.asm - asm-util - 7.1 - - - org.ow2.asm - asm - 5.2 - - - org.ow2.asm - asm - 7.1 - - - org.postgresql - postgresql - 9.4.1212.jre7 - - - org.reactivestreams - reactive-streams - 1.0.3 - - - org.scala-lang.modules - scala-java8-compat_2.12 - 0.9.1 - - - org.scala-lang.modules - scala-parser-combinators_2.12 - 1.1.2 - - - org.scala-lang - scala-library - 2.12.11 - - - org.scala-lang - scala-reflect - 2.12.11 - - - org.slf4j - slf4j-api - 1.7.12 - - - org.slf4j - slf4j-api - 1.7.25 - - - org.xerial - sqlite-jdbc - 3.16.1 - - - tech.pantheon.triemap - triemap - 1.1.0 - - - - diff --git a/parent/odlparent-lite/pom.xml b/parent/odlparent-lite/pom.xml deleted file mode 100644 index 8966765..0000000 --- a/parent/odlparent-lite/pom.xml +++ /dev/null @@ -1,1169 +0,0 @@ - - - - 4.0.0 - - - org.opendaylight.odlparent - odlparent-lite - 5.0.7 - - - - org.o-ran-sc.oam.features.parent - odlparent-lite - 2.0.0-SNAPSHOT - pom - - o-ran-sc features odlparent-lite - - Root POM to be used in place of odlparent for CCSDK based projects - http://wiki.o-ran-sc.org - - O-RAN-SC - - - - JIRA - https://jira.o-ran-sc.org/ - - - - ecomp-releases - ${onap.nexus.release-url} - - - ecomp-snapshots - ${onap.nexus.snapshot-url} - - - - - 3.7.0.1746 - 3.2 - jacoco - - ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml - - **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** - - - 0.8.5 - - - 8 - 8 - UTF-8 - UTF-8 - https://nexus.onap.org - - /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} - - - ${basedir}/src/main/resources/swagger.properties - - ${basedir}/src/main/resources/swagger.json - - - - nexus.onap.org - 443 - https - https://nexus.onap.org/content/groups/public - https://nexus.onap.org/content/groups/staging - https://nexus.onap.org/content/repositories/releases - https://nexus.onap.org/content/repositories/snapshots - ecomp-staging - 176c31dfe190a - - - https://nexus.opendaylight.org/content/repositories/public/ - https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ - - UTF-8 - 8 - 8 - 2.5.0 - 2.5.1 - features.xml - src/main/yang-gen-config - src/main/yang-gen-sal - true - - - 1.6.6 - - - 1.0.0-SNAPSHOT - 1.0.0-SNAPSHOT - 1.0.0-SNAPSHOT - 1.0.0-SNAPSHOT - 1.0.0-SNAPSHOT - 1.0.0-SNAPSHOT - 1.0.0-SNAPSHOT - ${ccsdk.sli.core.version} - ${ccsdk.sli.adaptors.version} - ${ccsdk.sli.core.version} - ${ccsdk.sli.adaptors.version} - ${ccsdk.sli.core.version} - - - 1.10.3 - 4.0.14 - 2.0.14 - 1.10.3 - 1.7.3 - 1.10.3 - - - 1.13 - - 3.8.1 - - 2.6 - - 3.6 - - 2.7.4 - - 4.4.1 - - 2.8.5 - - 25.1-jre - - 2.9.10 - - 3.24.1-GA - - - - 2.25.1 - - 2.25.1 - - - - - 20131018 - - - 4.12 - - 1.2.3 - - 1.10.19 - - 4.1.42.Final - - 1.7.25 - - 4.3.25.RELEASE - - - 0.6.4 - 4.7.2 - - 1.0.0 - - - 4.4.12 - 4.5.10 - 10.14.2.0 - 1.0.0 - 1.21.1 - 2.4.4 - 2.4.0 - 6.14.3 - 9.0.30 - 9.4.12.v20180830 - true - direct-dependencies.txt - - - - - - - org.o-ran-sc.oam.features.parent - dependencies-odl-bom - 2.0.0-SNAPSHOT - pom - import - - - org.onap.logging-analytics - logging-slf4j - ${logging-analytics.version} - - - org.onap.logging-analytics - logging-filter-base - ${logging-analytics.version} - - - junit - junit - ${junit.version} - test - - - - - - - onap-public - ${onap.nexus.public-url} - - true - never - - - true - always - - - - onap-staging - ${onap.nexus.staging-url} - - true - never - - - true - always - - - - ecomp-release - onap-repository-releases - ${onap.nexus.release-url} - - true - never - - - false - - - - ecomp-snapshot - onap-repository-snapshots - ${onap.nexus.snapshot-url} - - false - - - true - - - - opendaylight-mirror - opendaylight-mirror - ${opendaylight.nexus.public-url} - - true - never - - - false - - - - opendaylight-snapshot - opendaylight-snapshot - ${opendaylight.nexus.snapshot-url} - - false - - - true - - - - - - - onap-public - ${onap.nexus.public-url} - - true - - - true - - - - onap-staging - ${onap.nexus.staging-url} - - true - - - true - - - - onap-snapshot - ${onap.nexus.snapshot-url} - - false - - - true - - - - opendaylight-mirror - opendaylight-mirror - ${opendaylight.nexus.public-url} - - true - never - - - false - - - - opendaylight-snapshot - opendaylight-snapshot - ${opendaylight.nexus.snapshot-url} - - false - - - true - - - - - JCenter - JCenter Repository - http://jcenter.bintray.com - - - - Restlet - Restlet Repository - http://maven.restlet.com - - - - - - - - - org.apache.maven.plugins - maven-deploy-plugin - - 2.8 - - - - - - org.apache.maven.plugins - maven-site-plugin - 3.6 - - - org.apache.maven.wagon - wagon-webdav-jackrabbit - 2.10 - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.0.0-M2 - - - enforce-property - - enforce - - - - - onap.nexus.url - You must set a onap.nexus.url property in your - ~/.m2/settings.xml. See oparent/settings.xml for an example. - - - - true - - - - enforce-no-snapshots - - enforce - - - - - false - true - WARN - - - - - - enforce-maven - - enforce - - - - - 8 - - - [3.5.0,) - - - - - - enforce-banned-dependencies - - enforce - - - - - 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 - - org.mockito:mockito-all - - - - - true - - - - - - - org.sonarsource.scanner.maven - sonar-maven-plugin - ${sonar.scanner.version} - - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.22.0 - - - ${surefireArgLine} - - - **/IT*.java - - - - - org.apache.maven.plugins - maven-failsafe-plugin - 2.22.0 - - - - integration-tests - - integration-test - verify - - - - ${failsafeArgLine} - - - - - - - - org.codehaus.mojo - properties-maven-plugin - 1.0.0 - - - - set-system-properties - - - - - maven.wagon.http.ssl.allowall - ${ssl.allowall} - - - maven.wagon.http.ssl.insecure - ${ssl.insecure} - - - - - - - - - org.codehaus.mojo - versions-maven-plugin - 2.5 - - true - - - - maven-scm-plugin - 1.8.1 - - ${project.artifactId}-${project.version} - - - - com.github.ferstl - depgraph-maven-plugin - 3.3.0 - - text - ${dependency-list.file} - ${project.basedir} - * - true - true - - - - - - - - - org.apache.maven.plugins - maven-deploy-plugin - - - org.apache.maven.plugins - maven-site-plugin - - - - - - maven-checkstyle-plugin - 2.17 - - - org.onap.oparent - checkstyle - 1.2.2 - - - - - onap-license - - check - - process-sources - - onap-checkstyle/check-license.xml - false - true - false - ${project.build.sourceDirectory} - - - true - false - - - - onap-java-style - - check - - process-sources - - - onap-checkstyle/onap-java-style.xml - - ${project.build.sourceDirectory}/src/main/java - true - true - true - - - true - false - - - - - - org.codehaus.mojo - build-helper-maven-plugin - 1.12 - - - - org.jacoco - jacoco-maven-plugin - ${jacoco.version} - - - pre-unit-test - - prepare-agent - - - - ${project.build.directory}/code-coverage/jacoco-ut.exec - - surefireArgLine - - - - - post-unit-test - test - - report - - - - ${project.build.directory}/code-coverage/jacoco-ut.exec - - ${project.reporting.outputDirectory}/jacoco-ut - - - - pre-integration-test - pre-integration-test - - prepare-agent - - - - ${project.build.directory}/code-coverage/jacoco-it.exec - - failsafeArgLine - - - - - post-integration-test - post-integration-test - - report - - - - ${project.build.directory}/code-coverage/jacoco-it.exec - - ${project.reporting.outputDirectory}/jacoco-it - - - - default-prepare-agent - - prepare-agent - - - - default-report - prepare-package - - report - - - - default-check - - check - - - - - PACKAGE - - - COMPLEXITY - COVEREDRATIO - 0.0 - - - - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - org.apache.maven.plugins - maven-failsafe-plugin - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.4 - - - attach-javadocs - - jar - - - -Xdoclint:none - - - - - - maven-enforcer-plugin - 3.0.0-M2 - - - enforce-property - - enforce - - - - - onap.nexus.url - You must set a onap.nexus.url property in your - ~/.m2/settings.xml. See oparent/settings.xml for an example. - - - true - - - - enforce-no-snapshots - - enforce - - - - - false - true - WARN - - - - - - enforce-maven - - enforce - - - - - 1.8.0 - - - [3.5.0,) - - - - - - enforce-banned-dependencies - - enforce - - - - - 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 - - org.mockito:mockito-all - - - - - true - - - - - - - - - - - maven-javadoc-plugin - 2.10.4 - - false - -Xdoclint:none - - - - - - - - - generate-json - - - ${swagger-properties} - - - swagger-sdk.generate-json - - - - - - org.codehaus.mojo - properties-maven-plugin - 1.0.0 - - - initialize - - read-project-properties - - - - ${basedir}/src/main/resources/swagger.properties - - - - - - - com.github.kongchen - swagger-maven-plugin - 3.1.4 - - - - ${api-rest-package} - http,https - ${api-host-ip}:${api-host-port} - ${api-base-path} - - ${api-title} - ${api-version} - ${api-description} - - ${api-license} - - - ${basedir}/src/main/resources - - - - - - compile - - generate - - - - - - org.apache.maven.plugins - maven-install-plugin - 2.3.1 - - - install-file-id - install - - install-file - - - ${basedir}/src/main/resources/swagger.json - ${project.groupId} - ${project.artifactId}-swagger-schema - ${project.version} - json - - - - - - - - - generate-sdk - - - ${swagger-json} - - - swagger-sdk.generate-java-sdk - - - - - - org.apache.maven.plugins - maven-antrun-plugin - 1.8 - - - initialize - ant-create-script - - true - - - - - - - - - - - - - - - - - - - - - - - - - - run - - - - - - ant-contrib - ant-contrib - 1.0b3 - - - ant - ant - - - - - - - io.swagger - swagger-codegen-maven-plugin - 2.2.1 - - - - generate - - - ${basedir}/src/main/resources/swagger.json - ${project.build.directory}/generated-sources - java - - joda - - jersey2 - ${project.groupId} - ${project.artifactId}-java-sdk - ${project.version} - ${project.groupId}.${project.artifactId}.client.model - ${project.groupId}.${project.artifactId}.client.api - ${project.groupId}.${project.artifactId}.client.invoker - - - - - - org.codehaus.mojo - exec-maven-plugin - 1.5.0 - - - swagger-generate-sources - generate-sources - - exec - - - ${project.build.directory}${file.separator}${swagger.sdk.script.file} - - - - - - org.apache.maven.plugins - maven-clean-plugin - 3.0.0 - - - clean-generated-files - generate-sources - - clean - - - - - ${project.build.directory}/generated-sources - - - - - - - - - - - org.onap.msb.swagger-sdk - swagger-sdk - 1.0.0 - - - - - sonar-jacoco-aggregate - - - onap.jacoco.aggregateFile - - - - - - org.jacoco - jacoco-maven-plugin - - - merge - - merge - - generate-resources - - ${onap.jacoco.aggregateFile} - - - ${project.basedir} - - **/target/code-coverage/*.exec - - - - - - - - - - - - - - yang-compile - - - src/main/yang - - - - - - org.opendaylight.yangtools - yang-maven-plugin - 3.0.11 - - - org.opendaylight.mdsal - maven-sal-api-gen-plugin - ${odl.mdsal.model.version} - jar - compile - - - org.opendaylight.netconf - sal-rest-docgen-maven - ${odl.netconf.sal.rest.docgen.version} - jar - - - - - binding - - generate-sources - - - ${yang.file.directory} - - - org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl - ${salGeneratorPath} - - - org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator - target/swagger - - - true - - - - - - - - - - diff --git a/parent/pom.xml b/parent/pom.xml deleted file mode 100644 index 4d4111a..0000000 --- a/parent/pom.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - 4.0.0 - - org.o-ran-sc.oam.parent - parent-top - 2.0.0-SNAPSHOT - pom - - o-ran-sc parent top - - - installed-odl-bom - dependencies-odl-bom - odlparent-lite - binding-parent - single-feature-parent - - - diff --git a/parent/single-feature-parent/pom.xml b/parent/single-feature-parent/pom.xml deleted file mode 100644 index feb20e9..0000000 --- a/parent/single-feature-parent/pom.xml +++ /dev/null @@ -1,1168 +0,0 @@ - - - - 4.0.0 - - - org.opendaylight.odlparent - single-feature-parent - 5.0.7 - - - - org.o-ran-sc.oam.features.parent - single-feature-parent - 2.0.0-SNAPSHOT - pom - - o-ran-sc features single-feature-parent - Root POM to be used in place of odlparent for CCSDK based projects - http://wiki.o-ran-sc.org - - O-RAN-SC - - - - JIRA - https://jira.o-ran-sc.org/ - - - - ecomp-releases - ${onap.nexus.release-url} - - - ecomp-snapshots - ${onap.nexus.snapshot-url} - - - - - - 3.7.0.1746 - 3.2 - jacoco - - ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml - - **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** - - - 0.8.5 - - - 8 - 8 - UTF-8 - UTF-8 - https://nexus.onap.org - - /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} - - - ${basedir}/src/main/resources/swagger.properties - - ${basedir}/src/main/resources/swagger.json - - - - nexus.onap.org - 443 - https - https://nexus.onap.org/content/groups/public - https://nexus.onap.org/content/groups/staging - https://nexus.onap.org/content/repositories/releases - https://nexus.onap.org/content/repositories/snapshots - ecomp-staging - 176c31dfe190a - - - https://nexus.opendaylight.org/content/repositories/public/ - https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ - - UTF-8 - 8 - 8 - 2.5.0 - 2.5.1 - features.xml - src/main/yang-gen-config - src/main/yang-gen-sal - true - - - 1.6.6 - - - 1.0.0-SNAPSHOT - 1.0.0-SNAPSHOT - 1.0.0-SNAPSHOT - 1.0.0-SNAPSHOT - 1.0.0-SNAPSHOT - 1.0.0-SNAPSHOT - 1.0.0-SNAPSHOT - ${ccsdk.sli.core.version} - ${ccsdk.sli.adaptors.version} - ${ccsdk.sli.core.version} - ${ccsdk.sli.adaptors.version} - ${ccsdk.sli.core.version} - - - 1.10.3 - 4.0.14 - 2.0.14 - 1.10.3 - 1.7.3 - 1.10.3 - - - 1.13 - - 3.8.1 - - 2.6 - - 3.6 - - 2.7.4 - - 4.4.1 - - 2.8.5 - - 25.1-jre - - 2.9.10 - - 3.24.1-GA - - - - 2.25.1 - - 2.25.1 - - - - - 20131018 - - - 4.12 - - 1.2.3 - - 1.10.19 - - 4.1.42.Final - - 1.7.25 - - 4.3.25.RELEASE - - - 0.6.4 - 4.7.2 - - 1.0.0 - - - 4.4.12 - 4.5.10 - 10.14.2.0 - 1.0.0 - 1.21.1 - 2.4.4 - 2.4.0 - 6.14.3 - 9.0.30 - 9.4.12.v20180830 - true - direct-dependencies.txt - - - - - - - org.o-ran-sc.oam.features.parent - dependencies-odl-bom - 2.0.0-SNAPSHOT - pom - import - - - org.onap.logging-analytics - logging-slf4j - ${logging-analytics.version} - - - org.onap.logging-analytics - logging-filter-base - ${logging-analytics.version} - - - junit - junit - ${junit.version} - test - - - - - - - onap-public - ${onap.nexus.public-url} - - true - never - - - true - always - - - - onap-staging - ${onap.nexus.staging-url} - - true - never - - - true - always - - - - ecomp-release - onap-repository-releases - ${onap.nexus.release-url} - - true - never - - - false - - - - ecomp-snapshot - onap-repository-snapshots - ${onap.nexus.snapshot-url} - - false - - - true - - - - opendaylight-mirror - opendaylight-mirror - ${opendaylight.nexus.public-url} - - true - never - - - false - - - - opendaylight-snapshot - opendaylight-snapshot - ${opendaylight.nexus.snapshot-url} - - false - - - true - - - - - - - onap-public - ${onap.nexus.public-url} - - true - - - true - - - - onap-staging - ${onap.nexus.staging-url} - - true - - - true - - - - onap-snapshot - ${onap.nexus.snapshot-url} - - false - - - true - - - - opendaylight-mirror - opendaylight-mirror - ${opendaylight.nexus.public-url} - - true - never - - - false - - - - opendaylight-snapshot - opendaylight-snapshot - ${opendaylight.nexus.snapshot-url} - - false - - - true - - - - - JCenter - JCenter Repository - http://jcenter.bintray.com - - - - Restlet - Restlet Repository - http://maven.restlet.com - - - - - - - - - org.apache.maven.plugins - maven-deploy-plugin - - 2.8 - - - - - - org.apache.maven.plugins - maven-site-plugin - 3.6 - - - org.apache.maven.wagon - wagon-webdav-jackrabbit - 2.10 - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.0.0-M2 - - - enforce-property - - enforce - - - - - onap.nexus.url - You must set a onap.nexus.url property in your - ~/.m2/settings.xml. See oparent/settings.xml for an example. - - - - true - - - - enforce-no-snapshots - - enforce - - - - - false - true - WARN - - - - - - enforce-maven - - enforce - - - - - 8 - - - [3.5.0,) - - - - - - enforce-banned-dependencies - - enforce - - - - - 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 - - org.mockito:mockito-all - - - - - true - - - - - - - org.sonarsource.scanner.maven - sonar-maven-plugin - ${sonar.scanner.version} - - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.22.0 - - - ${surefireArgLine} - - - **/IT*.java - - - - - org.apache.maven.plugins - maven-failsafe-plugin - 2.22.0 - - - - integration-tests - - integration-test - verify - - - - ${failsafeArgLine} - - - - - - - - org.codehaus.mojo - properties-maven-plugin - 1.0.0 - - - - set-system-properties - - - - - maven.wagon.http.ssl.allowall - ${ssl.allowall} - - - maven.wagon.http.ssl.insecure - ${ssl.insecure} - - - - - - - - - org.codehaus.mojo - versions-maven-plugin - 2.5 - - true - - - - maven-scm-plugin - 1.8.1 - - ${project.artifactId}-${project.version} - - - - com.github.ferstl - depgraph-maven-plugin - 3.3.0 - - text - ${dependency-list.file} - ${project.basedir} - * - true - true - - - - - - - - - org.apache.maven.plugins - maven-deploy-plugin - - - org.apache.maven.plugins - maven-site-plugin - - - - - - maven-checkstyle-plugin - 2.17 - - - org.onap.oparent - checkstyle - 1.2.2 - - - - - onap-license - - check - - process-sources - - onap-checkstyle/check-license.xml - false - true - false - ${project.build.sourceDirectory} - - - true - false - - - - onap-java-style - - check - - process-sources - - - onap-checkstyle/onap-java-style.xml - - ${project.build.sourceDirectory}/src/main/java - true - true - true - - - true - false - - - - - - org.codehaus.mojo - build-helper-maven-plugin - 1.12 - - - - org.jacoco - jacoco-maven-plugin - ${jacoco.version} - - - pre-unit-test - - prepare-agent - - - - ${project.build.directory}/code-coverage/jacoco-ut.exec - - surefireArgLine - - - - - post-unit-test - test - - report - - - - ${project.build.directory}/code-coverage/jacoco-ut.exec - - ${project.reporting.outputDirectory}/jacoco-ut - - - - pre-integration-test - pre-integration-test - - prepare-agent - - - - ${project.build.directory}/code-coverage/jacoco-it.exec - - failsafeArgLine - - - - - post-integration-test - post-integration-test - - report - - - - ${project.build.directory}/code-coverage/jacoco-it.exec - - ${project.reporting.outputDirectory}/jacoco-it - - - - default-prepare-agent - - prepare-agent - - - - default-report - prepare-package - - report - - - - default-check - - check - - - - - PACKAGE - - - COMPLEXITY - COVEREDRATIO - 0.0 - - - - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - org.apache.maven.plugins - maven-failsafe-plugin - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.4 - - - attach-javadocs - - jar - - - -Xdoclint:none - - - - - - maven-enforcer-plugin - 3.0.0-M2 - - - enforce-property - - enforce - - - - - onap.nexus.url - You must set a onap.nexus.url property in your - ~/.m2/settings.xml. See oparent/settings.xml for an example. - - - true - - - - enforce-no-snapshots - - enforce - - - - - false - true - WARN - - - - - - enforce-maven - - enforce - - - - - 1.8.0 - - - [3.5.0,) - - - - - - enforce-banned-dependencies - - enforce - - - - - 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 - - org.mockito:mockito-all - - - - - true - - - - - - - - - - - maven-javadoc-plugin - 2.10.4 - - false - -Xdoclint:none - - - - - - - - - generate-json - - - ${swagger-properties} - - - swagger-sdk.generate-json - - - - - - org.codehaus.mojo - properties-maven-plugin - 1.0.0 - - - initialize - - read-project-properties - - - - ${basedir}/src/main/resources/swagger.properties - - - - - - - com.github.kongchen - swagger-maven-plugin - 3.1.4 - - - - ${api-rest-package} - http,https - ${api-host-ip}:${api-host-port} - ${api-base-path} - - ${api-title} - ${api-version} - ${api-description} - - ${api-license} - - - ${basedir}/src/main/resources - - - - - - compile - - generate - - - - - - org.apache.maven.plugins - maven-install-plugin - 2.3.1 - - - install-file-id - install - - install-file - - - ${basedir}/src/main/resources/swagger.json - ${project.groupId} - ${project.artifactId}-swagger-schema - ${project.version} - json - - - - - - - - - generate-sdk - - - ${swagger-json} - - - swagger-sdk.generate-java-sdk - - - - - - org.apache.maven.plugins - maven-antrun-plugin - 1.8 - - - initialize - ant-create-script - - true - - - - - - - - - - - - - - - - - - - - - - - - - - run - - - - - - ant-contrib - ant-contrib - 1.0b3 - - - ant - ant - - - - - - - io.swagger - swagger-codegen-maven-plugin - 2.2.1 - - - - generate - - - ${basedir}/src/main/resources/swagger.json - ${project.build.directory}/generated-sources - java - - joda - - jersey2 - ${project.groupId} - ${project.artifactId}-java-sdk - ${project.version} - ${project.groupId}.${project.artifactId}.client.model - ${project.groupId}.${project.artifactId}.client.api - ${project.groupId}.${project.artifactId}.client.invoker - - - - - - org.codehaus.mojo - exec-maven-plugin - 1.5.0 - - - swagger-generate-sources - generate-sources - - exec - - - ${project.build.directory}${file.separator}${swagger.sdk.script.file} - - - - - - org.apache.maven.plugins - maven-clean-plugin - 3.0.0 - - - clean-generated-files - generate-sources - - clean - - - - - ${project.build.directory}/generated-sources - - - - - - - - - - - org.onap.msb.swagger-sdk - swagger-sdk - 1.0.0 - - - - - sonar-jacoco-aggregate - - - onap.jacoco.aggregateFile - - - - - - org.jacoco - jacoco-maven-plugin - - - merge - - merge - - generate-resources - - ${onap.jacoco.aggregateFile} - - - ${project.basedir} - - **/target/code-coverage/*.exec - - - - - - - - - - - - - - yang-compile - - - src/main/yang - - - - - - org.opendaylight.yangtools - yang-maven-plugin - 3.0.11 - - - org.opendaylight.mdsal - maven-sal-api-gen-plugin - ${odl.mdsal.model.version} - jar - compile - - - org.opendaylight.netconf - sal-rest-docgen-maven - ${odl.netconf.sal.rest.docgen.version} - jar - - - - - binding - - generate-sources - - - ${yang.file.directory} - - - org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl - ${salGeneratorPath} - - - org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator - target/swagger - - - true - - - - - - - - - -- 2.16.6