Author: smumford
Date: 2011-11-15 21:48:49 -0500 (Tue, 15 Nov 2011)
New Revision: 8078
Modified:
epp/docs/branches/5.2/Admin_Guide/en-US/chapter-1-Introduction.xml
epp/docs/branches/5.2/Admin_Guide/en-US/chapter-2-REST.xml
epp/docs/branches/5.2/Admin_Guide/en-US/chapter-3-Command_Line_Interface.xml
epp/docs/branches/5.2/Admin_Guide/en-US/chapter-4-Management_Extensions.xml
Log:
Fixed errors encountered in Confluence export
Modified: epp/docs/branches/5.2/Admin_Guide/en-US/chapter-1-Introduction.xml
===================================================================
--- epp/docs/branches/5.2/Admin_Guide/en-US/chapter-1-Introduction.xml 2011-11-15 23:23:49
UTC (rev 8077)
+++ epp/docs/branches/5.2/Admin_Guide/en-US/chapter-1-Introduction.xml 2011-11-16 02:48:49
UTC (rev 8078)
@@ -154,7 +154,7 @@
</entry>
<entry>
<para>
- The read-resource operation is responsible for reading the managed
resource; describing itself and listing any operations and/or sub-resources it may
contain.
+ The read-resource operation is responsible for reading the managed
resource; describing itself and listing any operations and/or sub-resources it may
contain.
This is the primary operation to obtain information about a managed
component and it's managed resources.
</para>
Modified: epp/docs/branches/5.2/Admin_Guide/en-US/chapter-2-REST.xml
===================================================================
--- epp/docs/branches/5.2/Admin_Guide/en-US/chapter-2-REST.xml 2011-11-15 23:23:49 UTC
(rev 8077)
+++ epp/docs/branches/5.2/Admin_Guide/en-US/chapter-2-REST.xml 2011-11-16 02:48:49 UTC
(rev 8078)
@@ -10,7 +10,7 @@
<para>To gain access to management resources and operations over REST a
RESTful client must know the entry point URL, which is defined as follows:</para>
<example>
<title>URL Syntax</title>
-
<programlisting>http(s)://&lt;host&gt;:&lt;port&gt;/&lt;rest-context-name&gt;/private/managed-components</programlisting>
+
<programlisting>http(s)://<host>:<port>/<rest-context-name>/private/managed-components</programlisting>
</example>
<para>Where the rest-context-name is the portal container's rest context
name. So for the default portal, the rest context name is 'rest', and for a
portal running on localhost and port 8080 the URL would be</para>
<example>
@@ -28,7 +28,7 @@
<para>REST resource URLs are mapped to management addresses, and since every
managed resource has a unique management address, every managed resource can be
represented by a unique REST URL. The URL for identifying managed resources is as
follows:</para>
<example>
<title>URL Syntax</title>
-
<programlisting>http://&lt;host&gt;:&lt;port&gt;/&lt;rest-context-name&gt;/private/managed-components/&lt;component-name&gt;/&lt;managed-resource-name&gt;/&lt;sub-resource-name&gt;/.../&lt;sub-resource-name&gt;</programlisting>
+
<programlisting>http://<host>:<port>/<rest-context-name>/private/managed-components/<component-name>/<managed-resource-name>/<sub-resource-name>/.../<sub-resource-name></programlisting>
</example>
<para>The URL below uniquely identifies a managed resource named
'foo-bar', which is a sub-resource of 'bar', and 'bar' being a
managed resource of the managed component 'foo'.</para>
<example>
@@ -260,7 +260,7 @@
<para>Management attributes (which are part of a management request) are
mapped by including all request parameters of the HTTP request as attributes. So if an
operation supports certain attributes, query parameters can be added to the request URL to
be used as attributes of the management request.</para>
<example>
<title>Attributes first-name and last-name as request
parameters</title>
-
<programlisting>http://localhost:8080/rest/private/managed-components/foo/bar?first-name=john&amp;last-name=doe</programlisting>
+
<programlisting><![CDATA[http://localhost:8080/rest/private/managed-components/foo/bar?first-name=john&last-name=doe]]></programlisting>
</example>
<section id="sid-8094332_GateInManagement-MultivalueAttributes">
@@ -268,7 +268,7 @@
<para>Management attributes can be multi-valued (meaning more then one
value associated with an attribute). This is easy as HTTP query parameters can be
multi-valued as well.</para>
<example>
<title>Multi-valued attribute colors as request parameters</title>
-
<programlisting>http://localhost:8080/rest/private/managed-components/foo/bar?colors=red&amp;colors=green&amp;colors=blue</programlisting>
+
<programlisting><![CDATA[http://localhost:8080/rest/private/managed-components/foo/bar?colors=red&colors=green&colors=blue]]></programlisting>
</example>
</section>
</section>
@@ -428,7 +428,7 @@
</section>
<section id="sid-8094332_GateInManagement-readresource">
- <title>resource</title>
+ <title>read-resource</title>
<para>
Since the
<code>read-resource</code>
@@ -478,24 +478,24 @@
<programlisting>HTTP/1.1 200 OK
Content-Type: application/xml
-&lt;?xml version="1.0" encoding="UTF-8"
standalone="yes"?&gt;
-&lt;resource&gt;
- &lt;description&gt;Available operations and children
(sub-resources).&lt;/description&gt;
- &lt;children&gt;
- &lt;child&gt;
- &lt;name&gt;foo&lt;/name&gt;
- &lt;description&gt;Some
description&lt;/description&gt;
- &lt;link
href="http://localhost:8080/rest/private/managed-components/foo"
rel="child"/&gt;
- &lt;/child&gt;
- &lt;/children&gt;
- &lt;operations&gt;
- &lt;operation&gt;
-
&lt;operation-name&gt;read-resource&lt;/operation-name&gt;
- &lt;operation-description&gt;Lists information about a
managed resource, including available operations and children
(sub-resources).&lt;/operation-description&gt;
- &lt;link
href="http://localhost:8080/rest/private/managed-components"
rel="self" type="application/xml" method="get"/&gt;
- &lt;/operation&gt;
- &lt;/operations&gt;
-&lt;/resource&gt;</programlisting>
+<?xml version="1.0" encoding="UTF-8"
standalone="yes"?>
+<resource>
+ <description>Available operations and children
(sub-resources).</description>
+ <children>
+ <child>
+ <name>foo</name>
+ <description>Some description</description>
+ <link
href="http://localhost:8080/rest/private/managed-components/foo"
rel="child"/>
+ </child>
+ </children>
+ <operations>
+ <operation>
+ <operation-name>read-resource</operation-name>
+ <operation-description>Lists information about a managed
resource, including available operations and children
(sub-resources).</operation-description>
+ <link
href="http://localhost:8080/rest/private/managed-components"
rel="self" type="application/xml" method="get"/>
+ </operation>
+ </operations>
+</resource></programlisting>
</example>
</section>
</section>
Modified: epp/docs/branches/5.2/Admin_Guide/en-US/chapter-3-Command_Line_Interface.xml
===================================================================
---
epp/docs/branches/5.2/Admin_Guide/en-US/chapter-3-Command_Line_Interface.xml 2011-11-15
23:23:49 UTC (rev 8077)
+++
epp/docs/branches/5.2/Admin_Guide/en-US/chapter-3-Command_Line_Interface.xml 2011-11-16
02:48:49 UTC (rev 8078)
@@ -35,7 +35,7 @@
<para>After deploying the CLI web application you can connect to the CLI over
SSH as follows</para>
<example>
<title>SSH Syntax</title>
- <programlisting>ssh -p &lt;port&gt;
&lt;user&gt;@&lt;host&gt;</programlisting>
+ <programlisting>ssh -p <port>
<user>@<host></programlisting>
</example>
<example>
<title>SSH Example</title>
@@ -144,8 +144,8 @@
<example>
<title>Executing operation read-config-as-xml on managed component
foo</title>
<programlisting>[ /]% mgmt exec --operation read-config-as-xml
--contentType xml /foo
-&lt;?xml version='1.0' encoding='UTF-8'?&gt;
-&lt;data&gt;...&lt;/data&gt;
+<?xml version='1.0' encoding='UTF-8'?>
+<data>...</data>
[ /]%</programlisting>
</example>
@@ -171,8 +171,8 @@
path
[ /]% cat /foo
-&lt;?xml version='1.0' encoding='UTF-8'?&gt;
-&lt;data&gt;...&lt;/data&gt;
+<?xml version='1.0' encoding='UTF-8'?>
+<data>...</data>
[ /]%</programlisting>
</example>
Modified: epp/docs/branches/5.2/Admin_Guide/en-US/chapter-4-Management_Extensions.xml
===================================================================
--- epp/docs/branches/5.2/Admin_Guide/en-US/chapter-4-Management_Extensions.xml 2011-11-15
23:23:49 UTC (rev 8077)
+++ epp/docs/branches/5.2/Admin_Guide/en-US/chapter-4-Management_Extensions.xml 2011-11-16
02:48:49 UTC (rev 8078)
@@ -19,7 +19,7 @@
<title>Operations</title>
<section id="sid-8094332_GateInManagement-readconfigasxml">
- <title>config-as-xml</title>
+ <title>read-config-as-xml</title>
<para>
The
<code>read-config-as-xml</code>
@@ -251,7 +251,7 @@
</example>
<section id="sid-8094332_GateInManagement-readconfigasxmlx">
- <title>config-as-xml</title>
+ <title>read-config-as-xml</title>
<para>Example of reading the site layout as xml for site
classic.</para>
<example>
<title>HTTP Request</title>
@@ -266,13 +266,13 @@
<programlisting>HTTP/1.1 200 OK
Content-Type: application/xml
-&lt;portal-config&gt;
- &lt;portal-name&gt;classic&lt;/portal-name&gt;
- &lt;label&gt;Classic&lt;/label&gt;
- &lt;description&gt;GateIn default
portal&lt;/description&gt;
- &lt;locale&gt;en&lt;/locale&gt;
+<portal-config>
+ <portal-name>classic</portal-name>
+ <label>Classic</label>
+ <description>GateIn default portal</description>
+ <locale>en</locale>
...
-&lt;/portal-config&gt;</programlisting>
+</portal-config></programlisting>
</example>
</section>
<section id="sid-8094332_GateInManagement-exportresourcex">
@@ -321,16 +321,16 @@
<programlisting>HTTP/1.1 200 OK
Content-Type: application/xml
-&lt;page-set&gt;
- &lt;page&gt;
- &lt;name&gt;homepage&lt;/name&gt;
- &lt;title&gt;Home Page&lt;/title&gt;
-
&lt;access-permissions&gt;Everyone&lt;/access-permissions&gt;
-
&lt;edit-permission&gt;*:/platform/administrators&lt;/edit-permission&gt;
-
&lt;show-max-window&gt;false&lt;/show-max-window&gt;
- &lt;portlet-application&gt;
+<page-set>
+ <page>
+ <name>homepage</name>
+ <title>Home Page</title>
+ <access-permissions>Everyone</access-permissions>
+
<edit-permission>*:/platform/administrators</edit-permission>
+ <show-max-window>false</show-max-window>
+ <portlet-application>
...
-&lt;/page-set&gt;</programlisting>
+</page-set></programlisting>
</example>
<para>Example of reading the homepage as xml for site
classic.</para>
<example>
@@ -346,16 +346,16 @@
<programlisting>HTTP/1.1 200 OK
Content-Type: application/xml
-&lt;page-set&gt;
- &lt;page&gt;
- &lt;name&gt;homepage&lt;/name&gt;
- &lt;title&gt;Home Page&lt;/title&gt;
-
&lt;access-permissions&gt;Everyone&lt;/access-permissions&gt;
-
&lt;edit-permission&gt;*:/platform/administrators&lt;/edit-permission&gt;
-
&lt;show-max-window&gt;false&lt;/show-max-window&gt;
- &lt;portlet-application&gt;
+<page-set>
+ <page>
+ <name>homepage</name>
+ <title>Home Page</title>
+ <access-permissions>Everyone</access-permissions>
+
<edit-permission>*:/platform/administrators</edit-permission>
+ <show-max-window>false</show-max-window>
+ <portlet-application>
...
-&lt;/page-set&gt;</programlisting>
+</page-set></programlisting>
</example>
</section>
<section id="sid-8094332_GateInManagement-exportresourcexx">
@@ -385,11 +385,12 @@
<para>The navigation resource represents the navigation of the portal.
It's the data defined in the navigation.xml used in portal extensions to configure
data.</para>
<example>
<title>URL</title>
- <programlisting>URL:
/mop/{site-type}sites/{site-name}/navigation/{nav-uri}</programlisting>
+ <programlisting><![CDATA[
+ URL:
/mop/{site-type}sites/{site-name}/navigation/{nav-uri}]]></programlisting>
</example>
<section id="sid-8094332_GateInManagement-readconfigasxmlxxx">
- <title>config-as-xml</title>
+ <title>read-config-as-xml</title>
<para>Example of reading all navigation as xml for site
classic.</para>
<example>
<title>HTTP Request</title>
@@ -404,20 +405,20 @@
<programlisting>HTTP/1.1 200 OK
Content-Type: application/xml
-&lt;node-navigation&gt;
- &lt;priority&gt;1&lt;/priority&gt;
- &lt;page-nodes&gt;
- &lt;node&gt;
- &lt;name&gt;home&lt;/name&gt;
- &lt;label
xml:lang="en"&gt;Home&lt;/label&gt;
+<node-navigation>
+ <priority>1</priority>
+ <page-nodes>
+ <node>
+ <name>home</name>
+ <label xml:lang="en">Home</label>
...
- &lt;visibility&gt;DISPLAYED&lt;/visibility&gt;
-
&lt;page-reference&gt;portal::classic::homepage&lt;/page-reference&gt;
- &lt;/node&gt;
- &lt;node&gt;
- &lt;name&gt;sitemap&lt;/name&gt;
+ <visibility>DISPLAYED</visibility>
+
<page-reference>portal::classic::homepage</page-reference>
+ </node>
+ <node>
+ <name>sitemap</name>
...
-&lt;/node-navigation&gt;</programlisting>
+</node-navigation></programlisting>
</example>
<para>Example of reading the home node as xml for site
classic.</para>
<example>
@@ -433,19 +434,19 @@
<programlisting>HTTP/1.1 200 OK
Content-Type: application/xml
-&lt;node-navigation&gt;
- &lt;priority&gt;1&lt;/priority&gt;
- &lt;page-nodes&gt;
- &lt;parent-uri&gt;&lt;/parent-uri&gt;
- &lt;node&gt;
- &lt;name&gt;home&lt;/name&gt;
- &lt;label
xml:lang="en"&gt;Home&lt;/label&gt;
+<node-navigation>
+ <priority>1</priority>
+ <page-nodes>
+ <parent-uri></parent-uri>
+ <node>
+ <name>home</name>
+ <label xml:lang="en">Home</label>
...
- &lt;visibility&gt;DISPLAYED&lt;/visibility&gt;
-
&lt;page-reference&gt;portal::classic::homepage&lt;/page-reference&gt;
- &lt;/node&gt;
- &lt;/page-nodes&gt;
-&lt;/node-navigation&gt;</programlisting>
+ <visibility>DISPLAYED</visibility>
+
<page-reference>portal::classic::homepage</page-reference>
+ </node>
+ </page-nodes>
+</node-navigation></programlisting>
</example>
</section>
<section
id="sid-8094332_GateInManagement-exportresource_Example">