<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Coding the Architecture - auditing tag</title>
  <link>http://www.codingthearchitecture.com/tags/auditing/</link>
  <description>Software architecture for developers</description>
  <language>en</language>
  <copyright>Coding the Architecture</copyright>
  <lastBuildDate>Mon, 09 Jan 2012 09:02:08 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>Modifying Open Services</title>
    <link>http://www.codingthearchitecture.com/2008/11/14/modifying_open_services.html</link>
    
      
        <description>
          &lt;p&gt;
There&#039;s been a huge push recently towards service oriented architectures - sharing services within an organisation with benefits such as reuse and making information consistent. Take a simple example such as a catalogue of products for a furniture company. As a shared and open service, all of the companies systems - Sales, Marketing, Support, Delivery and Billing applications - can use this information in an open and consistent way.

&lt;p&gt;
If a service is very open and easy to use (e.g. services operating via a RESTful interface) then there is a good chance that applications will use it in a way you didn&#039;t originally intend and probably by applications you don&#039;t even know about. This sounds great but you&#039;ll soon come across the issue that you&#039;ve lost the ability to audit the current use and gauge the effect of any change. As an example let&#039;s say you want to add details for &#039;forest sustainability&#039; to our furniture information. We add a block of xml to describe this and release. However an application that uses our service starts generating errors as it&#039;s not expecting this new information. (We could argue that it &lt;i&gt;shouldn&#039;t&lt;/i&gt; do this but this is what happens in the real world.) Problems are more likely if you have to modify rather than add to your format. Changing an integer to a floating point number could cause strange issues.

&lt;p&gt;
You need to be able to get dependent applications to test with your new service before you release but who&#039;s using it and how are they using it? You can log the incoming requests to know what is being used but you don&#039;t know who is using it - so how do you know who has to test changes? 

&lt;p&gt;
This is a problem I&#039;ve been seeing recently and a solution is to use authentication even if you have no intention of restricting access. You can make the credentials easy to obtain but you need to make sure the users of your service are registered and provide sufficient contact information. Of course, actually getting the users to test and adapt to changes are another issue but at least they can&#039;t complain they weren&#039;t informed.

&lt;p&gt;
Has anyone else seen this issue and what were your solutions? Did you just &#039;publish and be damned&#039; or end up introducing heavyweight process to control releases?

        </description>
      
      
    
    
    
    <category>How do you define software architecture?</category>
    
    <comments>http://www.codingthearchitecture.com/2008/11/14/modifying_open_services.html#comments</comments>
    <guid isPermaLink="true">http://www.codingthearchitecture.com/2008/11/14/modifying_open_services.html</guid>
    <pubDate>Fri, 14 Nov 2008 19:53:38 GMT</pubDate>
  </item>
  
  </channel>
</rss>

