aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-api/src
diff options
context:
space:
mode:
authormojahidi <mojahidul.islam@amdocs.com>2017-12-28 18:33:00 +0530
committerAvi Gaffa <avi.gaffa@amdocs.com>2018-01-02 15:20:27 +0000
commit9d79007d2b36d5ae4a03581eeca1fcf6232b3b09 (patch)
tree0638ab46c050e901995e03dcefe5d4c0314ec95d /openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-api/src
parentb38f18bb99a603012ec406053531c45fb4643d62 (diff)
fix MIB assignment
Assign mib file to all of the components from the same VFC type Change-Id: Ia6a1a5a08b7383ec64ace085193b0c8daa399c7f Issue-ID: SDC-811 Signed-off-by: talio <tali.orenbach@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-api/src')
-rw-r--r--openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-api/src/main/java/org/openecomp/core/enrichment/types/ComponentMonitoringUploadInfo.java15
1 files changed, 3 insertions, 12 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-api/src/main/java/org/openecomp/core/enrichment/types/ComponentMonitoringUploadInfo.java b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-api/src/main/java/org/openecomp/core/enrichment/types/ComponentMonitoringUploadInfo.java
index a3a76a561b..34177bbcff 100644
--- a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-api/src/main/java/org/openecomp/core/enrichment/types/ComponentMonitoringUploadInfo.java
+++ b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-api/src/main/java/org/openecomp/core/enrichment/types/ComponentMonitoringUploadInfo.java
@@ -31,30 +31,21 @@ public class ComponentMonitoringUploadInfo {
private Map<MonitoringUploadType, MonitoringArtifactInfo> infoByType = new HashMap<>();
- //todo as part of ATTASDC-4503
-
public MonitoringArtifactInfo getSnmpTrap() {
return infoByType.get(SNMP_TRAP);
}
- public void setSnmpTrap(MonitoringArtifactInfo snmpTrapInfo) {
- infoByType.put(SNMP_TRAP, snmpTrapInfo);
- }
-
public MonitoringArtifactInfo getSnmpPoll() {
return infoByType.get(SNMP_POLL);
}
- public void setSnmpPoll(MonitoringArtifactInfo snmpPollInfo) {
- infoByType.put(SNMP_POLL, snmpPollInfo);
- }
-
public MonitoringArtifactInfo getVesEvent() {
return infoByType.get(VES_EVENTS);
}
- public void setVesEvent(MonitoringArtifactInfo snmpPollInfo) {
- infoByType.put(VES_EVENTS, snmpPollInfo);
+ public void setMonitoringArtifactFile(MonitoringUploadType type,
+ MonitoringArtifactInfo monitoringArtifactInfo) {
+ infoByType.put(type, monitoringArtifactInfo);
}
}