Advertisement
Guest User

Untitled

a guest
Mar 31st, 2015
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.18 KB | None | 0 0
  1. temp.append("<***-Integration xmlns='http://www.***.com/xml/ns/***/integration' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.***.com/xml/ns/***/integrationintegration.xsd'>");
  2.             temp.append("   <technologyMonitorID>"+monitoringSource+"</technologyMonitorID>");
  3.             temp.append("   <alarm>");
  4.             temp.append("       <sourceId>"+sourceId+"</sourceId>");
  5.             temp.append("       <severity>"+alarmSeverity+"</severity>");
  6.             temp.append("       <startTime>"+alarmStartTime+"</startTime>");
  7.             temp.append("       <endTime>"+endTime+"</endTime>");
  8.             temp.append("       <createdTime>"+alarmStartTime+"</createdTime>");
  9.             temp.append("       <message>"+alarmMessage+"</message>");
  10.             temp.append("       <configurationItem updateMode='replace' updateRelationships='false'>");
  11.             temp.append("           <sourceId>"+ciName+"</sourceId>");
  12.             temp.append("           <type>Node</type>");
  13.             temp.append("           <name>"+ciName+"</name>");
  14.             temp.append("           <status>Active</status>");
  15.             temp.append("       </configurationItem>");
  16.             temp.append("   </alarm>");
  17.             temp.append("</***-Integration>");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement