[Osr-101] rev 25086 - in public/osr-101/trunk: amendments
yanel/data-paths/amendments
yanel/data-paths/amendments/introspection-lock-without-saving.html.xml
yanel/data-paths/amendments/release-lock-without-saving.html
yanel/rti/amendments
michi at wyona.com
michi at wyona.com
Wed Jun 13 11:43:24 CEST 2007
Author: michi
Date: 2007-06-13 11:43:23 +0200 (Wed, 13 Jun 2007)
New Revision: 25086
Added:
public/osr-101/trunk/amendments/introspection-release-lock-without-saving.html.xml
public/osr-101/trunk/amendments/release-lock-without-saving.txt
public/osr-101/trunk/yanel/data-paths/amendments/introspection-lock-without-saving.html.xml/
public/osr-101/trunk/yanel/data-paths/amendments/introspection-lock-without-saving.html.xml/.yarep-uid
public/osr-101/trunk/yanel/data-paths/amendments/release-lock-without-saving.html/
public/osr-101/trunk/yanel/data-paths/amendments/release-lock-without-saving.html/.yarep-uid
public/osr-101/trunk/yanel/rti/amendments/release-lock-without-saving.html.yanel-rc
Log:
release of lock started
Added: public/osr-101/trunk/amendments/introspection-release-lock-without-saving.html.xml
===================================================================
--- public/osr-101/trunk/amendments/introspection-release-lock-without-saving.html.xml (rev 0)
+++ public/osr-101/trunk/amendments/introspection-release-lock-without-saving.html.xml 2007-06-13 09:43:23 UTC (rev 25086)
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+
+<introspection xmlns="http://www.wyona.org/neutron/1.0">
+
+ <edit mime-type="text/plain" name="Release lock ...">
+ <checkout url="release-lock-without-saving.html?yanel.resource.viewid=txt&yanel.resource.usecase=checkout" method="GET"/>
+ <checkin url="workflow.html?yanel.resource.usecase=checkin" method="PUT"/>
+ </edit>
+</introspection>
Added: public/osr-101/trunk/amendments/release-lock-without-saving.txt
===================================================================
--- public/osr-101/trunk/amendments/release-lock-without-saving.txt (rev 0)
+++ public/osr-101/trunk/amendments/release-lock-without-saving.txt 2007-06-13 09:43:23 UTC (rev 25086)
@@ -0,0 +1,36 @@
+!Release lock without saving
+
+{{{
+<introspection xmlns="http://www.wyona.org/neutron/2.0">
+ <resource name="Homepage">
+ <edit mime-type="application/xhtml+xml">
+ <checkout url="index.html?yanel.resource/viewid=txt&yanel.resource.usecase=checkout" method="GET"/>
+ <checkin url="index.html?yanel.resource.usecase=checkin" method="POST"/>
+ <release-lock url="index.html?yanel.resource.usecase=release-lock" method="GET"/>
+ </edit>
+ </resource>
+</introspection>
+}}}
+
+
+Client Request: GET http://foo.bar/index.tml?yanel.resource.usecase=release-lock
+{{{
+<?xml version="1.0"?>
+<workflow xmlns="http://www.wyona.org/neutron/2.0">
+ <transition id="publish" revision="OPTIONAL"/>
+</workflow>
+}}}
+
+
+Server Response: HTTP/1.1 200 OK..
+
+
+Server Response if releasing lock failed: HTTP/1.1 500 Internal Server Error
+
+{{{
+<?xml version="1.0" encoding="UTF-8"?>
+
+<exception xmlns="http://www.wyona.org/neutron/2.0" type="release-lock">
+ <message>Releasing of lock failed because of ...</message>
+</exception>
+}}}
Added: public/osr-101/trunk/yanel/data-paths/amendments/introspection-lock-without-saving.html.xml/.yarep-uid
===================================================================
--- public/osr-101/trunk/yanel/data-paths/amendments/introspection-lock-without-saving.html.xml/.yarep-uid (rev 0)
+++ public/osr-101/trunk/yanel/data-paths/amendments/introspection-lock-without-saving.html.xml/.yarep-uid 2007-06-13 09:43:23 UTC (rev 25086)
@@ -0,0 +1 @@
+/amendments/introspection-lock-without-saving.html.xml
Added: public/osr-101/trunk/yanel/data-paths/amendments/release-lock-without-saving.html/.yarep-uid
===================================================================
--- public/osr-101/trunk/yanel/data-paths/amendments/release-lock-without-saving.html/.yarep-uid (rev 0)
+++ public/osr-101/trunk/yanel/data-paths/amendments/release-lock-without-saving.html/.yarep-uid 2007-06-13 09:43:23 UTC (rev 25086)
@@ -0,0 +1 @@
+/amendments/release-lock-without-saving.txt
Added: public/osr-101/trunk/yanel/rti/amendments/release-lock-without-saving.html.yanel-rc
===================================================================
--- public/osr-101/trunk/yanel/rti/amendments/release-lock-without-saving.html.yanel-rc (rev 0)
+++ public/osr-101/trunk/yanel/rti/amendments/release-lock-without-saving.html.yanel-rc 2007-06-13 09:43:23 UTC (rev 25086)
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+
+<yanel:resource-config xmlns:yanel="http://www.wyona.org/yanel/rti/1.0">
+ <yanel:rti name="wiki" namespace="http://www.wyona.org/yanel/resource/1.0"/>
+
+ <yanel:property name="mime-type" value="application/xhtml+xml"/>
+</yanel:resource-config>
More information about the Osr-101
mailing list