Hi Folks,
I am just trying to get my head around the AR_SERVER_INFO changes introduced in release 9. ARS 9 does something not done previously with these values: It changes the integer in some Info values and deletes some Info values Image this scenario: You have a release 9 API accessing a Release 8 server. Which symbol do you use for a release 8 value? There are no symbols for deleted values which are still legitimate on the 8 server. The symbol defined in the 9 API will request the wrong value on an 8 server. Similarly, you have a release 8 API accessing a release 9 server: When you ask for an Info that has had a number change, what do you get? For now, I will have to get around the problem by not asking for contentious info values. Heaven forbid that someone wants these values J I question how something this basic and simple could have been turned into something this obtuse and convoluted. I also question what the API itself does when "maintaining compatibility" across server releases. Kudos to BMC, they have maintained excellent compatibility across server releases when it comes to the data portion of the API. This is the first release which does not. Any comments from BMC would be welcome. Details: Release 8.1 API - These are all dropped in 9: #define AR_SERVER_INFO_MESSAGE_BROKER_URL 374 /* char - Message Broker URL */ #define AR_SERVER_INFO_NUMBER_OF_SELECTOR_THREADS 375 /* int - Number of selector threads. */ #define AR_SERVER_INFO_MESSAGE_BROKER_PORT 376 /* int - Messsaging(JMS) broker port. */ #define AR_SERVER_INFO_JMX_PORT 377 /* int - JMX Port */ #define AR_SERVER_INFO_PEER_LISTENER_PORT 378 /* int - (Cache) Peer-listener-port */ - These are renumbered in 9: #define AR_SERVER_INFO_API_MONITORING_UPDATE_INTERVAL 379 /* int - Update Interval for API Monitoring */ #define AR_SERVER_INFO_API_RECORDING_CLIENT_TYPE 380 /* char - API Recording on for specific Client Type */ #define AR_SERVER_INFO_API_RECORDING_ENABLE 381 /* int - Enable Flag would be set to T or F */ #define AR_SERVER_INFO_API_RECORDING_CLIENT_TYPE 380 /* char - API Recording on for specific Client Type */ #define AR_SERVER_INFO_API_RECORDING_ENABLE 381 /* int - Enable Flag would be set to T or F */ #define AR_SERVER_INFO_OBJ_RESERVATION_REPOSITORY_TYPE 382 /* int - Object reservation repository type - 0 ARS; 10 External */ - This value has a different meaning in 9: #define AR_SERVER_INFO_SERVICE_RECORDING_ENABLE 383 /* int - flag to enable the Service Monitoring */ - Now they align with 9 #define AR_SERVER_INFO_STATS_APISQL_CONTROL 384 /* Bitmask for controlling API/SQL display to console, exception logging option, etc. */ Release 9 API Release 9 has no 379 J #define AR_SERVER_INFO_API_MONITORING_UPDATE_INTERVAL 380 /* int - Update Interval for API Monitoring */ #define AR_SERVER_INFO_API_RECORDING_CLIENT_TYPE 381 /* String - API Recording on for specific Client Type */ #define AR_SERVER_INFO_API_RECORDING_ENABLE 382 /* int - Enable Flag would be set to T or F */ #define AR_SERVER_INFO_OBJ_RESERVATION_REPOSITORY_TYPE 383 /* int Object reservation repository type - 0 ARS */ /* - 10 External */ #define AR_SERVER_INFO_STATS_APISQL_CONTROL 384 /* bitmask Controls API and SQL recording */ Cheers, Ben Chernys Senior Software Architect logoSthInc-sm Canada / Deutschland Mobile: +49 171 380 2329 GMT + 7 + [ DST ] Land: +1 403 240 4377 Email: <mailto:ben.cher...@softwaretoolhouse.com> ben.cher...@softwaretoolhouse.com Web: <http://www.softwaretoolhouse.com/> www.softwaretoolhouse.com We are a BMC Technology Alliance Partner Check out Software Tool House's free Diary Editor and our Freebies Section for ITSM Forms and Fields spreadsheet. Meta-Update, our premium ARS Data tool, lets you automate your data changes, imports, migrations, in no time at all, without programming, without staging forms, without merge workflow. Meta-Archive does ITSM Archiving your way: with your forms and your multi-tenant rules, treating each root request as the tree of data and forms that it is it is. Output to Archive forms, an archive server, CSV and HTML with all attachments extracted and linked. Pre ITSM 7.6.04? Clarify? Roll your own? No problem! You can keep your valuable data! <http://www.softwaretoolhouse.com/> http://www.softwaretoolhouse.com/ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"