<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Verifying Object Changes via AXL</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=11388201" />
  <subtitle>Verifying Object Changes via AXL</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=11388201</id>
  <updated>2013-05-22T17:55:41Z</updated>
  <dc:date>2013-05-22T17:55:41Z</dc:date>
  <entry>
    <title>RE: Verifying Object Changes via AXL</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11491920" />
    <author>
      <name>Michael Piskun</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11491920</id>
    <updated>2013-02-03T10:41:43Z</updated>
    <published>2013-02-03T10:41:43Z</published>
    <summary type="html">Thanks for the response David! Given device/line/user are the bigest tables, its a good start.
 
Initially, I was hoping to do a 'select pkid,versionstamp from x', which when compared against already syncronised data should be able to determine adds, deletions, and changes, without having to dump the entire table.
 
Aside from this frustration, there are a couple of instances where you can change the object without the versionstamp being incremented (ie: removing the DN/device association from within the DN object CCMAdmin page), causing things to fly under the radar. This *would* have been picked up with a versionstamp in the numplan table.
 
 </summary>
    <dc:creator>Michael Piskun</dc:creator>
    <dc:date>2013-02-03T10:41:43Z</dc:date>
  </entry>
  <entry>
    <title>RE: Verifying Object Changes via AXL</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11412113" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11412113</id>
    <updated>2013-02-01T17:44:18Z</updated>
    <published>2013-02-01T17:44:18Z</published>
    <summary type="html">The classic problem with using change timestamp fields is if the record gets completely deleted, a query like 'select * from table where timestamp &gt; last_time_we_checked' you can't discover the deletion.
UCM 9 and higher includes new AXL APIs for setting up change notification subscriptions (initial only for device/line/user) - prior to that, keeping large, dynamic data sets synced between UCM and apps has always been a very difficult, i.e. timed bulk polling.</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2013-02-01T17:44:18Z</dc:date>
  </entry>
  <entry>
    <title>Verifying Object Changes via AXL</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11388200" />
    <author>
      <name>Michael Piskun</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11388200</id>
    <updated>2013-02-01T03:26:35Z</updated>
    <published>2013-02-01T03:23:28Z</published>
    <summary type="html">I recently stumbled across a neat little field in the [b]device[/b] database called [b]versionstamp[/b]. Everytime a device is updated via Tomcat or AXL, a new UUID is generated to flag that this field has changed - allowing for a quick method of determining whether record data has been updated since the last check.
 
This [b]versionstamp[/b] field is in none of the other main tables, including [b]numplan[/b] and [b]enduser[/b].
 
Has anyone managed to get a similar functionality out of other tables, verifying with a small amount of data, whether changes have been made to records in a table?
 
The only other method I can think of is trawling through the audit logs, looking for lines like the following. This, however, does not log changes made via AXL. [color=#888888][color=#888888]13:07:03.453 |LogMessage   UserID : ccmadministrator  ClientAddress : 10.x.x.x  Severity : 5  EventType : GeneralConfigurationUpdate  ResourceAccessed: CUCMAdmin  EventStatus : Success  CompulsoryEvent : No  AuditCategory : AdministrativeEvent  ComponentID : Cisco CUCM Administration  AuditDetails :  record in table device with key field name = 012345678910 deleted  App ID: Cisco Tomcat Cluster ID:  Node ID: LABCCM01[/color][/color]
 
Any help would be appreciated.
 
Mike</summary>
    <dc:creator>Michael Piskun</dc:creator>
    <dc:date>2013-02-01T03:23:28Z</dc:date>
  </entry>
</feed>

