@publishing @publish Feature: Publishing configuration data

In order to make configuration data available for retrieval
As a publisher
I want to publish configuration data

Scenario: Revision added to 
  Given an identifier
  And some configuration data
  When I request publication of the configuration data
  Then I receive a unique revision for my publication
  And the  is updated with the revision by the CS

Scenario:  saved with data
  Given an identifier
  And some 
  And some configuration data
  When I request publication of the configuration data
  Then the  is also remembered

Scenario: Timestamp added to 
  Given an identifier
  And some 
  And some configuration data
  When I request publication of the configuration data
  Then the entry is timestamped

Scenario: New revision for publication to existing identifier
  Given existing configuration data
  When I request publication of configuration data using the existing identifier
  Then I receive a new unique revision for the publication

Scenario: Invalid data
  Given an identifier
  And invalid configuration data
  When I request publication of the configuration data
  Then I receive an 'invalid data' notification

Scenario: CS publication failure
  Given a CS publication failure
  When I request publication of the configuration data
  Then I should receive a 'publication failure' notification