You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2018/01/31 16:21:40 UTC

[isis] 02/04: ISIS-1569: adds 'timestamp' to cmd.xsd

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch maint-1.16.1
in repository https://gitbox.apache.org/repos/asf/isis.git

commit 4c9265d40f623c490100b96b23a40d00c94de543
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Wed Jan 31 15:28:29 2018 +0000

    ISIS-1569: adds 'timestamp' to cmd.xsd
---
 .../src/main/resources/org/apache/isis/schema/cmd/cmd-1.4.xsd       | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/core/schema/src/main/resources/org/apache/isis/schema/cmd/cmd-1.4.xsd b/core/schema/src/main/resources/org/apache/isis/schema/cmd/cmd-1.4.xsd
index 3ff2e90..85a0e98 100644
--- a/core/schema/src/main/resources/org/apache/isis/schema/cmd/cmd-1.4.xsd
+++ b/core/schema/src/main/resources/org/apache/isis/schema/cmd/cmd-1.4.xsd
@@ -61,6 +61,12 @@
                         </xs:documentation>
                     </xs:annotation>
                 </xs:element>
+                <xs:element name="timestamp" type="xs:dateTime" minOccurs="0" maxOccurs="1">
+                    <xs:annotation>
+                        <xs:documentation>The timestamp when this command was created, used for sequencing when replaying.  This field is optional because it was introduced in v1.4.  The framework-provided ContentMappingServiceForCommandDto populates this field dynamically whenever querying for commands through the REST API.
+                        </xs:documentation>
+                    </xs:annotation>
+                </xs:element>
                 <xs:element name="user" type="xs:string">
                     <xs:annotation>
                         <xs:documentation>The name of the user that initiated/created this command.

-- 
To stop receiving notification emails like this one, please contact
danhaywood@apache.org.