One line project element in all pom files and autogenerated block comment removed from the java files
Issue-ID: CCSDK-2719
Signed-off-by: shabs2020 <shabnam.sultana@highstreet-technologies.com>
Change-Id: Icdc64b573517b273e8c65b0f637477483b91a924
Signed-off-by: shabs2020 <shabnam.sultana@highstreet-technologies.com>
~ ============LICENSE_END=======================================================
~
-->
~ ============LICENSE_END=======================================================
~
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<version>1.9.10</version>
<scope>test</scope>
</dependency>
<version>1.9.10</version>
<scope>test</scope>
</dependency>
<!-- end for testing -->
<dependency>
<groupId>${project.groupId}</groupId>
<!-- end for testing -->
<dependency>
<groupId>${project.groupId}</groupId>
}
// end of public methods
}
// end of public methods
/**
* Used to close all Services, that should support AutoCloseable Pattern
*
* @param toClose
* @throws Exception
*/
/**
* 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) {
private void close(AutoCloseable... toCloseList) {
for (AutoCloseable element : toCloseList) {
if (element != null) {
sb.append(", ");
}
sb.append(edit);
sb.append(", ");
}
sb.append(edit);
EventlogBuilder eventlogBuilder = new EventlogBuilder();
EventlogBuilder eventlogBuilder = new EventlogBuilder();
InstanceIdentifier<?> target = edit.getTarget();
if (target != null) {
eventlogBuilder.setObjectId(target.getPathArguments().toString());
InstanceIdentifier<?> target = edit.getTarget();
if (target != null) {
eventlogBuilder.setObjectId(target.getPathArguments().toString());
eventlogBuilder.setAttributeName(target.getTargetType().getName());
}
eventlogBuilder.setNodeId(netconfAccessor.getNodeId().getValue());
eventlogBuilder.setAttributeName(target.getTargetType().getName());
}
eventlogBuilder.setNodeId(netconfAccessor.getNodeId().getValue());
eventlogBuilder.setNewValue(String.valueOf(edit.getOperation()));
eventlogBuilder.setTimestamp(notification.getChangeTime());
eventlogBuilder.setCounter(counter);
eventlogBuilder.setSourceType(SourceType.Netconf);
databaseProvider.writeEventLog(eventlogBuilder.build());
eventlogBuilder.setNewValue(String.valueOf(edit.getOperation()));
eventlogBuilder.setTimestamp(notification.getChangeTime());
eventlogBuilder.setCounter(counter);
eventlogBuilder.setSourceType(SourceType.Netconf);
databaseProvider.writeEventLog(eventlogBuilder.build());
log.info("onDeviceConfigChange (2) {}", sb);
counter++;
}
log.info("onDeviceConfigChange (2) {}", sb);
counter++;
}
public void onCreateTechInfoNotification(CreateTechInfoNotification notification) {
// TODO Auto-generated method stub
log.info("onCreateTechInfoNotification(1){}", notification);
public void onCreateTechInfoNotification(CreateTechInfoNotification notification) {
// TODO Auto-generated method stub
log.info("onCreateTechInfoNotification(1){}", notification);
EventlogBuilder eventlogBuilder = new EventlogBuilder();
eventlogBuilder.setId(notification.getShelfId()).setAttributeName(notification.getShelfId())
.setObjectId(notification.getShelfId()).setNodeId(this.netconfAccessor.getNodeId().getValue())
EventlogBuilder eventlogBuilder = new EventlogBuilder();
eventlogBuilder.setId(notification.getShelfId()).setAttributeName(notification.getShelfId())
.setObjectId(notification.getShelfId()).setNodeId(this.netconfAccessor.getNodeId().getValue())
databaseProvider.writeEventLog(eventlogBuilder.build());
log.info("Create-techInfo Notification written ");
counter++;
databaseProvider.writeEventLog(eventlogBuilder.build());
log.info("Create-techInfo Notification written ");
counter++;
}
// end of public methods
}
// end of public methods
private final NetconfAccessor accessor;
// end of variables
private final NetconfAccessor accessor;
// end of variables
- /**
- * @param netconfAccessor
- * @param readDevice
- */
-
// constructors
public OpenroadmInventoryInput(NetconfAccessor netconfAccessor, OrgOpenroadmDevice readDevice) {
this.openRoadmDevice = readDevice;
// constructors
public OpenroadmInventoryInput(NetconfAccessor netconfAccessor, OrgOpenroadmDevice readDevice) {
this.openRoadmDevice = readDevice;
readInterfaceData(device);
// Writing initial alarms at the time of device registration
initialAlarmReader.faultService();
readInterfaceData(device);
// Writing initial alarms at the time of device registration
initialAlarmReader.faultService();
- // faultEventListener.initCurrentProblemStatus(this.netconfAccessor.getNodeId(),
- // oScaFaultListener.writeFaultData(this.sequenceNumber));
- // oScaFaultListener.writeAlarmLog(oScaFaultListener.writeFaultData(this.sequenceNumber));
- // this.sequenceNumber = this.sequenceNumber + 1;
-
pmDataEntity = this.openRoadmPmData.buildPmDataEntity(this.openRoadmPmData.getPmData(this.netconfAccessor));
if (!pmDataEntity.isEmpty()) {
this.databaseService.doWritePerformanceData(pmDataEntity);
pmDataEntity = this.openRoadmPmData.buildPmDataEntity(this.openRoadmPmData.getPmData(this.netconfAccessor));
if (!pmDataEntity.isEmpty()) {
this.databaseService.doWritePerformanceData(pmDataEntity);