You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by sm...@apache.org on 2016/01/23 18:01:33 UTC
directory-fortress-enmasse git commit: improve readme
Repository: directory-fortress-enmasse
Updated Branches:
refs/heads/master 1a4d3b288 -> cdc5a3af2
improve readme
Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/commit/cdc5a3af
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/tree/cdc5a3af
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/diff/cdc5a3af
Branch: refs/heads/master
Commit: cdc5a3af2a53083eec8d60eedc31a292c49c79f1
Parents: 1a4d3b2
Author: Shawn McKinney <sm...@apache.org>
Authored: Sat Jan 23 10:05:42 2016 -0600
Committer: Shawn McKinney <sm...@apache.org>
Committed: Sat Jan 23 10:05:42 2016 -0600
----------------------------------------------------------------------
README.md | 48 +++++++++++++++++++-----------
images/fortress-rest-system-arch.png | Bin 121340 -> 119826 bytes
2 files changed, 31 insertions(+), 17 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/blob/cdc5a3af/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 0660f07..be5fc57 100755
--- a/README.md
+++ b/README.md
@@ -15,16 +15,16 @@
specific language governing permissions and limitations
under the License.
-# Apache Fortress Rest
-
- Apache Fortress Rest Version 1.0-RC41 System Architecture Diagram
+# README for Apache Fortress Rest
+ * Version 1.0-RC41
+ Apache Fortress Rest System Architecture Diagram

-This document contains instructions to download, build, and test operations using Apache Fortress Rest component.
-
-------------------------------------------------------------------------------
## Table of Contents
+ * Document Overview
+ * Tips for first-time users.
* SECTION 1. Prerequisites.
* SECTION 2. Download & Build.
* SECTION 3. Get the fortress.properties.
@@ -33,6 +33,23 @@ This document contains instructions to download, build, and test operations usin
* SECTION 6. Unit Test.
* SECTION 7. Alternate testing procedures.
+___________________________________________________________________________________
+## Document Overview
+
+This document contains instructions to download, build, and test operations using Apache Fortress Rest component.
+
+___________________________________________________________________________________
+## Tips for first-time users
+
+ * For a tutorial on how to use Apache Fortress check out the: [10 Minute Guide](http://directory.apache.org/fortress/gen-docs/latest/apidocs/org/apache/directory/fortress/core/doc-files/ten-minute-guide.html).
+ * If you see **FORTRESS_CORE_HOME**, refer to the base package of [directory-fortress-core].
+ * If you see **FORTRESS_REALM_HOME**, refer to the base package of [directory-fortress-realm].
+ * If you see **FORTRESS_REST_HOME**, refer to this packages base folder.
+ * If you see **TOMCAT_HOME**, refer to the location of that package's base folder.
+ * Questions about this software package should be directed to its mailing list:
+ * http://mail-archives.apache.org/mod_mbox/directory-fortress/
+
+
-------------------------------------------------------------------------------
## SECTION 1. Prerequisites
@@ -45,9 +62,8 @@ Minimum software requirements:
* git
* Apache Maven3++
* Apache Tomcat7++
- * Apache Fortress Core installed per README located in that same package.
- * Apache Fortress Realm installed per README located in that same package.
- * LDAP server setup and configured per Apache Fortress Core README.
+ * Apache Fortress Core and LDAP server installed per README located in **FORTRESS_CORE_HOME** package.
+ * Apache Fortress Realm installed per README located in **FORTRESS_REALM_HOME** package.
Everything else covered in steps that follow. Tested on Debian, Centos & Windows systems.
@@ -84,14 +100,12 @@ Everything else covered in steps that follow. Tested on Debian, Centos & Window
___________________________________________________________________________________
## SECTION 3. Get the fortress.properties
-Copy the fortress.properties, created during Fortress Core setup, to this package's resource folder.
+Copy the fortress.properties, created during **FORTRESS_CORE_HOME** setup, to this package's resource folder.
```
-cp [directory-fortress-core]/config/fortress.properties [directory-fortress-enmasse]/src/main/resources
+cp FORTRESS_CORE_HOME/config/fortress.properties FORTRESS_REST_HOME/src/main/resources
```
-Where [directory-fortress-core] is base folder of the fortress core source package and [directory-fortress-enmasse] is the current package's home folder.
-
___________________________________________________________________________________
## SECTION 4. Load Sample Security Policy
@@ -103,7 +117,7 @@ mvn install -Dload.file=./src/main/resources/FortressRestServerPolicy.xml
___________________________________________________________________________________
## SECTION 5. Deploy to Tomcat Server
-1. If Tomcat has global security enabled you must add credentials to pom.xml:
+1. If Tomcat has global security enabled you must add credentials to pom.xml to authenticate:
```
<plugin>
@@ -121,7 +135,7 @@ ________________________________________________________________________________
2. Get the Fortress Realm Proxy jar.
- Place the fortress-realm proxy jar, generated by the [directory-fortress-realm] package into Tomcat server's /lib folder. The proxy jar name is named fortress-realm-proxy-[version].jar and located here: [directory-fortress-realm]/proxy/target.
+ Place the fortress-realm proxy jar, generated by the **FORTRESS_REALM_HOME** package into **TOMCAT_HOME**/lib folder. The proxy jar name is named fortress-realm-proxy-[version].jar and located here: FORTRESS_REALM_HOME/proxy/target.
3. Restart Tomcat server.
@@ -153,7 +167,7 @@ ________________________________________________________________________________
## SECTION 7: Alternate testing procedures
1. Another way to test Fortress Rest is using the Fortress Core APIs which can be configured to communicate via HTTP/REST.
-To enable Fortress Core test client to route requests through Fortress Rest server, add these properties to build.properties in directory-fortress-core root folder:
+To enable Fortress Core test client to route requests through Fortress Rest server, add these properties to build.properties in **FORTRESS_CORE_HOME** root folder:
2. Add these credentials to build.properties file located in the directory-fortress-core root folder. It contains the HTTP coordinates to your deployed Fortress Rest server:
```
@@ -168,12 +182,12 @@ To enable Fortress Core test client to route requests through Fortress Rest serv
enable.mgr.impl.rest=true
```
-4. Now run the directory-fortress-core mvn install to seed the new properties:
+4. Now run the **FORTRESS_CORE_HOME** mvn install to seed the new properties:
```
mvn install
```
-5. Now run the directory-fortress-core unit tests:
+5. Now run the **FORTRESS_CORE_HOME** unit tests:
```
mvn test -Dtest=FortressJUnitTest
```
http://git-wip-us.apache.org/repos/asf/directory-fortress-enmasse/blob/cdc5a3af/images/fortress-rest-system-arch.png
----------------------------------------------------------------------
diff --git a/images/fortress-rest-system-arch.png b/images/fortress-rest-system-arch.png
index 1b58a06..76a56a3 100644
Binary files a/images/fortress-rest-system-arch.png and b/images/fortress-rest-system-arch.png differ